Notifications
Clear all

Problem uploading sketch.

125 Posts
6 Users
1 Likes
41.3 K Views
(@john40131)
Member
Joined: 5 years ago
Posts: 95
 

Just tried the Points servo program that you did for Dorsay, usin PCA9685, I initially modified for 16 servos, but modded back to 5 so can try on a board that just has 3 servos, and it works a treat nice slow movement just need to adjust angle of movement so is equal left to right ...

John


   
ReplyQuote
(@john40131)
Member
Joined: 5 years ago
Posts: 95
 

@dorsay

Hi, I finally put this sketch on a Uno using 5 switches and it worked fine a nice slow movement BUT there was an issue when you turn off and back on if the switches are in the closed position i.e grounding the Uno pin the arm of the servo goes 90 deg to the left ... if switch is open then just does a quick jump and works fine... I tried to contact Eric but as yet not seen but a workaround I did is put a time delay circuit with relay on the ground feed to switches and it is fine so relay doesnt close for say 3 seconds .. there is prob an easy way in sketch but not sure were to look ... also having issue with SG90 servo 1 jammed up, not sure if its load as its only piano wire flexing but going to take all wire off and leave powered up and see if any servos get hot or start buzzzing ... also got some MG90 on order they are metal gears.

John


   
ReplyQuote
(@john40131)
Member
Joined: 5 years ago
Posts: 95
 

Think I sorted problem .... even putting your finger against arm when moving even the slightest pressure causes current to increae from 0.133amps to over 0.5 amps so I used the double length arms and connected wire to top so will have abit more flex then adjusted left and right movement so its just enough to change point ... that seem to cure the problem ... so the standing current on each servo is 133ma and they seem fine and dont heat up ... had it on all day and seemed fine ... fingers crossed as I have 16 servo's and will probably need more ....

John


   
ReplyQuote
(@dorsay)
Member
Joined: 4 years ago
Posts: 57
Topic starter  

@john40131

Hi John, I've moved away from the sketch by Eric.  I'm using an Arduino Mega and a sketch called MultiServosV4-2-2.  I modified it to drive 22 servos.  It's been working fine.

David

David


   
ReplyQuote
(@john40131)
Member
Joined: 5 years ago
Posts: 95
 

@dorsay

Hi David,

The sketch that Eric did for you works fine appart from if I leave a switch closed on switch on the servo goes to 90 deg left and stops and when I switch back its okay but the problem is it pulls the piano wire out of the point and that wont work ... so the work around I did was i made a small transistor circuit I found on web to create a delay operation of a relay which is connected to ground and other side to all switch grounds so know when i switch on its like the switches are open for 3 seconds and then it closes and works fine, and the servo operation is nice and slow, last issue was servos jammimg but that was due to, to much strain on servo and current went to high so its a matter of getting movement just right and no over current, monitor current normal working is 0.15amps if as mine went up to 0.5 amps that will cause overheating and jamming, also I have ordered a Mergapoint servo kit from MERG ( its a clone at £30 ) and see how that work 12 servos...

Also be interested in the servo sketch were did you get it from and does it use 2 x PCA9685 ,,,

Im not sure what happened to Eric as Ive tried to contact him on this form and another forum he uses ... hope hes okay..

Regards John

This post was modified 4 years ago 2 times by John40131

   
ReplyQuote
Page 9 / 9