I promise to re-write this post and give everyone all the info I have learned through this ordeal, but for now, I am going to go play with my new display!!!!!!
First off, Hi Z. --Haven’t seen you for a while… How’s the tea?
And Yeah, this is going on walter to display menus mainly, but in terms of debugging, you can’t beat on-board display… I can read my distance sensors, i’s and o’s, pots -whatever without that pesky cord going to the computer and without adding 1/2 a second between all the commands!!
Yeah, been a while, no tea Yeah, been a while, no tea yet. I’ve been busy with Xmas stuff, and doing girly things like knitting… oh, and working on getting a job
I’d say this is an amusing I’d say this is an amusing one that you could try and great for the cold weather. Firefly fans would get a kick out of this as well…
The display has 3 screw terminals on the back, + Gnd and Rx (serial in). From output 7 (doesn’t matter which output) I ran a 1k resistor, in series, to the serial in to the display. I don’t really know if you need the resistor, but it seemed like a good idea to me. I shared + and gnd with the same 4.5v that is going to the picaxe. That’s really it. Here is some code…
pause 1000 setfreq m8 'you need to set freq. to 8hz to get a 9600 baud
main: serout 7,T9600_8,(254, 128) 'Sets line 1 position 1
pause 20 serout 7,T9600_8,(“Text here”)
pause 20 serout 7,T9600_8,(254, 192) 'Sets line 2 position 1
A little add-on CtC’s LCD has this little serial translator on the back, that apparently has a 4 bit interface to it’s attached LCD. That covers all but 4 of the pins on the LCD.
**@X ** I dunno – I switch to 8hz to send to the LCD and switch back to 4hz when I am done. --Going to 8hz can’t harm the chip, but you do have to recalculate all your pauses etc…