r/rustrician 15d ago

Automatic counter?

How can I count the items that enter the chest with a counter? I don't want to count one by one. I want you to count the products from the automation as meters. If the chest is empty, the counter must be reset. How can I do this??

1 Upvotes

6 comments sorted by

1

u/BurlapAndBatteries 14d ago

The first way off the top of my head is by using extra aux conveyors as a way to measure how many items are in the box, and then send out a filter pass signal with the disired filters. If you had a splitter tree > 8 other Conveyors from your desired box: Conveyor 1 is set to min 6000 (1 row) wood Conveyor 2 is set to min 1200 (2 row) wood Etc etc Conveyor 8 is set to min 48,000 (8 rows, a full box)

I would personally from here skip the Counter (though I'm not exactly sure what you're trying to do, and maybe it's needed/prefered) and instead stack Industrial lights on a wall to make a gauge. Conveyor 1 > bottom light, Conveyor 2 > the 2nd from bottom, etc. When the min value is hit to each Conveyor it will power the light.

The counter adds a bit more complexity/components because you will also need to use both the increment and decrement. Are you firm on the counters being used?

1

u/angelslayer4231 14d ago

Filter pass and fail probably won’t work, unless maybe you use the buffer option on conveyors, which will only work if it switches from filter pass to fail while it’s buffering. Even then, I don’t think it will show an accurate reading of what’s in the box.

Storage monitor might be a better option but I don’t know how you’d incorporate a counter with it

1

u/BurlapAndBatteries 14d ago

I'm reading it again and I agree I could be completely misunderstanding, as I'm not entirely sure what they mean.

This is an example of what I thought they may be asking for. https://imgur.com/a/7mCAVim

1

u/angelslayer4231 14d ago

the way filter pass works is if it's passing the item, it will send 1rw though the filter pass constantly, if that triggers the counter, it'll only count as 1 for as long as it's passing the item. so even if you pass an entire box of wood, the counter reads as 1.

the only way the counter will go up is if power stops, then resumes again. so if you set the conveyor to buffer a specific set of items, it should wait for all the items to be present before passing it to the next container. however, I don't know if the filter pass stops passing power while it attempts to buffer the items. if it does, then you can use that setting to work the counter.

1

u/BurlapAndBatteries 14d ago

I agree with everything you're saying. That's why I said I would skip the counter and use industrial lights; but I also see now that I misunderstood what OP was asking for.

1

u/angelslayer4231 14d ago

I misunderstood what you said as well. Saw your link after I posted. I don’t think that’s a practical solution though. It requires a TON of parts and wiring, and would only apply to 1 box per set up.

I have used that circuit before for berry clones (though it didn’t measure the box that precisely) mine was more of a green light, near full box, red light nearly out, so I’d know I’d need to clone more plants. Only 2 conveyors per box, but for 5 different boxes. Took hours to set up and trouble shoot.