cwhaticando.com home DIY • Do it Yourself • Weekend Projects • BIG Projects • LITTLE Projects
become a creator share your how-to  

 

 

close window

How Do I Share My How-To?

It's really pretty easy, pictures and videos of the steps it takes to complete your project are stored on YouTube and picasaWeb. Once your "final" video is stored on YouTube, your project will show in the listings on the site. All this is controlled by our Creator's Tools. Basically, you start a project by writing up the project idea.

Step 1. Sign up for a free Creator's Account to gain access to the Creator's Tools.

Step 2. Login

Step 3. Push the "Create New Project" button on the Creator's Tools. Make a name (you can change it later) for your project. And describe your plans to use as notes to guide the creation of the steps.

Step 4. When you've finished providing all the steps to your project, shooting the videos and saving to google video via the Creator's Tool Panel, you are ready to write the introductory paragraph with an interesting story of how you did it, or how you do it in the case of a professional services presentation.

Step 5. Last but not least create and upload the video (to YouTube) which is the video that will be used to summarize the project. If you were building a robot, this final video would show the robot running around, doing fun things that will inspire others to create their version of your project.

That's it... Watch the views and ratings for your project pile up along with the sales commissions! Or get a customer because you showed how you remodel a house.

close window

FAQ About Becoming A Creator

Q. Why would I go to all that work, building something, then put it on a website like C What I Can Do? What's the point?

A. Actually, there are a couple of forms for a reward:

  1. You get rated as an author. Lots of good ratings looks good on your resume.
  2. You Make Money!

YOU Make Money when someone buys a part from You, and builds it into Their Version of your project. And, if YOU have a basement full of red leds and build a red led project - we'll send you customers who are inspired to build your blinking light device. If you sell PC boards, you may link to your own sales. Or sell your own kit online through your e-Bay store.

The same with books! We encourage project builders to make books. In fact, CwhatIcanDo is a great place to get rated as an author. 'Betcha get a better deal from your publisher...

Of course, it is possible that your project won't make you any money, because someone built something even cooler than yours (maybe even inspired by your project.) Maybe you just want to show your version of another project... It's done in the spirit of the web: Sharing ideas. And it's fun building a project on your own.



Build a Respectable Autonomous Robot      ...     32291 Views
Author's name: WeRbots       

You can build your own autonomous Robot by following the guidelines here. I like to think of them as guidelines, because it is your creative programming that will make this project most interesting.

I can get you started.
Build L 298     
Put it together. There is a project with build it video on this site.

Then build the picAxe board. I built mine on perfboard, I simply ran wires to the proper places on the L 298 board. I used on board pins to setup the two Servos.
From Another View     
Here we have it "sewn together" for testing with everything punched into a balsa wood board.

I used the balsa wood so I could drill it easily and cut holes in it as well. This allowed me to experiment with a third wheel and other ideas with the platform, before replacing the balsa wood with a smaller hardwood piece.
Starter Software     
#rem
```````````````````````````````````````````````````
` PicAxe 18M2
` Pinout and Definition of Legs
`
`(DAC / Touch / ADC / Out / In) C.2 leg 1
`(SRQ / Out) Serial Out / C.3 leg 2
`(In) / Serial In / C.4 leg 3
`(In) old reset is now signal C.5 leg 4
`=======================================
`(gnd) 0v leg 5
`=======================================
`(SRI / Out / In) B.0 leg 6
`(i2c sda / Touch / ADC / Out / In) B.1 leg 7
`(hserin / Touch / ADC / Out / In) B.2 leg 8
`(pwm / Touch / ADC / Out / In) B.3 leg 9
`---------------------------------------
`(i2c scl / Touch / ADC / Out / In) B.4 leg 10
`(hserout / Touch / ADC / Out / In) B.5 leg 11
`(pwm / Touch / ADC / Out / In) B.6 leg 12
`(Touch / ADC / Out / In) B.7 leg 13
`=======================================
`(vcc) +v leg 14
`=======================================
`(Out / In) C.6 leg 15
`(Out / In) C.7 leg 16
`(Touch / ADC / Out / In) C.0 leg 17
`(Touch / ADC / Out / In) C.1 leg 18
`
` end 18M2 definition
`````````````````````````````````````````````````````
#endrem

` ------------------------------------------------------------
` Program Wide Symbols

`#terminal 4800
`pins
symbol Piezo = C.2
symbol outPWM = B.3
symbol Xservo = B.6
symbol Yservo = B.7

`regVars
symbol ADCval = w0
symbol motorSpeed = w1
symbol haltDist = w2
symbol warnDist = w3
symbol hiMaxVal = w4
symbol hiCount = w5
symbol loMaxVal = w6
symbol loCount = w7
symbol tempCount = w8
symbol pointToX = w9
symbol pointToY = w10
symbol westSide = w11
symbol eastSide = w12
symbol northSide = w13

symbol true = 1 ` one or more
symbol false = 0 ` zero
`vars
symbol slowSpeed = 250 `carpet s250,m260,h300
symbol midSpeed = 280 `smooth s240,m280,h310
symbol hiSpeed = 320
symbol headUP = 126
symbol headDN = 80
symbol xHdCtr = 135
symbol yHdCtr = 90
symbol headEast = 60 `east = 40
symbol headWest = 210`west = 230
symbol nEast = 75 `xHdCtr - headEast /2
symbol nWest = 180 `xHdCtr - headWest /2

` end Program Wide Symbols ---------------------



` ------------ PROGRAM SPACE ------------------
` Program wide vars and symbols
warnDist = 60 ` Somewhere between haltDist and around 80
haltDist = 200 ` 400 Least "sensitive" you are in 10 cm zone
`50 is most "sensitive", it`s pretty noisy and very picky
`80 is roughly 6ft away, nice burglar alarm for bedroom door
`400 is almost blind, things have to be 10cm zone to see `em
` set Motor Speed

gosub beepHorn
pause 100
gosub lookAround
pause 300
pwmout outPWM, 99, hiSpeed ` select motor speed

start0:
`sertxd("ptr:values ",13,10)
gosub ctrHead
gosub fwdMotor
goto start0


object_track:
readadc10 C.1, ADCval ; read value into c1
pause 100 ; let value settle in
`resume 2
`sertxd( #ADCval," : ", #ADCval,13,10)
return

lookAround:
pointToX = headWest
gosub moveHeadX
gosub object_track
westSide = ADCval

pointToX = headEast
gosub moveHeadX
gosub object_track
eastSide = ADCval

pointToX = xHdCtr ` just to help keep track
pointToY = yHdCtr ` ctrHead can do without
gosub ctrHead
gosub object_track
northSide = ADCval
return
`
moveHeadX:
`pointToX (w9) should have n,ne,nw,e,w
for tempCount = 1 To 40
pulsout Xservo,pointToX ; send a pointToX ms pulse out of pin 1
pause 10 ; pause 10 ms
next tempCount

return

moveHeadY:
`pointToY preset with where to point head
for tempCount = 1 To 40
pulsout Yservo, pointToY ; send a pointToY ms pulse out of pin 1
pause 10 ; pause 10 ms
next tempCount



ctrHead:

for tempCount = 1 To 20
pulsout Xservo,xHdCtr ; send a 1.50ms pulse out of pin 1
pause 10 ; pause 10 ms
next tempCount

for tempCount = 1 To 20
pulsout Yservo,yHdCtr ; send a 1.50ms pulse out of pin 1
pause 10 ; pause 10 ms
next tempCount

return



`--- Driving Routines
`
fwdMotor:
gosub object_track
if ADCval > warnDist then
pwmout outPWM, 99, slowSpeed ` select motor speed
endif
if ADCval > haltDist then
gosub stopMotor
pwmout outPWM, 99, midSpeed ` backing out motor speed
pause 100
gosub revMotor `back up
pause 750 ` for 550 count (certainly changeable)
gosub stopMotor
` make directional change decisions
gosub lookAround
pause 100
` westSide eastSide northSide values tested here
if eastSide > westSide AND eastSide > northSide then
gosub turnL
pause 300
endif
if westSide > eastSide AND westSide > northSide then
gosub turnR
pause 300
endif
gosub stopMotor
`gosub lookAround
if northSide > westSide AND northSide > eastSide then
gosub revMotor
pause 300
gosub turnR
pause 500 `very far
gosub stopMotor
endif
pwmout outPWM, 99, midSpeed ` be cautions motor speed
endif
gosub ctrHead
low B.0
high B.1
high B.4
low B.5
return

revMotor:
high B.0
low B.1
low B.4
high B.5
return


stopMotor:
low B.0
low B.1
low B.4
low B.5
`low outPWM
return


` Right and Left Steering Subroutines
`
turnR:
low b.0
high b.1
low b.4
high b.5
return

turnL:
high b.0
low b.1
high b.4
low b.5
return


`-- Horn Feedback Routines
`
beepHorn:
tune Piezo, 4, %00000000,($00,$41,$00)
low Piezo ; sound off
return

sirenHorn:
tune Piezo, 4, %00000000,($00,$01,$40,$00)
low Piezo
return
become a creator
close window

It's Easy To:

C - What - I - Can - Do

• 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!

 

No parts list with this project. Scan the 'Junkbox Reviewer' below! Find projects by clicking on their parts. Got something in your junkbox? Here's your spot to find something fun to make or build!

 

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!
  
  
  
  
  
 
Andrei And Jim
Web Developers
Visit the project:

CwhatIcanDo Website


 
  
  
 
L 298 Compact Motor Driver Kit
Solarbotics
Visit the project:

Build the L298 H-Bridge Motor Control


 
  
 
Account On CwhatIcanDo
CwhatIcanDo.com
Visit the project:

HELP :: How To Create a Project


 
  
  
 
Microrobot Avoider Jr
Microrobot
Visit the project:

Robot Man: With Robot Demos


 
  
  
  
 
Brilliant Blue/Green LED
Surplus
Visit the project:

Converting a Flashlight to LED


 
  
 
PICAXE 8 Pin Motor Driver Board
SparkFun
Visit the project:

Easy Cheap Robot Weekend Project


 
  
 
Tracked Vehicle Chassis Kit
Tamiya
Visit the project:

Build Your Own Track Drive Robot


 
  
  
 
PICAXE 8 Pin Motor Driver Board
SparkFun
Visit the project:

Build Your Own Track Drive Robot


 
  
 
Infrared Proximity Sensor Short Range - Sharp GP2D120XJ00F
Sharp
Visit the project:

Build Your Own Track Drive Robot


 
  
 
PICAXE 8 Pin Motor Driver Board
SparkFun
Visit the project:

Build a Robot In 5 Minutes


 
  
 
Infrared Proximity Sensor Short Range - Sharp GP2D120XJ00F
Sharp
Visit the project:

Build a Robot In 5 Minutes


 
  
 
Gear Motor 2 - 224:1 Offset Shaft
SolarBotics
Visit the project:

Build a Robot In 5 Minutes


 
  
 
4 X AA Cell battery holder plus on/off switch
Powerize
Visit the project:

Build a Robot In 5 Minutes


 
  
 
PICAXE 8 Pin Motor Driver Board
SparkFun
Visit the project:

picAxe 8 bit Motor Controller: Look Inside


 
  
 
Infrared Proximity Sensor Short Range - Sharp GP2D120XJ00F
Sharp
Visit the project:

picAxe 8 bit Motor Controller: Look Inside


 
  
 
4 Section In-Ground Batting Net
battingnets.com
Visit the project:

Home Installation of a 4 Section In-Ground Batting Cage


 
  
  
  
  
  
  
  
 
Transformer 1k:8 ohm
xicon
Visit the project:

Pong)))))


 
  
 
PICAXE 8 Pin Motor Driver Board
SparkFun
Visit the project:

Robots Almost Anyone Can Afford


 
  
  
  
 
Morphibian Land Shark
Kid Galaxy
Visit the project:

Morphibian Land Shark


 
  
  
  
  
  
  
 
Parallax (Futaba) Continuous Rotation Servo
futaba (modified)
Visit the project:

How To Build a Robot in a Box


 
  
 
Parallax (Futaba) Standard Servo
futaba
Visit the project:

How To Build a Robot in a Box


 
  
  
  
 
PICAXE 8 Pin Motor Driver Board
SparkFun
Visit the project:

Weekend Project: Get Started With Robots


 
  
  
 
L298 Compact Motor Driver
Solarbotics
Visit the project:

Build a Respectable Autonomous Robot


 
  
 
Infrared Proximity Sensor Short Range - Sharp GP2D120XJ00F
Sharp
Visit the project:

Weekend Project: Get Started With Robots


 
  
  
 
PICAXE 18 Pin Power Project Board
picAxe
Visit the project:

Build a Robot From A Power Wheelchair


 
  
 
PICAXE 18M2 Microcontroller
picAxe
Visit the project:

Build a Robot From A Power Wheelchair


 
  
  
  
  
  
 
Solderless Breadboard For Uno
Jameco Valupro
Visit the project:

Arduino Development VS PicAxe Development


 
  
 
USB 2/0Video Capture Device
SIIG
Visit the project:

On Line Neighborhood Watch


 
  
  
  
 
Eurocard IC Pattern
Velleman
Visit the project:

On Line Neighborhood Watch


 
  
 
40 kHz Weatherproof Transducer
Audiowell Electronics
Visit the project:

Pong)))))


 
  
 
PICAXE 18M2 Microcontroller
picAxe
Visit the project:

Autonomous Robot PVC "Pickup Truck"


 
  
 
Power Amplifier
ST Micro
Visit the project:

Pong)))))


 
  
  

By Creators
WeRbots: i-Mon App
WeRbots: Pong)))))
By Keywords
Ajax: battle
Android: battle
BEAM Robots: battle
Convert Your Flashlight to LED: Converting a Flashlight to LED
How To Build Cheap Bots: Robots Almost Anyone Can Afford
How To Build Cheap Bots: How To Build a Robot in a Box
How To Website: Tour This Website
How To Website: CwhatIcanDo Website
Infrared Proximity Sensor: Build Your Own Track Drive Robot
Quick Build Robot: Build a Robot In 5 Minutes
robot bending: Morphibian Land Shark
Robot Motor Control: Robot Basics
Robot Motor Control: Buggy Bot: Wire Frame Bot Body
Robots: Robot Basics
Rumble Bot Conversions: Robots Almost Anyone Can Afford
Select or type in a Keyword: Converting a Flashlight to LED
web 2.0 site: CwhatIcanDo Website
Weekend Project Robots: Easy Cheap Robot Weekend Project

Click To Expand / Contract Menus. View by Creator, Category, Keywords or Number of Views.

©Copyright 2008 - , CwhatIcanDo.com, all rights reserved.