Nxpcup 2022 Project

About the project

The NXP Cup is a world wide competition where teams build and program an autonomous model car to be raced on a track. Follow our journey to this competition.

Project info

Difficulty: Moderate

Platforms: MATLABNXPPython

Estimated time: 4 months

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

Parallax TSL1401-DB Parallax TSL1401-DB Linescan Camera Module for line detection x 1
DFRobot ROB0165 DFRobot ROB0165 Car with brushless motors designed with spring suspension. Furthermore, the car features bumpers in the front and in the back to protect the car from damage x 1
Savox - Servo - SC-1257TG Savox - Servo - SC-1257TG - High efficiency Coreless motor - Accurate and fast response - Super high resolution - Aluminium center case for improved motor cooling and total strength x 1
Hobbywing UBEC 10A V2 (2-6S) 30603003 Hobbywing UBEC 10A V2 (2-6S) 30603003 DC-DC voltage regulator x 1
Schumacher Pneus Pluie Piste 1/10 Shimizu D01J PK4 (x4) XG-RAIN Schumacher Pneus Pluie Piste 1/10 Shimizu D01J PK4 (x4) XG-RAIN 4 rain tires x 1
RS PRO RC BATTERY PACK RS PRO RC BATTERY PACK 7.2V NiMH 4Ah x 1
FRDM_K22F FRDM_K22F Roll over image to zoom in The NXP Freedom K22F is an ultra-low-cost development platform for Kinetis® K22 MCUs. x 1
XL-MaxSonar-EZL0(MB1260) XL-MaxSonar-EZL0(MB1260) Ultrasonic sensors for obstacle avoidance x 1
Custom MEA Shield Custom MEA Shield x 1

View all

Software apps and online services

MCUXpresso IDE MCUXpresso IDE
Matlab Matlab
Python IDE Python IDE
Visual Studio Code Visual Studio Code

Hand tools and fabrication machines

BTR Keys BTR Keys x 1

Story

During this project, we tried to make a car as efficient as possible for the NXPCUP. This project is part of our schooling at Polytech Montpellier.

We chose to participate in the NXPCUP, because this project interested us a lot, the competition aspect was motivating and working on an autonomous car is super cool


At the beginning, we were interested in the rules of the competition, in order to know what was possible to do. Then we thought about the direction algorithms we were going to use.

We tested our algorithms on Matlab and implemented them.

Then we made improvements, then we were blocked by the mechanical aspect of the car, so we improved the car.

At the end of the project, once we chose not to change any more parts on the car, we improved the code by adding new ideas.




Schematics, diagrams and documents

MEA NXPCUP shield

Code

NXPCUP Control Code

NXPCUP Camera Code

Credits

Leave your feedback...