Sweet Halloween Pumpkin
This project is an electronic halloween pumpkin which, through a sensor, spits out candy when it detects proximity.
Designed and developed by Anna Labèrnia, Eulalia Masiá and María Torres in ELISAVA UNIVERSITY.
Supplies
The list of tools used in this project would be:
Link: https://www.amazon.es/ELEGOO-Iniciación-Alimentación-Servomotor-Desarrollo/dp/B01MXGST4I/ref=sr_1_1_sspa?crid=1ANQO530ICTYU&dchild=1&keywords=pack+arduino&qid=1635860484&sprefix=pack+Arduino%2Caps%2C210&sr=8-1-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUExVzdMSDQ4MjZMVDNOJmVuY3J5cHRlZElkPUExMDQ0NzA1MlpNRkVaM1pLOFNSTiZlbmNyeXB0ZWRBZElkPUEwMjU4ODg5MzQ0RVFCU1pUV1RFMCZ3aWRnZXROYW1lPXNwX2F0ZiZhY3Rpb249Y2xpY2tSZWRpcmVjdCZkb05vdExvZ0NsaWNrPXRydWU=
ELECTRONIC TOOLS:
- UNO R3 Controller Board 1PC
- Ultrasonic Sensor 1 PC
- 830 Tie-Points Breadboard 1PC
- Servo Motor SG90 1 PC
- Female-to-Male Dupont Wire (3 Outputs) 1 PC
- Female-to-Male Dupont Wire (4 Outputs) 1 PC
- Breadboard Jumper Wire X PC
- USB to UNO Cable 1 PC
MATERIAL USED:
- Halloween Plastic Pumpkin
- Plastic Exhaust Pipe
- Circular Plastic Surfaces 2 PX
- Cartoon Box (where all the electronic devices will be)
- Decoration (eyes, spiders, pompons…)
Write the Code
Use the attached file with the code that we have used for the program, it comments in each section what it does and what data you can edit to customize it.
Downloads
Connect the Electronic Components
In this step you will connect the electronic components of the board.
Attached document displays inputs and outputs, wiring connections, and board-to-sensor wiring.
Downloads
Set Up
In this section you can see where we place each component to develop the assembly of the project.
In the same document we explain the 3 parts that we find.
In the first place there is the base, the cardboard box, which contains inside all the electronic assembly so that it can be still and united, with all the components protected so that they do not suffer damage.
Next is the Plastic Exhaust Pipe with the Circular Plastic Surfaces and the Servomotor as the opening mechanism between both pieces. Inside will be the candies and sweets to be sold.
Finally there is the pumpkin as a general union of the rest of the components, in the upper part the Pipe with the Servo and the candies while at the bottom at its base are all the electronic components located in the box.