Logic based brownout/night detector
Logic based brownout/night detector
Left comparison: # if A==0 then A= 1 --> toggles permanently, if electricity is @ 100%. If energy is "yellow" then it will no longer toggle every tick.
Middle Multplier: input * 1, Output B --> 1 step delay
right comparison: if A == B --> no current (currently it puts light on).
Note that the left and right side are on different electric networks.
If you want a brownout detector connect it with your network. If you want a day/night detector connect it with a solar panel.
- Gertibrumm
- Fast Inserter
- Posts: 162
- Joined: Fri Jun 03, 2016 6:54 pm
- Contact:
Re: Logic based brownout/night detector
This will come in handy once power switches are a thing so you can switch steam backup power on in case of mass-biter-energy-shortage
I updated my .13 todolist thx
I updated my .13 todolist thx
Re: Logic based brownout/night detector
You already can control the inserters for the coal or small pumps for the water input.
- thereaverofdarkness
- Filter Inserter
- Posts: 558
- Joined: Wed Jun 01, 2016 5:07 am
- Contact:
Re: Logic based brownout/night detector
I don't understand how this works. Could you be clearer on what settings you are using for the signals?
I set up something in which I have a decider combinator outputting signal 1 any time x item is equal to 0, which it always is because it's not hooked up to a chest. So it's outputting signal 1. Then I have another decider combinator outputting signal 2 any time signal 1 is equal to 1. This causes the second one to continuously output signal 2. Problem is, when the first combinator loses power, it keeps putting out signal 1, thus the second combinator is completely unaware of any changes in power status.
I set up something in which I have a decider combinator outputting signal 1 any time x item is equal to 0, which it always is because it's not hooked up to a chest. So it's outputting signal 1. Then I have another decider combinator outputting signal 2 any time signal 1 is equal to 1. This causes the second one to continuously output signal 2. Problem is, when the first combinator loses power, it keeps putting out signal 1, thus the second combinator is completely unaware of any changes in power status.
- Gertibrumm
- Fast Inserter
- Posts: 162
- Joined: Fri Jun 03, 2016 6:54 pm
- Contact:
Re: Logic based brownout/night detector
The decider combinator seems to latch in its last state and some rest electricity seems to remain even though there is absolutely no current anywhere. I hope this is a bug because it doesnt make any sense