- Mon Jan 10, 2011 5:11 pm
#117043
SXRguyinMA,
Two questions, one tactical and one strategic:
Tactical: Have you watched the voltage on the Arduino's RESET pin (pin 1) during startup. That pin is pulled up through a 10K resistor and it may be that it's pulling up very slowly when the capacitors are drawing a large charging current. (If the pull up is slow, I'd try changing the pullup resistor to 1 K. One thing you might do to see if it's the Arduino or the servo that won't respond until you're at about half charge is to put a "heartbeat" LED on a spare DO of the Arduino and have your code flash it ~5-10 Hz. That way, it would be easy to see if the Arduino is alive during the first couple of minutes.
Strategic: Why use a 12 V line from the PC's power supply for your power, but a 5 V line to determine when to have the circuit operate? Put another way, under what circumstances is the 12 V live, but the 5 V not, and in which you do not want the louvers to operate? Alternatively, why not just run the whole louver subsystem on the 5 V power from the power supply?
Eric
PS: I've been trying for several hours to send this, but have been having web problems.
Two questions, one tactical and one strategic:
Tactical: Have you watched the voltage on the Arduino's RESET pin (pin 1) during startup. That pin is pulled up through a 10K resistor and it may be that it's pulling up very slowly when the capacitors are drawing a large charging current. (If the pull up is slow, I'd try changing the pullup resistor to 1 K. One thing you might do to see if it's the Arduino or the servo that won't respond until you're at about half charge is to put a "heartbeat" LED on a spare DO of the Arduino and have your code flash it ~5-10 Hz. That way, it would be easy to see if the Arduino is alive during the first couple of minutes.
Strategic: Why use a 12 V line from the PC's power supply for your power, but a 5 V line to determine when to have the circuit operate? Put another way, under what circumstances is the 12 V live, but the 5 V not, and in which you do not want the louvers to operate? Alternatively, why not just run the whole louver subsystem on the 5 V power from the power supply?
Eric
PS: I've been trying for several hours to send this, but have been having web problems.