| Line 5: |
Line 5: |
| | |Is tv=True | | |Is tv=True |
| | |Has name={{PAGENAME}} | | |Has name={{PAGENAME}} |
| − | |Has icon=File:mood_lamp_icon.png | + | |Has icon=File:final_keyboard_assembley.jpg |
| − | |Has icondesc=Mood Lamp Icon | + | |Has icondesc=Electronic Keyboard Icon |
| − | |Has image=File:mood_lamp_image.png | + | |Has image=File:final_keyboard_assembley.jpg |
| − | |Has description=Mood Lamp | + | |Has description=Electronic Keyboard |
| | | | |
| | }} | | }} |
| Line 15: |
Line 15: |
| | [[{{#show:{{FULLPAGENAME}}|?Has icon|link=none}}|100px|left|top|{{#show: {{FULLPAGENAME}}|?Has icondesc}}]] | | [[{{#show:{{FULLPAGENAME}}|?Has icon|link=none}}|100px|left|top|{{#show: {{FULLPAGENAME}}|?Has icondesc}}]] |
| | | | |
| − | In this TV, we will be creating an electronic keyboard. | + | In this TV, we will be creating an electronic keyboard. Each key plays a different note, and it cam be configured by programming. |
| | | | |
| | == Bill of Materials == | | == Bill of Materials == |
| Line 47: |
Line 47: |
| | | | |
| | Using this board, we will assemble the circuit. | | Using this board, we will assemble the circuit. |
| − | This build makes heavy use of soldering, so check out the soldering wiki page: INSERT | + | This build makes heavy use of soldering, so check out the soldering wiki page: [[Soldering_Irons]] |
| | | | |
| | ==ASSEMBLY== | | ==ASSEMBLY== |
| Line 134: |
Line 134: |
| | After this, the header should be lined up. | | After this, the header should be lined up. |
| | | | |
| − | Next, we need to solder the USB Serial adapter onto the header pins. This board converts the serial protocol that the processor speaks to usb. | + | Next, se need to solder the USB Serial adapter onto the header pins. This board converts the serial protocol that the processor speaks to usb. |
| | This converter chip is a fine pitch surface mount part, so we have it on a premade board. With practice, it is possible to solder parts this small though! | | This converter chip is a fine pitch surface mount part, so we have it on a premade board. With practice, it is possible to solder parts this small though! |
| | | | |
| Line 163: |
Line 163: |
| | In the main window, copy this code: | | In the main window, copy this code: |
| | | | |
| | + | [[Media:Tone_arduino2.ino]] |
| | | | |
| − | [[Media:Tone_arduino.ino]]
| + | under tools > board, select Arduino uno. Then, connect a usb cable from the board to the computer. under tools, make sure that the "com port" is set to the listing in the drop down; this is the device on the other end of the usb cable. Then, select upload! |
| − | | |
| − | | |
| − | then, create a second tab, and name it pitches.h
| |
| − | | |
| − | in it, copy this: | |
| − | | |
| − | [[Media:pitches.h]]
| |