Let's Make Robots!

Turpis the robot

Navigate via bumper switches
AttachmentSize
Photo_58.jpg73.96 KB
Photo_60.jpg70.89 KB
Photo_59.jpg74.32 KB

Photo_59.jpgPhoto_58.jpgPhoto_60.jpgAs I previously stated:I've been working on my robot, and I honestly feel like a doctor in a third world country, I'm short on everything. I've run out of glue sticks for my glue gun, my microcontroller was faulty, so I had to replace it, the bumper switches were about 10x smaller than they should be, I don't have the right battery pack (a 9v will fry it), the back is severely sagging, I have nothing to cut my metal, I could go on and on! I've decided to name my robot "Turpis", and I don't know if it will work or not. Quite frankly I'm worried. I'm still confused as to which wires go where. Fear not, I am not deterred. I won't be defeated by a mere Turpis.This little fella has been a huge pain in the you-know-what. I'm goint head over to Radioshack to get a better powerpack, but I hae a feeling that I put the wires in the wring places (like the feeling I got when mouser sent me the wrong transistors).My room is now a total mess, and I couldn't cut the metal I have to make a frame for the motors.

As you can see in the pic of the microcontroller, the top 2 wires on the left go to the left motor. The top 2 wires on the right go to the right motor. The bottom 2 wires on the left go to the left bumper switch, and the bottom 2 wires on the right go to the right bumper switch. I tried to follow the datasheet instructions, but it had one image of the motors going to the top, and another of bmper switches going to the same I/O pins! Here it is: http://www.rev-ed.co.uk/docs/AXE023.pdf

 

Now that I've imputed the code I would like to thank Fritsl for supplying it on node 87. Thanks Fritsl! 

 

Help appreciated,

 

 

Brennon Williams

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
I got the datasheet, which wasn't extremely detailed. I have a little experience programing with the BASIC Stamp, but none with picaxe. That's why I'm using Frits's code. Honestly, I wouldn't know how to flash and LED with that program.
 
Thanks,
 
 
Brennon
 
P.S. Did your old signature use to be "God Created the Integers"? I saw that book today. I'm reading his other book Theory of Everything. :) 

 

“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

Yes, it did. I think I even gave the name of the person who uttered the phrase.

I'm thinking of changing it to: "Be patient. God's not quite finished with me yet." 

I've read that virtually all programs that run on your computer are binary, and I finally tricked my computer into downloading the code. However, nothing's happening. I've unplugged and pluged back in the power several times. What do I do?

 

P.S. They didn't give me the manual. Only a chip. 

 

 

“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

Download the manual. I think we may have a "running before we can walk" scenario here. Have you tried programming the chip to flash an LED?
The Com port is how the 1's and 0s which make up your program get sent to the Pic. Many computers have several com ports and several USB ports (which can pretend to be Com ports). If you have your Pic plugged into Com2 or USB, then there's no point in your software talking to Com1. Also, the communications setting need to be correct. This includes things like the speed the com port talks at, number of bits per byte, error checking, and  handshaking. Don't panic at the fancy terms. Just read the manual for the Pic. It will tell you the settings.
I'm not sure what you mean. Can you explain?

 

 

“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, so I have it all hooked up, 6v AA battery pack, I have the axe023 hooked up to my computer running Vista via serial cable, nothing will happen! Upon pushing F5 it tells me nothing is connected. What do I do?
 
 
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

In the options of the editor - make sure the Com port is right..
Did you check/change the com port setting? I know you do this for USB, but not sure with seriel.