Let's Make Robots!

OK, I got my Picaxe to work, now the servo wont? :D

My computer recognizes it and everythings gogo, but i sent the servo 0, 150 to mypicaxe correctly, and it gives it a slight yank, but randomly and very tiny yank, i think a wire in it might be faulty cause if i move the wires it would randomly yank. Whenever i press F5 as well, it does the yank, help please?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
also how do you know if your Picaxe is fried from using a 9v?



Try the code

servo 0, 150

pause 1000

servo 0, 200

pause 1000

servo 0, 150

pause 1000

servo 0, 100

This should make it look left and right. If you wiggle wires and it makes the servo move you probably don't have a solid connection to the board. Did you solder the pin on the board for the servo? If so make sure it is tight and has a good connection. 

Thanks mate that works :D (the code) appreciate how well your helping some of us nooberts 


Think of the servo as a device that always looks south (180 degrees). Your code told it to look 150 degrees (or turn 30 degrees). Thats all it did so it jerked and then stopped. The code I gave you just told it to turn more. You could make it loop if you wanted it to move over and over.

No problem I'm learning too! If you look at my profile and click the link you'll see I have completed ONE robot and I am working on my second. I'm just as much of a n00b as everyone else ;) I just like to take it slow and learn more than I need to about the details.

Me too, for the first time EVER science has not been on my side. I haven't done so bad in Quantum and Thereotical Physics, but I'm just terrable at robotics. Is everyone supposed to be this bad at first? :) I'm working on it.
I finally tricked my computer into putting the code on Turpis, and it still won't work! It doesn't do ANYTHING! (Yes, I am panicing). I'm always in need of help. :)


“Our deepest fear is not that we are inadequate. Our deepest fear is that we are powerful beyond measure. It is our light, not our darkness that most frightens us." -Marianne Williamson

I just think you got it wrong; When people are showing something on LMR, it is because they have had all the same trouble you are having.. and solved them - one by one.

Your approach is to write 

Brennon: HELP ME!!!
- And that really does not make an interesting web for the rest of us, and it really does not make it easy to help you, and it really does not do you any good.
Trick is; Trial and error. Be stubborn, make it work. And then show what you made.
If you get stuck somewhere that you think that solving this would also help others, then ask in a forum. But the fact that you have problems with windows etc is just not worth writing in capital letters about - please try to change that form of thinking and communicating.
Also, please read "Best Practice" on the front page.
A well described "real problem", including images, data on the HW & SW, code pieces etc is a good entry. A big shout about something poorly or not described, like "IT IS NOT WORKING; WHAT SHOULD I DO" .. well please stop filling the pages with that.
Sorry Fritsl. I'm just trying to figure all this out, I'll take a better approach next time. :)


“Our deepest fear is not that we are inadequate. Our deepest fear is that we are powerful beyond measure. It is our light, not our darkness that most frightens us.... -Marianne Williamson