• Home
  • Pages
    • Labs
    • Milestones
    • Team
    • Documents
  • Gallery
  • Robot Design
  • Software Design
Robots 'N' Roses

Blinking the Built-In LED

Used the blink default program on the arduino to blink the internal LED.

Blinking An External LED

Attached the External LED with positive in pin 9 and negative in the ground. Ran same program as previous.

Reading from a Potentiometer

Attached potentiometer to pin A0 to test analog input. Screenshot is the serial port output showing the values from the potentiometer.

Using Potentiometer to Control the LED

Changed OUT_PIN from potentiometer to pin A0. PWM signal outputted from scaled output of potentiometer drove brightness of LED.

Using Potentiometer to Control A Servo

Changed OUT_PIN from LED to pin 9. PWM signal outputted from scaled output of potentiometer drove speed and rotation direction of servo.

Assembling the Robot

Assembled robot using acrylic laser cut chassis and wheels, 3d printed servo holders and back strut. Velcroed battery to bottom and Arduino to top. We had one high port and two servos that needed a high connection. In order to avoid putting a large breadboard on our robot, we soldered servo high wires to each other and connected to arduino 5V pin.

Robot Moving Autonomously On Line

Drove robot autonomously in a straight(ish) line.

Robot Driving Autonomously On a Square

Drove robot autonomously in a square (servos still need calibrating).

Copyright © 2016 - All Rights Reserved - Domain Name

Template by OS Templates