Victok
Posts: 1
Joined: Sat Jul 08, 2017 4:18 pm

HELP! Controlling servo motor using motor shield

Tue Mar 20, 2018 2:22 am

Hey guys,
So I just bought a bunch of electronic parts (breadboards, motor shields, RFID Board, Ribbon cables, LCD Displays and all the likes)from my local electronics store that was going out of business, and I am having a blast trying them out. However, I ran into a problem. Because I am fairly new to the whole python coding environment, I am having trouble doing something. That is controlling my TowerPro MicroServo 9G SG90, that is connected to the 3 Servo1 Pins on the Motor Shield v2.0, which is mounted on the UNO Board, which finally, is connected to the Raspberry Pi 3 Model B using a USB cable. All I want to do is move the servo using this setup. I know I could connect it directly to the Pi, but where's the fun in that? I'm really in a position where I could use some help with these devices, it would be really appreciated!

Thanks, Victok :D

timrowledge
Posts: 1123
Joined: Mon Oct 29, 2012 8:12 pm
Location: Vancouver Island
Contact: Website

Re: HELP! Controlling servo motor using motor shield

Tue Mar 20, 2018 8:29 pm

I don’t think a motor driver is likely to drive a servo very well. Servos need a pwm signal roughly 50 times a second.
Making Smalltalk on ARM since 1986; making your Scratch better since 2012


Return to “Advanced users”

Who is online

Users browsing this forum: No registered users and 8 guests