My little place on the web

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:lcd_module [2012/07/01 12:09]
elger
projects:lcd_module [2013/05/11 09:21]
elger
Line 6: Line 6:
 {{ :​projects:​sainsmart_iic-i2c-twi_serial_2004_20x4_lcd_back.png?​200|}} {{ :​projects:​sainsmart_iic-i2c-twi_serial_2004_20x4_lcd_back.png?​200|}}
  
-My display has a PCB on the back labled "​YwRobot Arduino LCM1602 ​IICV1" but it appears it is the same as the the one of [[http://​www.sainsmart.com/​sainsmart-iic-i2c-twi-serial-2004-20x4-lcd-module-shield-for-arduino-uno-mega-r3.html|sainsmart.com]]+My display has a PCB on the back labled "​YwRobot Arduino LCM1602 ​IIC V1" but it appears it is the same as the the one of [[http://​www.sainsmart.com/​sainsmart-iic-i2c-twi-serial-2004-20x4-lcd-module-shield-for-arduino-uno-mega-r3.html|sainsmart.com]]
 The only difference is the text on the back.  The only difference is the text on the back. 
  
-There were a few (simple) steps in getting the display to work, you just need to know what they are.+There were a few (simple) steps in getting the display to work, you just need to know what they are. The display is basically a HD44780 LCD display and an PCF8574 I2C-to-parrallel IC 
 + 
 +===== PIC Library ===== 
 + 
 +The code on this page is for an Arduino (compatible) microcontroller,​ however there is a PIC microcontroller library available too. 
 + 
 +I have never gotten around to working with a PIC, but I received an email from //MDP// wrote a library for the LCD display to be used on a PIC18F4550 
 + 
 +He has been kind enough to share this with the world, and he send me his code. You can download everything {{:​projects:​lcd_module:​sainsmart_i2c_adapter_files.zip|here}} 
 + 
 +//MDP// also wrote a more universal library for the PIC, one that is also compatible with the adapter labled "​mjkdz"​. You can download the files {{:​projects:​lcd_module:​lcd_pic_i2c_generic_driver-10.zip|here}} 
 + 
 +===== A demo =====
  
 But first, here is a demo of the LCD display But first, here is a demo of the LCD display
Line 38: Line 50:
 And there is also lots more information on the library [[https://​bitbucket.org/​fmalpartida/​new-liquidcrystal/​wiki/​Home|here]] And there is also lots more information on the library [[https://​bitbucket.org/​fmalpartida/​new-liquidcrystal/​wiki/​Home|here]]
  
-<page is being edited>+I used their examples and came up with this little demo:
  
 <code cpp i2c_display.ino>​ <code cpp i2c_display.ino>​