Posts

Showing posts with the label Arduino Series

Interfacing LCD with Arduino (Arduino Series - Part 04)

Image
In Arduino based embedded system design, the  Liquid Crystal Display modules play a very important role. Hence it is very important to learn about  how to interface LCD  with an Arduino of 16×2 in embedded system design. The display units are very important in communication between the human world and the machine world. The display unit work on the same principle, it does not depend on the size of the display it may be big or the small. We are working with the simple displays like 16×1 and 16×2 units. The 16×1 display unit has the 16 characters which present in one line and 16×2 display units have 32 characters which are present in the 2 line. We should know that to display the each character there are 5×10 pixels. Thus to display one character all the 50 pixels should be together. In the display,there is a controller which is HD44780 it is used to control the pixels of characters to display. What is a Liquid Crystal Display? The liquid crystal display u...

Digital Input & Output - Push button and LED (Arduino Series - Part 03)

Image
In this lesson, every time you press the button, the LED will switch on or off – depending on its current state. YOU WILL NEED LED  (1) 10,000 Ohm resistor  (1) 220 Ohm Resistor  (1) Momentary Push Button  (1) Jumper Wires  (3) Goat Cheese STEP-BY-STEP INSTRUCTIONS Connect an Arduino GND pin to one of the long power rails on the breadboard – this will be the ground rail. Connect the short leg of the LED to the same ground rail on the breadboard and connect the long leg to a different row on the breadboard. Connect the 220-ohm resistor from pin 13 to the same row where the long leg of the LED is attached. Place the pushbutton on the breadboard. Connect a jumper wire from the 5-volt pin to one side of the pushbutton. Connect a jumper wire from pin 2 to the other side of the pushbutton. Connect one side of the 10k ohm resistor to the ground rail on the breadboard and the other side to the pushbutton (on the same side that pin 2 connects). ...