Timeline for Arduino Uno coding problem voltage varying [duplicate]
Current License: CC BY-SA 3.0
20 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 21, 2017 at 21:24 | history | closed |
user31481 gre_gor per1234 SDsolar jose can u c |
Duplicate of How to increment and decrement an output voltage by using two buttons? | |
Nov 20, 2017 at 16:36 | review | Close votes | |||
Nov 21, 2017 at 21:24 | |||||
Jan 7, 2016 at 20:17 | comment | added | ott-- |
The statement if (digitalRead(buttonApin) == LOW, fadeValue) is equivalent to if (digitalRead(fadeValue) . I guess that's not what you wanted to do. See en.wikipedia.org/wiki/Comma_operator
|
|
S Sep 9, 2015 at 12:28 | history | suggested | dda | CC BY-SA 3.0 |
spelling, code formatting
|
Sep 8, 2015 at 21:43 | review | Close votes | |||
Sep 23, 2015 at 3:02 | |||||
Sep 8, 2015 at 19:23 | review | Suggested edits | |||
S Sep 9, 2015 at 12:28 | |||||
Jun 10, 2015 at 18:30 | comment | added | Chris Stratton | On the contrary, the resistance whatever it is is going to be extremely noticeable - either the LED fails, or if it doesn't, that effective resistance is what is setting the operating current and preventing it from doing so. Given the maximum current rating I expect it's a bit higher than 25 ohms effective when operating in excess of rated current. | |
Jun 10, 2015 at 18:28 | comment | added | Ignacio Vazquez-Abrams | @ChrisStratton: The 25ohm resistance of the output is going to be unnoticeable at best. | |
Jun 10, 2015 at 18:26 | comment | added | Chris Stratton | @IgnacioVazquez-Abrams - that is not true - it's not an LED by itself, it's an LED in series with a resistance (external or internal). And that means that the current which flows, and hence brightness, is a function of overall voltage. Of course, most LED dimmers work with a fixed, optimal voltage and varying duty cycle. It's an open question here if the Arduino's PWM output should be considered smoothed, or pulsed - that depends on the frame rate, and capacitance in comparison to load. | |
Jun 10, 2015 at 17:44 | history | edited | A-UNO help | CC BY-SA 3.0 |
Fixed code a little bit
|
Jun 10, 2015 at 17:25 | comment | added | Ignacio Vazquez-Abrams | "obviously if I get the Light to turn on I get light I can dim the light an brighten the light according to how often I push the button..." No. You can't. This is a LED. | |
Jun 10, 2015 at 17:22 | comment | added | A-UNO help | obviously if I get the Light to turn on I get light I can dim the light an brighten the light according to how often I push the button to the max 5v i think I'll be fine but what about my code? how bad is it? | |
Jun 10, 2015 at 17:17 | answer | added | Majenko | timeline score: 0 | |
Jun 10, 2015 at 17:16 | comment | added | Ignacio Vazquez-Abrams | Something that gives you an actual number. | |
Jun 10, 2015 at 17:15 | history | edited | Majenko | CC BY-SA 3.0 |
added 232 characters in body
|
Jun 10, 2015 at 17:15 | comment | added | A-UNO help | okay so what would use for an output? | |
Jun 10, 2015 at 17:07 | comment | added | Ignacio Vazquez-Abrams | Varying the voltage on a LED does almost nothing. | |
Jun 10, 2015 at 17:06 | comment | added | A-UNO help | Because it would be the same thing when I connect it to a different source I will still be able to vary voltage IF i can get this running. | |
Jun 10, 2015 at 16:50 | comment | added | Ignacio Vazquez-Abrams | Why would you use a LED to test your output instead of, say, a DMM? | |
Jun 10, 2015 at 16:46 | history | asked | A-UNO help | CC BY-SA 3.0 |