Tuesday, May 5, 2015

Arduino Day 4 - Encoder, Touch Switch, and Ultrasonic Sensor with Frank!

1.  Run encoder code:



With readings:





2.  Have the touch switch turn on an LED and then turn it off.






3.  Connect an ultrasonic sensor and have it read values.



4.  Use encoder information to travel 10 feet.





5.  Have sciborg go forward until touch sensor is pressed and then go backwards.




6.  Have the sciborg go forward if the ultrasonic sensor detects nothing in front of it and stop when it does.






7.  Have the Sciborg use the encoder again to go 10 feet but with proportional control this time.




8.  Create a "nudge" function for the proportional 10 feet code to push the sciborg to the finish line!



10.  Give Frank the capability to follow a CONGA LINE (Bang bang w/ultrasonic sesnor)





11.  Let Frank follow the conga line using proportional control!





No comments:

Post a Comment