Raspberry Pi powers first driverless car in Formula SAE Brazil competition

Team Ampera pushed through various prototypes before creating a Raspberry Pi-powered car capable of navigating the Formula SAE Brazil track completely autonomously.

a few of team ampera posing with their driverless car inside a training building
I’ll drive myself thank you very much

Ampera, a Formula Student team from the Federal University of Santa Catarina, Brazil, has been competing in the electric vehicle (EV) category of the Formula SAE Brazil Competition since 2012. But in 2020, they were inspired by European competitions to start a research group focused on driverless cars. They began developing algorithms for autonomous cars in simulations, and by the end of 2022 they were able to begin implementing the system in their AMP-222 prototype.

all previous protoypes on a white background arranged like clip art. All the cars are electric blue (ha ha get it) and black
This image will help you decipher all the car name acronyms from here on in

The team’s timing proved perfect: in 2023, SAE Brazil decided to include an autonomous showcase in the competition. Ampera was the only team that successfully completed it, entering their new prototype, the AMP-223. In fact, Ampera’s Raspberry Pi-controlled car was the first autonomous vehicle ever to compete in the Formula SAE competition.

Raspberry Pi powers first driverless car in Formula SAE Brazil competition
They’re winners, baby

How does an autonomous car race work?

the back end of the driverless car lit up with a green light. you can see the hardware including the raspberry pi if you squint and look inside the rear headrest area
Lots of electronics where the driver would be

Autonomous vehicles are tested on a track delineated by cones, with yellow ones on the right and blue ones on the left. The in-car system uses those different colours to figure out whether it needs to steer left or right to stay within the track boundaries.

Watch the car spot yellow and blue cones and stay neatly on the track

Ampera’s car uses a camera to detect the environment, then asks Raspberry Pi for help to build a map that allows the humans on the team to decide the optimal path for it to complete the track. The camera is a Luxonis OAK DW with an integrated vision processing unit (VPU), which allows it to run the YOLO object detection model to “see” where the cones are on the track.

Expanding the car’s colour-spotting repetoire

The camera is connected directly to a Raspberry Pi 3 Model B, and the team stays remotely connected to the Raspberry Pi via Wi-Fi to allow for real-time debugging. Once the Raspberry Pi receives the information about the cones, the human team members run their Python algorithms to build a map of the track. These algorithms don’t just calculate the best path to follow; they also determine control actions, such as steering and acceleration, and send these suggestions to the car’s electronic control unit (ECU). The ECU controls the motor of the car, using the standard CAN bus communication protocol. The Raspberry Pi is connected to a bespoke PCB with a CAN transceiver and a controller module which allows it to do all of this, as well as talking to the camera it’s also directly connected to.

Much screaming of joy in this video — be warned!

Team Ampera

Thanks to Gabriel Ferreira Gelain for sending over all the photos and videos of their driverless cars, and congratulations to the entire team for everything they’ve achieved so far. You can follow Team Ampera on Instagram, LinkedIn, Facebook, and YouTube to keep up with their electric dreams.

team ampera posing all together on a race track. most people are wearing matching black uniforms and the smaller groups on the left and right edges of the larger group in the middle are wearing light blue and white uniforms
Print Friendly, PDF & Email

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Server Status

Aradippou Chat 1 Chat 2 Larnaca Limassol Nicosia

Chat Links

Official Links.

1. Chat 1.
2. Chat 2.

Alternative Mirror Links.

1. KiwiIRC 1.
2. KiwiIRC 2.

Other Web Clients.

1. IrcCloud.

Recent Posts

Related Posts:

Advertisement

Archives

Super Club Radio

Mighty Deals

CyIRC

CyIRC Tweets

Scroll Up
Fatal error: Uncaught WMAC\JSMin_UnterminatedStringException: WMAC\JSMin: Unterminated String at byte 1180: "+o.accessToken}}).then(e=>{if(!e.ok)throw e;return e});return a.catch(e=>{console.error(`Failed to logout chatrix session. deviceId: ${o.deviceId}`)}),a}})(); in /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php:215 Stack trace: #0 /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php(157): WMAC\JSMin->action(2) #1 /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php(96): WMAC\JSMin->min() #2 /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/class-main.php(375): WMAC\JSMin::minify('(function(){"us...') #3 /home/bszucbfe/public_html/wp-includes/class-wp-hook.php(324): WMAC_PluginMain->jsSnippetcacher('(function(){"us...', '/home/bszucbfe/...') #4 /home/bszucbfe/public_h in /home/bszucbfe/public_html/wp-content/plugins/clearfy/components/minify-and-combine/includes/classes/ext/php/jsmin.php on line 215