Let's Make Robots!

Nothing's happening...

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 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

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,
 
 I am new to all this, and I don't have any geared motors on hand, as much as I need them. I've been programing with the BASIC Stamp, but its too expensive to be practical yet. To learn, I should probably get one of their starter sets. Any to recommend? In the meantime it would be great to get this thing up and running. Any ideas?
 
Thanks for all your help,
 
 
Brennon 

 

“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 clear, I did download the code. :)
 
 
Thanks again,
 
 
Brennon 

 

 “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 wrong,you are using basic stamp 1or 2

you should check out the schematics 

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 have a multimeter. Is there a reason why nothing's happening?
 
I'm going out of town is half an hour. :)
 
 
Brennon 

 

“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 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 and images are on node 760. I trust my computer enough that when it tells me my code has downloaded, I believe it. Upon it turning on, the motors (regrettably not geared though I made sure they have a very high rpm) should be activated until the bumper switches are hit. Then, it should back up, turn, and keep going. You can see the code on node 87. I'm leaving the country (I'm writing this in the airport) so I don't know if I'll have internet access.
 
Thanks for all your help :),
 
 
Brennon 

“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 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 worth mentioning that both chips were extremely hot when I touched them. However, I was extremely careful to use the correct voltage (I even used the same battery pack that was in the picture in the datasheet for the axe023) as to not fry it.
 
Thanks again,
 
 
Brennon
 
 
P.S. I like BASIC Stamp, but its pricy. :) 

 

“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