A Few Simple Components, DIY an Electronic Keyboard
by jiangqianqian in Circuits > Electronics
215 Views, 0 Favorites, 0 Comments
A Few Simple Components, DIY an Electronic Keyboard
![企业微信截图_20200804170646.png](/proxy/?url=https://content.instructables.com/F8F/AJT4/KDEJ0TBT/F8FAJT4KDEJ0TBT.png&filename=企业微信截图_20200804170646.png)
555 timer 1
Button × 8
1 100nF capacitor
Various resistances: 390Ω, 620Ω, 910Ω, 1kΩ×2, 1.1kΩ, 1.3kΩ, 1.5kΩ, 6.2kΩ.
1 buzzer
22AWG installation wire
1 9V battery connector
1 breadboard
1 9V battery
Learn About the Principle of Making This Tutorial
![企业微信截图_20200804170949.png](/proxy/?url=https://content.instructables.com/FI3/B237/KDEJ0TCK/FI3B237KDEJ0TCK.png&filename=企业微信截图_20200804170949.png)
The principle of this electronic keyboard is to use the steady-state model of the 555 timers integrated circuit to drive the tone of the speaker. Each note has a main frequency. This frequency is controlled by the frequency generated by the capacitor and two resistors in the astable mode of the 555 timers. Therefore, there is a very beautiful announcement to calculate:
Set RA and C to a Fixed Value
![企业微信截图_20200804171106.png](/proxy/?url=https://content.instructables.com/FRJ/EXK1/KDEJ0TD4/FRJEXK1KDEJ0TD4.png&filename=企业微信截图_20200804171106.png)
Set RA and C to a fixed value, so that you only need to adjust RB to get a specific frequency. Therefore, the beautiful formula is here again
All Resistors Are Connected in Series
![企业微信截图_20200804171216.png](/proxy/?url=https://content.instructables.com/F49/DIYK/KDEJ0TE0/F49DIYKKDEJ0TE0.png&filename=企业微信截图_20200804171216.png)
Because all the resistors are connected in series, the resistance value of each button needs to be added to the previous one. According to the size of the resistance, the tone of the button is also different. After precise calculation (don't ask how it is calculated), we can get in conclusion
Because the selected resistors are common resistance values on the market, there may be some deviations in pitch, but these deviations are not too large.
Draw the Circuit Diagram That Needs to Be Installed
Next we need to simulate and draw the circuit diagram that needs to be installed on the 123D circuit simulator.
Install the Components According to the Circuit Diagram
![u=4231593204,1633052156&fm=26&gp=0.jpg](/proxy/?url=https://content.instructables.com/FBZ/TNSM/KDEJ0TGB/FBZTNSMKDEJ0TGB.jpg&filename=u=4231593204,1633052156&fm=26&gp=0.jpg)
It should be noted here that the red and black wires must be matched, the red is connected to the positive electrode, the black is connected to the negative electrode, and the 8 connection pins of the 555 timers are installed. As shown in the figure, the bottom of the 555 timers is 1234 from left to right, and the top Make 5678 from right to left and start to run counterclockwise in the lower-left corner.
1, 2 connect the capacitor, buzzer red wire connection 3, etc., look at the circuit diagram and pay attention to the connection sequence.
Next, the order of the most important resistors from right to left is:
390Ω
910Ω
1kΩ
1.1kΩ
620Ω
1.3Ω
1.5KΩ