Page 1 of 1

Struggling with a simple combinator setup

Posted: Mon Oct 19, 2020 8:25 pm
by adam_bise
Howdy, I have a set of labs and beacons wired to a power switch. I have an isolated accu and solar panel with a single lab that I use to detect when is a research happening.

The goal is to power the beacons when they're needed and shut them off otherwise.

I did this with a simple SR latch A<90,S A=100,R S>R,S

I wanted to make the whole thing react a little faster, since it takes a while for one solar to fill up the accu and one lab to drain it.

I want a setup that will trigger a "set" on A<90 but only if A was previously 100, and trigger a "reset" on A>10 but only if A was previously 0

I have tried making more complicated latches, with no luck. Any advise on this one?

My last attempt:

Set latch:
A=100,S
A<90,X
S>X,S

Reset latch:
A=0,R
A>10,Y
R>Y,R

trigger:
S>R,S

This basically didn't work, and several similar ones I've tried also didn't work. I think perhaps I am going about the whole idea in a wrong way.

Re: Struggling with a simple combinator setup

Posted: Mon Oct 19, 2020 9:47 pm
by MassiveDynamic
It sounds like you need a couple of isolator sr “primary” circuits that only allow the secondary circuits you’ve already built to work after the primary threshold has been met.

Re: Struggling with a simple combinator setup

Posted: Tue Oct 20, 2020 12:52 am
by Yoyobuae
Using a simple SR latch is the right way to go. What you need to do is to modify the SET and RESET conditions to react to the accumulator charging/discharging, regardless of the actual charge level. Converting a varying signal into a rate of change signal can be done with an arithmetic combinator and some wiring:




Re: Struggling with a simple combinator setup

Posted: Tue Oct 20, 2020 2:19 am
by MassiveDynamic
I am envious of your genius

Re: Struggling with a simple combinator setup

Posted: Tue Oct 20, 2020 4:08 pm
by adam_bise
Awesome! Exactly what I needed. Thank you!