GMU:Tutorials/Performance Platform/Controlling an Arduino with The Captury: Difference between revisions
From Medien Wiki
Line 8: | Line 8: | ||
== First Part == | == First Part == | ||
In this part I will show you how to use two photocells to control the on/off of two vibration motors in Arduino. The trigger was designed as if two photocells are covered by hands, then those vibration motors will vibrate simultaneously. | |||
'''Hardware You Need:''' (for each item x2) | |||
Photocell | |||
Vibration Motor | |||
Arduino Board | |||
1N4001 Diode | |||
0.1µF ceramic capacitor | |||
10KΩ Resistor | |||
2N2222 NPN Transistor | |||
USB Connector | |||
So how do I test if the vibration motor works well? | |||
The following circuit is the basic method to test your motor without photocell: | |||
TIPS! For this circuit you may need a 1KΩ Resistor. | |||
[[File:BasicVibration.jpg]] | |||
== Second Part == | == Second Part == |