This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.

The Homey Community has been moved to https://community.athom.com.

This forum is now read-only for archive purposes.

Questions about photo-transistor switch for LED array

Yet a photo-switch question. Have done my homework, and searches but most non-specific circuits are beyond my learning curve, time to learn, and available wet-ram.

Have a 15 LED array being driven by a LM317 regulator set up for current regulation (shown below). Schematic has been breadboarded and works as advertised. Supply voltage 12-15Vdc, Vf of LEDs 3V, current 20mA ea. LM317 output with 12 ohm resistor.. 20.8 mA.

Need to add (optional) photo-switch to this circuit (on at dark, off at dawn). Simplest I have found has been posted in these forums already.

Problem is, this circuit, components and values, were designed for a 3V coin cell, and my requirements are based around available 12-15Vdc power. Additional constraints due to space for components (very small) and power consumption (least is best) require a solid state solution. This solution looks good if someone can help specify the proper value for the (now) 1K resistor in a circuit such as below. Spec sheet for the 2N3904 shows a max current of 200mA so (I think) it should suffice.


As I said earlier, my knowledge of EE is extremely limited, and I am putting this together on the fly. I can read a schematic, and do a decent job of soldering but my theoretical knowledge is sadly lacking. I may need to build several hundred of these little suckers, so any input or pointers to a better path, or a solution to my specific questions are appreciated.  For reference, here is a helpful article about LED lighting principle: http://www.apogeeweb.net/article/14.html


Sign In or Register to comment.