SparkFun Electronics Commentsurn:uuid:214d0e4e-f1b1-d287-ce26-ac5b4c9f82492024-03-28T06:20:36-06:00SparkFun Electronicsjmlynesjr on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5Vjmlynesjrurn:uuid:92127fab-da24-bd21-9dad-b69645883c2b2013-01-03T14:21:08-07:00<p>Check the wiki for the HD44780. The chip supports commands that aren't mentioned in the datasheet.<p>James</p></p>
Customer #116605 on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5VCustomer #116605urn:uuid:9ac5f7f6-1c44-63fc-e02f-74f7988ebfb32013-01-03T07:09:36-07:00<p>Is there a way to get inverse video on these ? It's very handy for drawing menus, but I can't seem to find a command to do this.</p>
jmlynesjr on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5Vjmlynesjrurn:uuid:04e8d4b6-e2b3-a284-cacb-5f2c4901af7c2012-12-10T20:06:24-07:00<p>Does anyone have this working with the chipKIT Uno? The chipKIT has 5v and 3.3v available, but the logic level outputs are at 3.3v. Will this display work if powered at 5v and driven at 3.3v? Is a 3.3v to 5v level shifter required? The 16F88 spec indicates that a "HIGH" can be as low as 2.0v or 0.8v on a schmitt trigger input.<p>It would be nice if this backpack also supported I2C and SPI like the Serial LED product does.</p><p>Update1: Working fine with chipKIT UNO. No problems seen with the 3.3v logic level. No level converter seems to be needed.</p><p>Update2: Code posted on http://www.chipkit.org/forum/
Topic: "Sparkfun Serial Enabled 16x2 LCD - LCD-09396"</p><p>James</p></p>
Customer #356076 on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5VCustomer #356076urn:uuid:bb0ce968-5c97-ac7b-04f2-c4372fd9a28b2012-11-29T22:23:56-07:00<p>I've been messing around with this screen all day. It's finicky, but now that I got the hang of it I think it's pretty good. So I figure I would post my noobish comment.<p>First and foremost just because the JST connector on the screen says RX does not mean that's the pin it suppose to be hooked too. I don't know if that was obvious to everyone else or not. Anyways I used pin 13 and I have an Arduino uno r3.</p><p>Second, Kamiquasi(the guy that posted above me) linked the page below.<br>
http://arduino.cc/playground/Code/SerLCD
Get the code on the first page, then click on serLCD() under functions and copy that code too. That will get you running.</p><p>lastly the datasheet listed for this lcd screen is quite useless. It lists all the commands, but is confusing. Even if you cannot get the code above working use it as a manual. It shows ever command and how to write it to the screen using hex.</p><p>I have been programming for years in various languages and I have to say the Aruduino is very nice environment. It doesn't get as angry as PIC's do. Next to labview it's one the only environment that has errors that are in English and actual help solve the problem. The Sparkfun community is awesome. I do know how many questions I have had that have been answered by these comments so I figured I would post my findings.</p></p>
Customer #263719 on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5VCustomer #263719urn:uuid:a071d580-be7b-2a2c-b9b1-9e39412186242012-09-25T08:53:35-06:00<p>Thanks for the Info,
I used that library too, got the same result,
it look like the screen LEDs not good (I can barly see the backlight even with highest setting (lcd.setBrightness(30)).
Thanks for your help.</p>
Kamiquasi on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5VKamiquasiurn:uuid:d15e4538-a332-1352-b16c-90ca55059abe2012-09-24T17:29:40-06:00<p>Have you looked at this page?
http://arduino.cc/playground/Code/SerLCD</p>
Customer #263719 on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5VCustomer #263719urn:uuid:f811c24e-0998-0c35-060d-b699fc45ac812012-09-24T17:12:21-06:00<p>I did it but it didn't work, All other commands works using 254 code folowd by other commands (like clean, move cursor,turn display on and off,....)<p>is there any sample code for arduino to check it out?
Thank you</p></p>
Kamiquasi on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5VKamiquasiurn:uuid:e9f6bbb0-507f-b29a-bf8d-7835376b39682012-09-24T14:11:06-06:00<p>From the datasheet:
"By sending the special command character <strong>0x7C</strong> (decimal 124) followed by a number 128-157, the backlight PWM value will be set". Above that is a little table that shows that:
"128 = off
140 = 40% on
150 = 73% on
157 = 100% on"
Shouldn't be a secondary power source required for the LCD.</p>
Customer #263719 on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5VCustomer #263719urn:uuid:22d25e4f-4162-d41d-fbe8-1929c1c0ab322012-09-24T13:33:04-06:00<p>How can I turn on the backlight using Arduino?
does it need extra power wiring?</p>
Bob15 on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5VBob15urn:uuid:f2de6ee9-5e45-d11d-3b6b-d169015b99072012-09-08T23:26:41-06:00<p>I am using the serLCD v2.5 with a PicAxe18X, and I found a little hint to help rid of the first character or command jibberish in the PicAxe docs under SerOut command:<pre><code> A ‘T’ baud rate idles high, with data pulses going low. When using a T baud rate
the very first byte may become corrupt if the output pin was low before the serout
command (the pin will be automatically left high after the serout command). To
avoid this issue place the line high (via a’high’ command’) a few milliseconds
before the very first serout command.
</code></pre><p>Also I felt a bit dumb after I realized that the 0xFE command prefix is used for the Extended Commands, not the 0x7C used for the hardware set-up. Doh!</p><p>This is a test snip that seems to work: (Thanks to JPLofLIL for the jump-start.)</p><pre><code> pause 200 ;pauses are overly generous, could be shorter
setfreq m8 ;needs to be fast enough for higher baud rates
pin0 = 1 ; Pin needs to idle high
pause 200
serout 0,T9600_8,(0x7c,137) 'backlight values 128-157
pause 2000 '128=off 140=40% 150=73% 157=full on
serout 0,T9600_8,(0xFE,0x01,"hello bob ")
pause 2000
serout 0,T9600_8,(0xFE,0x01)
pause 2000
serout 0,T9600_8,(" hello dude" )
</code></pre></p>
Customer #5742 on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5VCustomer #5742urn:uuid:e81514c4-222c-70b8-7585-203061e3c0a22011-10-14T10:51:54-06:00<p>Can you please post a correct schematic and source code?</p>
JPLofLIL on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5VJPLofLILurn:uuid:7ed8cd8e-332d-6ba4-ad3c-7742fd6fc2f12011-09-20T16:39:51-06:00<p>This LCD worked well for me until it failed at about 5 hours run-time. I'm not very experienced with the Picaxe 18M2 but this program works for me . . . No responsibility accepted etc.<br>
pause 200<br>
setfreq m8 'needs to be fast enough for higher baud rates<br>
pause 1000<br>
serout C.3,T9600_8,(0x7c,150) 'backlight values 128-157<br>
pause 1000 '128=off 140=40% 150=73% 157=full on<br>
'-------------------------------------------------------------------------------<br>
'NOW SETUP DISPLAY FOR FIRST TIME (then stored in EEPROM)<br>
serout C.3,T9600_8,(0x7c,4) 'display 16 wide =4<br>
pause 200 'display 20 wide =3<br>
serout C.3,T9600_8,(0x7c,6) 'display 4 lines = 5<br>
pause 200 'display 2 lines = 6<br>
'-------------------------------------------------------------------------------<br>
serout C.3,T9600_8,(254,$01) '254 to send command - 01 clears display<br>
Pause 30 '30 is the minimum lag required for command to take effect<br>
'254,8 Hide display<br>
'254,12 Restore display<br>
'254,128 Move to line 1, position 1<br>
'254, y Move to line 1, position x (where y = 128 + x)<br>
'254,192 Move to line 2, position 1<br>
'254, y Move to line 2, position x (where y = 192 + x)<br>
main:<br>
serout C.3,T9600_8,(254,128) 'cursor to line 1 position 1<br>
pause 200<br>
serout C.3,T9600_8,(" Hello !")<br>
pause 200<br>
serout C.3,T9600_8,(254,192) '192 to goto start of line 2<br>
pause 200<br>
serout C.3,T9600_8,(" Line 2")<br>
pause 2000<br>
serout C.3,T9600_8,(254,$01) 'clear display<br>
pause 200<br>
goto main</p>
N00b_Programmer on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5VN00b_Programmerurn:uuid:a1296fb7-8f38-66c3-4c07-27712d398c8d2011-09-15T10:08:07-06:00<p>I have ported LiquidCrystal library for use with the serial LCD you can look at my code here. Still working on finishing all the documentation. But putting up for now hopefully someone will find it usefull.<br>
http://arduino.cc/playground/Code/SerLCD<br>
-Thanks</p>
Z Vincent on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5VZ Vincenturn:uuid:ffdbb3d6-55ce-01e3-743a-856b9dad937b2011-09-02T20:10:13-06:00<p>Can you recommend a work-around for the start bit requirement? I'm trying to interface to a Picaxe 18M2, but it looks like the inability to send a start bit is preventing it from working correctly. I think its triggering off the first bit it sees, so only some characters are properly shown.</p>
JChristensen on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5VJChristensenurn:uuid:92b77ce8-642f-d7aa-032f-85f95a552be22011-01-12T15:49:00-07:00<p>This display has worked well for me! I wish a current schematic were posted, so I'd know what the connections on the edge of the board are. There are 6 pads on the bottom and 10 on the top of the board. Basically right now I'd just like to make the RX, Vcc and GND connections via standard 0.1" headers if available there, but it'd also be nice to know what the rest of the connections are just in case there's other coolness available.</p>
tom7 on LCD-09396 - Serial Enabled 16x2 LCD - Yellow on Blue 5Vtom7urn:uuid:ccac6617-983f-7a11-edea-4740db0bbf202011-01-02T10:47:41-07:00<p>I love these. I use one in pretty much every project just because it's so useful for development and for making user interfaces. I wish the serial interface supported modifying the character set--this would enable a bunch of fun uses outside of just displaying text. From the LCD datasheet it seems like this is possible (at least there are commands for writing to CGRAM). Any hope?</p>