element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Episode 468: Socially Distanced Halloween Candy Dispenser
  • Blog
  • Forum
  • Documents
  • Events
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Project Videos requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Engagement
Author: kellyhensen
Date Created: 15 Oct 2020 3:14 PM
Last Updated: 2 Mar 2022 6:17 PM
Views: 379
Likes: 10
Comments: 6
Related
Recommended

Episode 468: Socially Distanced Halloween Candy Dispenser

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

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
Anonymous

Top Comments

  • kalebclark
    kalebclark over 1 year 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 1 year ago +1

    Good project.

     

    DAB

  • aspork42
    aspork42 over 1 year 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 1 year ago

    Gotta love that AI pareidolia!

     

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

     

    Looking forward to some footage of it working in situ!

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • adamsoileau1
    adamsoileau1 over 1 year 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
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • aspork42
    aspork42 over 1 year 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
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • DAB
    DAB over 1 year ago

    Good project.

     

    DAB

    • Cancel
    • Up +1 Down
    • Reply
    • More
    • Cancel
  • adamsoileau1
    adamsoileau1 over 1 year ago in reply to kalebclark

    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
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • kalebclark
    kalebclark over 1 year 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
    • Up +2 Down
    • Reply
    • More
    • Cancel
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube