Skip to content

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

License

Notifications You must be signed in to change notification settings

jonathanrjpereira/555-Electronic-Piano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages