Getting Started with the NXP CUP
These pages help you with the question of how to achieve the goal of creating an autonomous vehicle that quickly navigates around a track (timed race) and solves precision tasks (Figure 8, Speed limit zone, Obstacle avoidance)
What is a Microcontroller?
For information on what a microcontroller is head to the microcontrollers article.
Getting Started - Learn to Program a microcontroller
First off, you are going to need to know C programming. For a crash-course head to c-programming-for-embedded-systems.
The classic first application to learn how to program a microcontroller is to get through the process of Blinking an LED. This wiki contains a tutorial for each of the Cup microprocessors which simplifies the process of setting up the evaluation board, installing the Integrated Development Environment, and programming the board with a simple set of software which blinks a LED. The Blink a LED tutorial is the first of 4 tutorials designed to familiarize students with the process of designing a cup car.
These four tutorials will introduce students to many of the fundamentals of robotics, the software used to control the locomotion and sensors on an autonomous line following vehicle, and provide example code which help simplify the process of creating a competitive entry in the NXP CUP.
Here is an outline of the Basic Microcontroller Programming Tutorial:
- Read the microcontroller article
- Choose a microcontroller
- Set up the development environment
- Set up the microcontroller evaluation board
- Program A LED
- move to the next tutorial…
Course Material from the NXP CUP professors and supporters:
Thanks to our professors and NXP CUP supporters we created an exclusive starter kit. It includes lecture material, information on the car, useful tips on the board etc. Download the file below and dive into a huge support portfolio!