This transformed RC automotive makes use of a Portenta H7 to drive itself
June twenty second, 2023
—![](https://blog.arduino.cc/wp-content/uploads/2023/06/spaces-EJB5OaeYjM5VSFEKLEFz-uploads-git-blob-c3f5005e9237f401c7510748486e9429d27ba0f3-my-car.jpg)
Jeremy Ellis is a instructor, and as such, needed a longer-term challenge that his college students might do to study extra about microcontrollers and laptop imaginative and prescient/machine studying, and what higher manner is there than a self-driving automotive. His concept was to take an off-the-shelf RC automotive which makes use of DC motors, add an Arduino Portenta H7 because the MCU, and practice a mannequin to acknowledge goal objects that it ought to comply with.
After deciding on the “RC Professional Shredder” because the platform, Ellis carried out a VNH5019 Motor Driver Service, a servo motor to steer, and a Portenta H7 + Imaginative and prescient Defend together with a 1.5” OLED module. After 3D printing a small customized body to carry the parts within the right orientation, practically 300 photos had been collected of double-ringed markers on the ground. These samples had been then uploaded to Edge Impulse and labeled with bounding bins earlier than a FOMO-based object detection mannequin was skilled.
![](https://blog.arduino.cc/wp-content/uploads/2023/06/image-2-1.png)
Reasonably than making a sketch from scratch, the Portenta group had already developed one that grabs new photos, performs inferencing, after which steers the automotive’s servo accordingly whereas optionally displaying the processed picture on the OLED display screen. With some minor testing and changes, Ellis and his class had constructed a complete of 4 autonomous vehicles that might drive all on their very own by following a collection of markers on the bottom.
![](https://blog.arduino.cc/wp-content/uploads/2023/06/spaces2FEJB5OaeYjM5VSFEKLEFz2Fuploads2Fgit-blob-7723736dc42eacbc9be950b8628cd2f66a1cde102Fstudent-cars2-copy-1024x307.jpg)
For extra particulars on the challenge, take a look at Ellis’ Edge Impulse tutorial right here.
You possibly can comply with any responses to this entry via the RSS 2.0 feed.
You possibly can depart a response, or trackback from your personal website.