G.E.A.R. 2

Posted on 19/09/2016 by robotgoldfish
Modified on: 13/09/2018
Introduction
This is an automatic import from our previous community platform. Some things can look imperfect.

If you are the original author, please access your User Control Panel and update it.

My Goal was to come up with a design where all the speciality parts could be ordered  for under $20US. The bill of matirels (BOM) looks like this: 2 ea 9g CR Servos 2 ea Wheels for the Servos 1 ea 4xAAA battery box with switch 1 ea SR-04 ultrasonic range sensor   1 ea Arduino IDE compatable ATTINY85 based controller board.  Such as a Digispark, Iteaduino or any one of the similar devices.  All the speciality parts come to just over $21 from Robotshop. depending on how much effort ...


G.E.A.R. 2

My Goal was to come up with a design where all the speciality parts could be ordered  for under $20US.

The bill of matirels (BOM) looks like this:

2 ea 9g CR Servos

2 ea Wheels for the Servos

1 ea 4xAAA battery box with switch

1 ea SR-04 ultrasonic range sensor  

1 ea Arduino IDE compatable ATTINY85 based controller board.  Such as a Digispark, Iteaduino or any one of the similar devices. 

All the speciality parts come to just over $21 from Robotshop. depending on how much effort you want to put into shopping you could trim a few dollars off of that.

To build one you will also need:

A soldering iron and solder.

Material for the body. I used foamcore but sturdy cardboard or thin wood would also work.

Hookup wire

AAA batteries ( I use rechargeable ones because I built a controller without a voltage regulator.)

Hot glue gun and hot glue

Stick on Velcro to mount the battery box.

 

     I have a dislike of unused pins and overpowered processors.  So when I ran across the Digispark I had to build an inexpensive robot anyone can build.  (Programing will leave you with either a sense of accomplishment or handsfull of your own hair, or both.)

     If you need some guidance learning how to solder check out a Maker Fair or reach out to a local makerspace.  Same with hot glue.  You might burn yourself,  Solder hurts more than glue.

The Body is simple:

     I cut some holes in the vertical pieces to feed the servo wires out and tuck any excess wire in to keep it out of the way.

     You may want to mount the servos before attaching the top deck It would make it easier to get a good fit.  The body is hot glued together. The servos are also mounted with hot glue. I used poster putty to hold the sensor and Controller pcb in place.  And finally the battery box is mounted with stick on Velcro.

     I picked a sonar sensor because it is the cheapest plug-and-play sensor available.  I will work on trying to find a cheaper and easier to program sensor and will up date the page if i find one.

     The wiring is simple The Battery is connected to the Vin, the left servo to PB0 the right servo to PB1 and the signal (or both the signal and trig on the SR-04)  pin of the sonar connects to PB2.  All the +5v pins and pads are connected together and all the Gnd pins and pads and the black Battery wire are connected together. 

GEAR2

And now about the attached sample code:

     First a big Thanks to Adafruit for Adafruit_SoftServo.h that made it possible.  And also thanks to the people who made their SketchUp models available on the 3D warehouse for making the design graphics easier.

      The code works and is commented but unrefined.  (I was a little rushed to get it out in time for Maker Fair.) If anyone has ideas or suggestions feel free to post them.  The whole idea of this thing is so we can have a standard platform that lets us test each others code ideas.

More to follow.

R.G.

update: 9-27-2016

I uploaded two sizes of drive wheels to attach to servo horns.  They use hardware store O-rings for tires.

 

 

Navigate around via ultrasound

  • Actuators / output devices: 2 CR servos
  • Power source: 4.8VDC battery pack
  • Programming language: Arduino ide
  • Sensors / input devices: Ultra Sound
  • Target environment: NY Maker Faire 2016
Flag this post

Thanks for helping to keep our community civil!


Notify staff privately
It's Spam
This post is an advertisement, or vandalism. It is not useful or relevant to the current topic.

You flagged this as spam. Undo flag.Flag Post