Asked

How Do I Interface With This LCD Display?

On the back of my Robot spot I have an 16x2 LCD display. I need to interface with it so I can display information about the robot and what it’s doing. How would I do this with the EZBV-4?

User-inserted image

Is there a specific ARC function to send text to the LCD via I2c?


Related Hardware EZ-B v4

ARC Pro

Upgrade to ARC Pro

Become a Synthiam ARC Pro subscriber to unleash the power of easy and powerful robot programming

PRO
Synthiam
#1  

That's i2c, so you'd have to check the manual for it. The I2C commands would need to be sent corresponding with the manual.

#2  

DJ, I have connected the to the I2C ports on the EZB V4.  Is the VCC voltage 7.4 or 5V?  I am looking through the wiki to try and understand how to send messages to it.  It has the address 0X27.

PRO
Synthiam
#3  

I don't know anything more about that display, sorry. All i see is a picture of some i2c and power wires. Is there arduino sample code? You can go from that. I2C is like uart, sort of. You just need to know the comands and use the i2cwrite command

#4  

wiki: https://wiki.52pi.com/index.php?title=Z-0234#Package_include

display: https://www.amazon.com/gp/product/B07S7PJYM6/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

PRO
Synthiam
#5  

Oh, that isn't very easy. You'd have to write a lot of code to make that display work. All the commands are on that wiki page, but I wouldn't know where to start. I only have used UART displays because they are much more accessible, and you only need to send the text. With the i2c displays, they're much more challenging to work with.

From the code, it looks like you send a bunch of initialization values and then some settings. eak, why'd you pick such a complicated display? lol

#6   — Edited

I was initially planning to use a arduino for the project and the library is readily available for this display.  Do you have a UART equivalent lCD recommendation?

PRO
Synthiam
#7  

You still could use an Arduino. Then you can add code to the Arduino to write to the display. Just through the ezb firmware on the Arduino. You lose wifi capability, though.

wow, there are lots of excellent uart displays on amazon. https://www.amazon.ca/s?k=uart+display&sprefix=%2Caps%2C272&ref=nb_sb_ss_recent_1_0_recent

I have only ever used one display in the past, and it was many years ago, so I don't have any valuable recommendations.