Randy
  • Member for 3 years, 10 months
  • Last seen more than 1 year ago
What value of resistance to put between the output of a 74hc595 and the LEDs?
Accepted answer
3 votes

You are correct that a lower resistance would offer higher brightness. The more current through the LED, the brighter it will be. The current is calculated by dividing the voltage across the resistor ...

View answer
LED dimmer not fading out
Accepted answer
2 votes

your for() loop should end with with either "i=i+1" or "i++" or "i +=1". In your code you are just saying i+1, which doesn't actually affect "i". So the first loop continues endlessly, and the "...

View answer
Is AREF a stable output Ref voltage with analogReference(INTERNAL)
1 votes

Now, having had the benefit of a support ticket and subsequent discussion with an engineer at TI on this subject, I can confidently offer a qualified YES to my own question. It turns out my case is ...

View answer
Monitoring the state of AC relay, design considerations
1 votes

I have run into a similar situation on a few occasions. Maybe my scheme will help. What I do is sense power loss early, so I can save a structure full of all my program states to EEPROM when the power ...

View answer
Relay Module for water pump
1 votes

Well you'll need to know the true maximum current for the pump. It may say 1HP (746 watts), which you'd like to think came out to a simple 3.5 amps. But there are a few other factors to consider, such ...

View answer
Detect if laptop is on or not?
-1 votes

The only problems are that (a) the Laptop USB outputs 5V, and the arduino input should not exceed 3.3, and (b) when the Laptop is no longer powered, the 5V pin on its USB no longer has a defined state,...

View answer