GET LOGGED IN

 

 

 

 

HOME
ABOUT • HELP

 



Build a Robot In 5 Minutes      ...     6131 Views
Author's name: WeRbots       Author's ratings = 0

SimpleBot the 5 Minutes to Build Robot. This is `the bot` for experimenters who are anxious to make their first robot and get it running. It`s held together with tape, so you can take it apart and experiment.

The example Simple Bot uses a couple of gearMotors with wheels, battery pack, etc..

One of any starting roboticist`s issues is making the robot base. In this case, the robot`s base is made out of the bodies of the gearMotors themselves. Simply arranging the gearMotors, then taping them together allows the experimental roboticist to take the starter bot apart and put it back together again.

NOTE: Don`t Forget to put a picAxe 08m chip. In some cases, depending on where you get your picAxe motor controller chip, you will have to replace the 08 with 08m, or write your own code... If pin3 high there`s an object... and check before you make the motors run!
Author's Assigned Keywords:    Robots    Quick Build Robot


Tape B-4 Glueing     
Though Simple bot is taped together with black electrical tape, you can hot glue it together to make a permanent Robot. Think of this project as an idea generator, an inspirational project that is pretty much a two-wheeled differential drive robot with a drag wheel.

You shift the weight of the battery pack towards the rear for a drag wheel rather than shifting forward (need a front tricycle type wheel). Or balance it with back and front draggers like the upright RFL inspired Robot...

Simple bot drags a wheel made out of a soda pop twist off cap so it can freely slide around.


Hardware     
Parts Needed:
2 - GearDrive Motors
2 - Wheels (D ring, fits the geardrive)
1 - 4 X AA battery pack
1 - IR Detector (could make it yourself)
1 - 12 " or so of #12 wire (makes dragger)
1 - Motor Driver Board
1 - Power on/off switch

Recognize the schematic? That's right, it's the same picAxe 8m motor controller, so the only difference is the IR detector is mounted on the front of the pc board. Otherwise it's the same thing with different software, except in the test driving videos, the software is exactly the same. And don't forget to "flip" one or the other of the motor wires, so one of the motors turns in the opposite direction
Software     
Here is the program listing for the little bot... It's just a basic wall-follower, so it's not too astonishing.

Here's the software listing:

'-------------------------------------------------------
'
' picAxe MOTOR Control for 08m chip
' interrupts drive evasive tactics
' SOUNDS: Using 3-level A/D Converter output
' Created by: Jim Huffman
' Rev 0.1 November 11, 2007
' Rev 1.0 December 02, 2007
' Using the AXE motor drive combo board
'
' Rev 2.0 December 31, 2007
'-------------------------------------------------------
'
' Initialize System Wide Values
'
' Directives
' Select and initialize chipset
#picaxe 08m ' this is: picaxe08 in the setup that
' comes with the board
'#terminal 4800
'
' System resources
symbol m1 = 0 '(leg 7)
symbol m1en = 1 '(leg 6)ADC1
symbol m2en = 2 '(leg 5)ADC2,PWMout2
symbol IRsense = 3 '(leg 4)
symbol m2 = 4 '(leg 3)ADC4
' (leg 1 Vdd, leg 8 = Vss, leg 2 = Serial In)
'
' Motor Control constants
' speed control

symbol R = w0
symbol y = w1
symbol z = w2
symbol alrmCnt = w3

'
'--------------------------------------------------------
' Code Blocks:
'
init:
' set pins 0,1,2, 4 as outputs
let dirs = %00010111
let pins = %00000000 'set outputs low initially

random R
pause 1000

' Stop Motor
gosub move_stop 'don't go anywhere yet
pause 1000
'

setint %00001000,%00001000

'
'
main:
gosub move_forward
random R
pause 100

goto main
'
'
'--------------------------------------------------------
' Move this baby OUTPUT 2
move_forward:
let pins = %00010001
return

move_backward:
let pins = %00000110
return


move_stop:
let pins = %00000000 'kill everything!
return

turn_right:
let pins = %00010010 '
return

turn_left:
let pins = %00000101 '
return


interrupt:
' sertxd("The value of R is ",#R,13,10)
gosub move_stop
gosub move_backward
pause 300
gosub turn_right
pause 30
pause b1 'add a random spin around time
gosub move_stop

setint %00001000,%00001000

return
Insert Your Comments
Subject:
Message:


ADD COMMENT | CLOSE COMMENT
close window

It's Easy To Show Your Skills:

C - What - I - Did

• Sign up - Get ID and Password

• Plan and Create a Project That Someone Might Enjoy and May Even Want to Build

• Link to your creation on your favorite social networking site or blog.

• Become famous! Because your projects get a lot of Hits!

 

Do It Yourself Parts Used To Create This Project.

- PARTS LIST -

PICAXE 8 Pin Motor Driver Board
Mfr: SparkFun
Price $15.95
PN-SKU: DEV-08317
Vendor: SparkFun




Infrared Proximity Sensor Short Range - Sharp GP2D120XJ00F
Mfr: Sharp
Price $13.95
PN-SKU: SEN-08959
Vendor: SparkFun




Gear Motor 2 - 224:1 Offset Shaft
Mfr: SolarBotics
Price $5.75
PN-SKU: GM2
Vendor: SolarBotics




4 X AA Cell battery holder plus on/off switch
Mfr: Powerize
Price $1.59
PN-SKU: BB4AA
Vendor: Powerize



 

Junk Box Reviewer

Itching To Start Building A DIY Do It Yourself Project? Got Some Parts of Your Own in your JunkBox? Find projects by Surfing' the Parts List!
TA8080K
Toshiba
$2.00
  
Web Frame Work
ExtJS
$0.00
  
Robo Quad
Wowee
$70
  
picAxe 08m
MicroChip
$3
  
Twin Motor Gearbox
Tamiya
$10.95
  
RFL Upright Robot
Active-Innovations
$119.95
  
Andrei And Jim
Web Developers
$.02
  
Scribbler Robot
Parallax
$79.95
  
L 298 Compact Motor Driver Kit
Solarbotics
$18.95
  
Account On CwhatIcanDo
CwhatIcanDo.com
$0.00
  
Tribot
Wowee
$79.00
  
Microrobot Avoider Jr
Microrobot
$75??
  
picAxe 14m
MicroChip
$4.00
  
Wall Hugging Mouse
Tamiya
$20
  
Brilliant Blue/Green LED
Surplus
$1.00 (4)
  
PICAXE 8 Pin Motor Driver Board
SparkFun
$15.95
  
Tracked Vehicle Chassis Kit
Tamiya
$17.50
  
Twin Motor Gearbox
Tamiya
$10.95
  
PICAXE 8 Pin Motor Driver Board
SparkFun
$15.95
  
Infrared Proximity Sensor Short Range - Sharp GP2D120XJ00F
Sharp
$13.95
  
PICAXE 8 Pin Motor Driver Board
SparkFun
$15.95
  
Infrared Proximity Sensor Short Range - Sharp GP2D120XJ00F
Sharp
$13.95
  
Gear Motor 2 - 224:1 Offset Shaft
SolarBotics
$5.75
  
4 X AA Cell battery holder plus on/off switch
Powerize
$1.59
  
PICAXE 8 Pin Motor Driver Board
SparkFun
$15.95
  
Infrared Proximity Sensor Short Range - Sharp GP2D120XJ00F
Sharp
$13.95
  
4 Section In-Ground Batting Net
battingnets.com
$750.00
  
DROID
Motorola
$600.00
  
battery
NEC/Tokin
$1.95
  
IR LED
Any TV remote compatible
$0.25
  
Butterfly Lite
Gadget Factory
$99.99
  
picAxe 08m
MicroChip
$3
  
picAxe 08m
picAxe
$2.95
  
PICAXE 8 Pin Motor Driver Board
SparkFun
$15.95
  
hexbug
bandai
$$10
  
Rumble Bot
USED
$4-30
  
Morphibian Land Shark
Kid Galaxy
$~30
  
SCC2433-B solar cell
Solarbotics
$6.50
  
3 VDC Motor
Hankscraft
$
  
bamboo or dowels
$
  
Mylar Film W hologram
garden centers
$10.00
  
©Copyright 2008 - , cwhatidid.com, all rights reserved.