EEL 4935 USF Project 2021!
by edwincruz1239 in Circuits > Arduino
166 Views, 1 Favorites, 0 Comments
EEL 4935 USF Project 2021!
This instructable was created in fulfillment of the project requirement of the Makecourse at the University of South Florida (www.makecourse.com)! I did this as a project for my class EEL 4935!
This robot is meant to analyze its surroundings and determine if it should go left or right, or simply move forward.
However this robot does not work, the code seems to be a bit faulty. The motors don't move forward, but the servo motor and ultrasonic sensor work by moving left and right and sensing when something is too close.
The ultimate rendering is the final product after several tries of 3d printing
Supplies
4x TT gear motors
1x Arduino UNO
1x Servo Motor
1x Ultrasonic Sensor
1x 9V Battery
25x Jumper Wires
4x Tires
1x L298H Motor Drive
1x 9V Battery Holder (the link below is where I got the 9V battery holder)
(https://www.amazon.com/RuiLing-Battery-Plastic-Bat...
Get Your Things Together!
First Step I did was make sure I had all of the needed supplies, from there I secured all the pieces into the 3D build!
The reason why this step should go first is to make it easier in future steps to connect the hardware together easier steps so the wires don't get in the way
Connect the Pieces!
Connect 9V battery to the motor drive
Motor drive to the arduino uno; EN1 to Pin4, EN2 to Pin5, EN3 to Pin6, EN4 to Pin7
Ultrasonic sensor to the Arduino uno; ground to ground, echo to A2, trig to A1, VCC to 5V
TT gear motors to the motor drive
Servo motor to arduino uno to pin10, ground, and 5V
Upload the Code!
Finally, Simply upload the code into the arduino!
Since the code seems to not work for me I advise checking and editing the code yourself!