Giter Club home page Giter Club logo

halloween_baby_crane's Introduction

halloween_baby_crane

Small raspberry pi project for Halloween: a moving crane with a stepper motor, sound with baby cries, cracks, background music and random on/off light operated with a relay for an automated crane in a horror setup. Was finally used without the stepper motor, just swithing on/off a lamp and having crane sounds and baby cries. The crane had a baby skull. It was all part of an amateur tunnel of terror set up in 2023.

The setup switches on and off randomly a relay controlled lamp which should iluminate the crane.

Every now and then, the baby cries. Every now and then, the stepper motor starts circling and the crane sounds go on.

DISCLAIMER: The stepper motor was thought to slightly move the crane (as if there was something alive in it, or an invisible hand rocking it, but finally it had not enough torque to actually move it. :(

requirements

This was running in a RaspBerry pi 4 with a relay, a stepper motor and an external audio speaker. It also needs a Python 3 interpreter.

HW setup

Relay was connected at GPIO pin 12. Stepper motor at 7,11,13,15

missing sound files

As I have licence to use them, but not for distribute them, please do create a "sounds" folder with:

  • sounds/lloro_1.wav
  • sounds/lloro_2.wav
  • sounds/lloro_3.wav

...with different baby cries (no more than 30 secs each), and

  • sounds/chirrido_1.wav
  • sounds/chirrido_2.wav

for crane cracks and sounds (I ended up using rocking chair sounds), and

  • sounds/musica.mp3

...for background music.

starting up at boot time

You can use start.sh as launching script, calling it in /etc/rc.local so it will launch at boot time (so you can have the raspberry as a headless setup, just needs to be powered on, and have a speaker connected, of course, to actually hear anything :)

halloween_baby_crane's People

Contributors

briveira avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.