DEV Community

Discussion on: Arduino vs. Raspberry Pi

Collapse
 
gsin11 profile image
Gurpreet Singh

Thanks for sharing low level understanding. In addition, can we use same sensors on both the boards?
Idea is, if I buy Arduino kit with all the sensors or visa-versa will they work on RP?

Collapse
 
mx profile image
Maxime Moreau • Edited

Not all of them will work on the PI.

1) We can't use analog sensors on the PI because it has no analog input (you can add an analog input module to the PI if necessary but yeah... Arduino is good for that!).

2) As for digital sensors, you have to check very carefully that the sensor output is 3.3V because the Pi's digital inputs will be damaged by a higher voltage /!\ Or sometimes we can "transform" 5V output to 3.3V but we're loosing accuracy.