Jump to content

[DESIGN]a simple PIPE CLOCK/TIMER/COUNTER


Recommended Posts

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.

01.thumb.jpg.42e86d9dc27df392c404e0600b2d1cc8.jpg02.thumb.jpg.64a4174a31e074f0835ed919252b307e.jpg03.thumb.jpg.df003ede59c3e248dcf4bfda73a6eb4f.jpg

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.

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~

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.

 

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.

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.

image.thumb.png.5a56a58c7a4bff52530119f5b7bbcc2a.png

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.

image.thumb.png.5a56a58c7a4bff52530119f5b7bbcc2a.png

04.png.e929043883c2f7f115e8121eadbd2160.png

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.

1 minute ago, manganeko said:

04.png.e929043883c2f7f115e8121eadbd2160.png

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.

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.

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.

×
  • Create New...