element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Socially Distanced Halloween Candy Dispenser -- Episode 468
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 15 Oct 2020 3:14 PM Date Created
  • Last Updated Last Updated: 16 Oct 2020 7:24 AM
  • Views 2105 views
  • Likes 10 likes
  • Comments 6 comments

Socially Distanced Halloween Candy Dispenser -- Episode 468

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image
 

How can trick or treaters receive candy from house to house on Halloween, while staying safe during a pandemic? Also, how can we stop our hard-earned candy from being taken in the first five minutes -- like, if a bowl was just left out? Watch Adam solve both of these questions using a Raspberry Pi with facial detection using OpenCV, an ultrasonic sensor, and an auger dispenser to create a smart candy dispenser.

Bill of Material:

Product Name Manufacturer Quantity Buy Kit
USB Cable, USB Type A Plug, USB Type C Plug TRIPP-LITE 1 Buy Now
Audio / Video Cable Assembly, Micro HDMI Plug, HDMI Plug RASPBERRY-PI 1 Buy Now
RPI NOIR CAMERA BOARD RASPBERRY-PI 1 Buy Now
HC-SR04 Ultrasonic Sensor MCM 1 Buy Now
3D Printer Filament, 1.75mm Dia, Orange, PLA TONER PLASTICS 1 Buy Now
Single Board Computer, Raspberry Pi 4 Model B, 4GB DDR4 RAM RASPBERRY-PI 1 Buy Now
Stepper Motor, NEMA-17 ADAFRUIT 1 Buy Now
Alphanumeric LCD, 16 x 2, White on Blue MIDAS 1 Buy Now
14 Conductor, 28 AWG, Ribbon Cable 3M 1 Buy Now
ADAFRUIT TB6612 1.2A DC/STEPPER MOTOR DRIVER ADAFRUIT 1 Buy Now

 

Additional Parts:

 

Product Name

Candy, variety pack used in project

3ft RPI Camera Ribbon Cable

5v Relay

Large Cheese Puff Jar

Attachments:
Episode 468 Resources.zip
element14 presents
Socially Distanced Halloween Candy Dispenser

element14 presents  |  About Adam |  Project Videos

  • ultrasonic sensor
  • halloween
  • pi 4
  • mcm
  • RPI NOIR CAMERA
  • rpi camera
  • Adam Soileu
  • smart candy dispenser
  • candy
  • raspberry pi 4
  • raspberry pi
  • dispenser
  • element14 presents
  • midas
  • friday_release
  • tripp-lite
  • e14presents_adamsoileau
  • facial detection
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • KalebTheMaker
    KalebTheMaker over 4 years ago +2
    Awesome project Adam! Great solution for the auger print. I can only imagine what the supports would look like on that! Do you remember how much difference in time it was with support vs your solution…
  • DAB
    DAB over 4 years ago +1
    Good project. DAB
  • aspork42
    aspork42 over 4 years ago +1
    Awesome job! I think this is perfect for a safe Trick or Treating experience. I love the Jump Scare addition. One question - would this work in low light?
  • airbornesurfer
    airbornesurfer over 4 years ago

    Gotta love that AI pareidolia!

     

    I love all the countermeasures you put in place to prevent people from abusing the automatic system image

     

    Looking forward to some footage of it working in situ!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • adamsoileau1
    adamsoileau1 over 4 years ago in reply to aspork42

    Good question! It works OK in low light. In the shot where I had a rectangle over my face, it was in pretty low light. I've found that false positives are more likely in low light than in a well-lit area. So the facial detection is more accurate in bright light than in low light, but it works ok. I'm going to leave the device on my porch on Halloween, so I plan to leave at least one light on.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • aspork42
    aspork42 over 4 years ago

    Awesome job! I think this is perfect for a safe Trick or Treating experience.

    I love the Jump Scare addition.

    One question - would this work in low light?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 4 years ago

    Good project.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • adamsoileau1
    adamsoileau1 over 4 years ago in reply to KalebTheMaker

    Thanks Kaleb! The support difference was significant. I wanna say it was going to take over a day -- just to print half of it-- vertically; while in the horizontal position it printing around 10 hours with little supports. Also, I did 3d print a box for the front of the auger to attach to. Without it attached, it drooped alot at the front. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • KalebTheMaker
    KalebTheMaker over 4 years ago

    Awesome project Adam! Great solution for the auger print. I can only imagine what the supports would look like on that! Do you remember how much difference in time it was with support vs your solution? Also, was there a support on the front of the auger, or just attached to the plywood box at the motor end?

     

    well done!

    -Kaleb

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube