Small LED Controlling Circuit

Thread Starter

MVFR

Joined Sep 22, 2025
6
Want to build the following CIRCUIT.... To turn ON and OFF a SMALL LED LIGHT, BLINKING when ON. Lets say 3V, with a USB charger. With what ever CONTROLLING COMPONENT that will TURN the LED ON when FACE DOWN, and OFF when FACE UP.
Basically when ROTATED 180 degrees. Needs to be SMALL as can be...
 

panic mode

Joined Oct 10, 2011
4,871
or use any tiny tilt switch... there are also solid state types. also easy to make (an as tiny as you like or can handle).
 
Last edited:

Tonyr1084

Joined Sep 24, 2015
9,744
Why 3.3V and not 5V? 5V is what chargers typically supply. As for the LED, it's a current controlled device, not voltage. If you want 10mA (0.01A), at 3.3V you first need to deduct the forward voltage of the LED (Vf) from the source supplied. If a Red LED, they can typically be around 2Vf. Let's assume these two things: 2Vf @ 10mA.
With a 3.3V source you'd use a 130Ω resistor.
With a 5V source you'd use a 300Ω resistor.
Each scenario will give you 10mA through the circuit. It's not the voltage it's the current. For instance, if you had a 12 volt source you'd use a 1000Ω resistor (1KΩ). Again you have 10mA through the circuit.
 

Ya’akov

Joined Jan 27, 2019
10,226
Want to build the following CIRCUIT.... To turn ON and OFF a SMALL LED LIGHT, BLINKING when ON. Lets say 3V, with a USB charger. With what ever CONTROLLING COMPONENT that will TURN the LED ON when FACE DOWN, and OFF when FACE UP.
Basically when ROTATED 180 degrees. Needs to be SMALL as can be...
Welcome to AAC.

It would be very useful if you would explain the problem you are trying to solve. Without that context the advice here is no better than a coin toss since even though people know a great deal, they have to make a dozen guesses about what you are trying to do to choose what to tell you.

What you have done is turn your (naïve) solution to some unknown (to us) problem into your problem. Solving this problem has a very good chance of leaving the problem this was supposed to solve untouched.

Describe what this is for, that is, the "why?" part.

Good luck.
 

Tonyr1084

Joined Sep 24, 2015
9,744
LED OFF
View attachment 357117
LED ON
View attachment 357118
In the OFF position the mercury has moved away from the electrodes and no current will flow.
In the ON position the mercury has moved to contact the electrodes and the LED will be ON.

Now, just like Ya’akov said, we're only guessing at your problem and the correct solution. I can see no problem being solved by this other than a toy for a child to play with. And in the hands of a child - Mercury is not a good idea. You DID say you prefer an electronic solution. Replacing the Mercury switch with an electronic circuit is easily doable. However, not many of us here are willing to engineer a solution for free. No, I'm not asking for money. In fact, without some great thoughtfulness on my part would I even begin to be able to give you what you asked for.

Are you asking for free engineering solutions? Or are you solving a problem like Ya'akov suggests? Knowledge is power. In the light we forge ahead. In darkness we grope.

[edit] And may I add, I'm "Assuming" you want 10mA current for your LED. [end edit]
 

Tonyr1084

Joined Sep 24, 2015
9,744
Want to build the following CIRCUIT.... To turn ON and OFF a SMALL LED LIGHT, BLINKING when ON.
Blinking adds some complexity. How fast do you want it to blink? You're talking about some sort of oscillating circuit that toggles between ON and OFF. AND only works when upright. You CAN get LED's that blink on their own. All you do is turn them on or off. Of course you still need to calculate for what current you want to run through the LED. Simple LED's typically are not run any higher than 20mA. Some may claim the MAX current is 30mA but that's not recommended. Especially if you want it to last a long time. High current degrades LED's quicker than lower current. Some super-bright LED's can be plenty bright on as little as 3mA. Of course that also depends on the environment. If you're in a dark place, low current is easily seen. In a bright location it will take more current for you to be able to see the LED glowing.

Here's a self blinking LED:
https://www.amazon.com/EDGELEC-Blinking-Diffused-Flashing-Resistors/dp/B077XCM7QZ/ref=sr_1_6
 

Tonyr1084

Joined Sep 24, 2015
9,744
That one is rated for 20ma output. Drawing more than that will damage the device.

While on Amazon I noticed rolling ball switches. When in an upright position they are on. When NOT in an upright position they are off. Actual switching point will depend on the way it's made. It could take 90˚ rotation to turn it off.
https://www.amazon.com/s?k=rolling+...4&ref=nb_sb_ss_p13n-expert-pd-ops-ranker_2_17
 
Top