theatrus
100-mile-commuter
Upside of RPi:
- Full Linux environment, allows use of languages like Python, Go, etc
- Internet connected fully out of the box
- You're not going to run out of CPU/memory resources
Upside of Arduino:
- Can implement hard real-time (timing dependent things)
- Extra features like PWMs, etc
- Simpler operating environment (write some C++, it runs in a loop)
- Analog inputs built in
Me? I use an RPi as supervisory control, and various other microcontrollers as the actual hardware I/O (RPi is the SCADA system, various other things are the actual control points). The easiest way I've found is to string things, like sensors and PWM, off the RPi over the I2C bus (one multi-drop bus - not the most robust thing in the world but totally serviceable over a few meters). In the case of my lights I used Bluetooth Low Energy.
- Full Linux environment, allows use of languages like Python, Go, etc
- Internet connected fully out of the box
- You're not going to run out of CPU/memory resources
Upside of Arduino:
- Can implement hard real-time (timing dependent things)
- Extra features like PWMs, etc
- Simpler operating environment (write some C++, it runs in a loop)
- Analog inputs built in
Me? I use an RPi as supervisory control, and various other microcontrollers as the actual hardware I/O (RPi is the SCADA system, various other things are the actual control points). The easiest way I've found is to string things, like sensors and PWM, off the RPi over the I2C bus (one multi-drop bus - not the most robust thing in the world but totally serviceable over a few meters). In the case of my lights I used Bluetooth Low Energy.