Installing GrovePi Module on Raspberry Pi [SOLVED]

Have a Raspberry PI B 2, installed the latest image (2015.03.20_Dexter_Industries_wheezy) and installed the setup.py and made the firmware update (1.2.2). The output work (testet for LED and really). But not one of all my sensors work (ultrasonic, light, temperature, sound). Debuting flag is on. The output is always the same:
IOError
Error
IOError
Error …

Hope you can help me with some advise. Thank you!

Hey tba6441, sorry to hear about this. Can you setup one of the sensors, maybe the temperature sensor since it’s an easy one, and take a picture of your setup and post it?

Dear John
Thank you for your fast answer. Please find the attached pictures.

Hey,
Can you run sudo i2cdetect -y 1 and post what you see here.

-Karan

Dear Karan
Please find the attachment. Thank you!

Hey,
Can you connect the temperature sensor to port A0 and run the grove_analog_read.py with port as 0 and 1 and post what you get here.

-Karan

Dear Karan, please find the pic.

Hey,
It does look like that your GrovePi+ is not working properly for some reason and I am not sure why.

Can you contact us through our contact page, under “General Questions and Feedback”http://www.dexterindustries.com/site/?page_id=65 and we’ll send you a replacement board ASAP. Can you just add a link to this forum post so that it easier for us to track the replacement.

Sorry for all the troubles.

-Karan

Dear Karan

Thank you very much for your help. I have already sent the message.

Hi. I have the same problem. Do you think that it is board problem?

Hey bastiao,
Can you describe a bit more about the problem that you are facing and what all have you tried.

-Karan

Hi, I have the same problem too.
The output work (testet for LED and really). But not one of all my sensors work (ultrasonic, light, temperature, sound).
I have installed the setup.py and made the firmware update (1.2.2)
“sudo i2cdetect -y 1” give 04

Thank you
Thorgrimm

Hey Thorgrimm,
Can you try the firmware version 1.1 from here: https://github.com/DexterInd/GrovePi/tree/master/Firmware . Just run v1.1 and see if that works. What is the usual output when you run the programs for the sensor. Can you post a picture of your setup along with the code and the output that you got.

Thanks,
Karan

Hi Karan
I reinstall Raspbian on the SD card
trying Option 1 and Option 2. Same
I tested with V1.1. Same
I tested with grovepi_repair_package.zip (http://www.dexterindustries.com/forum/?topic=analog-sensors-not-working)
Same result as eme43sap
pi@raspberrypi ~/Desktop/FIRMWARE $ sudo ./firmware_update.sh
Updating the GrovePi firmware

Firmware found
avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e950f
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "grove_pi_fw_1_2_2.hex"
avrdude: input file grove_pi_fw_1_2_2.hex auto detected as Intel Hex
avrdude: writing flash (14480 bytes):

Writing | ################################################## | 100% 9.31s

avrdude: 14480 bytes of flash written
avrdude: verifying flash memory against grove_pi_fw_1_2_2.hex:
avrdude: load data flash data from input file grove_pi_fw_1_2_2.hex:
avrdude: input file grove_pi_fw_1_2_2.hex auto detected as Intel Hex
avrdude: input file grove_pi_fw_1_2_2.hex contains 14480 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 6.88s

avrdude: verifying …
avrdude: 14480 bytes of flash verified

avrdude: safemode: Fuses OK

avrdude done. Thank you.

Testing Firmware version and analog read

GrovePi has firmware version:
Traceback (most recent call last):
File “grove_script.py”, line 3, in <module>
print “GrovePi has firmware version:”, grovepi.version()
File “/home/pi/Desktop/FIRMWARE/grovepi.py”, line 218, in version
return “%s.%s.%s” % (number[1], number[2], number[3])
TypeError: ‘int’ object has no attribute ‘getitem

Grove Pi is broken ?

Thanks,

I’m having the same problem as this. I have managed to get the LED blink test to work by upgrading the firmware but no sensors on the board are working. Is there a resolution to this?

Hey jbb352,
Can you describe more about the problem that you are facing. What sensors have you tries and what output did you get. Also it would be great if you could attach some pictures of the the sensors connected to the GrovePi.

-Karan

Have the same problem with my GrovePi :frowning:

Though digital relay works ok, but all other stuff doesn’t

light sensor sends values after like a hundred errors

looks like:

Error
Error
Error
Error
Error
Error
Error
Error
Error
Error
Error
Error
Error
Error
sensor_value = 345
Error
Error
Error
Error
Error
Error
Error
Error
Error
Error
Error
Error
Error
Error
Error

Hey askimer,
Can you describe a bit more about the problem that you are facing. What sensors have you tried on which ports . Also it would be great if you could attach some pictures of the the sensors connected to the GrovePi. Can you run this: https://github.com/DexterInd/GrovePi/blob/master/Software/Python/grove_firmware_version_check.py and let us know what you get.

-Karan

Hey,
We were able to replicate the problem at our end and it looks like it was a problem with the fuses which were burnt on the GrovePi. Can you try running the script that I have attached (Make the script executable sudo chmod +x grove_setup.txt and run it sudo ./grove_setup.txt.) and let us know if the problem goes away for you.

-Karan