Sam Chen
Published © GPL3+

XY Location of the Robot Car (UIUC ME 461)

This project finds the XY location of the robot car as it moves to a location, characterizes its accuracy, and has some fun with a ball.

IntermediateFull instructions provided15 hours380
XY Location of the Robot Car (UIUC ME 461)

Things used in this project

Hardware components

Green PCB Board designed by Dan Block
Green Board was designed by Dan Block, d-block@illinois.edu
×1
LAUNCHXL-F28379D C2000 Delfino LaunchPad
Texas Instruments LAUNCHXL-F28379D C2000 Delfino LaunchPad
×1
JGA25-370 DC 250-RPM-at-6-V Gearmotor
×2
SG90 Micro-servo motor
SG90 Micro-servo motor
×1

Software apps and online services

Code Composer Studio
Texas Instruments Code Composer Studio

Story

Read more

Code

Final_Project.zip

C/C++
This is the folder where the code is stored, specifically in the main.c file. The most relevant functions are cpu_timer1_isr, findAngle, xy_control, and readEncLeft and Right. Near the top of the file, there are arrays for xDesired and yDesired coordinates in units of feet. This determines where the car will be going.
No preview (download only).

Credits

Sam Chen
1 project • 0 followers
Thanks to Dan Block and Yorihisa Yamamoto.

Comments