Light Module
![6A.jpg](/proxy/?url=https://content.instructables.com/F9X/ECRF/GOIDHBV9/F9XECRFGOIDHBV9.jpg&filename=6A.jpg)
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.
Go Get Stuff
![6B.jpg](/proxy/?url=https://content.instructables.com/F0P/IH3D/GOHM3NM5/F0PIH3DGOHM3NM5.jpg&filename=6B.jpg)
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
Cover
![6D.jpg](/proxy/?url=https://content.instructables.com/F5S/93R2/GOHM3NMD/F5S93R2GOHM3NMD.jpg&filename=6D.jpg)
![6C.jpg](/proxy/?url=https://content.instructables.com/FO0/2X8C/GOHMAPUA/FO02X8CGOHMAPUA.jpg&filename=6C.jpg)
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.
Attach the Light Sensor
![6I.jpg](/proxy/?url=https://content.instructables.com/F0Q/DK86/GOHMGMEG/F0QDK86GOHMGMEG.jpg&filename=6I.jpg)
![6E.jpg](/proxy/?url=https://content.instructables.com/FLF/90JD/GOIDHBVB/FLF90JDGOIDHBVB.jpg&filename=6E.jpg)
![6F.jpg](/proxy/?url=https://content.instructables.com/F5V/FFP1/GOHMGMEE/F5VFFP1GOHMGMEE.jpg&filename=6F.jpg)
![6H.jpg](/proxy/?url=https://content.instructables.com/FHE/96ZG/GOHM3NN4/FHE96ZGGOHM3NN4.jpg&filename=6H.jpg)
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.
Glue
![6J.jpg](/proxy/?url=https://content.instructables.com/F1M/8Q2N/GOHM3NNO/F1M8Q2NGOHM3NNO.jpg&filename=6J.jpg)
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.
Cover
![6N.jpg](/proxy/?url=https://content.instructables.com/FJ1/96PS/GOIDHBVL/FJ196PSGOIDHBVL.jpg&filename=6N.jpg)
![6K.jpg](/proxy/?url=https://content.instructables.com/FA0/7WXN/GOHM3NO0/FA07WXNGOHM3NO0.jpg&filename=6K.jpg)
![6L.jpg](/proxy/?url=https://content.instructables.com/FHU/KG9B/GOIDHBVE/FHUKG9BGOIDHBVE.jpg&filename=6L.jpg)
![6M.jpg](/proxy/?url=https://content.instructables.com/FM6/R8T9/GOIDHBVI/FM6R8T9GOIDHBVI.jpg&filename=6M.jpg)
![6O.jpg](/proxy/?url=https://content.instructables.com/FIL/BX4R/GOIDHBVM/FILBX4RGOIDHBVM.jpg&filename=6O.jpg)
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.
Case Closed
![6Q.jpg](/proxy/?url=https://content.instructables.com/FPL/VHPA/GOHMAPUH/FPLVHPAGOHMAPUH.jpg&filename=6Q.jpg)
![6P.jpg](/proxy/?url=https://content.instructables.com/F1R/XBP3/GOHMGMEI/F1RXBP3GOHMGMEI.jpg&filename=6P.jpg)
Place the lid back onto the cup to complete the module.