Giter Club home page Giter Club logo

reactive-light-up-hockey-goal's Introduction

Reactive Light Up Hockey Goal

Overview

This light up goal uses an array of Neopixels and a piezo sensor to sense vibration. When the hockey goal is hit with a puck, the piezo senses the vibration and triggers a flashing red and blue animation on the Neopixels driven by an Arduino Nano.

Demo

This was a quick build, please excuse the shoddy wire up.

Wiring

Neopixel

* D8 --> Din
* 5+ --> 5+
* GND --> GND

Piezo

* A0 --> Positive
* GND --> Negative
* 1MΩ pull down resistor across GND and A0

Code

The included code requires the Neopixel library from Adafruit that can be added through the Arduino Library manager. You can fine tune the sensitivity by changing the threshold. The range is 1 - 1023. 1 being the highest, 1023 being the lowest.

const int threshold = 50;   // threshold value to decide when the detected sound is a knock or not

To-Do

  • Create more animations for Neopixels

  • Move to Attiny85 and a dedicated PCB to create smaller package

  • Test threshold value for sensitivity

  • Clean up temporary mounting

reactive-light-up-hockey-goal's People

Contributors

krum04 avatar

Stargazers

Cameron Murphy avatar

Watchers

James Cloos avatar  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.