Two blue LEDs in series would likely be perfect for a 5V Arduino.
I
I couldn't duplicate this assertion from a Google search. The best I can verify is 1.1Ohm from 6cm of 2B Pentel lead.
A toaster should be in the right order of magnitude....
Worth a try. Be sure to unplug it from the wall socket first. ![]()
Our Dualit is 17R5. Maybe several in series. ![]()
You have 110V?
Yes, 120V 60Hz 1100W
You need to remember that a cold toaster will have a lower resistance than one at it's operating temperature.
Correct, but I don't expect it to heat up much from LED level current.
Maybe a 30 or 50W bulb light would be better then...
I checked some and it looks like 12V automotive bulbs would be in the right range.
The real solution is to Amazon Prime a resistor assortment though unless the whole purpose of the exercise is to not use any resistance,
But a bulb may also count as a resistor...
@steelcrest
Do you still need help?
pinMode(12,INPUT_PULLUP);
seems to work.
So how many pencils did you use to make your resistor?
To turn on the LED, use an input with pin mode INPUT_PULLUP.
To turn off the LED switch to pin mode INPUT.
To burn out the LED wired between the pin and ground, cathode on the ground side, use pin mode OUTPUT and write HIGH to the pin.
LEDs have come a long way, not much current from the weak pull-up mechanism.
I file it under "I never would have thought of that".
a7
void setup()
{
}
void loop()
{
pinMode(12, INPUT_PULLUP);
delay(500);
digitalWrite(12, LOW);
delay(500);
}
Blinks peacefully
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.