Balloon Cart with Proportional Deceleration

A cart with a balloon is pulled toward a wall of spikes and must come to a stop within 2 centimeters without the balloon popping.

Nov 4, 2017

2759 views

0 respects

Components and supplies

1

Arduino UNO

1

Ultrasonic Sensor - HC-SR04 (Generic)

1

Arduino MotorShield Rev3

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

maguerero

0 Followers

0 Projects

Table of contents

Intro

0

0