I2C LCD 20×4

One of my recent RPi projects involved the use of an 20×4 LCD. This an HD44780 driven LCD, they are very popular, this guide is also applicable to all LCDs using this driver e.x. 16×2, 16×4 etc.

There are many different ways of interfacing with the RPi, the two most common ones being:

-Direct Connection

HD44780 LCDs require a minimum of a 8 GPIO pins (if Backlight control is required otherwise 7) so I opted
for the I2C solution. The most popular choice here is the PFC8574 I2C port Extender.  A quick search in Ebay revealed
hundreds of hd44780 based LCDs  pre-soldered with a small PFC8574 board at the back. The bad news is – as I was
about to find out soon – that thery are not all wired the same way.


The PCF8574 extender is available in two versions, the PCF8574 and the PCF8574A. The only difference between the two is the I2C base address. The base address for the PCF8574 is 0x20 and the base address for the PCF8574A is 0x38.

Let’s get things from the start. Connectivity between the I2C enabled LCD and the RPi is dead easy. Simply
connect Vcc, GND, SDA and SCL and you are done. Regarding Vcc, 3.3V will do the trick just fine. The chip
itself has no internal I2C pullups, I can not see any on the board, RPi is the Master therefore you can also
conenct Vcc to 5V without worrying of damaging the RPi.


1 Comment

  1. KTV VIP Slotซึ่งเป็นกีต้าร์คลาสสิคที่มีความหรูหราและมีคุณภาพดีกว่ากีต้าร์ทั่วไปที่ใช้ในร้านค้าโดยทั่วไป PG SLOT โดยส่วนใหญ่

54 Trackbacks / Pingbacks

  1. real casino slots win real money
  2. cialis 10 mg recreational
  3. 2.5 mg cialis
  4. 50 mg of viagra
  5. 10 mg cialis
  6. cialis 40 mg tablets
  7. generic cialis plus 80mg
  8. buy glyburide/metformin
  9. prednisone 10mg
  10. diclofenac buy online
  11. hyzaar (losartan + hydrochlorothiazide) cheap
  12. buy wellbutrin sr generic
  13. fluoxetine 20mg
  14. promethazine generic
  15. lisinopril prices
  16. online casino real money in us
  17. real casino real money online
  18. tadalafil 20mg pill identifier
  19. online casino south africa real money no deposit
  20. duelz.com real money casino
  21. clonidine for sale
  22. furosemide 40mg
  23. ondansetron 2023
  24. cheap olanzapine
  25. allopurinol tablets package insert
  26. buspar buy you
  27. nitrofurantoin 50mg
  28. brand cialis
  29. name brand cialis 20mg bottle for sale
  30. tadalafil 20mg wirkung
  31. neurontin online sales
  32. prednisolone 2023
  33. how to buy lasix
  34. what is the difference between cialis 5 mg and 20 mg
  35. cheaper alternative to januvia
  36. buy singulair online
  37. cialis 20mg directions
  38. flomax for sale
  39. buy colchicine generic
  40. synthroid tablets
  41. pronhub husband on 20mg cialis and testosterone
  42. what does the pill crestor do
  43. diclofenac al 50 und pille
  44. generic amlodipine
  45. buy omeprazole online uk
  46. depakote online
  47. can you buy allegra over counter
  48. buy nexium online uk
  49. diltiazem hcl 30 mg tablet
  50. cialis 20 mg ebay
  51. sildenafil 100mg price at walmart
  52. buy tadalafil 5 mg
  53. best price on tadalafil 20 mg
  54. tadalafil 20 mg vietnam

Leave a Reply

Your email address will not be published.