manganeko Posted April 2, 2019 Share Posted April 2, 2019 This module can be used for counting days, numbers, or something else. There're 5 packets of Gas/Liquid in the pipe, every time it gets a 1sec signal, the shutoff let go a packet of Gas/Liquid. Choose a unique element to be determined, in my case, it's oxygen. I use a Clock Sensor to input a pulse signal every cycle, then the oxygen packet moves on and on, till day 5, there's no oxygen to be determined, coz it's in the shutoff, then it starts all over again. I'm not very familiar with the jargon, but I guess it's a kind of a quinary counter, and combine two of this units can count to 25 maybe.(that's 5x5). And with this Idea, we can build some binary, octonary or decimal systems. but, there's a nasty sync problem sometimes, a 1 sec signal can cause two packets pass through, I don't know how to fix it yet. So, plz let me know if you got a clue. Link to comment https://forums.kleientertainment.com/forums/topic/104469-designa-simple-pipe-clocktimercounter/ Share on other sites More sharing options...
Saturnus Posted April 2, 2019 Share Posted April 2, 2019 Though I like the idea there's some serious issues with it. Primarily that it's quite tricky to set up. Much more so than similar low number counters. It also can only do odd numbers which is a major stopping block. Use a positive edge detector instead of the delayed memory gate. That a NOT gate and an AND gate. Link to comment https://forums.kleientertainment.com/forums/topic/104469-designa-simple-pipe-clocktimercounter/#findComment-1173120 Share on other sites More sharing options...
manganeko Posted April 2, 2019 Author Share Posted April 2, 2019 33 minutes ago, Saturnus said: Though I like the idea there's some serious issues with it. Primarily that it's quite tricky to set up. Much more so than similar low number counters. It also can only do odd numbers which is a major stopping block. Use a positive edge detector instead of the delayed memory gate. That a NOT gate and an XOR gate. It can handle higher bits if I build a same module right beside it, then I could count up to 25. Maybe with a gas bridge it can do even numbers, I'll have a try later. And it is kinda tricky, but not very hard to build in survival, basically, I built a 4 unit sized room with only one gas, sealed it and then squeezed in 1 packet of another gas in there (maybe some CO2 exhaled by a dupe), and viola! And good to know that, I'll try NOT gate and XOR gate too, THX~ Link to comment https://forums.kleientertainment.com/forums/topic/104469-designa-simple-pipe-clocktimercounter/#findComment-1173121 Share on other sites More sharing options...
flapee Posted April 2, 2019 Share Posted April 2, 2019 use 2 NOT gates and XOR, otherwise it might glitch sometimes Link to comment https://forums.kleientertainment.com/forums/topic/104469-designa-simple-pipe-clocktimercounter/#findComment-1173125 Share on other sites More sharing options...
manganeko Posted April 2, 2019 Author Share Posted April 2, 2019 3 hours ago, flapee said: use 2 NOT gates and XOR, otherwise it might glitch sometimes I've tried 2 NOT gates and XOR, but that signal isn't long enough to activate the shutoff, should I add a 1s buffer gate? Link to comment https://forums.kleientertainment.com/forums/topic/104469-designa-simple-pipe-clocktimercounter/#findComment-1173162 Share on other sites More sharing options...
Saturnus Posted April 2, 2019 Share Posted April 2, 2019 20 minutes ago, manganeko said: I've tried 2 NOT gates and XOR, but that signal isn't long enough to activate the shutoff, should I add a 1s buffer gate? What is mean use the edge filter to trigger a 1s buffer. It's more reliable than the memory gate which has an annoying internal delay. I described edge detectors here. I should note I wrote XOR but meant AND gate earlier. Sorry. Link to comment https://forums.kleientertainment.com/forums/topic/104469-designa-simple-pipe-clocktimercounter/#findComment-1173163 Share on other sites More sharing options...
manganeko Posted April 2, 2019 Author Share Posted April 2, 2019 6 minutes ago, Saturnus said: What is mean use the edge filter to trigger a 1s buffer. It's more reliable than the memory gate which has an annoying internal delay. I've tried 1s/0.4s/0.5s/0.6s buffers, but it turned out to be far more unstable than a memory toggle. Link to comment https://forums.kleientertainment.com/forums/topic/104469-designa-simple-pipe-clocktimercounter/#findComment-1173171 Share on other sites More sharing options...
Saturnus Posted April 2, 2019 Share Posted April 2, 2019 3 minutes ago, manganeko said: I've tried 1s/0.4s/0.5s/0.6s buffers, but it turned out to be far more unstable than a memory toggle. I used this set up for well over 10000 cycles combined. Not a single error so I'm not quite sure what you're on about. Link to comment https://forums.kleientertainment.com/forums/topic/104469-designa-simple-pipe-clocktimercounter/#findComment-1173175 Share on other sites More sharing options...
manganeko Posted April 2, 2019 Author Share Posted April 2, 2019 2 minutes ago, Saturnus said: I used this set up for well over 10000 cycles combined. Not a single error so I'm not quite sure what you're on about. Mine is like this, I don't know if there's something wrong. The signal is either too long to let go 2 packets or too short to activate the shutoff now. Link to comment https://forums.kleientertainment.com/forums/topic/104469-designa-simple-pipe-clocktimercounter/#findComment-1173178 Share on other sites More sharing options...
Saturnus Posted April 2, 2019 Share Posted April 2, 2019 1 minute ago, manganeko said: Mine is like this, I don't know if there's something wrong. The signal is either too long to let go 2 packets or too short to activate the shutoff now. Note. I wrote it wrong in my original post here. It's supposed to be an AND gate, like in my set up above. Using the either edge detector is not recommendable for this type of set up. Link to comment https://forums.kleientertainment.com/forums/topic/104469-designa-simple-pipe-clocktimercounter/#findComment-1173181 Share on other sites More sharing options...
manganeko Posted April 2, 2019 Author Share Posted April 2, 2019 Just now, Saturnus said: Note. I wrote it wrong in my original post here. It's supposed to be an AND gate, like in my set up above. Using the either edge detector is not recommendable for this type of set up. It worked! Perfectly! Thank you. Link to comment https://forums.kleientertainment.com/forums/topic/104469-designa-simple-pipe-clocktimercounter/#findComment-1173182 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.