Skip to content

Build It

Jacob Luvisi edited this page Sep 21, 2021 · 5 revisions

Want to make TuneStudio2560 for yourself? Here is how!

What you will need

  1. Arduino Mega 2560
  2. 2x Breadboards
  3. 1x Passive Piezo Buzzer
  4. 5x Colored LEDs (1x Green, 1x Blue, 1x Yellow, 1x Red, 1x White)
  5. 1x RGB Led
  6. 8x 220Ω Resistors
  7. 4x 330Ω Resistors
  8. 1x 1K Potentiometer
  9. 8x Standard Switch Buttons
  10. 1x 20x4 Liquid Crystal Display w/ I2C Protocol
  11. 1x Micro SD Card Module w/ SPI Interface
  12. 2x SN74HC595N Shift Register (or compatible)
  13. 1x 7 Segment 4 Digit Display (Common Cathode Reccomended)
  14. A lot of wires.

Pre-Build Notes

  • If your 7 Segment display is common anode then please check the SevSegShift library documentation on how to change the setup() function to work with your display.
  • The buttons in TuneStudio2560 use INPUT_PULLUP so no buttons should be connected to 5V.
  • The connections will only show how to connect each of the wires from the breadboard to the Arduino. For detailed connections please view the schematics or real life pictures.
  • Any of the pin connections below can be changed to fit your own standards. However the pin definitions in tune_studio.h must be changed to your corresponding pins.

Arduino Connections

  1. Connect the left most Tune Button (GREEN LED) to digital pin 27.
  2. Connect the Tune Button with Blue led to digital pin 25.
  3. Connect the Tune Button with Red led to digital pin 28.
  4. Connect the Tune Button with Yellow led to digital pin 26.
  5. Connect the Tune Button with White led to digital pin 24.
  6. Connect the Add/Select button to digital pin 2. (Interrupt)
  7. Connect the Delete/Cancel button to digital pin 3. (Interrupt)
  8. Connect the Option button to digital pin 4.
  9. Connect the middle pin of the potentiometer to analog pin 7. (A7)
  10. Connect the speaker to digital pin 34.
  11. Connect the shift register DS pin (left most) to digital pin 5.
  12. Connect the shift register STCP pin (middle) to digital pin 6.
  13. Connect the shift register SHCP pin (right most) to digital pin 7.
  14. Connect the RGB Led red pin to digital PWM pin 9.
  15. Connect the RGB Led green pin to digital PWM pin 10.
  16. Connect the RGB Led blue pin to digital PWM pin 11.
  17. Connect the LCD "SCL" pin to pin 21 (marked SCL) on the Arduino.
  18. Connect the LCD "SDA" pin to pin 20 (marked SDA) on the Arduino.
  19. Connect the SD card "CS" pin to pin 53 on the Arduino.
  20. Connect the SD card "SCK" pin to pin 52 on the Arduino.
  21. Connect the SD card "MOSI" pin to pin 51 on the Arduino.
  22. Connect the SD card "MISO" pin to pin 50 on the Arduino.

Clone this wiki locally