Updated: Oct 10, 2019
I decided to combine the past couple of labs in this post. Just because I wanted to try the FSR with the motor. Unfortunately, my attempt wasn’t a success, but I still can’t get over how amazing the FSR is.
For a simple project, I had an idea of creating a hand that would help you clap. I got my inspiration from a popular saying in my country that says, “one hand can’t clap alone”, which is equivalent to “it takes two to tango.” I thought using the Hitec servo would be perfect for this project since it only rotates 180 degrees.
Everything is ready until I figure out what I did wrong with
powering the Servo using the Arduino.
I tried to wire the servo motor to the Arduino, but no luck at all! I thought maybe because the Arduino is 3.3 V and the motor is 6V?
I even tried to connect the yellow wire to the ‘VUSB’ pin, which is basically the 5V on the other Arduino nanos, but still did not work.
With this code...
Turns out what prevented my motor to work was the positive energy wasn’t enough, so the solution is to pin the positive wire of the motor (red) to the VIN pin on the Arduino.