Have a guide or tutorial? Post it up!
User avatar
By angelus0313
#5002806
Hello,
Has anyone modded their spirit trap to not rely on the micro switch to play the sounds, by using something else like a PIR sensor or like device. Along with being able to play the whole sound file without it stopping till completion?

Was wonder due to was modding a broken trap my franchise has into a donation box and was thinking of using the existing electronics to play sounds when people donates. For I can do this with Arduino / raspberry pi, but was mostly thinking of space, power draw, and just overall simplification of usage with using what I already have electronics wise in the trap.

Thanks
#5002810
I haven't done this specifically, but I'm working on an unrelated project and I was looking into using an infrared hand sweep sensor, maybe something like this:
Image

They're cheap and fairly easy to find, the above one is listed under "Hand Sweep Wave Sensor Switch Module for 5V 12V 24V 72W Cabinet Lamp Wardrobe LED Lights" (they're named similar on eBay and AliExpress).

The problem is there doesn't seem to be any way to customize the way it works. That's fine for something like an LED candle where you just wave your hand once to turn it on, and wave it again to turn it off. But for my projects I want something which is more like a button press than an on/off switch, similar to a "wave your hand to open the door" sensor.
I suspect you'd want the same. I could probably work around it using an Arduino which can just read the input state and treat any change from on=>off or off=>on as a button press within the code, but I'll keep searching around to see if there's an alternative which better meets my needs.

Edit: It's also possible that an IR proximity sensor is better for you, it might not work for me but maybe that's another option. On some models you can even adjust the sensing distance, which might be handy if you want to differentiate between someone leaning over your "Donation Trap" and someone actually making a donation.
For example: https://wiki.dfrobot.com/Adjustable_Inf ... U_SEN0019_
#5002818
I thank you for your reply, but this is still going to have to use some kind of microcomputer regardless for the IR sensor you mentioned. For the data sheet on that does not say it can be used independently of such a thing since the website you linked for it has code for it.

The hand sweep wave sensor switch may work may have since it works kindof like the microswitch. Since it just to play the sound, as the micro-switch opens the circuit when it's press and the sound file plays till the circuit is closed, by letting off the switch. But, if I have something that keeps the circuit on, then "resets" itself or basically sends another "open" circuit signal to the PCB then that could work.

Lights is not so important atm due to the lights in the trap are hidden inside the body where donations are taken. The other lights on the trap are just static lights and have no animation to them when you turn the trap on and off.

While the exc
By RuthBailey
#5003294
prodestrian wrote: January 8th, 2025, 11:26 pm I haven't done this specifically, but I'm working on an unrelated project and I was looking into using an infrared hand sweep sensor, maybe something like this:
Image
You could bypass the micro switch by wiring in a PIR sensor to trigger the sound instead. A relay or transistor could act as a bridge between the PIR and existing electronics. If the sound stops prematurely, you might need to modify the playback circuit or add a small controller like an ATTiny to handle the triggering more reliably. Juggling multiple homework assignments at once can be overwhelming, and I was really struggling to get everything done on time. I found Academized at here https://academized.com/do-my-homework while searching online who will do my homework. Their service was a game-changer! The writer I worked with made sure my homework was completed with great attention to detail. The best part? It was delivered ahead of time, giving me a chance to review it before submitting it. If you're facing a tough homework deadline, give Academized a try, you won't regret it!
They're cheap and fairly easy to find, the above one is listed under "Hand Sweep Wave Sensor Switch Module for 5V 12V 24V 72W Cabinet Lamp Wardrobe LED Lights" (they're named similar on eBay and AliExpress).

The problem is there doesn't seem to be any way to customize the way it works. That's fine for something like an LED candle where you just wave your hand once to turn it on, and wave it again to turn it off. But for my projects I want something which is more like a button press than an on/off switch, similar to a "wave your hand to open the door" sensor.
I suspect you'd want the same. I could probably work around it using an Arduino which can just read the input state and treat any change from on=>off or off=>on as a button press within the code, but I'll keep searching around to see if there's an alternative which better meets my needs.

Edit: It's also possible that an IR proximity sensor is better for you, it might not work for me but maybe that's another option. On some models you can even adjust the sensing distance, which might be handy if you want to differentiate between someone leaning over your "Donation Trap" and someone actually making a donation.
For example: https://wiki.dfrobot.com/Adjustable_Inf ... U_SEN0019_
Thank you, you saved my day.
    Hasbro Ghostbusters

    The Real Ghostbusters Ecto-Glow Heroes Collector&r[…]

    I used to but I found it too grindy and it's too[…]

    https://i.imgur.com/H4xlQYM.jpg Following a f[…]

    We're bringing you the latest updates to the GBFan[…]