Mini Servo Test on Raspberry Pi 2 (Python GPIO)
Servo test pic.twitter.com/gE3oFQ8BEy— fariswidyantho (@radenfaris) August 4, 2016
1. Using PWM
Pinout Raspberry Pi 2 |
orange PWM -> pin11
red vcc -> vcc 5v / pin2 / pin4
brown ground -> gnd / pin6, pin9, pin14...
2. Send python script or write script to RPI
3. Test Run
sudo python servotest.py
Referensi
-pinout = https://www.raspberrypi.org/documentation/usage/gpio-plus-and-raspi2/
-PWM = https://sourceforge.net/p/raspberry-gpio-python/wiki/PWM/
-datasheet mini servo = http://www.micropik.com/PDF/SG90Servo.pdf
No comments:
Post a Comment