SerialMotorControl by bri_huang

Cloned from Sketch HBridgeBlink by Drun

This sketch is missing a short description
###SerialMotorControl Example This is a nice example showing how to use the Serial monitor to directly control the speed of a motor connected to an H-Bridge Driver. Upload this example to your device, open up the Serial Monitor, and enter in a speed (0 - 255) for the motor. ### Hardware connections: #### H-Bridge IC (Pins are numbered counter-clockwise starting at the upper left corner) * pin 1 (IC) -- pin 3 (arduino) * pin 2 (IC) -- pin 4 (arduino) * pin 3 (IC) -- Motor + * pin 4 (IC) -- GND * pin 6 (IC) -- Motor - * pin 7 (IC) -- pin 5 (arduino) * pin 8 (IC) -- Vcc (motor power) * pin 16 (IC) -- Vcc (5V for IC)

Embed This Sketch

Use the following HTML code to embed the sketch code above in your blog or website.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/sketch:137383" frameborder="0"></iframe>

Embed The Serial Monitor

You can also embed the Serial Monitor section! Just use this HTML code.

<iframe style="height: 510px; width: 100%; margin: 10px 0 10px;" allowTransparency="true" src="https://codebender.cc/embed/serialmonitor" frameborder="0"></iframe>