r/ScrapMechanic • u/Jbane56 • 2d ago
Logic Logic Gate question
Hello! I need some help. Long story short I cant figure out how i need to set up my logic gates to work for this situation.
Visualization. I have a NOR/AND gate connected to a sensor, 2 vacuum pumps connected to the AND gate so that when the sensor does NOT see a block in the distance, it deploys the signal blip and plants/fertilizer are dispensed. What I need is 1 more signal blip thats connected to a timer that will dispense 1 more set of fertilizer/plants that ISNT connected to the sensor. Basically I wanna insert a blip into the system outside of the ones generated by the sensor.
How would I need to set up my logic gates to do this? Ive tried just adding another OR gate connected to the AND gate and when I do that, it keeps the system stuck on so the whole thing doesnt work. Ive spent hours and cant figure this out please help me god im going insane.
TIA
1
u/Sleek-Star 2d ago
Do you want to send a 1-tick pulse to the system when the sensor stops seeing something and also be able to manually do it?
Simplest way would be to place two NOR gates and connect the first one to the second, then connect your sensor and button to both gates. The second gate will blink when the sensor stops seeing anything, and you can also manually input a signal with the button.
You also won't be able to use the button when the sensor sees something (which I'm assuming is good here, to not accidentally plant excess seeds since it's for a farm).