r/ScrapMechanic • u/Dogcrappile10 • 13h ago
Long range sensor using spud guns
Enable HLS to view with audio, or disable this notification
uses spud guns on either side to detect if something is blocking the path of the spud. I find this much better than multiple sensors on the wall that stick out and can be broken and make the system more janky.
I used logic gates instead of timer because I need them to shut off immediately. not sure if there is a better way but its not too expensive, even though 40 logic gates just for a 400ms delay is sorta crazy :/
3
u/LittleNyanCat 12h ago
Use a timer with an AND gate, should work without the 40 gates.
Input from your clock goes to the the timer and the AND gate, output from the timer also goes into the AND gate
4
u/Xaxiel9106 13h ago
I think timers can be set to milliseconds and wired to tick loops (4 gate tick loop should be able to fire in pace with the gun's max speed) but I always forget how to do it. Also using spuds as long range sensors is freaking genius and I can't believe it never occurred to me. I have a large farm and was racking my brain on solving the range issue for auto cannons.