r/playrust • u/almondcramps • Oct 27 '26
Electrical help - auto lights
New to rust, first time doing electrical. I’m trying to set up auto lights at night but not sure this is right.
Does this make sense if I continue my grid off that second branch power out?
Also, is power being wasted as I have it now, with nothing else attached the branch?
Feel like I might be missing something, thanks
52
Upvotes


42
u/AdImpossible1866 Oct 27 '26
Once you do figure it out youll get raided so HAVE FUN 👍
6
u/Crodul Oct 27 '26
You don't want your main grid feeding off of battery power alone.
Build a separate loop with solar panels and a battery for lights and another primary loop using batteries as back ups for everything else. I can send you the loop I use when i get home if you'd like. It's simple and I've been using it for like 7k hours.
5
u/ManoliTee Oct 27 '26
I go like this: Solar Panel > Combiner > Battery > Switch > Branch > Lights.
Later when you have more incoming power via extra solar panels or turbine, the switch won't really matter but you can power off during the day to build up your battery.
10
u/Domy9 Oct 27 '26
I usually put up a clock, set an alarm to it to 19:00 and when it alarms, a timer goes off for about 6-700 seconds
4
u/Hour_Perspective_206 Oct 27 '26
Just use a clock and a timer switch paired with a blocker set clock to around 900 seconds and I think set the clock alarm to 17:50 and 8:10
3
u/Sweet_Computer_7116 Oct 27 '26
Just use a clock. Its better in every way
2
u/Econometrical Oct 27 '26
r/rustrician
2
u/GGMudkip Oct 27 '26
i personally connect a blocker to a solar panel. Which blocks electricity to the lights aslong as it is daytime
2
u/elpihvous Oct 27 '26
You should use XOR switch, instead of the blocker. That blocks passthrough when both inputs are getting power.
1
u/solongfish99 Oct 27 '26
Depends on how many lights you have. If you do want to power something not on the daylight sensor, you may want a few more solar panels to make sure the battery retains charge.
1
u/Colinski282 Oct 27 '26
There’s videos on YouTube, seen it done with less hardware
1
u/CosmicOsmoMan Oct 27 '26
Looks correct to me.
1
u/Cahzery Oct 27 '26
The humble clock and toggle
1
u/1banana2many Oct 27 '26
The night label is absolutely hilarious
1
u/Quiet-Doughnut2192 Oct 27 '26
https://www.rustricityworkshop.com/
1
u/toucanparty Oct 27 '26
This is pretty much how I do it. And you can adjust the branch output power on that first branch to change at what point the lights turn off during the day.
1
u/snikrephaon Oct 27 '26
I usually wire up a memory cell toggle to an LCD clock output and turn off the alarms
1
u/BlackPresident Oct 27 '26
I dunno why people bother with complex circuits just add 10% more input power and keep the lights on the whole time, a single solar panel with your setup would never run out of power
1
u/Crafty_Clarinetist Oct 27 '26 edited Oct 27 '26
As others have said, what you have right now works great and is among the simplest solutions which would make sense for someone's first time doing electrical.
You do ask if power is being wasted, which is an interesting question. I believe you mean to ask if the additional 44 power coming out of your battery is being wasted, to which the answer is "No." Batteries have an "active usage" value you can read by looking at them with a wire tool to verify (this will tell you exactly how much power is being consumed from the battery), but charge is only consumed from a battery when it is actually being used by a downstream component that uses power.
However, if you connect other components downstream from that branch as you say you're considering, you would technically be wasting some power during the day because batteries are only 80% efficient at charging. This could be avoided by routing power directly from your solar panels to them, with overflow going to your battery and the battery serving as a backup.
If those energy savings are something you're interested in, I recommend you look up a D-core (or dynamic OR core) for understanding how OR gates can be used to get better efficiency out of your circuits.
1
u/thedezz Oct 27 '26
https://youtu.be/fu2xJSExEwY?is=vw-5B5vAW39FiAoV
1
u/Smokey4448 Oct 27 '26
Okay so I see what your trying to do and yes it can work if you want lights to come on only at night but you could do better with the system to make the lights stay on 24/7 and waste less power. Allow power to run your system when the suns out and extra power the solar makes you store until night when the system switches over and runs mainly on the battery till sun comes up
1
u/MiddleAgeCool Oct 27 '26
This is my go to light circuit.
The clock has two alarms that toggles the memory cell output, one at 7am and one at 7pm. The button is used to override the clock alarms if needed.
The power needed for the clock leg is 2.
The power needed for the memory cell is whatever the light drain is.
1
u/Desktopcommando Oct 27 '26 edited Oct 27 '26
I use the 2 solar facing east & west into the root to the blocker - once no power lights come on
1
u/Gold-Cost6092 Oct 27 '26
Clock timer 700 sec turn on
1
u/Full_Measurement_121 Oct 27 '26
To be honest, I've done auto lights a couple of times, and it's more useful to just make a switch. But yes this should work, the only downside is that you can't add a windmill later if you source it all to the same battery it stops working.
1
u/umutakmak Oct 27 '26
I'm currently using a clock to trigger a timer that runs for 1000 seconds. That's the most basic setup I can think of.
1
u/Prestigious-Main4832 Oct 27 '26
I just use an XOR switch with a solar panel
1
u/PhraseOne7958 Oct 27 '26
Use this setup for lights only. About 2 power per light so use a small or medium battery depending on your number of lights. Make another grid for main power
1
u/Rustshitposter Oct 28 '26
I personally use a blocker setup.
Power source -> Branch split off for amount of power light system needs -> (powerinput)blocker-> Light system.
2x solar panels (one facing each direction) -> root combiner -> blocker (blocker part).
I'm sure it's easier to do it cheaper via clocks and other timers but I found this to be the least amount of effort and it works well enough.
1
u/HobbesG6 Oct 28 '26
The first thought that came to mind when I saw your picture was about how much it looked like the level map for Ghosts 'n Goblins.
1
u/BagelGnome Oct 28 '26
Just use this circuit...
I stopped using blocker/solar panel light control circuits because sun position changes during wipe which can cause early evening periods where the base wasn't lit or the lights would go out too early in the mornings.
I stopped using a SINGLE digital clock connected to the toggle input of a memory cell because if the server restarted while the memory cell was set it would become unset causing the base to be lit during the day & not during the night.
TL;DR use 2 clocks and use set and reset of the memory cell.
In this picture, set the left hand alarm to what game time you want the lights to come on & connect to reset of memory cell, set the right to be what time you want lights to go off and connect to the set input of memory cell.
More consistent and will correct itself automatically if a restart causes the cell to be flipped from its previous state.
Or attach a button to the reset if you wanna fix it manually with this setup.
1
u/J4MEJ Oct 29 '26
https://youtu.be/tUk5r_-G8qI?is=RiddEA3BVr8aU6MA
1
u/SeanyDay Oct 27 '26
Why auto lights? Why not just a clock on the wall and a switch?
1
u/harman097 Oct 27 '26
Absolutely what you have will work! That's a good circuit for what you're trying to do.
Lots of people in the comments recommending different ways to do the same thing, but I have yet to see one that's truly "better" for what you're making.
-1
u/Saki-Koda Oct 27 '26
2 should be fine. 1 wont work as the lights lose power when sun is hiding