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.



How To Build a Robot in a Box      ...     32295 Views
Author's name: WeRbots       

Low-Cost, super simple robot you can build yourself in a weekend.

This robot was inspired by my original attempts to build a "dog" bot.

What makes this neat is that it is simple to build AND it is expandable. Expanding is done by changing to a larger processor.

I`m building another version of the little control board using the picAxe 18x just to give myself more program space to make the thing behave simply.

Author's Assigned Keywords:    Cheap Robot    picAxe 14m    picAxe 18x    How To Build Cheap Bots    Robots

  (ad)
Decisions About the Build     
I wanted to use the continuous motion servos I found on sale at Fry`s for 10 bucks. I had read a lot about the famous (at least to me): Boe Bot, which used continuous motion servos for driving. It would run slow at top speed, but I knew this would make it work even better without worrying about stopping as soon as it sees an obstacle.

I also liked the - servo head setup I used on the original Robo Dog I called dogbot which is written up somewhere else on this site. Dogbot had very "living animal" type head moves and I wanted to implement that same functionality in this little black box version of a Boe-Bot style DogBot.

Software     
` ------------------------------------------------------------
` Select and initialize chipset
` ------------------------------------------------------------
#picaxe 14m
` System resources
symbol serialOut = 0 `(pin 13) o0, serialOut
symbol leftDrive = 1 `(pin 12) o1
symbol rightDrive = 2 `(pin 11) o2
symbol UpAndDown = 3 `(pin 10) o3 servo Vertical
symbol SideToSide = 4 `(pin 9) o4 servo Horizontal
symbol Piezo = 5 `(pin 8) o5 D
symbol ADCin0 = 0 `(pin 7) i0 C lightSensor
symbol i1 = 1 `(pin 6) i1 B
symbol i2 = 2 `(pin 5) i2 A IRsensor
symbol i3 = 3 `(pin 4) i3
symbol ADCin4 = 4 `(pin 3) i4
symbol srlIn = 2 `(pin 2) i5
` (pin 1 Vdd, pin 14 = Vss)


` ------------------------------------------------------------------
` Application dependant values
` ------------------------------------------------------------------
` register vars
symbol side2sideCnt = b0 `= w0
symbol upNdownCnt = b1 `= (w0)
symbol xCount = b2 `= (w1)
symbol yCount = b3 `= (w1)
symbol lrRangeRight = w2
symbol lrRangeLeft = w3
symbol IRstor = w4 `= temporary IR reading
symbol maxStor = w5 `= w5
symbol xStor = b12 `= w6
symbol yStor = b13 `= (w6)

symbol minSideToSide = 30 `rightest
symbol ctrSideToSide = 118 `center Side to Side
symbol maxSideToSide = 200 `leftist

symbol minUpAndDown = 100 `uppest
symbol ctrUpAndDown = 140 `head at middle
symbol maxUpAndDown = 155 `lowest

symbol servo_delay = 40 `Delay to slow down servo motion (40ms default)
symbol adc_delay = 1 `Let ADC settle (can be 1 or 0)


` ------------------------------------------------------------------
` Application initialization
` ------------------------------------------------------------------
disablebod `make sure it works with low battery

init:
` beep
tune Piezo, 8,($47,$4A,$47)
low Piezo `release timers on chip
` The all important "Bail Out" pause - gives you time to clear hardware memory
pause 100

gosub ctrHead
pause 300

gosub snoop
pause 200
gosub ctrHead

setint %00000001,%00000001

` ------------------------------------------------------------------
` Drive Around loop
` ------------------------------------------------------------------
runAround:
servo leftDrive, 140
servo rightDrive,80
pause 500
goto runAround


interrupt:
gosub drive_stop_all

` beep
tune Piezo, 6,($4A,$4A,$4A)
low Piezo `release timers on chip

gosub ctrHead

servo leftDrive, 140 `move fwd
servo rightDrive,80
pause 200 ` fwd only a smidgeon to find a way out

gosub drive_stop_all
gosub snoop

setint %00000001,%00000001
return

snoop:
maxStor = 0
xStor = 118
setint %00000000,%00000000 `stop interrupts so you can do measurements
for side2sideCnt = minSideToSide to maxSideToSide step 20
servo SideToSide, side2sideCnt
pause 90
` Check here for signals from sensor
readadc10 ADCin0, IRstor
pause adc_delay ` what is the value now in IRstor??
if maxStor < IRstor then `take a moment to:
maxStor = IRstor `remember the closest object value
xStor = side2sideCnt `remember the x-coordinates
yStor = upNdownCnt `remember if it`s tall or short
endif
next side2sideCnt
servo SideToSide, ctrSideToSide
pause 500
if xStor < 118 then ` object right
gosub turnLeft
endif
if xStor > 118 then ` object left
gosub turnRight
endif
pause 400 ` turn time (tune for carpet-hard floors)
return

`-----------------------------------------------------------------------
` head control
` shakeHeadNo
shakeHeadNo:
servo SideToSide, minSideToSide
pause 100
servo SideToSide, ctrSideToSide
pause 100
servo SideToSide, maxSideToSide
pause 100
servo SideToSide, ctrSideToSide
return

`-----------------------------------------------------------------------
` head control
` ctrHead

ctrHead:
servo SideToSide, ctrSideToSide
pause 200
servo UpAndDown , ctrUpAndDown
pause servo_delay
pause 300
low SideToSide ` use only when you need to save current
low UpAndDown
return


`-----------------------------------------------------------------------
` motor control
` Reverse
tryReverse:
servo leftDrive, 80
servo rightDrive,140
return

`-----------------------------------------------------------------------
` motor control:
drive_stop_all:
servo leftDrive , 128
servo rightDrive , 128
pause servo_delay
low leftDrive
low rightDrive
return


`-----------------------------------------------------------------------
` turn right
turnRight: `right 140, left 80
servo leftDrive, 140
servo rightDrive,140
return

`-----------------------------------------------------------------------
` turn left
turnLeft: `right 140, left 80
servo leftDrive, 80
servo rightDrive,80
return
Robot In a Box Becomes a Pet Robot     
I did some experiments with giving the Black Box a Skin. While this one could be better, it gives you an idea of what you can do
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.