Modifying Servos for Continuous Rotation

Similar documents
Fiddy - the FTDI Clip

3D Printed 20w Amplifier Box

Fiddy - the FTDI Clip

Qi Wireless Recharging Battery Case

Learning with LEDs. Created by Rick Winscot. Last updated on :39:11 PM UTC

3D Printed 20w Amplifier Box

3D Printed LED Goggles

Crickit Carnival Bumper Bot

Pushrod Garage. Created by John Park. Last updated on :07:30 PM UTC

LED Eyes. Created by Ruiz Brothers. Last updated on :50:55 AM UTC

Making Adabot: Part 1

Slider Crank Mechanism -- from Cardboard and Craft Sticks

Coffee Detonator: The TNT Plunger Grinder

Portable Apple Watch Charger

Circuit Playground Express Head-Tilt Ears

Secret Hollow Book Intrusion Detector

Ping Pong Ball Launcher

3D Printed Glow-Spike Bracelet

Trellis 3D Printed Enclosure

FLORA TV-B-Gone. Created by Becky Stern. Last updated on :32:57 PM UTC

Glowing Smokey Skull. Created by Ruiz Brothers. Last updated on :03:40 PM UTC

Tent Lantern. Created by Timothy Reese. Last updated on :17:25 AM UTC

Hammer Time Mini Golf Hazard with Crickit

Stumble-Bot. Created by Dano Wall. Last updated on :04:06 AM UTC

No-Sew LED Wristband. Created by Kathy Ceceri. Last updated on :23:40 PM UTC

Mad Science Test Tube Rack

NeoLoch. Inquisitor Core. Assembly Instructions (9/3/2015)

Snake Charmer Box. Created by Dano Wall. Last updated on :07:25 PM UTC

Crawling Animatronic Hand

Crickit Dancing Marionette Kit Created by Dano Wall. Last updated on :03:11 PM UTC

Trash Panda. Created by Dano Wall. Last updated on :30:46 AM UTC

Paper Airplane Launcher

Trinket NeoPixel LED Longboard

Android GBoard Morse Code Control with Circuit Playground Express

MiniPOV4 - DIY Full-Color Persistence of Vision & Light-Painting Kit

NeoMatrix 8x8 Word Clock

i2c/spi LCD Backpack Created by lady ada Last updated on :11:04 PM UTC

7 Portable Multitouch Raspberry Pi Tablet

Adafruit VL53L0X Time of Flight Micro-LIDAR Distance Sensor Breakout

DIY Circuit Playground Shields

Con Badge with Circuit Playground Express

Feather Weather Lamp. Created by Ruiz Brothers. Last updated on :54:26 PM UTC

Adafruit Prototyping Pi Plate. Created by Ladyada

Adafruit Capacitive Touch Sensor Breakouts

Infinity Mirror Valentine's Candy Box

Prophet 600 GliGli mod

3D Printed Camera Tripod Adapter for Telescope

Adabot Operation Game

Circuit Playground Digital Input

DIY Wireless DDR Dance Pad with Bluefruit EZ-Key

Punk LED Collar. Created by Becky Stern. Last updated on :02:45 PM EST

Solar Boost Bag. Created by Becky Stern. Last updated on :44:55 PM UTC

Celebration Spectacles

Neon LED Signs. Created by John Park. Last updated on :11:09 PM UTC

Adafruit 8x16 LED Matrix FeatherWing

CPX Mystery Dreidel. Created by Kathy Ceceri. Last updated on :51:40 PM UTC

Chirping Plush Owl Toy

Adafruit APDS9960 breakout

Easy Sparkle Pocket T-Shirt

Introducing Adafruit Trellis

Luminous LED Flowers. Created by Becky Stern. Last updated on :47:44 PM UTC

Adafruit TPL5111 Reset Enable Timer Breakout

Lady Ada's Bento Box. Created by lady ada. Last updated on :55:35 AM UTC

Adafruit MCP9808 Precision I2C Temperature Sensor Guide

Adafruit 1.27" and 1.5" Color OLED Breakout Board

FLORA Pixel Brooch. Created by Becky Stern. Last updated on :19:07 PM EST

Adafruit TPL5110 Power Timer Breakout

TRON Bag. Created by Becky Stern

Adafruit DRV2605 Haptic Controller Breakout

Crawling Baby Sea Turtle Robot

NeoPixel LED Cortana Costume

FPV Mini Display. Created by Ruiz Brothers. Last updated on :00:18 PM UTC

Circuit Playground Yoyo

Simple LED Unicorn Horn

Trinket-Powered Conference Room Occupancy Display

Collin's Lab: Breadboards & Perfboards

LED Eye Prosthetic. Created by Tully Jagoe. Last updated on :00:17 AM EST

Reindeer Mask with Animated Eyes

Cartridge Machine USER MANUAL

Adafruit DRV2605 Haptic Controller Breakout

Interior Purse Light. Created by Becky Stern. Last updated on :41:08 PM UTC

Phone-Activated Talking Dog Collar

Wind Blowing Emoji Prop

Instruction Booklet FOR AGES 6 AND UP Conforms to ASTM D-4236 No VISIT OUR WEBSITE:

Circuit Playground Combadge

Mystical LED Halloween Hood

NeoPixie Dust Bag with Circuit Playground Express

BLE Light Switch with Feather nrf52840 and Crickit

Circuit Playground - P is for PCB

The Scream: Interactive Screaming Painting

NeoPixel Manicure. Created by Sophy Wong. Last updated on :50:38 PM UTC

3D Printed Google AIY Voice Kit

Desktop Fume Extractor

Zelda Thunder Helm. Created by Ruiz Brothers. Last updated on :46:52 PM UTC

Adafruit Pi Cobbler Kit

Crickit Powered Holiday Diorama

Adafruit GPS Hat in Windows IoT Core

TSL2561 Luminosity Sensor

3D Printed Case for Adafruit Feather

3D Printed LED Buckle

Transcription:

Modifying Servos for Continuous Rotation Created by Rick Winscot Last updated on 2018-01-13 05:46:39 AM UTC

Guide Contents Guide Contents Overview Tools / Materials Void the Warranty Breaking Bad Barriers 'The Mod' Re-assembly 2 3 4 5 12 18 23 Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 2 of 25

Overview Continuous rotation servos are awesome: instead of having a "standard servo" 180 degree range, a continuous servo can move all the way around like a wheel. By changing the pulses you can change speed and direction! If you're familiar with some of the other tutorials out on the Interwebs to modify servos for continuous rotation... you might be wondering what this guide has to offer. Lots! No Drift Many of the mods / hacks I've seen use low precision resistors which will require you to poke around until you find what the servo thinks is center-position. That approach will require you to capture that value and use it as an offset in your software... which makes re-using your servos much more difficult. Using high-precision resistors is the way to go. Grinders Away! Cracking off a piece of the potentiometer housing is a quick and easy way to remove the servos rotational limits. It's also a great way to make the servo wobbly and grind it's gears; there is a better way. Variable Speed Matched resistors give you sweet and smooth variable speed coming or going. Before we get started, I have a few words of advice. First, you will be modifying tiny precision molded parts. One small slip-up can transform the servo you are working on into spare parts. I would recommend buying three or four servos just in case. Second, this guide will require time, a steady hand, and some patience. Last, buying continuous rotation servos is always an option! Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 3 of 25

Tools / Materials Tools Soldering iron Multimeter Wire cutters Precision screwdrivers Materials A servo! We'll be using "Micro" servos here but any size will do 2.2k 0805 resistors (thick or thin film is fine) This hack will work with just about any servo... but the ones that have the potentiometer contacts in a row will be the easiest (by far) to mod. Here is an example of a standard Micro 9g servo driver with the potentiometer leads removed. We will be placing resistors between those three contacts on the bottom. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 4 of 25

Void the Warranty Alrighty then... let's remove any stickers and such that might prevent us from getting to the guts of the servo. Remove any screws or bands that hold the servo case together. Inside you'll see a tiny circuit board, a motor, and a potentiometer. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 5 of 25

We'll remove these three wires coming from the potentiometer. No worries... just cut through them. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 6 of 25

But be careful not to damage the wires coming from the motor. Depending on your servo, you might have to get at the potentiometer through the top. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 7 of 25

Make a mental note of the gear configuration - you're going to have to put them back in their proper order. This knob helps limit servo movement - it also will have to go. We'll get to that in a minute. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 8 of 25

Gently pull out the gears and potentiometer. Minimizing movement of the press-fit gears now will mean a more solid / reliable gear-motor later. Time to get rid of the wires hanging off the potentiometer. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 9 of 25

Clip them as close as you can to the base of the potentiometer. Try not to damage the housing, it's typically made of brittle resin or plastic. One of these things is not like the other... the guy in the middle is the first key to making a solid gear-motor. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 10 of 25

Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 11 of 25

Breaking Bad Barriers Use a drill bit that is just slightly bigger than the inner hole of the tiny rivet. You can drill fast... but don't press hard. Also, try not to get any of the gear grease on this contact. If lady-luck is with you, you'll produce a tiny doughnut; the rim of the rivet. As soon as you see that come off... STOP DRILLING! Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 12 of 25

With the rivet top removed, you can pull the end-stop off and set it aside. These bits on the shaft makes the potentiometer work... some of it will have to go. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 13 of 25

These little bumps in the potentiometer housing also help prevent continuous rotation. Many of the other hacks I've seen just have you break a chunk off... and re-assemble the servo. Compromising the structure of the housing can lead to all kinds of poor outcomes. This... is a better way to fly. The foil contact and limiter are pressed into place - give them a little wiggle towards the gears and they should come right off. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 14 of 25

Now that you have a little more room, dig-in and snip them both off without marring the shaft. The foil contact comes off without a fight... you'll need a good pair of snips to get the limiter off. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 15 of 25

Time to remove those knobs we mentioned earlier. Put the shaft back on with a smidge of petroleum jelly. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 16 of 25

Put the shaft end-stop back into place... and fire-up your soldering iron. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 17 of 25

'The Mod' Remember I said to try and not get lubricant on the center contact? This is why... we're going to solder it back into place. Add a little flux to make the solder flow easily between the contact and the rivet beneath. The potentiometer housing is typically heat resistant, but don't linger there too long. Just make sure that a little solder gets down to the rivet and call it good. Give the shaft a twirl to make sure that it rotates without binding. Perfecto! Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 18 of 25

Time to modify the driver. Touch the wires with a hot soldering iron and brush them away. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 19 of 25

We're going to trick the servo driver into thinking that the potentiometer is always at a center-position with a pair of resistors. Not just any resistors... we will need some high-precision resistors to make sure that we won't have to tweak software to account for drift. It's hard to see, but these are.1% resistors. They are a little expensive, but well worth it for what work they will save you in the end. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 20 of 25

You should be able to use any two off the tape... but I like to go the extra mile and find a matching pair. Sure enough, they are what they say on the package! It will take a steady hand to get the 0805 components in place... it doesn't need to be pretty - just functional. Your trusty flux pen should help solder flow more easily if the tiny connections start to give you attitude. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 21 of 25

Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 22 of 25

Re-assembly Collect all the bits for the gear cluster and... you do remember what order they go in right? Push the potentiometer back into place carefully. Don't try to rotate the gears at this point, it's highly likely that you will damage them if you do. Replace the PCB as you found it. Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 23 of 25

Make sure that the servo wires aren't pinched... and then re-insert the screws. Now... all you need is a project to put them in! Adafruit Industries https://learn.adafruit.com/modifying-servos-for-continuous-rotation Page 24 of 25

Adafruit Industries Last Updated: 2018-01-13 05:46:38 AM UTC Page 25 of 25