Belt scanner with speaker
Posted: Sat Sep 09, 2017 8:26 am
Hello,
i could need help with a setup.
I want to know when an ore/copper/coal etc.. field is depleted. My first idea is to use the new introduced programmable speaker, which give me an alarm sound as soon the transport belt is empty. I took an red cable from the speaker to the belt and set the belt scanner to "read" and "hold". The speaker setup was to play alarm when <item> = 0. This works aslong the field have much ressources but when it´s nearly empty and only a few items runs through the scanner, the alarm plays constantly. Originally that is still correct, the scanner detects <item> = 0 is true and the sound plays, even when a second later an item pass the scanner.
I think "Play sound when <item> = 0 for n seconds" may be better, but i don´t know how to realize it.
Thanks for help
i could need help with a setup.
I want to know when an ore/copper/coal etc.. field is depleted. My first idea is to use the new introduced programmable speaker, which give me an alarm sound as soon the transport belt is empty. I took an red cable from the speaker to the belt and set the belt scanner to "read" and "hold". The speaker setup was to play alarm when <item> = 0. This works aslong the field have much ressources but when it´s nearly empty and only a few items runs through the scanner, the alarm plays constantly. Originally that is still correct, the scanner detects <item> = 0 is true and the sound plays, even when a second later an item pass the scanner.
I think "Play sound when <item> = 0 for n seconds" may be better, but i don´t know how to realize it.
Thanks for help