In the last few weeks we had seen a couple of posts where people were unable to read from the analog sensors and some other sensors too but were able to run the LED blink example.
We have found the problem with the board and it was because of the fuses being set incorrectly on the firmware which reduced the clock speed to 1/8 the of the original and caused the problem. There is a script attached to this post and running that on your pi should make the problem go away. To run the script, make it executable: sudo chmod +x grove_setup2.txt and run it: sudo ./grove_setup2.txt.
Please let us know if this solution works for you! If it does, we’ll update the Github repository and come up with a fix on the manufacturing side. Thanks!
Hey Radek,
I just tried the install script with the Latest Raspbian image 2015-05-05-raspbian-wheezy and everything is working properly with the GrovePi. I didn’t face any problems with the GrovePi.
It would be great if you could share more details about the problem that you are facing.
Hey Radek,
That’s the exact procedure that I followed. Just do a sudo apt-get update before you start the script to make sure that all the package links are updated.
I just tested with an image from git: number of problems = 0.
Everything works in my setup - even analog sensor without any special actions or deviating from installation procedure right of the bat.
Wow. Just got here after wondering what the hell I did wrong, why I would get 899-900 out of the light sensor, whether night or day, and luckily found this. I haven’t tested the other sensors yet, but the light sensor is suddenly responding with meaningful readings, so I trust the others are good, too.
Thanks!
This is with a RasPi from a couple of years old (model B, I guess?) with GrovePi+ on Raspbian with github config for GrovePi
Hey jaythvv,
How did the tem/hum sensor far overnight. Can you also share the code thaqt you were using to test them so that we can have a look at them and try to replicate the problem at our end.
Sorry for the slight delay. The temp/hum sensor as well as light are working fine, be it without my sound and ranger scripts.
These send results up to a cloud server, but I have commented that stuff out, and should now just print the body of the message. If you get any errors, it’s likely http related and you should be able to remove it. The scripts use the grove_rgb_lcd scripts which I didn’t change so I didn’t include.
I run these scripts from cron: (last two commented out here, of course, but to test you wouldn’t)
The watchdog.sh script simply checks if the process runs, and start it if it doesn’t. For testing, you might just want to run those scripts directly from the shell.
The GrovePi platform changed significantly since 2015, software-wise.
I’m also looking at these replies and at this moment, they no longer seem relevant.
Can you tell us what you’re trying to achieve? We will gladly help you.
By the way, if you’re interested in just installing the GrovePi, please take a look at the GrovePi's README in here: