Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: March of the Robots
Mr.What
Administrator
Posts: 154
Permalink
Post March of the Robots
on: February 14, 2012, 10:04
Quote

In looking into a very simple photovore, it appears that I will need two stage amplification from most phototransistors. It might be easier to use some sort of photocell. Should I look into driving something like a high gain darlington to run small motors from a photocell, or are those little round cells more like voltage devices, from which I could run a MOSFET?

Phototransistors (two stage) may still be a good idea, since I know they are tuned to standard IR LED's (frequently 880nm), narrowband filters. These may be easier to set up so that robots will "march", following an IR LED on each other's rear ends.

These claim to deliver 20ma. This might be enough for a small vibrator motor... is it? $0.20 ea, in 860 and 940nm central band.
http://www.goldmine-elec-products.com/prodinfo.asp?number=G18693
http://www.goldmine-elec-products.com/prodinfo.asp?number=G13767

This is a cheap way to get an IR LED, but it does not list the wavelength:
http://www.goldmine-elec-products.com/prodinfo.asp?number=G16816

These are even cheaper ($0.10), but again, we have no idea of the wavelength, voltage or current either for that matter.
http://www.goldmine-elec-products.com/prodinfo.asp?number=G18101

adric
Administrator
Posts: 162
Permalink
Post Re: March of the Robots
on: February 15, 2012, 12:14
Quote

I have yet to even try and test it, but i kinda think that the $1 solar lights we have might be able to form a simple light detecting h-bridge. Still not totally sure but i think if the motor is on one output(LED when dark) from the charge controller. and reverse is on the other(CHARGE when not dark), we could meld two motors with two solar lights to get one that will work like a photovore, as for getting it to interact im not sure. but $4-6 for a robot, is not bad (2 solar lights and 2 motors)

-Quelab, Come make something!

Mr.What
Administrator
Posts: 154
Permalink
Post Re: March of the Robots
on: February 28, 2012, 08:34
Quote

We need to get ideas together and order SOON. If we go with photovores, we need to consider the mechanical construction too. Hot glue is your friend. How do I identify fast-switching (shotkey?) diodes from my grab-bag?

Do those little photocells produce a voltage from light? Is it enough to drive an n-channel mosfet? Either way, I think we can build a photovore in 2 parts. A phototransistor might need a second stage to drive a motor, still only 2 parts to drive the motor.

Any ideas besides photovores?

adric
Administrator
Posts: 162
Permalink
Post Re: March of the Robots
on: February 28, 2012, 16:54
Quote

Linkdump, of a modified toy, into a $15 robot.

http://hackaday.com/2012/02/28/15-toy-becomes-fully-programmable-robot/

-Quelab, Come make something!

Mr.What
Administrator
Posts: 154
Permalink
Post Simple Photovore Circuit
on: February 29, 2012, 15:53
Quote

Tried this out. It works with a simple, general purpose NPN transistor. Resistor around 200-1K ohm for desired sensitivity.
Image
If we can get 1K pots, it will be nice. One pot per photovore may be sufficient. One side can have fixed gain, change the other side to match (mostly). I believe this circuit can be soldered BEAM/ants-marching style. We just need motors with fairly long shafts, and a mechanical design. You want large mechanical advantage on the motors, so I have done this before by using the shaft itself as a very small wheel.

I can get a large grab-bag of photoresistors from electronics surplus or similar.

adric
Administrator
Posts: 162
Permalink
Post Re: March of the Robots
on: February 29, 2012, 17:24
Quote

I know that box of electronics parts i got from electronics goldmine, has some small trim-pots didn't look at their sizes, but perhaps Sunday i will get some time to sort that box into those drawers Walter brought in.

-Quelab, Come make something!

adric
Administrator
Posts: 162
Permalink
Post Re: March of the Robots
on: February 29, 2012, 18:45
Quote

As for linkdumping, Goldmine emailed out some interesitng cds cells. dual elements in one can, could probably be used to control left/right.

http://www.goldmine-elec-products.com/prodinfo.asp?number=G18730

at $0.99 they are not cheap, but not too bad for two in one package. curious about how mask/blinder them.

they also have a $2 assortment
http://www.goldmine-elec-products.com/prodinfo.asp?number=g14025

other useful bits and discounts can be seen on their main page.
http://www.goldmine-elec.com/

-Quelab, Come make something!

Mr.What
Administrator
Posts: 154
Permalink
Post Goldmine shopping list
on: March 1, 2012, 09:19
Quote
  • (3) 470 ohm Trimmer Resistor (Pkg of 10) G9226 $1.00
  • (2) Large bag CDS surprise G17170 $5
  • (4?) 9v battery connectors 3 pack G18225 $1
  • (30) 9vDC motor G17156 $0.49
  • (1) 1N4148 Glass Diode (Pkg of 100) G13808 $1.0, cheap, small signal, but are they adequate? Schottley are more like $0.20 ea.
  • (2) 220uF 10V (Pkg of 20) G9092 $1 (OR)
  • (1) 2200uF 10V (Pkg of 100) G18345 $10, twice the price each, but 10x the size

I've seen better prices on larger quantities of 9v connectors. I know we had at least 15 of these, but I can't find them. (not much better. $.25 ea)

Get $0.50 non-alkaline 9v batteries at dollar tree.

$0.49/motor is a great deal. these are usually around $1

Planning enough parts for about 15 robots.

adric
Administrator
Posts: 162
Permalink
Post Re: March of the Robots
on: March 1, 2012, 11:12
Quote

Not sure where the supplies from Halloween went, but I may have a pack of 5 or 9 battery snaps at home. (so we are not making these solar powered?)

9v non alkaline batteries can be picked up for 2 for $1 at Dollar tree. may not run for as long of a time, but like most batteries included kits, would last for a the first night.

-Quelab, Come make something!

Mr.What
Administrator
Posts: 154
Permalink
Post Re: March of the Robots
on: March 1, 2012, 13:08
Quote

Any ideas on how to make a small "wheel" for a 2mm motor shaft? There is always shrink-wrap. Ball point pen ink tubes?

Any ideas on how to make a nice coaster wheel for a trike?

adric
Administrator
Posts: 162
Permalink
Post Re: March of the Robots
on: March 2, 2012, 13:45
Quote

we should still have some rubber spline (pretty much a rubber tube with some gripper tread on the outside. we found it worked pretty good on the 3v hobby fan motors last year. (not big, just increases the shaft to about 1/2cm or so.

-Quelab, Come make something!

adric
Administrator
Posts: 162
Permalink
Post Re: March of the Robots
on: March 2, 2012, 13:49
Quote

ping pong balls work pretty good as omni directional sliders on light craft. im sure we could probably source a fair number of other
options at a dollar tree.

-Quelab, Come make something!

Mr.What
Administrator
Posts: 154
Permalink
Post Re: March of the Robots
on: March 2, 2012, 13:53
Quote

Quote from adric on March 2, 2012, 13:45
we should still have some rubber spline (pretty much a rubber tube with some gripper tread on the outside. ... (not big, just increases the shaft to about 1/2cm or so.

Sounds about perfect! Enough for 20-30 motor shafts? We can attach it to a 2mm (diameter?) shaft?

adric
Administrator
Posts: 162
Permalink
Post Re: March of the Robots
on: March 6, 2012, 13:56
Quote

Btw, I'm not totally jazzed on this being that they are more dumb jiggle bots. but for the price we can do these pretty well. and could let folks be pretty creative on the take away project.

Drawbots,
http://www.mee.tcd.ie/~bruckerj/projects/drawbot.html

ive also got a few ideas on modifications. using other junk/bits.

-Quelab, Come make something!

Mr.What
Administrator
Posts: 154
Permalink
Post Revised simple photovore driver
on: March 10, 2012, 13:39
Quote

Had some issues with the motors running too fast.
Added a current limiter.

Unfortunately, component values will differ with motor. Will need to do some tweaking. The current limiter value greatly effects the range needed on the pot for desired sensitivity.

Another issue with current limiter value choice is that motor can stall. It can take the current given without turning. This might push more towards the lower end of the current limiter resistance.

On the mechanical side, I have found that you will not want the motors too far apart. We want one motor firing to move the robot forward, while curving to one side. When the wheelbase is too wide, one motor firing tends to pivot the robot (nearly) in place. This could be interesting though. Placement of the battery will change the robot maneuverability. It could be fun. Very simple electronics, but people can tweak the mechanical design for desired characteristics. (Like move the battery forwards and back to change turning radius)

I still have plans to try a maximally minimalistic driver... just and LED as photodiode driving a small MOSFET. Sensitivity of this driver will need to be all mechanical (shades/aperture/pointing direction)

This is still fun for me. I kind of prefer building and tweaking to playing with things. I'm like that with RC planes. Once I get them flying well, I kind of loose interest. I'm not so much into precision or stunt flying.
Image

Mr.What
Administrator
Posts: 154
Permalink
Post Minimalist Photo Driver
on: March 13, 2012, 10:57
Quote

I built the minimalist light amp using an LED and a MOSFET, and it did work. The initial version used a bright yellow/green LED and had a problem where it took a second or two to respond to light increase, and took a full 4 seconds to shut down the motor when light went away. AFAIK, it stored some charge in the large LED area, and took time to bleed away.

Image

I tried again with a dimmer red LED, and it seemed to work acceptably. There is some lag, but it is less than a second. The first circuit was VERY sensitive, and hard to turn off. It was easier to run with the red LED. I'd like to try again with a smaller-sized red LED.

The optical lensing looks very useful for directional sensitivity. I think it is a good way to go. I might try again with a more common MOSFET. With the bright LED, I think it generates more voltage than I would think (like 2v), but we can't measure that with a common voltmeter. Perhaps there is a through-hole MOSFET with fairly low Vgs(th) that will work, instead of this surface mount, which is very hard to work with.

Image

I coated the SMD MOSFET with hot glue for mechanical strength

Image

Mr.What
Administrator
Posts: 154
Permalink
Post Video of LED/MOSFET motor driver
on: March 13, 2012, 11:20
Quote

Here's a video of the lower sensitivity red-led based sensor

http://youtu.be/ihImbBBV4oY

Mr.What
Administrator
Posts: 154
Permalink
Post LED/MOSFET sensor
on: March 14, 2012, 09:54
Quote

3 LED's in series produce enough voltage to trigger a common power MOSFET, or "small signal" mosfet, like 2N7000.

This is not all bad. Having 3 LED's for the sensor makes it a bit
easier to control sensitivity and directionality, and Quelab has bags of them. It is easy to build : no soldering surface mount parts, no V+ connection to bias the transistor.

I already ordered a few small power MOSFET's from Newark, which might trigger on 1 or 2 LED's ($0.47 ea). I know that electronic goldmine has things like 2N7000 for about $0.15 ea, but they will definitely need 2-3 LED's to trigger.

adric
Administrator
Posts: 162
Permalink
Post Re: March of the Robots
on: March 15, 2012, 11:40
Quote

Awesome! Nice writeup too! Im really hoping you will have the parts, so that sunday i can get down and try and make one!

-Quelab, Come make something!

Mr.What
Administrator
Posts: 154
Permalink
Post CdS with training pots
on: March 16, 2012, 07:56
Quote

This is the initial CdS model, with potentiometers for the current limiter, to experiment.

It could be tuned to follow a flashlight well, but it was more challending to get it to trigger on LED's. Line following was not attempted, I think we will need a very well lit line for these CdS's to trigger.

Image

Response is still fairly bang-bang. I may try again with MOSFET's (and no current limiter, these are voltage triggered). I hope that he MOSFET will give a gentler proportional light response.

Electronic Goldmine has the best deal on small 2N7000-like MOSFET's at $0.13 ea.

Mr.What
Administrator
Posts: 154
Permalink
Post LED/MOSFET photovore
on: March 16, 2012, 08:17
Quote

The response of the two legs was very different, and hard to tune.
I also fear that the sensor lag is making it harder for this to follow lights. It is a neat sensor, but I may go back to CdS based solutions for attempts to make a minimalist photovore.
Image

Mr.What
Administrator
Posts: 154
Permalink
Post Re: March of the Robots
on: March 16, 2012, 13:23
Quote

We whould look at this project for more inspiration:

http://www.instructables.com/id/Build-a-SpurtBot-Line-Follower/

This is rather clever. It looks like when you draw current for one motor through the transistor, it starves the other one somehow. I'm not totally sure how it works.

Mr.What
Administrator
Posts: 154
Permalink
Post parts
on: March 19, 2012, 15:19
Quote

All Electronics has the nice pot's that will clamp to a popsicle stick, $0.25 ea. However, they only have power MOSFET's. They are nice, nut they are $0.50 ea.

Electronic Goldmine has $0.13 transistors which will work well, but only slider pots for $0.25. This may not be such a bad choice, since these pots are usually well over $1 ea. However, they may not mount easily to popsicle sticks. Another positive is that I think they are encased, so they can be glued to the sticks.

Mr.What
Administrator
Posts: 154
Permalink
Post Photo-MOSFET Motor Driver
on: March 20, 2012, 09:00
Quote

This is the design I have settled on for the public to use for building minimalist light-following robots.

I am photographing a build to make an instruction sheet.

My build uses a power-MOSFET package, which has different pinouts form the TO92 used on smaller devices like the 2N7000. I may want more photographs of another build to demonstrate the different pins.
Image

Working on Instructables-like instructions for light follower robot build:
http://boim.com/BEAM/LightFollower/DraftIndex.html

Mr.What
Administrator
Posts: 154
Permalink
Post Light Follower build procedure
on: April 4, 2012, 06:22
Quote

After having built some 16 light followers, here are some notes on streamlining the procedure.

  • select matching CdS cells
  • Place motors on table in a position similar to where they will be in the final robot, with the same side of each motor facing you. Lay the diodes on the motors such that the stripe is towards the inside. Solder the diodes in place.
  • Power up each motor by placing the + lead on a battery on the motor tab toward the stripe on the diode, and the - lead on the other side of the diode. Make sure that one motor spins clockwise, and the other motor spins counter-clockwise. If this is not the case, reverse one of the diodes.
  • Locate the drain pin on two transistors, and bend it away from the other two pins.
  • Strip about 3mm from the ends of 4 wires. The wires should be at least 5cm long each. Bend the stripped end of each of these wires into a small hook.
  • Arrange the potentiometers as they will be mounted on the robot. One on the left, one on the right, facing forward.
  • Arrange the transistors so that the gate and source pin are aligned with an edge and sweeper pin on each of the potentiometers. It will be desirable for the bent drain pin to point up (or forward) in this arrangement on the constructed robot.
  • Hold the gate pin of a transistor to the desired pin of the potentiometer, and help hold it in place with the hook of one of the wires. Solder this 3-way connection together.
  • In a similar manner, solder the source pin to the corresponding leg of the potentiometer with a wire end. It is best for the wires to head in opposite direction from these solder joints so that they are not likely to short when the robot bumps into things.
  • Cut and attach wheels to the motor shafts.
  • Place both motors in their desired relative locations on the finished robot, with the tab attached toward the striped end of the diode towards the center.
  • Put a generous dab of hot glue on each motor, and attach one side of the popsicle stick frame. You will have a few seconds to adjust the alignment before the glue cools. When the parts are aligned, wait for the glue to harden.
  • Flip the motor assembly over, and glue another craft stick to the other sides of the motors for added strength.
  • Place the wheels of the motor assembly on the table and attach the + end of a battery to the motor tab attached to the striped end of one of the diodes. Attach a lead from the - side of the battery to the other side of the same diode. The motor assembly should try to drive away. Note which direction it drives. Place an X on the stick that the motor tries to drive away from.
  • Repeat for the second motor, making sure that both motors try to drive the frame in the same direction, with X marking the stick which will be the backward facing side if the frame.
  • Place the third craft stick where you will want it on the final robot. This stick usually forms a tail where the battery will be mounted, so most of the stick will extend out from the X side of the motor frame. Mark the desired locations on this stick where the motor frame sticks will cross.
  • Put a dab of hot glue on each of these lines, then balance the motor frame assembly on the third stick, in the pools of hot glue. You have a few seconds to check the balance and alignment of this stick to the frame before the glue begins to harden.
  • When aligned, wait for the glue to harden.
  • Hold the robot tail down on the table.
  • Place some hot glue on the forward facing side of the motor frame, and mount one of the potentiometer assemblies. Be careful that the placement of the hot glue does not interfere with the motion of the potentiometer adjustments.
  • Repeat for the other potentiometer assembly
  • Solder the bent drain pin on the transistors to the motor diode lead away from the stripe on it's corresponding motor. If the two leads cannot be connected without risk of shorting other leads, use a small length of insulated wire to make the connection.
  • Repeat for the other NON-stripe motor-diode lead to the corresponding bent transistor drain pin.
  • Solder the diode leads towards the stripe on the motors together, and solder them to one side of the CdS sensors. If the leads are not long enough to place the sensors where you want, use an uninsulated wire to connect the stripe end of the diode leads together and extend forward to the location where you wish to the one lead from each of the sensors.
  • Solder the wire to the gate pin of one transistor (center pin on TO-92 package) to the other lead of the sensor on the opposite side. Repeat for both sides. This is a criss-cross connection where each motor/transistor/potentiometer assembly is attached to the sensor on the opposite side.
  • Solder the positive battery terminal wire (red) to a diode lead toward the striped side of the diode.
  • Take the remaining source wires that were soldered to the transistors, and solder them together with the minus (black) lead on the battery connector.
  • Plug in battery and test
adric
Administrator
Posts: 162
Permalink
Post Re: March of the Robots
on: April 10, 2012, 11:49
Quote

Well there are some pretty cool prizes up on Instructables new "Robot Challenge", perhaps posting the instructions there might be a good way to continue our notoriety and possibly win some cool stuff for you/or the lab

http://www.instructables.com/contest/robot2012/?show=INFO

-Quelab, Come make something!

Mr.What
Administrator
Posts: 154
Permalink
Post Light Follower featured at Instructables
on: May 25, 2012, 06:58
Quote

Soon after http://www.instructables.com/id/Simple-Light-Following-Robot/ was posted, it got featured under technology.

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.082 seconds.

 

Comments are closed.