Page 1 of 1

Logic based brownout/night detector

Posted: Sat Jun 11, 2016 6:20 pm
by lxl
Image
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.

Re: Logic based brownout/night detector

Posted: Sat Jun 11, 2016 6:38 pm
by Gertibrumm
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

Re: Logic based brownout/night detector

Posted: Sat Jun 11, 2016 6:44 pm
by lxl
You already can control the inserters for the coal or small pumps for the water input.

Re: Logic based brownout/night detector

Posted: Fri Jun 17, 2016 11:19 pm
by thereaverofdarkness
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.

Re: Logic based brownout/night detector

Posted: Wed Jun 22, 2016 1:21 pm
by Gertibrumm
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 :|