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
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
re: parts suggestion specifically about batteries re: longish, about batteries and LEDs
@kat @LexYeen and 100 Ω is the resistance of the resistor you'll need
-F