Jump to content

[brain fart]Help with "packet deliverer"


Recommended Posts

Hello fellow drug addicts (and overlords),

today I'm getting my brain damaged by a pet project of mine that should be rather easy to accomplish, yet I can't make it work for the love of me.

Basically I want a bin that will be filled by dupes on demand, that will toggle a sweeper when full while locking the doors, preventing dupes interaction. The sweeper will load the packet(s) in the teleporter and when done will reset the system.

image.thumb.png.b4231d85b6b727702bb927132fdffaec.png

disregard the "sweep only" status of the bin.

I've purposefully hidden what's on the right of the bin because it's a mess and it doesn't work, but there should be the gizmo that makes my day.

the thingy on the bottom is a "momentary switch" (mod) that will pulse a green signal when triggered and will engage the contraption.

 

if you have any better way to do this (perhaps with a completely different approach) I'd love to see your work, BUT! the whole thing should work by status (I/O) changes, not timers (it's easy putting a 200 seconds timer and be done with it, I'm looking for set/reset shenanigans not timers. 

I hope someone is up for the challenge because I've already invested way more time than I should have on this thing.

 

Thanks.

 

what about a brute force solution?  use an auto dispenser bin that dupes can load and automation for it to release the contents, preferably a pit into to the loader area.  although, i don't think you can tell if the bin is full or has anything in it.  could add a weight plate to the bottom but at that point, why not just circumvent all that and use a conveyor meter thing

On 10/27/2021 at 8:46 PM, zach123b said:

what about a brute force solution?  use an auto dispenser bin that dupes can load and automation for it to release the contents, preferably a pit into to the loader area.  although, i don't think you can tell if the bin is full or has anything in it.  could add a weight plate to the bottom but at that point, why not just circumvent all that and use a conveyor meter thing

brute force would be using timers: memory toggle set on bin full, reset on bin empty through a filter/buffer with a meaningful time frame but it's not..elegant.

I'm sure there is a way to reset the circuit when the sweeper is done and not when the time is up, I just need to figure out how to achieve that with the provided automation tools. In "real life" you could use a flipflop to detect a state change ( = sends a true when a memory turns from O to I or vice versa) and you could emulate this in game with a memory toggle BUT I can't make it work.

20211029153655_1.thumb.jpg.08cfb6aeb3e500c9b8f3080643c278f4.jpg

If I understand you correctly you want a system with two states.

  1. Bin is not full - dupes please come load it up with a specific amount of a single material
  2. Bin is full - sweeper, please ship its entire contents to the teleporter. Once that is done return to state 1.

The signal for state 1 is simple - the bin outputs green when it's full.

The signal for state 2 is when the loader has finished shipping its contents. I detect a falling edge on the conveyor rail element sensor indicating a gap in shipping packets.

A memory toggle saves the state of the system. Enabled in state 1 and disabled in state 2.

Doors control access. Dupes access the bin from the right in this case. The bottom door to the right of the bin has no special permission and is the main control for bin loading. The door above it is set to exit-only for when the system switches to state 2.

Bonus build with conveyor meter.

20211029160602_1.jpg

On 10/29/2021 at 10:36 PM, Occam Blazer said:

20211029153655_1.thumb.jpg.08cfb6aeb3e500c9b8f3080643c278f4.jpg

If I understand you correctly you want a system with two states.

  1. Bin is not full - dupes please come load it up with a specific amount of a single material
  2. Bin is full - sweeper, please ship its entire contents to the teleporter. Once that is done return to state 1.

The signal for state 1 is simple - the bin outputs green when it's full.

The signal for state 2 is when the loader has finished shipping its contents. I detect a falling edge on the conveyor rail element sensor indicating a gap in shipping packets.

A memory toggle saves the state of the system. Enabled in state 1 and disabled in state 2.

Doors control access. Dupes access the bin from the right in this case. The bottom door to the right of the bin has no special permission and is the main control for bin loading. The door above it is set to exit-only for when the system switches to state 2.

Bonus build with conveyor meter.

20211029160602_1.jpg

this is truly an elegant solution. The conveyor meter would work wonders if only it wouldn't be limited to 500kg :( ( at least without related mods, like in my actual situation). 

The only thing I don't get is the shortcut and gate, as soon as i'm done with my current mess I will set this one up and see how it rolls; also I'm not 100% into the rail sensor because it means it adds another manual adjustment which is less convenient, but in all honesty if it works fine it's still better than the broken mess i was fiddling with xD

thanks :)

The 'AND' gate is present due to the '1 tick' delay for a 'NOT' gate to swap a changed input into a changed output.

The top wire into the AND gate is the opposite of what the rail sensor detects after a 1 tick delay.

The bottom wire into the AND gate is the opposite of what the top wire sends after a 1 tick delay, or a 2 tick delay over what the rail sensor sends.

So when the final packet leaves the conveyor rail sensor, it starts to send red. After 1 tick the top and gate will receive green, and for 1 more tick the bottom and gate also receives green, so and will send a brief green signal. Then the bottom and gate will receive red and go back to sending red.

The complement to this, is a single not gate, rail sensor connected to the not gate and the bottom input (for example), and the output of the not gate into the top input. When the rail sensor swaps from red to green, the not gate is briefly sending a green signal to the top gate, and the bottom gate receives the green signal directly from the sensor. This is the 'rising edge' detection complement to the falling edge detection described above.

On 11/6/2021 at 8:23 PM, Occam Blazer said:

You could chain them together, but that sounds like a pain in the ass.

You just need to combine them with a signal counter and a memory latch. Just one signal counter will let you send up to 5000kg. Two signal counters will let you send 50,000kg.

12 hours ago, thegroundbelow said:

You just need to combine them with a signal counter and a memory latch. Just one signal counter will let you send up to 5000kg. Two signal counters will let you send 50,000kg.

 

20211109174002_1.jpg

The reset for the signal counter could probably be the output from the counter instead of the toggle.

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...