PLC inputs are one component of our PLC block diagram. The output actions of the PLC will be controlled based on the inputs. We will be looking at digital and analog inputs that can be wired to the programmable logic controller.
We will be looking at wiring of a normally open (NO) push button, normally closed (NC) push button, 3 wire PNP sensor, and an analog sensor to the PLC. These will all be sinking inputs. Let’s get started. Keep on Reading!
The ultrasonic sensor (HC-SR04) is great for all kinds of projects that need distance measurements. The HC-SR04 is inexpensive and easy to use. We will be sending signals directly to the sensor and interpreting the results without the need for a library.
Ultrasonic sensor module HC-SR04 provides a 2cm-400cm non-contact measurement function, the accuracy can reach 3mm. The modules include ultrasonic transmitters, receivers, and control circuits. We will be wiring the ultrasonic sensor to our Arduino UNO R3 controller on our super starter kit. Let’s get started. Continue Reading!
Arduino consists of a family of single programmable circuit boards and the IDE (Integrated Development Environment) that uses a streamlined version of C++ to write and upload code to the boards. Many pre-configured circuit boards, called “shields”, are available to expand the functionality of the Arduino controller. These shields can provide Ethernet, WiFi, GPS, LCD displays, and motor controls, among others, by simply “stacking” or connecting the shields to the Arduino controller board. This Lego-style building of electronic devices is becoming more popular.
The Arduino UNO is one of the best board to learn about electronics and coding. This robust board is the most used and documented board of the whole Arduino family.
We will be looking at the Elegoo Arduino UNO R3 Super Starter Kit. Opening up this great learning tool and discussing the Uno board itself.
Let’s get started. Continue Reading!
An ultrasonic sensor (switch) is able to detect object presence without physical contact (limit switch). No physical contact means that the switch has no parts that will wear out. The life span of the sensor is increased with less maintenance.
An ultrasonic sensor will use sound waves to detect objects. These sound waves are at a level that we cannot hear. Distance is measured by the time it takes to send and receive the ultrasonic wave. Objects can be measured the same no matter what the colour, transparency, shininess, or lighting conditions of the application.
We will be wiring an ultrasonic sensor into the input of our Click PLC. This will include a discrete and analog input signal. The UK1F-E7-0A is an 18mm diameter sensor that has a PNP N.O./N.C. selectable output with analog output of 0 -10 VDC. The sensing distance is 200mm to 2200mm and has a one-hertz switching capacity. A 4-pin M12 quick disconnect is available but we will be wiring in our 2m wired version. Let’s get started. Continue Reading!