Components and supplies
1
Arduino Uno Rev3
1
Arduino Motor Shield Rev3
1
Ultrasonic Sensor - HC-SR04 (Generic)
1
DC motor (generic)
Project description
Code
Code to control motor shield proportionally with an ultrasonic range finder
arduino
Apologies for this code not being as simple consolidated as I could've made it but printing to the serial monitor helps with debugging the system when tuning.
Comments
Only logged in users can leave comments