I’ve just started with a particle Argon kit and Photon kit and like some others here, I wanted to automate some mechanism by using a servo and tinker.
I bought the following, ignorantly, not realizing there was a difference between range/positional and continuous rotation servos: JX Servo PDI-6225MG-300
My eyes were fixated on this one because a post actually listed how many teeth it had, since I wanted to use a straight, 180 deg metal horn. Why don’t servos seem to list the teeth in the specifications??
My project would have benefited with the continuous, but, since I have this thing I wanted to experiment. As I understand it I can just send it the range between 0-180 and it should interpret that in its ratio. Regardless, this thing should move…which is all I’ve been after.
All initialization/noob questions aside, my LED D7 (or resistor + LED D0) “Hello World!”, blinks just fine.
I’ve read many posts trying to solve this problem but now I’m reaching out since I see a combination of issues.
Initial power configuration was: 1 USB wart 5v 2A variety
Servo direct connected to GND, 3.3v and D0. I also tried A0, just for giggles and instead of 3.3v to vUSB.
Compiled some code.
Power Test 1:
Servo moved quick in one direction to some fixed point. Some humming movement happening afterwards but never anything significant.
Power Test 1a.x:
Changed some deg values expecting something different (insanity: 0, 10, 20, 90, 180). Changed and added delay or removed delay entirely, added/removed D7 flashing indicator as some “point in code” reference. Some quick movement in one direction to some fixed point but then basically same behavior as #1.
Many other trials happened with not much results and everything I read in the community suggested splitting out the power, ie, Cap 47uf + 100nf. There’s some difficulty splitting out the USB in with jumpers to the servo on a breadboard so I tried a 5v - 10A battery I have for some LED strip lights.
Battery power configuration: + and - to breadboard power trace, jumpers from + to vUSB and - to GND, without any of the servo caps and the servo removed.
Power Test 2: The Argon just flash x 3 yellow, x 1 white repeatedly
After seeing posts, I attempted the weird antenna disconnect without luck
Power Test 3: Direct connect battery + to vUSB and - to GND, Argon powered up fine
Power Test 4: Is it the breadboard or jumpers?? Tried different jumpers.nope!
Power Test 5: Jammed my vUSB jumper and GND jumper into the same holes as the +/- traces coming from the battery. Obviously it powered up because it’s like a continuous wire…
So why was the breadboard adding some problems? Skip it, go to the servo test with the noise reducing caps.
Power Test 6: test #5 configuration to Argon, with caps installed across +/-, servo installed to A0 for pulse and +/-.
Result was exactly the same as 1.a.x.
I’m at a loss, since what I thought was my issue might not be mine, and it also seems to invalidate all the other posts I read about the do’s/don’ts about hooking this thing up to power. I don’t believe noise or power are my issues at all.
Perhaps it’s the servo, is there a recommendation for a metal gear with metal horn, out there which has better voltage compatibility? Understand I’m skeptical this as the root cause, since there have been many assumptions and speculations in the different posts of what problems these have been having between power, noise, servo voltage, servo one direction issues, etc. and I’ve tried many of the solutions. I also don’t have an oscilloscope lying around, so that’s off the table.
Please help! This doesn’t seem that difficult and this must be a simple problem with a simple solution.