Hi there,
Ok I got a picaxe 18 starter kit a couple of days ago and started learning the prog language and was off to a great start. Since yesterday I've hit a wall.
I got a servo hooked up to a 5v dc adaptor. The board is run off a battery power pack 4.5v and both power sources share the boards ground point.
I can upload the code to the pic via serial but cannot get the servo to respond.
The servo is a dynam b2232 with brown, red, orange lines which im guesing in same order is neg, live, control
With the servo on seperate power I've placed the servos orange(control) line on output 1+ and send a pulse like so.
Nothing happens. I have also tried numerous variations of this and scoured the forums but as im an absolute novice I fear I may not be looking at things in the right way.
I notice that the 18 has no servo command so perhaps I've gone and got me a chip I cant work with?
Any help much appreciated.
Ok I got a picaxe 18 starter kit a couple of days ago and started learning the prog language and was off to a great start. Since yesterday I've hit a wall.
I got a servo hooked up to a 5v dc adaptor. The board is run off a battery power pack 4.5v and both power sources share the boards ground point.
I can upload the code to the pic via serial but cannot get the servo to respond.
The servo is a dynam b2232 with brown, red, orange lines which im guesing in same order is neg, live, control
With the servo on seperate power I've placed the servos orange(control) line on output 1+ and send a pulse like so.
Code:
opnlight:
low 1
pulsout 1,750
pause 20
goto opnlight
I notice that the 18 has no servo command so perhaps I've gone and got me a chip I cant work with?
Any help much appreciated.