age-series / ElectricalAge2

Eln2 Codebase
https://eln2.org
MIT License
53 stars 17 forks source link

Low Voltage Solar Lanterns #132

Open genestrashcan opened 3 years ago

genestrashcan commented 3 years ago

I had a idea to add Solar Path / Garden Lights to ELN2 since they would be pretty easy to design, all they would need for a recipe to craft would be a solar panel, led, battery, light sensor, and some metal and glass to make one.

Like in real life they come on at dusk, run until their battery is dead and recharge during the day to come on again and run the next night.

i have put in images of some solar lights for a perfect example you could model the item off of.

solar light 1

download (5)

jrddunbr commented 2 years ago

I have this in the Single Cell Blocks milestone because I think that it should be a good test for a stand-alone circuit simulation within a cell that doesn't need to connect to anything around it but still ticks the simulator. It also has the added benefit of being in a model that is no larger than a single block. So it should be a nice test.

jrddunbr commented 2 years ago

Most solar lanterns are implemented as seen in the image below: Screenshot from 2022-02-07 21-15-01 Pretty cheap, no charge controller or anything fancy like that. Just a diode to prevent the battery from backflowing into the solar panel (since it's effectively a very inefficient LED). The red circle next to the 100 ohm resistor is simply a LED (Falstad makes it look like that)

jrddunbr commented 2 years ago

Oh, don't bother with crafting for this. Just make it work in creative. We'll add crafting at a later date.

jrddunbr commented 2 years ago

@Ye-Old-Apple So, Cameron didn't like that the lantern isn't nearly as blocky as it could be... do you think you could make the post and the frame of it more blocky and less triangle-y? I really like the model but he says it really doesn't fit into the mod's art style. It would be great if you could do that. I think he would likely have similar comments about the indicator light so perhaps let's also make that light a 6x6 with a 4x4 flat light panel inset into the light frame (no angles)?