CCrowley
Computer
- Jan 8, 2012
- 3
First up, I'm fairly new to this aspect of things. Normally I'm the software designer, technician, etc, not the circuit designer. I'm quite eager to learn, and have done a good deal of reading and researching thus far. On the other hand, I have a healthy (fearful) respect for electricity, so I'm here to make sure I do it right. A cursory search didn't reveal anything here to me that I could be certain would work for my application.
Now, as I mentioned in the subject line, I'm looking to build a small rectifier for 120vac to both 12vdc and 5vdc. Whether that's one circuit or two that happen to be in the same enclosure is something I've yet to determine. I'm going for efficiency here, primarily for the sake of keeping heat generation as low as possible.
The goal:
Assuming this is feasible, the rectifier(s), microprocessor, etc listed below would all be contained within a single-width lightswitch receptacle. This particular receptacle is in an outside wall of a home, exchanging it with a larger receptacle isn't an option, and it is surrounded by blown fiberglass insulation. Heat control is key here. The space normally taken up by the control unit of a more complex light/dimmer switch is available here, as the dimmer switch being installed in place of it will be a simple trimmer potentiometer.
The 12vdc line would be used to power a yet-undetermined number of "rails" for lighting LEDs (1-7 rails total). These would originate in the receptacle, presumably attached via transistor to PWM pins on the microcontroller. At present these wires do not exist, do not have any specifications, and can be adjusted to fit any needs that may come up. One more "rail" would be present as a ground. This is in effect an indirect-exposure track lighting system for LEDs, with different wavelength LEDs available on separate tracks for independent control. The number of LEDs and exact power requirements of each are not yet known, I'd assume standard 20mA LEDs though.
The 5vdc line would be used to power a microprocessor to control the device. The microprocessor in question is a Teensy 2.0, which can technically function between ~2.4v-5.5v, but 5v would be optimum for CPU speed and general functionality. Under no circumstances would I expect this to draw more than 30mA, but I'd leave some room for error regardless. This is the biggest part that leaves me uncertain. I'm not sure exactly -how- stable the current has to be, how continuous, etc. If left to my own devices and research, I've proven to myself I'd overdesign this part, resulting in higher cost, danger to myself, and potential frustration. In the worst case, I'd just pick up a standard 120vac-5vdc USB charger, strip it down, and use it directly, but I don't learn anything from doing that, and I have a feeling there's a better option. By all means, correct me if I'm wrong here.
If I've left any pertinent detail out (if it's a known detail anyway), feel free to ask. There's no timeline I need to conform to here, no due date to speak of. Also, as it has come up before, I do have access to the circuit breaker and can run this on an isolated circuit initially (but only initially, not in final deployment) if needed as well.
As a final note, while I'd like to think it wouldn't be an issue here, if you're someone who is not willing to be patient with a novice of sorts, don't worry about responding. There are many other forums and mediums where I could listen to people instructing me to hire a professional or stay within my field.
Thanks in advance, everyone.
Now, as I mentioned in the subject line, I'm looking to build a small rectifier for 120vac to both 12vdc and 5vdc. Whether that's one circuit or two that happen to be in the same enclosure is something I've yet to determine. I'm going for efficiency here, primarily for the sake of keeping heat generation as low as possible.
The goal:
Assuming this is feasible, the rectifier(s), microprocessor, etc listed below would all be contained within a single-width lightswitch receptacle. This particular receptacle is in an outside wall of a home, exchanging it with a larger receptacle isn't an option, and it is surrounded by blown fiberglass insulation. Heat control is key here. The space normally taken up by the control unit of a more complex light/dimmer switch is available here, as the dimmer switch being installed in place of it will be a simple trimmer potentiometer.
The 12vdc line would be used to power a yet-undetermined number of "rails" for lighting LEDs (1-7 rails total). These would originate in the receptacle, presumably attached via transistor to PWM pins on the microcontroller. At present these wires do not exist, do not have any specifications, and can be adjusted to fit any needs that may come up. One more "rail" would be present as a ground. This is in effect an indirect-exposure track lighting system for LEDs, with different wavelength LEDs available on separate tracks for independent control. The number of LEDs and exact power requirements of each are not yet known, I'd assume standard 20mA LEDs though.
The 5vdc line would be used to power a microprocessor to control the device. The microprocessor in question is a Teensy 2.0, which can technically function between ~2.4v-5.5v, but 5v would be optimum for CPU speed and general functionality. Under no circumstances would I expect this to draw more than 30mA, but I'd leave some room for error regardless. This is the biggest part that leaves me uncertain. I'm not sure exactly -how- stable the current has to be, how continuous, etc. If left to my own devices and research, I've proven to myself I'd overdesign this part, resulting in higher cost, danger to myself, and potential frustration. In the worst case, I'd just pick up a standard 120vac-5vdc USB charger, strip it down, and use it directly, but I don't learn anything from doing that, and I have a feeling there's a better option. By all means, correct me if I'm wrong here.
If I've left any pertinent detail out (if it's a known detail anyway), feel free to ask. There's no timeline I need to conform to here, no due date to speak of. Also, as it has come up before, I do have access to the circuit breaker and can run this on an isolated circuit initially (but only initially, not in final deployment) if needed as well.
As a final note, while I'd like to think it wouldn't be an issue here, if you're someone who is not willing to be patient with a novice of sorts, don't worry about responding. There are many other forums and mediums where I could listen to people instructing me to hire a professional or stay within my field.
Thanks in advance, everyone.