Knightrider::kitty

About the project

An autonomous vehicle in scale 1:18 powered by two independent electric engines and steering by using servo. Our car is adapt to race in EMEA NXP CUP competition. The goal is use a PIXI CAM 2 camera to give our car eyes and to write perfect algorithm to be the fastest.

Project info

Difficulty: Difficult

Platforms: Arm MbedMATLABNXP

Estimated time: 7 months+

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

Items used in this project

Hardware components

MKV58F1M0VLQ24 MKV58F1M0VLQ24 Main microcontroller x 1
MKL25Z128 MKL25Z128 Microcontroller for detecting obstacles using laser sensors or ultrasonic sensors x 1
Pixy2 Cmucam5 Sensor Pixy2 Cmucam5 Sensor x 1
LPC4330-Xplorer Board LPC4330-Xplorer Board x 1
Servo Motor Servo Motor x 1
DC Motors DC Motors x 2
Battery Pack - 14 Aaa Cells Battery Pack - 14 Aaa Cells x 1
Ultrasonic Sensor Hc-sr04 Ultrasonic Sensor Hc-sr04 x 1
VL53L0X V2 VL53L0X V2 Laser Ranging Sensor Module x 1

View all

Software apps and online services

Clion Clion Smart easy C and C++ editor
Visual Studio Code Visual Studio Code Main IDE for C++ language
CMake CMake Tools designed to build our projects for MKV58F1M0VLQ24 , LPC4330 and MKL25Z128
GNU Make and Ninja GNU Make and Ninja Tools which controls the generation of executable
Matlab app Matlab app Control car from PC using bluetooth
LPCXpresso LPCXpresso Create basic code examples for PIXY camera microcontroller
MCUXpresso MCUXpresso Create basic code examples for mainboard
PixyMon v2 PixyMon v2 PixyMon v2 is the configuration utility for Pixy2
PrusaSlicer PrusaSlicer
SOLIDWORKS SOLIDWORKS
Altium Designer Altium Designer To create own PCB

View all

Hand tools and fabrication machines

Soldering satation Soldering satation x 1
3D printer 3D printer x 1
Oscilloscope Oscilloscope x 1
Logic analyzer Logic analyzer x 1
Basic mechanical tools Basic mechanical tools x 1

Story

About the project

The project contains multiple hardware, software and mechanical elements, combined together in order to create an autonomous car, capable to move on the track without any human control. Vehicle is programmed to move on the track and support some features defined by the NXP Cup competition rules.

The project is maintained using the Git repository system. Navigate to the following location to find our embedded firmware and software libraries, as well as hardware platform and mechanical parts designs.

Story

Mechanical platform

As expected, the vehicle needs to have a chassis that will ensure a stable fixation of all components. There are several chassis models recommended by the NXP Cup competition organizers and the Landzo Alamak chassis is the one selected for this project.

The Alamak set contains chassis, servo steering system and motors, but the last two elements were replaced in order to reduce response time of the steering system, provide better durability and allow car to reach higher velocity.

There are also plenty of elements that were created using 3D printing technology in order to enhance the car chassis by adding holders, stabilizers and reinforcement elements.

The steering system

System consists of a few elements, which goal is to fix servo to the chassis and allow turning the wheels by moving swingarms. Additionally, the servo holder is combined with the camera mast holder and the microcontroller board holder, what provides durable and stable fastening of all elements. The 3D models and photos were presented below:

Whole system:

Servo holder:

Element attaching the wheel to the swingarm: