Introduction: Light Module


The light module is basically the Simple Bots light sensor in a rugged directional casing with two convenient wires protruding. By adjusting the size of the iris (clear opening), you are able to make the module as responsive to ambient light as you would like. By splicing this in series with your motor circuit you can make your bot light-responsive.

Step 1: Go Get Stuff


You will need:

- 1" clear paint cup
- Simple light switch
- Any standard NPN transistor (for example, a 2N2222)
- 1" shrink tube
- 22 awg solid core wire

Step 2: Cover


Drill a 1/8" hole in the cover of the paint cup.

Remove the cover, pass the wire through, and tie a knot to prevent is from being pulled back through.

Step 3: Attach the Light Sensor


Attach the light sensor to the wire on the underside of the lid.

When you solder the wire, try to connect both the light sensor and knot as closely together as possible.

The longer leg from the light sensor should get soldered to the red wire.

The shorter leg should get soldered to the short wire.

Once soldered, trim away any excess wire and component leads.

Step 4: Glue


Position the light sensor on the underside of the lid such that the photo transistor is pointing perpendicularly outwards.

Glue it in place with a hot glue gun. Be careful not to get any hot glue on your fingers.

Step 5: Cover


Slide the shrink tube over the body of the paint cup and trim it so that there is no excess slack sticking off the end.

Quickly shrink it firmly into place with a heat gun.

Step 6: Case Closed


Place the lid back onto the cup to complete the module.

Comments

author
ripit made it!(author)2012-05-01

any reason not to put it together before the heatshrink so as to seal it up better?
just wondering.

author
shootermatic made it!(author)2014-02-06

Good call but if there was any moisture in there i guess it would cause condensation and be impossible to clean.

author
terrible+tinkerer made it!(author)2013-07-01

I luv what your doing here. Great stuff. One small thing tho, I see you list 22 awg solid core wire as the wire to use, but in your photo I see your light sensor soldered to multi-strand wire.

About This Instructable

4,790views

27favorites

License:

Bio: My name is Randy and I founded the Instructables Design Studio. I'm also the author of the books 'Simple Bots,' and '62 Projects to ... More »
More by randofo:Chocolate Peanut Butter Fudge RecipeBuild a Mad Scientist LightUseless Machine Instructions
Add instructable to: