I’ m looking at grovepi as a hoby ist ,considering to build an internet NTP driven alarm clock.
My questions are something very basic:
-work all the sensors with all boards (arduino,raspberry,etc)?
-what is tha advantage using grovepi board and sensors in respect to connecting sensors directly to raspberry?
best regards from Barcelona
Work all the sensors with all boards (arduino,raspberry,etc)?
Most of the sensors (if not all) are inherently designed to work with either the GrovePi, the GoPiGo or the BrickPi boards. A reason is that they use the grove connector.
You could also port a sensor to an Arduino board, but it’s going to take more effort in things like wiring and electronics.
What is tha advantage using grovepi board and sensors in respect to connecting sensors directly to raspberry?
The Raspberry Pi and the GrovePi are separate boards that do different things. The GrovePi is a specific device used for controlling and interacting with end devices, whereas the Raspberry Pi is a general purpose machine that does everything, but does not excel at anything.
Now, on a Raspberry Pi, it’s harder to control/interact (with) an end device due to the following things and not only:
There’s no level converter. The Pi works at 3.3V, whereas a big part of the sensor and most actuators work at 5V.
The Pi has a harder time working with interrupts. You’d waste lots of CPU cycles just trying to see if the program hit a threshold. This is an example.
For instance, here’s an article on the differences between an Arduino and a Raspberry Pi. This can also be applied to the GrovePi and the rest of our boards:
Thank you for your explanaiton, definitely the GrovePi approach seems to be an easyest way to work with sensors!!