ECE 306: Introduction to Embedded Systems

Emmanuel Rivera 82625fb525 Update 'README.md' 3 years ago
Homework 03 f212075abe Upload files to 'Homework 03' 3 years ago
Homework 05 d667cadde2 Upload files to 'Homework 05' 3 years ago
Homework 08 80f0b76635 Upload files to 'Homework 08' 3 years ago
Project 02 5b965db5b8 Upload files to 'Project 02' 3 years ago
Project 04 934877590f Upload files to 'Project 04' 3 years ago
Project 10 b38a975de8 Upload files to 'Project 10' 3 years ago
LICENSE 149267d3d7 Initial commit 3 years ago
README.md 82625fb525 Update 'README.md' 3 years ago

README.md

ECE 306: Introduction to Embedded Systems

In the interest of preserving the academic integrity of current or future ECE 306 students, the code listings for this project may not be made available for public online viewing. These files are contained in this unlisted repository.

Overview

The goal of the project was to design a IOT controllable RC car, and write software to control the vehicle over a Wi-Fi connection and autonomously follow a black electrical tape line. Software was written in C, within the IAR Embedded Workbench IDE, to control the input/output peripherals of the TI-MSP430 microcontroller. This software included code and algorithms that implemented a handful of other features, such as traveling in a specified shape, manually configuring the MSP430's UART baud rate, and even a menu system displayed on the LCD screen mounted on the vehicle.

Black Line Detection

The mechanism that detects a black electrical tape line consists of an IR detector/emitter board mounted underneath the chassis, and a C function that manipulates vehicle movement based on the amount of light being picked up by the IR sensors. Therefore, a higher ADC voltage being read by these sensors would indicate that the color black is being detected, which occurs when these sensors are driven directly over black electrical tape. Depending on whether either of these sensors detect an ADC value that strays away from the black line, the vehicle is programmed to correct itself and move back towards the line.

Demonstration

A demonstration which shows the vehicle approaching and navigating through a black electrical tape line can be viewed here:

https://youtu.be/MdTlc8b6d9U?t=840