High Temp Sensor with RGB-LCD, GrovePi+ not working

Grove is a modulated, ready-to-use tool set.
Much like Lego, it takes a building block approach to assembling electronics.

Moderators: lily.li, violet, salmanfarisvp, jeremy882, crail.lyu969

Post Reply
Posts: 3
Joined: Wed Jul 31, 2019 3:40 am

High Temp Sensor with RGB-LCD, GrovePi+ not working

Post by ridgerunnersjw » Wed Aug 14, 2019 10:45 pm

Raspberry Pi 3 running Buster connected via SSH over wireless
A high temperature sensor plugged into A0 on grovePi+, RGB-LCD plugged into I2C-2 on grovePi+....Logic analyzer connected to pins 3 and 5 (I2C) on the connector....Scope to confirm the analog voltage from the high temp sensor board verifying change with temperature....

Application Specific:
Run high_temperature_example.py [https://github.com/DexterInd/GrovePi] at command line
Python3.7 shows NO output at the command line however I do see I2C traffic....A couple I2C writes followed in perpetuity with the following read sequence [0x09, 0x00, 0x01, 0x5f] (continues forever)....What is wrong?

RGB-LCD works fine on I2C-2 PRIOR to running the above....After a Cntrl-Z to exit the above lock-up I have to remove power to get the RGB-LCD to respond. The command line spits out the following error after I have run the high_temperature_example.py, Cntrl - Z to escape then run the LCD

bus.write_byte_data(DISPLAY_RGB_ADDR, 0 , 0)
File "/usr/local/lib/python3.7/dist-packages/smbus_cffi-0.5.1-py3.7-linux-armv7l.egg/smbus/util.py", line 59, in validator
return fn(*args, **kwdefaults)
File "/usr/local/lib/python3.7/dist-packages/smbus_cffi-0.5.1-py3.7-linux-armv7l.egg/smbus/smbus.py", line 145, in write_byte_data
raise IOError(ffi.errno)
OSError: 5

Please advise???

Posts: 735
Joined: Mon Apr 02, 2018 11:05 am

Re: High Temp Sensor with RGB-LCD, GrovePi+ not working

Post by bill.yu » Tue Aug 20, 2019 4:48 pm

Hi Steve~

The python scripts are developed by dexter. please post the question to https://forum.dexterindustries.com/. Thanks.

Post Reply