Troubleshooting

Troubleshooting

1.  What languages are supported by GrovePi?

We officially support Python and Scratch, but there is no reason why it should not run in any other language. The community has already ported the GrovePi to other languages like C#, Go, NodeJS and Shell. You can check out the languages supported on Github here Github repository.  We’ll love to support more languages. If you are interested in porting the GrovePi to other language we’ll love to hear more from you.

2.  Which port on GrovePi does what?

Please check out the port description here.

3. How are the ports connected and where is the schematic?

Please check the GrovePi Schematic. GrovePi is open source and you can check out the hardware design here. You can open them in Eagle or if you just want to take a look at the schematic, it’s available in PDF too.

4. Will my sensor work with the GrovePi?

Please check the supported sensors page to see if your sensor is officially supported. If it is not just the next question should help you figure out how to get it to work with the GrovePi.

If you have an unsupported sensor, then it’s time to get your hands dirty. It should be easy to set up most of sensors. These links should help you out. If you have any questions, post them on the forums and we’ll help you out. If the sensor is working, great, send a pull request on our Github repository. We’ll be more than happy to merge them.

5. I just got a Grove sensor I can’t get get it to work with the GrovePi.

First check if your sensor is officially supported by GrovePi here. If it is then you might need a software and firmware update, here’s the guide. Still not working, please post it on the forums and we’ll help you out.

If you have an unsupported sensor, then it’s time to get your hands dirty. It should be easy to set up most of sensors. These links should help you out. If you have any questions, post them on the forums and we’ll help you out. If the sensor is working please send a pull request on our Github repository. We’ll be more than happy to merge them!

6. I want to update the firmware on my GrovePi, how do I do that?

Just follow the firmware update guide here.

 

7. What does IOError mean when running the GrovePi examples?

The IOErrors are thrown when you run the GrovePi because sometimes the Rapsberry Pi  encounters a problem communicating to the GrovePi, dropping the data packets. It is nothing to be worried of and a simple try-catch block should help you recover from the errors.

8.  I’m not sure my GrovePi is responding.  How do I check?

Run i2cdetect –y 1 in the terminal and if you get 0x04, then the GrovePi works, if you do not see anything or see any other value, see above and update the firmware.

9.   The red reset LED is on and won’t turn off.

Run this to enable the GrovePi:

avrdude -c gpio -p m328p

10.  I want to setup the GrovePi on my own Image

If you are using a custom image and not the Raspbian for Robots image, then run the following command:

sudo curl https://raw.githubusercontent.com/DexterInd/Raspbian_For_Robots/master/upd_script/fetch_grovepi.sh | bash
sudo reboot

You can also install script in the Setup folder here: https://github.com/DexterInd/GoPiGo/tree/master/Setup.

First make it executable:

sudo chmod +x install.sh

then run it:

sudo ./install.sh

11.  I am getting a “Permission Denied” Error on the GrovePi

If you are getting a Permission denied error, the script needs to be run as root.  To do this, simply prefix the command with sudo to run it properly.  As in “sudo python grovepi.py”

12. I am unable to connect to my RaspberryPi or have a problem connecting to dex.local

The connection problem might be because of a networking problem or a problem with the SD card. Follow the troubleshooting guide here to solve any of those problems.

Still got a question?  If you have any questions, comments, or suggestions, please ask on our forum.