Git Product home page Git Product logo

555-electronic-piano's Introduction

Electronic Piano | LM555

An electronic piano that uses the 555 to generate eight different piano notes.

Order PCB:

Electronic Components

Qty Component Buy
1 555 AliExpress
1 390Ω, 620Ω, 910Ω, 1.1KΩ, 1.3KΩ, 1.5K, 2KΩ, 6.2KΩ AliExpress
2 1KΩ Resistor AliExpress
8 Tactile Momentary Push Buttons AliExpress
1 5mm LED AliExpress
1 0.1uF Capacitor AliExpress
1 10nF Capacitor AliExpress
2 2 Pin Screw Terminal AliExpress
1 Speaker AliExpress
1 9V Battery Holder AliExpress
1 9V Battery AliExpress
1 PCB AliExpress
Tools Buy
Soldering Iron AliExpress
Soldering Wire AliExpress
Mini PCB Hand Drill + Bits AliExpress

Working

LM555/NE555:

The 555 is a highly stable device for generating accurate time delays or oscillation. Additional terminals are provided for triggering or resetting if desired. For stable operation as an oscillator, the free running frequency and duty cycle are accurate controlled with two external resistors and one capacitor. The circuit may be triggered and reset on falling waveforms, and he output circuit can source or sink up to 200mA or drive TTL circuits.

Pinout Pin Description

Circuit:

The circuit is connected such that it will trigger itself and free run as an astable multivibrator. The external capacitor charges through Ra+Rb and discharges through Rb. Thus th duty cycle may be precisely set by the ratio of these two resistors.

In this mode of operation, the capacitor charges and discharges between 1/3 VCC and 2/3 VCC. Hence the charge and discharge times, and therefore the frequency are independent of the supply voltage.

The change time (output high) is given by:

And the discharge time (output low) by:

Thus the total period is:

The frequency of oscillation is:

Hence

Block Diagram

An input trigger such as a switch or button is pressed which connects its corresponding resistance within the resistor chain to the IC 555 which acts as an Astable Multivibrator. Depending on the value of the resistance the speaker will produce a different sound.

Frequency Resistor Chart

Each piano key has a separate frequency associated with it as shown in the table below. We have kept the values of Ra & C as constant and only vary the value of Rb in order to change the frequency whenever a different key is pressed. In order to do this we created a resistor chain according to the table above as shown in the schematic. This chain is configured to optimize and reduce the number of individual resistors required.

Schematic

Contributing🛠

Are you an engineer or hobbyist who has a great idea for a new feature in this project? Maybe you have a good idea for a bug fix? Feel free to grab our code & schematics from Github and tinker with it. Don't forget to smash ⭐️ & the Pull Request button.

alt text alt text alt text

555-electronic-piano's People

Contributors

jonathanrjpereira avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

555nexus

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.