I recently bought a Winstar WH1602B LCD and I'm having some trouble connecting it up to the Arduino.
The LCD is 16x2 and I soldered wires like I saw in this particular image ; ie I didnt solder any wires on ports 5,6,7,8 and 15.
Now my problem is that I have the LCD screen with the wires soldered to it, but don't know what to connect to what when it comes to actually connecting it to the breadboard and the Arduino. I am very new to electronics and infact I have just learned to solder recently; atm I also have some trouble correctly reading and interpreting a schematic diagram, so that wouldn't help much.
Can anyone please guide me (preferably with an image for the time being) as to how I should connect these soldered wires to the breadboard and Arduino ? Also, did I solder the wires in the correct positions ?
The following is the table that maps the pins to the Arduino :
Now I'm having trouble identifying the correct pins to insert into. For example, on the Arduino chip, there is both a GND pin in the digital section of the pins and also in the Analog section of the pins; so when the table above says GND, to which pin is it referring to exactly ?
Same goes for the numbered pins...pins 0 to 5 are present in both the Digital section and the Analog section; so what are exactly pins 2-5 of the above table referring to? The Analog pins or the Digital pins ?
Also, why is it that for example certain pins are not to be connected ?
For example pins 3, 7, 8, 9 and 10 are not listed in the table that describes the connection between the Arduino and the LCD module, yet the LCD has 16 pins.
As I said earlier on, I am very new to electronics so please bear with me. Thank you.
The Gnd on the digital side is exactly the same as the analogue side - you can use either, the lcd modules use all digital pins.
The unconnected pins aren't needed. LCDs are general purpose modules for use in all kinds of things, the arduino is pretty flexible and can do things in software to save wiring stuff up. Strictly speaking they use 8 bits to transfer data, but can be made to work with 4, which is what the arduino does. You can save another connection to the arduino by wiring pin 5 of the LCD module to ground and altering the code slightly.
You can use the analog pins as digital pins, but you need to tell the LCD program to use those pins.. and they're not addressed as 5, 4, 3.. and such, those will be the digital pins.
To use the analog pins as digital pins, you address them as 14, 15, 16, 17 and 18.. for 0, 1, 2, 3, 4, 5 respectively.
For example.. put the analog in pins high, write:
digitalWrite(14, HIGH); // analog 0 to HIGH
But in most cases, if it's not an input, you won't need to use the analog in pins. Any LCD example you see (I think) all use the digital pins, I know most of the HD47780 examples do. So all the pins should be hooked up to digital pins from this example as well!
Best of luck, and welcome to the wonderful world of Arduino!
It does the pin 5 to ground trick (its easier and often works where wiring it to another arduino pin doesn't). The demo uses the 4bit LCD library rather than the standard one but the same wiring works fine with either library.
Im a student.I'm lazy and can't be bothered to read even the most basic documentation how to use the stuff I need in my project. Can anyone help me?
Here's the library used. It comes with with samples and instructions. You don't even need to install it, because it's already included in the Arduino package.
You could also apply this item to your rear I/O Interface.