ENGR 103 Final Assignment

Arduino
Robotics

Final Project ENGR 103, spring '24 Alex Loomis Angel Rodriguez Our primary focus within this project was the emotions challenge. This is because the emotions challenge emphasizes programming the robot to perform certain movements. This aligned more with our group's skills than the other challenges, which would have required deecorating the robot or printing new parts to innovate its design. We named our robot ROB. Our project required us to program ROB to move in ways that would convey its emotions. When ROB exhibits anger, its LEDs eyes turn red, and it will zig zag forward aggressively. When ROB is sad, its eyes shine blue, and it rotates slowly before backing off. When ROB shows fear, its eyes blink white and it reverses quickly to escape. And when ROB is happy, it spins in place and dances back and forth with shining yellow LEDs. The loop() function of our code works by calling each of the four emotion functions. While doing this, ROB collects readings from the VL53L0X sensor attached to its front. Our code is designed such that when the distance readings fall below the threshold of 200 units, ROB knows to turn off its LEDs and turn around before continuing with the next emotion action. This ensures that ROB can avoid obstacles in front of it. However, the sensor only points forwards, so ROB would sadly not be able to avoid driving off of ledges. Other details of the code can be seen in the attached .ino file. Credit goes to instructor Don Heer for providing sample code that we integrated in initializing the sensor and using the 'read range' function.

0 Lifts 

Artifacts

Name Description
Arduino File The code we used when programming the emotion actions of ROB.   Download
Emotions A showcase of ROB performing all four emotion actions.   Link
Sensor A showcase of ROB using its sensor to back away from a wall it encounters.   Link
Feedback