Arduniana

by lidiateruelromero in Circuits > Arduino

205 Views, 0 Favorites, 0 Comments

Arduniana

WhatsApp Image 2022-10-29 at 11.15.17.jpeg
WhatsApp Image 2022-10-29 at 11.15.18.jpeg
WhatsApp Image 2022-10-29 at 11.17.27.jpeg
Arduniana

This document explains how the first project of the subject: 'Academic uses and specific terminology in English', taught in the third year of the degree in Industrial Design Engineering at ELISAVA, has been carried out.

The main objective of this project is to apply the knowledge taught in class to an interactive digital product with a Halloween theme. To do this, we will have to be able to organize and plan the tasks and processes considering the optimization of resources and time. We will also have to know how to treat information and knowledge appropriately and coherently apply them.

For this project, we have decided to make a witch's cooking pot. This pot will start off closed and will open up when approached. As it opens up, the tune of Harry Potter's theme song will start playing and some lights will turn on and start changing colors from green to purple, and the other way around. After this, when the approacher leaves, the cooking pot will close again.

Members of the group: Elisenda Armengol, Daniela Abril and Lidia Teruel.

Downloads

Supplies

WhatsApp Image 2022-10-25 at 12.16.40 (2).jpeg
WhatsApp Image 2022-10-25 at 12.16.31.jpeg
WhatsApp Image 2022-10-25 at 12.16.34.jpeg
WhatsApp Image 2022-10-25 at 12.16.36.jpeg
WhatsApp Image 2022-10-25 at 12.16.37.jpeg
WhatsApp Image 2022-10-25 at 12.16.37 (1).jpeg
WhatsApp Image 2022-10-25 at 12.16.38.jpeg
WhatsApp Image 2022-10-25 at 12.16.38 (1).jpeg
WhatsApp Image 2022-10-25 at 12.16.39.jpeg
WhatsApp Image 2022-10-25 at 12.16.39 (1).jpeg
WhatsApp Image 2022-10-25 at 12.16.40 (1).jpeg
WhatsApp Image 2022-10-28 at 19.31.35.jpeg
WhatsApp Image 2022-10-28 at 19.31.36.jpeg
WhatsApp Image 2022-10-28 at 19.31.36 (1).jpeg
WhatsApp Image 2022-10-28 at 19.31.37.jpeg

ELECTRONIC COMPONENTS:

Arduino Board (1 unit)

Protoboard (1 unit)

Breadboard jumper wire (20 units)

USB Cable (1 unit)

1 kΩ Resistor (3 unit)

220 Ω Resistor (1 units)

RGB LED (3 units)

Buzzer (1 unit)

Miniservo motor 180º (1 unit)

Ultadonic distance sensor HC-SR04 (1 unit)

AESTHETIC PART:

Paint

Cardboard

Modeling clay


TOOLS:

Paintbrushes

Scissors

Schematic of the Electrical Connections

Doc1_page-0001.jpg
Assembly_Circuit (1)_page-0001.jpg

All actions will be triggered from the sensor and will run for 15 seconds. 

Sensor connection: 

  1. Place the sensor to the protoboard.
  2. Connect the GRN leg to ground and the VCC leg to 5V
  3. Connect the trig leg to the pin 5 and the echo leg to the pin 6


Action 1: The lid of the pot opens when the sensor detects you.

When you approach the pot, the distance sensor will detect you and the lid of the pot will open. 

Servo connection:

  1. Take the servo
  2. Connect the orange wire to the pin 10 (analogic OUTPUT), the brown wire to the ground and the red wire to the 5V


Action 2: The RGB LEDs light up when the sensor detects you.

When you approach the pot, the distance sensor will detect you and the RGB LEDs will light up.

RGB LEDs connection:

  1. Place the three RGB LEDs to the protoboard in parallel.
  2. Connect the long leg to the ground if is cathode or to the 5V if is anode.
  3. Connect one 1 kΩ resistor to each leg and then to the pins A1,A2,A3.


Action 3: The song plays when the sensor detects you.

When you approach the pot, the distance sensor will detect you and the song will start playing.

  1. Place the buzzer to the protoboard.
  2. Connect the long leg that is the positive one to the 220 Ω resistor.
  3. Connect the negative and short leg to the pin 9.

Code

Downloads

Construction of the Pot

WhatsApp Image 2022-10-29 at 12.18.47.jpeg
WhatsApp Image 2022-10-25 at 14.13.23.jpeg
WhatsApp Image 2022-10-30 at 11.21.35.jpeg

When we have our components connected correctly, we proceed to build our prototype.

To build the pot, the first thing to do is to measure the dimensions of the arduino and the breadboard and, in reference to this, we draw a circle that will delimit the hole of our pot. From these dimensions we will mold our clay to create the pot, we can decorate it as we wish but it is important to leave a groove in the back where we will fit the lid. For the lid we will measure the top of the pot and it will be made of cardboard to ensure that the motor will be able to lift it. Then we take a cardboard box, if possible recycled, which will be the base of the pot and cut out two circles to put the sensor. At this point we can paint and decorate both the pot and the base and once everything is dry, we proceed to the final assembly.

Conclutions

This project has made us realize how an arduino board really works and to put into practice the actions we can make with it. We've also done this in a Halloween context to celebrate this spooky season.It has been a great challenge for us to carry out this project but we have managed to do it successfully, testing our knowledge about arduino.