Hey everyone,
My team is working on a robotics project and we're trying to decide which microcontroller or SBC to use. We're considering options like STM32, Teensy, Raspberry Pi, and Jetson Nano.
The robot will need to handle real-time motor control (for 4 wheels), work with sensors like IMUs, encoders, and possibly LIDAR or infrared for obstacle detection, and maybe even do some basic computer vision or data logging.
We're looking for a platform that balances real-time performance, processing power, and ease of development. Would love to hear your suggestions or what’s worked for you in similar robotics projects.
If your robot needs both real-time motor control and higher-level processing (like computer vision or LIDAR), I’d recommend a hybrid setup.
- Use a Teensy 4.1 (or an STM32 if you're comfortable with it) to handle motor control, encoders, and IMU. Teensy is Arduino-compatible but much faster — 600 MHz and great real-time performance.
- Pair it with a Jetson Nano (or Raspberry Pi if you're not doing heavy vision tasks) for computer vision, path planning, and data logging. Jetson Nano has GPU support and is great for running lightweight AI models or OpenCV.
This combo gives you real-time performance where it matters and the flexibility of Linux for everything else. Communicate between the two using UART, I2C, or CAN depending on your latency needs.
We've had good success with this kind of architecture in robotics projects using ROS. If you're using ROS2, check out micro-ROS for STM32 or rosserial for Teensy.
Let me know if you need example setups or wiring tips.