@kat you can put multiple LEDs in parallel without changing the voltage, but each LED will need its own resistor in this case, and you'll be pulling more current from the battery so if you want a lot of them you may need a beefy battery
-F
@Felthry okay that's clearing some stuff up, so if i want like 3 small white/orange LEDs, i'd want like
- in parallel, 1 resistor each, and a 2032 battery is fine
- in series, 1 resistor, and like... 2-3 stacked 2032 batteries i guess
longish, about batteries and LEDs
@kat orange LEDs are going to be more towards the 2 V end of the spectrum and white ones closer to 4 V (for physics reasons, the voltage needed increases as you move through the rainbow from red to violet, and white LEDs are usually blue or violet LEDs with a color-altering phosphor added)
Note that 2032s can't provide all that much current for very long; expect the battery to last maybe a day or so if powering one LED at 10 mA (a reasonable current for an LED, depending on how bright you want it to be, though you can get high-efficiency ones that are reasonably bright even at 1 or 2 mA)
A pair of AAs or AAAs could get you longer runtime if you can fit them into the thing. Or you could use the 5V out of one of those USB power banks and have it be rechargeable (just cram the power bank in there, i don't recommend dismantling it)
-F
longish, about batteries and LEDs
@Felthry so like if i want a little light capsule with a button on one end and a single bright LED on the other that i can insert into prints at the base, what battery is best for that
re: longish, about batteries and LEDs
@kat It depends on how big you can let the capsule be--if it's big enough two or three AAs that's what I'd go with, but if it needs to be smaller.... How bright are we talking? If you just want it to be visible, a button battery or two might be adequate, but if you want it to be usable like a flashlight, you'd probably need to go to a lithium cell and that gets complicated due to the need for protection circuitry
-F
re: longish, about batteries and LEDs
@Felthry i just want something i can put inside a transparent 3d print or something
i think it'll have to be smaller than a AA/AAA battery, i want to fit it into the base of a print
re: longish, about batteries and LEDs
@kat we have zero knowledge of 3d printing stuff, is "the base of a print" some specific size or does it vary between things?
-F
re: longish, about batteries and LEDs
@Felthry stuff like this
if i used AA/AAA batteries i'd have to make bases that are very wide/long, or have everything be like 2 inches off the table
re: longish, about batteries and LEDs
@kat those're going to need a fair bit of illumination... have you considered having them not be battery-powered? Wouldn't be too hard to plug them in with a wall wart, and then you wouldn't have to worry about fitting a battery in there
I think you could probably fit some AAAs in there, though, without making it too high? Just have one of these https://www.digikey.com/en/products/detail/keystone-electronics/2480/ or something similar in the bottom of the enclosure, exposed so you can change the batteries
The link is to a three-cell holder, but you can get four-cell ones too
-F
re: longish, about batteries and LEDs
@Felthry i kind of need something in the form factor of a tea light at most, four AAA batteries is a pretty giant square
iunno about hooking it up to a wall outlet, that seems a little overboard tbh
parts suggestion specifically about batteries re: longish, about batteries and LEDs
@kat @Felthry if I may offer a suggestion?
look into lithium-polymer batteries and USB-standard charging boards for them. sparkfun is a great place to start. LEDs draw so little power that you'll basically never overload one.
battery: https://www.sparkfun.com/products/13851
charger: https://www.sparkfun.com/products/10217
it should be easy enough to tap off of the board's battery connection points to power your LED circuit.
re: parts suggestion specifically about batteries re: longish, about batteries and LEDs
re: parts suggestion specifically about batteries re: longish, about batteries and LEDs
@kat @LexYeen as long as the voltage is higher, and the total current isn't too much for the power source
every USB power supply should be able to handle 100 mA by the standard, and most can do at least 500 mA. one typical LED needs somewhere around 20 mA for max brightness, so you can theoretically power 25 of them off of a 500 mA supply
-F
re: parts suggestion specifically about batteries re: longish, about batteries and LEDs
@Felthry @LexYeen okay, so if i want i could just take a USB power bank i've got on my desk already, and like... just have a rechargeable battery
then i can just wire 3 LEDs in parallel, wire them to a USB plug, and plug a couple of those into the bank via a USB hub
and then when they stop lighting up i just recharge the bank
i'm assuming this wont work but i'm not sure where the problem is
re: parts suggestion specifically about batteries re: longish, about batteries and LEDs
re: parts suggestion specifically about batteries re: longish, about batteries and LEDs
re: parts suggestion specifically about batteries re: longish, about batteries and LEDs
re: parts suggestion specifically about batteries re: longish, about batteries and LEDs
@kat @LexYeen the voltage isn't just something the person making the LED decides, it's constrained by physical limitations that depend on a number of interrelated things like the color of the LED, the exact semiconductor used, dopant concentrations, temperature of the LED (temperature is only significant in high-power illumination LEDs though)
so like i said, standardization isn't really *possible*
-F
re: parts suggestion specifically about batteries re: longish, about batteries and LEDs
re: parts suggestion specifically about batteries re: longish, about batteries and LEDs
(Ω is the symbol for ohms, incidentally, if you needed the name)
also don't order resistors from ebay or something, get them from a proper supplier
not because you run the risk of getting bad ones or anything, you'll jus tbe massively overcharged. the average resistor costs about 1¢ if you buy in sufficient quantity, or maybe 10¢ if you just buy one, but if you get it on amazon you'll be paying something like $5 for five of them or something
-F
re: parts suggestion specifically about batteries re: longish, about batteries and LEDs
re: parts suggestion specifically about batteries re: longish, about batteries and LEDs
re: parts suggestion specifically about batteries re: longish, about batteries and LEDs
@Felthry @LexYeen okay, so i picked out an example LED
3V would mean 2 over 20mA, the listed current
that gives me... 10 of something