Nothing's happening...
By Brennon
2008-06-07 17:08
2008-06-07 17:08
Hi,
My soon-to-be-robot Turpis is giving me a pretty hard time. For images and more info on Turpis see node 760. I'm using Fritsl's code for it, so I at least know I've got good code. I was happy to see that the code was downloaded properly, but I'm not getting any movement. After reinserting the batteries multiple times it is apparent that I'm doing something wrong, but I don't know what.
Help appreciated :),
Brennon

So you did upload the code
So you did upload the code to the microcontroller?
I suggest you take it slowly and do one thing after another. Its better not to use others complex code on beginning, you just might get confused and frustrated and eventually you will quit. First try some simple things with the microcontroller, like led flashing via output, test the inputs with switches, etc... When this works correctly than go on slowly... Read about the main components in electronics, like what they do and what they are used for. Be patient and go one step after another.
Bntw, before connecting the DC motors directly to the output pins, consider a H bridge and geared motors.
Thanks Kody
“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
Oh, sorry if it wasn't
“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
maybe you got your ports
maybe you got your ports wrong,you are using basic stamp 1or 2
you should check out the schematics
Test
Do you have a multimeter? Disconnect the motors and see if the output connections have any signal at them.
Apart from that, definitely start small. The LED flashing thing is where EVERYONE starts.
Frits' code may or may not be "good" (I don't do theology) but I'm sure you could isolate a little part of it that does nothing other than switch one motor on.
Sadly, I don't do PicAxe or PicBASIC. I suppose I should. I'm hardcore assembler.
Nope, I'm sorry. I don't
“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
Well, the reason nothing's
Well, the reason nothing's happening might be that there is no power to the motor. If you had a meter, you could look at the output.
What wires are connected where? What do you hope will happen? What's the current / voltage rating of your motors? Are they geared? Why are you so certain that your code is downloaded?
Like I said, all the details
“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
Ok lets set this
Ok lets set this right.
BASIC STAMP sucks.
PICAXE is just a PIC with a bunch of other mumbo jumbo added on.
ATMEL is ok, but PIC is fun.
Oh, and it might also be
“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
get a digital multimeter,
get a digital multimeter, its not expensive and it will help you much.
btw what is the point of all this if you dont know what you are doing? is it just to impress your friends? sorry but i dont see a point
Harsh
I for one do not know what I
I for one do not know what I am doing! I just found out that plenty of glue does it for me!
- And yes, I only do it to impress my friends, and you guys! If not, i'd just make a smart program that would calculate something really hard to calculate, that noone understood the input nor output from.
Robots are made to impress - ourself, your parents, and the (usually) nice people at LMR :D
Flame on you, Kody!
Ok sorry maybe it was hard,
Ok sorry maybe it was hard, i had no bad attentions.
He doesnt have to know all stuff to make something, i dont know either, but he should go step by step and explore things that he's dealing with. How can you help him with some advanced stuff (how can he understand) if he doesnt know the basics which are a prerequirement to understand this advanced things, and as I could see people tried to help on few threads.
Of course we are doing this to impress others, but i think we do it also to learn new things, and thats why i dont see a point trying to make something and in the end not knowing the basic principles how those things work and why it is the way it is, like what happens when you set a pin high, etc...
Maybe I am totally wrong, but thats just my opinion.
"but he should go step by
"but he should go step by step and explore things that he's dealing with."
Yes - I totally agree! Totally. ANd has been on "he's" back for that as well :)
But still - it was fun to flame you, Kody - never happend before in here to my knowledge :D "I was the first to be flamed on LMR, Kody" :D
np, thats part of life
np, thats part of life :)
again, it was wrong formulated from my side. The "no point" thing referrs just to this project, because in my opinion he should go with simpler things first. BaseOverApex said it very nice when mentioning the "running before we can walk" scenario.
Cheers, no hard feelings
For the record, I am not
Thanks,
Brennon
P.S. My friends are hard to impress, they want something that will predict the future and turn into anything. :D Only joking. :)
“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