Tuesday, July 24, 2007

PBR Motor Controller

{PBR = Phidget>Battery>Relay }

I made an enclosure for the Phidgets and the relays. I got the metal box from an old power supply I had lying around. I also added some switches to switch the main battery and the relay circuit on or off. This box allows me to save space on the robot. If you look in the pictures before; the
battery,relays, and phidgets were just spread out everywhere, with wires making a big mess. This box is much nicer and smaller. I can't wait to try out the box with my wheelchair motors( they should arrive in the near future...) The wires for the motors are hidden in this picture, but they come out from the back of the box.

Circuit is as follows: Each motor is connected to two DPDT relays, giving a total of four DPDT relays. The relays are powered by four AA batteries and are switched on by the Phidgets Interface. Each relay is DPDT, meaning there are two poles to be switched. SO whenever a relay is triggered it is switching BOTH positive and negative current to the motor. The reason for this is due to the fact that if a motor were to be wired with two switches meant to turn the motor in two directions( each switch controls a motor movement) instead of four switches to control motor direction, a short circuit will result ,killing the battery and potentially producing an electrical fire.

The battery, Phidgets Interface, and relays are all stored in an aluminum box. The enclosure is from a power supply and is all metal. In order for the relays and Phidgets Interface not to short circuit upon touching the metal, a thin plastic film was glued onto the surface. Two switches were placed in the front of the enclosure. The bottom black switch is responsible for switching the main battery that runs the motors. The red switch above it is responsible for switching the battery that powers the relays.


Here is the schematic of the relay to motor interface.

Monday, July 23, 2007

Motors Ordered




I just ordered two wheelchair motors with 12" wheels from eBay for a total of $135 ,including shipping. Not bad deal, because these motors are very powerful( can carry over 200 pounds). Due to the strength of these motors I might add a small step for me to stand on and then I would add a joystick to control the robot manually . The motors will probably come in next week and the base will be built by the second week of August. Maybe even sooner if the motors arrive early.
I'm also going to buy a deep-cycle wheelchair battery from eBay, or perhaps I can find a substitute for that battery. Up on top is a quick 3D model I drew of the base( in Google SketchUp)

Sunday, July 22, 2007

New Base

I'm currently working on another, improved base for Chives. The base will consist of two motors, two casters, and an 18" by 18" aluminum square about 1/2 inch thick. I'm still researching motors, so if anybody knows of any strong,cheap ones please email me. My choices rite now are 2 NPC gearmotor kits ($160 from Robot Marketplace, total of $320 for both wheels), or 2 Drive Modules( $120 from Trossen Robotics, total of $240 for both wheels), or 2 AME motors(total of $100 from Robot Marketplace) and 2 wheels(total of $20 from Robot Marketplace) as well as mounting hardware(total of $20). Here are the totals:
NPC Gearmotor = $320 *Most powerful with bigger wheels for more clearance
Drive Modules= $240 *Less Powerful with only about half an inch for clearance
AME Motors and Wheels = $140 *Cheapest, medium power but have to assemble and all parts aren't designated for each other

The base I can get for around 20 bucks from any sheet metal place. I have casters at home. If I had sponsors I would be able to get the best parts and have the perfect robot. So I'll have to make it perfect using brains instead of money and I'll measure seven times and cut once.

[I ended up picking wheelchair motors from eBay]

Sunday, July 15, 2007

Even More Pics







More pics




Chives Version 1.4 Completed




I finished the basic butler robot today. All it is now is a voice controlled motorized base with a wireless web camera. The voice recognition works very well and the internet control of it is amazing. The drive system is not perfect, it doesn't travel perfectly straight. It worked better than I expected but after all, its just two old powerwheel motors with bike wheels hot glued to them. Not bad. Phidgets worked well also, they stopped working for an hour(I put in too high current,oops). Then they went back to normal and everything was perfect. Ill post more detailed information later but for now, just look at the pics. Also, I might make room on my server for guests to just view the robot video feed ,however they won;t be able to control the robot.Thats my job.
A picture says a thousand words....

Uh Oh

The Phidgets Interface Kit broke. I woke up one morning and the interface switch just remained closed and didn't switch. However ,the LEDs still lighted up. I'm going to call up Trossen Robotics and probably get it repaired.
Why me, why is it always me?

[Edit on 8/15/07: The Phidgets weren't broken, they just received too much current. Its ight now! Sorry Trossen Robotics...]

Go to my blog for more details on my project which uses phidgets, my robot butler.