Ok so I have made my 'Start Here' robot on tamiya tracks, twin geared motors and plate set. The program is based on the 'Start Here' project with a few changes to make it more suited to what I wanted it to do. I've added an extra IR sensor to 'Look' down so it wont drive off edges. As you can see in the video it drives along then stops and checks the area (in the middle of no where) then changes direction (I'm not sure why it does this). Next will be to add bumper switches, power switches and an Ir receiver. The motors drive is a little unequal and pulls to the right so I need to learn about pwm. I've read the manual on the subject but it's not very clear to me how that works.
I have found the picaxe project board a little fustrating as you are restricted to certain types of plugs, so I will look into making my own board or adding the project board to a larger PCB and run wiring from the project board to the PCB and have molex connectors on the PCB. Suggestions would be appreciated.
Does anyone have info on a PCB schematic that can be printed to make home-made boards for 28x or 40x chips? Perhaps with motor controller and/or H bridge for higher amp motors on one board?
Nav with IR, back away from edges
Actuators / output devices: 1:114 ratio Tamiya twin gear motors
CPU: Picaxe 28x1
Programming language: Picaxe basic
Sensors / input devices: Sharp GP2Y0A21YK IR sensor x2
Looks like you did great, Looks like you did great, good drop off detection! On schematics, there are different types of software that people use, Eagle seems to be mentioned the most. THe pins that you find on the PICAxe to connect to are pretty standard and found on most micros. It is possible to buy pre-crimped female to female wires that help with hookups if that is the difficulty.
Have Eagle installed but have no idea how to use it. I can copy a schematic drawing fairly easy but was hoping to find a proper PCB layout. So I don’t have to have lots of wires all over the place.
Will have to look at Eagle a bit more so I can make my own (which would be cool).
Cheers for the headers link, will look into those.
The Code Symbol dangerlevel = 150 ’ how far away should thing be, before we react. Symbol turn = 1000 ’ this sets the delay while body is turning Symbol servo_turn = 300 ’ This sets delay while servo is turning before we measure distance Symbol warning =170 ’Symbol bumper = pin0
main: gosub headfront readadc 0, b4 if b4 < warning then gosub bodyback readadc 1, b1 ’ read how much distance ahead if b1 < dangerlevel then gosub driveforward else gosub whichway 'if bumper = high then gosub danger end if goto main
The chassis is a Tamiya kit and the wheels mount direct to Tamiya gearbox kit both from Jaycar. The upper level is made from balsa and the posts are finished square wood from a hardware shop.