collapse

Author Topic: DIY Yellow Servo  (Read 3971 times)

BaldwinK

  • Member
  • ****
  • B
  • Posts: 22
DIY Yellow Servo
« on: November 29, 2016, 01:29:59 PM »
Continuing to investigate alternative servo options I ventured into imaginary lands with the quaternion mimic.  Back to earth for real now with a simple resistive feedback servo based on the cheap and popular yellow motor.  Having now struggled with most of the clever stuff this one was so easy I have to share it.


One problem for a bot with many motors is the power supply.  Most servos have motor and control sharing the same stabilised supply.  Separate the two and life is much easier plus the motor can be pushed harder.  At 12 volts the yellow motor gets quite lively, it also runs hot - as does the driver so we have to watch duty cycle.  This demo uses a 2S lipo at around 8 volts but you could use 5 volts of course.

The ceramic metal potentiometer should last but I have already thrashed my prototype to fail so the design should allow for replacing this delicate part.  I have made up a construction document to show the salient issues but it is not a bible.  Most of you will be able to improve on something here depending on your access to resources and tools.  A 3D printer might be handy!  I still potter with thin plywood and white glue because it is cheap and forgiving.

I use a Nano and two quad half-bridges for my test rigs so the diagram and code may appear to use strange pins.  Look up Brett Beauregard’s work for understanding PIDs.  The Excel graphs show the servo response to the demo stepping – you can see the overshoot.  Tuning is an art that still frustrates.  Some calibration will be required once your cermet is mounted.

*Construction.doc
*Y_Servo.ino
*Diagrams.doc







AmandaG

  • Member
  • ****
  • A
  • Posts: 3
Re: DIY Yellow Servo
« Reply #1 on: August 06, 2019, 01:08:09 PM »
Continuing to investigate alternative servo options I ventured into imaginary lands with the quaternion mimic.  Back to earth for real now with a simple resistive feedback servo based on the cheap and popular yellow motor.  Having now struggled with most of the clever stuff this one was so easy I have to share it.


One problem for a bot with many motors is the power supply.  Most servos have motor and control sharing the same stabilised supply.  Separate the two and life is much easier plus the motor can be gimp freejobalert notepad++ pushed harder.  At 12 volts the yellow motor gets quite lively, it also runs hot - as does the driver so we have to watch duty cycle.  This demo uses a 2S lipo at around 8 volts but you could use 5 volts of course.

The ceramic metal potentiometer should last but I have already thrashed my prototype to fail so the design should allow for replacing this delicate part.  I have made up a construction document to show the salient issues but it is not a bible.  Most of you will be able to improve on something here depending on your access to resources and tools.  A 3D printer might be handy!  I still potter with thin plywood and white glue because it is cheap and forgiving.

I use a Nano and two quad half-bridges for my test rigs so the diagram and code may appear to use strange pins.  Look up Brett Beauregard’s work for understanding PIDs.  The Excel graphs show the servo response to the demo stepping – you can see the overshoot.  Tuning is an art that still frustrates.  Some calibration will be required once your cermet is mounted.

*Construction.doc
*Y_Servo.ino
*Diagrams.doc
Wow thanks for this post. Helped me a lot.

Thanks and Regards,
Amanda
« Last Edit: August 15, 2019, 02:28:57 PM by AmandaG »

 

* Search


* Recent Topics

"1984 Nixie Time" by 1 what
[May 08, 2020, 01:04:18 AM]


2D Side Scroller Cyberpunk themed by Killer Angel
[February 06, 2020, 06:39:40 AM]


A new wing design for model aircraft / drones by OddBot
[February 06, 2020, 04:42:06 AM]


SDR (Software Defined Radio) by Gareth
[February 02, 2020, 06:15:42 AM]


Circuit Math by ZeroMax
[January 31, 2020, 01:50:18 PM]


NanOMeter by Protowrxs
[January 01, 2020, 12:59:44 PM]


Investigating the VL53L0X Laser Rangefinder by erco
[December 30, 2019, 10:45:44 PM]


PS4 Single Handed Controller Deployed (part 7 of 7) by Gareth
[December 30, 2019, 09:52:29 AM]


"D" -Pad Workio just like Magic (Will Merlin stay or Go) (part 6 of 7) by Gareth
[December 30, 2019, 09:51:27 AM]


PS4 Joystick Digitals 4,5,6,7,10 - Analog's Lx,Ly,Rx,Ry Workio (part 5 of 7) by Gareth
[December 30, 2019, 09:50:37 AM]


Menu Workio ! (part 4 of 7) by Gareth
[December 30, 2019, 09:49:49 AM]


L1 trigger design Workio (Hori controller) (part 3 of 7) by Gareth
[December 30, 2019, 09:48:50 AM]


Hori aka PS4 Joystick Mappings (part 2 of 7) by Gareth
[December 30, 2019, 09:47:17 AM]


PS4 Single Left-Handed Controller (part 1 of 7) by Gareth
[December 30, 2019, 09:44:58 AM]


Time of Flight >>> Rounded Corners !!! by BaldwinK
[December 04, 2019, 05:46:08 PM]

* Recent Posts

Re: "1984 Nixie Time" by 1 what
[May 08, 2020, 01:04:18 AM]


Re: "1984 Nixie Time" by tomasp
[April 13, 2020, 06:03:28 PM]


Re: 2D Side Scroller Cyberpunk themed by Killer Angel
[February 06, 2020, 06:39:40 AM]


A new wing design for model aircraft / drones by OddBot
[February 06, 2020, 04:42:06 AM]


Re: "1984 Nixie Time" by Gareth
[February 02, 2020, 06:23:01 AM]


Re: SDR (Software Defined Radio) by Gareth
[February 02, 2020, 06:15:42 AM]


Re: SDR (Software Defined Radio) by ZeroMax
[January 31, 2020, 01:54:21 PM]


Re: "1984 Nixie Time" by ZeroMax
[January 31, 2020, 01:52:29 PM]


Circuit Math by ZeroMax
[January 31, 2020, 01:50:18 PM]


Re: 2D Side Scroller Cyberpunk themed by ZeroMax
[January 31, 2020, 01:45:33 PM]


NanOMeter by Protowrxs
[January 01, 2020, 12:59:44 PM]


Re: Investigating the VL53L0X Laser Rangefinder by erco
[December 30, 2019, 10:45:44 PM]


PS4 Single Handed Controller Deployed (part 7 of 7) by Gareth
[December 30, 2019, 09:52:29 AM]


"D" -Pad Workio just like Magic (Will Merlin stay or Go) (part 6 of 7) by Gareth
[December 30, 2019, 09:51:27 AM]


PS4 Joystick Digitals 4,5,6,7,10 - Analog's Lx,Ly,Rx,Ry Workio (part 5 of 7) by Gareth
[December 30, 2019, 09:50:37 AM]