Node for Grove LCD RGB Backlight V4.0

Hi, is there any node compatible with Grove LCD RGB Backlight V4.0?

I assume this is a quite popular LCD module used in Arduino, however it can’t work with XOD LCD node.
Thanks in advance.

Have you tried using the generic xod/i2c nodes to turn on backlight, then using the text-lcd-i2c-16x2 node to display text? https://wiki.seeedstudio.com/Grove-LCD_RGB_Backlight/ indicates it uses 2 different i2c addresses to control each function. There is a good chance the it uses standard LCD communication on the LCD address.

1 Like

No, is not work. The address is correct, but the LCD just no response.

Do you mind to share how the i2c nodes can help?

Today is my 1st time to know about XOD, i’m a EE that specialised in hardware design with some occasional programming, spent my day to go through the tutorial and i love it so much, thought i finally can get rid of those programming pain, but not until when i reach the LCD section. I think the LCD support is very limited now based on my research on this forum.

I don’t have that hardware, so I can’t test. If you post your code that is not working, we might be able to find an obvious problem. If you don’t get the backlight turned on, there is a good chance you will not be able to tell if LCD is displaying anything.

Are you using 3Eh as the LCD address? Since the library for it supports auto-scroll and cursor positioning, it may not work with existing XOD LCD libraries. If that is the case, you will need a XOD wrapper for https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight (see https://xod.io/docs/guide/wrapping-arduino-libraries/).

If existing LCD nodes do work, you only need to set backlight. The generic i2c nodes allow you to write individual bytes to an I2C address (62h for RGB settings on this device). From https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight/blob/master/rgb_lcd.cpp & https://github.com/Seeed-Studio/Grove_LCD_RGB_Backlight/blob/master/rgb_lcd.h, you need to write the 6 bytes: 4, , 3, , 2, where , , and are values for brightness of each of those colors between 0 & 255. You may need to run begin-transmission & end-transmission for each pair of those 6 bytes.

If this is your 1st time with XOD, you should probably start with ‘watch’ nodes and use the debugger to see program output while you do your initial writing/testing. This will allow you to learn the basics before jumping in to trying to understand I2C communication.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.