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.
Log in to continue
We're a place where coders share, stay up-to-date and grow their careers.
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.