The Cursed Grave_deMoraPol_VinasRafael

by demora_viñas in Circuits > Arduino

143 Views, 1 Favorites, 0 Comments

The Cursed Grave_deMoraPol_VinasRafael

Imagen de WhatsApp 2022-11-01 a las 23.36.27.jpg

This project consists of a game in which you need to guess the sequence of the graves in order to win. The game starts with all the graves in upright position. Each time you push a grave down, a green LED or red LED will light up along with a sound. if the red one lights up, it will mean you have pressed the cursed grave. However, if the green one lights up, it means you have pressed a good grave and you can continue pushing graves down. The objective of the game is to push down the cursed grave the last one, that is, once you've pushed down all the other ones.

Supplies

ELECTRONIC COMPONENTS

  • Arduino One (x1)
  • Protoboard (x1)
  • Male-Male cables (xx)
  • Male-Female cables (xx)
  • 330 Ohm Resistor (x2)
  • Piezoelectric (x1)
  • Pushbutton (x9)
  • Servo motor (x1)
  • 9V battery (x1)
  • LEDs
  • Green (x1)
  • Red (x1)

MATERIALS

  • Box (x1)
  • 3D Printed graves (x7)
  • Hinges (x7)
  • Flag
  • Spooky decoration

Scheme of Electrical Connections

esquema1.jpg
esquema2.png

Above are attached two images.

The first one shows the electrical components scheme in KiCAD and the second one shows the same but in TinkerCAD.

Flow Diagram + Code

Two files attached:

.INO file with the code + a library used for the piezoelectric device.

Flux diagram explaining the function of the code.

How to Build It - Process

Conclusion

This piece of work has been pretty challenging. We had some aspirations at the beginning that had to be out-ruled because of time constraints. However, we have experienced what it is like to build an interactive game using electronics based on an Arduino One device. The use of different technologies such as piezoelectrics, servomotors and push-buttons has allowed us to develop a project that not only has decorative and creative processes but also programming and mechanical aspects.

There were factors such as the lift-back-up of the graves that caused some minor problems but those were solved successfully using mechanical procedures.

Overall, the Halloween project is a summary of what has been learnt in the past five weeks. From debugging strategies to the use of libraries for components such as the servomotor, The Cursed Grave includes many different devices to carry out its "gamey" nature but always in a spooky and terrifying way...Happy Halloween!!