Sunday, January 29, 2012

Mini Sumobot H-Bridge for Motors


This is a pretty standard design for H-Bridges that I drew and will be using.  I picked mechanical relays because of availability, expandability for an eventual larger robot, my arduino motor shield is already intended for my CNC project, and I didnt want to keep buying transistors should I miscalculate the amperage.  In this design, I went for a single voltage input (+V) to supply the relay coil, Va, and Vb. 
Summary:
Va is default choice.  The relay is set to Normal Close (NC) with Va supplied to the motor for the default normal (Forward) direction.  The diode is for back-voltage for the DC motor.  The NPN transistors are set up as a Darlington series for PWM input from the Arduino microcontroller pin (PWM) that operates at either 3.3-5 V to control the speed.
Vb is second choice when the relay coil is energized for the motor to move in reverse.  The coil is energized when the microcontroller pin (REV) enables High through the Darlington series.  The coil has 200 ohm rating.  The relay will then switch the motor input to Vb reversing the direction.  The diode is again intended for back-voltage for the DC motor. The PWM input from the Arduino microcontroller pin (PWM) will control the speed.

NOTE: I still have to determine if the diode is in the right spot or should be moved to a point after the Darlington PWM series and between +V.  I still may need to add resistors to the coil for equal voltage division through the motor.

Mini Sumo Current Progress 28JAN

Abandoned the light for sound detector as unnecessary.
Programmed servo and sonar ping combo to operate together.  Used code from two different sources provided by:
1.  BARRAGAN <http://barraganstudio.com/> intended for use on the Arduino Experimentors Kit @ source circuit 04 http://ardx.org/src//guide/2/ARDX-EG-OOML-WEB.pdf on the servo
2.  http://www.funnyrobotics.com/2011/03/arduino-with-parallax-ping-sensor.html for the Sonar Ping sensor
Originally, the programs were treated separately, but I eventually combined them using FOR commands so that for every degree a ping is done. Servo and Sonar Ping
Programmed servo and sonar ping combo to move faster when detected object is close.  Added some IF ELSE statements that specified a threshold for the close object before moving faster.  Need to post code.
Purchased battery holders,  9V battery clips, NPN  transistors #1, NPN transistors #2, and  DPDT relays from Radio Shack.
Goal: Post design for H-Bridge relay with transistors
Goal: Program servo and sonar ping combo to limit movement to close object only.
Goal: Program servo and sonar ping combo into a grid array.
Goal: Purchase IR detection array for Edge sensing
Goal: Program edge sensing

Friday, January 13, 2012

My Review of Velleman® MK102 Flashing LEDs Kit

Originally submitted at RadioShack

Velleman's MK102 beginner-level flashing LED kit has adjustable flashing speed and two potentiometers.


Okay build

By Insideous from Atlanta on 1/13/2012

 

4out of 5

Pros: Simple build

Cons: Must download schematic, Some experience needed

Best Uses: Robotics, Toy

Describe Yourself: Enthusiast

Primary use: Personal

Was this a gift?: No

Some solder experience required. Must download schematic from site. Must already know positive end of LED and electrolytic capacitor. Provides excellent adjustability for background noise level- if background too loud and LED stay on, turn potentiometer. Very small with battery attaching to back of circuit. I kept the leads on the LED long and will attach to a minisumobot as sound indicators.

(legalese)

Wednesday, January 11, 2012

Mini-Sumo Current Progress

Assembled the Twin motor Tamiya gear box at a 203:1 ratio with my son.  He likes assembling things. 
Installed 56mm diameter Tamiya sport tires; hollow rubber similar to a RC car tire
Measured the overall width and determined that it exceeded the 100mm max width requirements for the mini-sumo rules.
Drilled all the way through the rims so that the axles could be pushed through (used a non-motorized hand drill).  This reduced the width to 102mm.  Will have to grind the ends down a little to meet specs.
Cut plastic sheeting to 100mm x 100mm with utility knife. 
Trimmed to fit the wheel wells and affix to the gear box.
Purchased a Parallax sonar ping sensor and a light and sound kit

GOALS:
1.  Configure Arduino for ping sensing and attach light and sound kit to get a visual indication of sound.
2.  Purchase transistors and relays to create an H-Bridge for each motor to operate with the Arduino

Tuesday, December 20, 2011

Current projects update

The robot club that I joined has long since completed their robot rally held in November.  I assisted as stage ninja.  Overall, the rally was a success and all the members that participated were satisfied.  Images and video are here.

The club appears that their emphasis is toward their rally where they get alot of attention.  So to maybe get my son interested in robotics, I guess I will build a mini-sumobot with the goal of it competing in all the events.  I already have the majority of items from various projects to make this happen.
1.  Leftover poster-banner plastic from the Star Wars themed Halloween "when ewoks attack" that I did on my front lawn.
2.  Arduino
3.  Motors
4.  Tamiya Gear box that I purchased
5.  Need sensors
6.  Need motivation

I am more partial to the ISO-bot that I saw some of the members had when they brought them to the Atlanta Mini-Makers Faire for display.  I liked that it was pushbutton control and the combos dictated the moves that it would make.  I looked it up online.  At $399 and no longer manufactured, I think that I can make my own for cheaper.  In fact, I have drawn up initial plans using the multi-poseable paper robot from an earlier post.  I have converted the plans for online Ponoko lasercutting and should be ready to post it soon.  After I post, I then have to decide on creating a variation that uses homemade motors or cheap available motors.  So far the sample of homemade motors are not strong enough.

I have posted an initial plan for an overhead HO scale train track for my Dad (who recently got interested in trains again) similar to the one shown here.  I wanted to see the at-cost-price from Ponoko which is $12-15.  Its okay, but the track would cost over $120 to make.  I can probably edit the design to make just a round track and see if it is cheaper.


RECAP: The candy crane robot arm was never finished and not needed.  I completed the pedestal and lost steam on the armatures.