Bs2 + DS1620 + Parallel LCD Problem
What
Posts: 23
Hello everyone.
Its amazing what you do qith bs2, but i'm really a noob with this [noparse]:([/noparse]
I picked up a completed proyect and i'm trying to make it work, but the problem is the proyect uses a 1x16 parallel LCD and i have a 2x16 one, if i connect everything like the attached file says, i only got a full dark on the first line.
I don't know really how can i make it works, i would be really happy if someone can tell what should i have to change on the code.
Thanks to everyone here for your help.
Its amazing what you do qith bs2, but i'm really a noob with this [noparse]:([/noparse]
I picked up a completed proyect and i'm trying to make it work, but the problem is the proyect uses a 1x16 parallel LCD and i have a 2x16 one, if i connect everything like the attached file says, i only got a full dark on the first line.
I don't know really how can i make it works, i would be really happy if someone can tell what should i have to change on the code.
Thanks to everyone here for your help.
bs2
11K
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
please help me !!!
If the original LCD (the 1x16) and yours (the 2x16) are both HD44780 interfaces, you shouldn't have to change anything at all in the software, I don't think. According to the documentation of the software you sent, the 1x16 is HD44780. Make certain that your 2x16 really is as well. It almost certainly is, of course. You may have it hooked up incorrectly, though. If what you're using has a different interface, then you'll need to find out how to use that interface, and no-one here can tell you how to change the software without a LOT more details.
Post Edited (sylvie369) : 6/17/2008 3:51:10 PM GMT
Maibe i'm plugging something wrong, here is how i'm connecting.
First question, what means that OutA??
Pin 0 LCD.11 |
' Pin 1 LCD.12 |-- OutA
' Pin 2 LCD.13 |
' Pin 3 LCD.14 |
I'm pluging like this
Pin 0 /\/\/\ 220 ohm LCD.11 |
' Pin 1 /\/\/\ 220 ohm LCD.12 |-- OutA
' Pin 2 /\/\/\ 220 ohm LCD.13 |
' Pin 3 /\/\/\ 220 ohm LCD.14 |
' Pin 4 LCD.4
' Pin 5 LCD.6 /\/\/\ 470 Kohm to GND
' Pin 6 NC
' Pin 7 NC
' Pin 8 DS1620.3
' Pin 9 DS1620.2
' Pin 10 /\/\/\ 1Kohm DS1620.1
' Pin 11 NC
' Pin 12 NC
' Pin 13 NC
' Pin 14 NC
' Pin 15 NC
Pin 5 (R/W) i have to leave it unplug or to GND?
And with this setup, is DIRH and DIRL ok?
DIRL = %00111111 ' LCD pins
DIRH = %00000111 ' DS1620 pins
OUTS = $0000 ' all outputs off to start
Thanks for all your answers
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
http://www.parallax.com/Store/Accessories/Displays/tabid/159/CategoryID/34/List/0/Level/a/ProductID/49/Default.aspx?SortField=ProductName%2cProductName
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
i change the pin connections and have some doubts still
' Pin 0 E (pin 6)
' Pin 1 NC
' Pin 2 R/W (pin 5)
' Pin 3 RS (pin 4)
' Pin 4 LCD.11
' Pin 5 LCD.12
' Pin 6 LCD.13
' Pin 7 LCD.14
' Pin 8 DS1620.3
' Pin 9 DS1620.2
' Pin 10 DS1620.1
' Pin 11 NC
' Pin 12 NC
' Pin 13 NC
' Pin 14 NC
' Pin 15 NC
I modified the DIRL and DIRH from the code, is attached bellow.
But i still seeing the same result as the picture above. I don't really know what else to do.
My life almost depends to do this work, last class of my carrer.
Thanks for your help and you have some code for this it will be really really welcome.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
I don't want to start to hate BS2
http://www.parallax.com/Store/Accessories/Displays/tabid/159/CategoryID/34/List/0/Level/a/ProductID/50/Default.aspx?SortField=ProductName%2cProductName
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
I found this picture on the web, thats what i want, every link, name, code, everything is really welcome.
Thanks all of you for your time and help.
http://forums.parallax.com/showthread.php?p=552892
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
Post Edited (Chris Savage (Parallax)) : 6/18/2008 7:13:10 PM GMT