Motion Sensor w/ Delay Relay & Motor - Automated Halloween Candy Dispenser

ericgibbs

Joined Jan 29, 2010
11,111
hi sg,
The fact that the TS's says that both the PIR's are 'wonky' I suspect they being re triggered by local body movement in front of the PIRs.
E
 

sghioto

Joined Dec 31, 2017
1,555
True and from I read about the description of the second unit that is exactly the case. Any movement detected during the delay time resets the timer.
 

ericgibbs

Joined Jan 29, 2010
11,111
hi melly,
This simple circuit, connected between the Timer module and the motor, gives a 4 Sec run time for the motor.
If the PIR is set for say 60 seconds, this means a dispense action can only happen during the first 4 seconds of the 60 sec set time period.
If the PIR module trigger is repeated after the first trigger, so that 24V output of the PIR module is maintained high, the added relay circuit will not retrigger again until the PIR 24v drive has gone Off.
E
 

Attachments

sghioto

Joined Dec 31, 2017
1,555
In my version I'm using the Sensky model PIR and setting the delay time at minimum or 2 sec. The PIR triggers the relay module which then triggers the added circuit inhibiting any further signals from the PIR until a 10 sec time has elapsed after the motor shuts off.
EEE Candy dispencer FET.png
EDIT: Added diode D1
 
Last edited:

Thread Starter

mellylou

Joined Sep 25, 2020
13
Holy cow! Thank you and apologies for the delay. I have been away from my computer and will try this out either later today, or tomorrow night.
 

Thread Starter

mellylou

Joined Sep 25, 2020
13
I'm working on this today and I realized that I can read architectural plans, but NOT wiring plans. What do the black lines mean? Negative and positive, combined? I'm sorry, as I said before I'm a beginner and I'm trying to learn and keep up with y'all. Also, I'm slightly at a loss where the - of the motor is meant to go to, in the Sensky plan. Thank you once again, feeling super lucky to have found AAC and you both!
 

eetech00

Joined Jun 8, 2013
2,040
Hello there!

I'm new to this forum and am in the midst of a project for Halloween, which I cannot seem to figure out. A disclaimer: I've only done low-voltage LED wiring before this and I'm a designer, not an engineer, so I'm in the learning phase. I'm making a trigger activated candy dispenser and the reason for the delay relay, is I don't want the motor engage continuously (basically, so kids can't steal all the candy--they have to wait like 5-10 seconds for the next turn). I've tried to power the load, as well as the trigger, via the delay relay, but once the power hits the motor, it just turns on by it's own, bypassing the switch and relay. Also, the motion sensor does not seem to work, but I've tried two different makes and I think it's me that's the problem. Anyone have any bright ideas, or suggestions for additional or different parts, video tutorials? I'm at a loss.

The Goals
  1. Create a motion sensor activated candy dispensing machine, to social distance this Halloween. I know--I could create a candy chute, but this is so much more fun!
  2. Need the delay relay, or some intermediary device, so that there is a delay between each candy dispense, so kids don't turn the dispenser into a candy fountain. ;-)

The Problems:
  1. Motion sensor switch does not turn on motor when connected through delay relay
  2. If I power the load w/ the delay relay power source, it engages the motor, bypassing the delay relay
  3. If I power the load independently, it engages motor continuously

The Parts:
1 @ 24V DC Power Supply 2A 48W AC/DC Adapter 100~240V with 5.5mmx 2.5mm 2.1mm
1 @ 12V 24V PIR Sensor LED Motion Sensor
1 @ Greartisan DC 24V 20RPM Gear Motor High Torque Electric Micro Speed Reduction Geared Motor Centric Output Shaft 37mm Diameter Gearbox

Images:
drive.google.com/file/d/140e4SK0qJLH66WoIRFw0w8wd8DoA1Enj/view?usp=sharing
drive.google.com/file/d/1LA0uodg61uiPwSu-hDgCDWBGQy9STWu5/view?usp=sharing
drive.google.com/file/d/1j-mrreADsyWhkzPCedOR2NHmlzSV0FTl/view?usp=sharing
drive.google.com/file/d/1jIuV6Hq9wPYkWswdn8-n_LyjHLwX2Y87/view?usp=sharing
https://www.droking.com/cs/wp-content/uploads/2020/09/200350.jpg

Thanks for anyone's time and mind they put into this--it's appreciated and I'm hoping to do even more next Halloween!

All my best,
Melly Lou
In case you're not aware...this item is available.
A google search for "motion activated candy dispenser" will produce many results.
 

Thread Starter

mellylou

Joined Sep 25, 2020
13
In case you're not aware...this item is available.
A google search for "motion activated candy dispenser" will produce many results.
Thanks eetech00! But I'd like to do this for myself as a learning experience and I'm also a woodworker, so I am building a thematic wooden treasure chest with custom features I've designed personally.
 
Top