Lesson 100: Control a Servo Motor with Your Hand Gestures
In this lesson, we learn how to control a servo motor using hand gestures. For each gesture, we can take action to move the servo motor to a certain angle or a full motion. We've used an APDS-9960 gesture sensor, and a library needs to be installed on the Arduino IDE. Just copy the code below, open a new project by clicking on File>New, and then save and download it to your Arduino. You need a computer only once to send this program to the Arduino board; then you don't need it. Just power it up using a battery, power adapter, or USB cable, and it will work. For the servo motor, if you are using the small SG90 servo, you can power it up using the Arduino. But for larger motors, make sure to provide power from an independent battery or power source, as the Arduino cannot supply enough power to larger servo motors.
Ressourcen & Referenzen
Noch keine Ressourcen vorhanden.
Dateien📁
Keine Dateien verfügbar.