DIY Arduino Launchpad

11,095

19

17

Posted

Introduction: DIY Arduino Launchpad

Make own launchpad similar to one like novation but a lot less cheaper but no less fun.Add, play, have fun with your own beats or playing any other music like a pro: )

Step 1: Getting All the Components

To start with the basics you will need:
1. An Arduino uno or any other arduino will do
2. A blank pcb larger the better
3. 36 push button switches more like the one in the image above
4. A male header
5. Wires for connections
Miscellaneous:
Soldering iron
soldering lead
wire cutters
LED strip for light effects

Step 2: The PCB for Buttons

Solder the buttons in this order given in the diagram above to fit 36 buttons.In theschematic blue wires on the breadboard are the column pins c1 to c6 from left to right, and red are row pins.Here is the pic of mine done.

Step 3: Meanwhile.....

Step 1:
Open Arduino IDE on your pc (In case you dont have it go to www.arduino.cc).
Step 2:
Download the keypad library on this link ( https://github.com/Chris--A/Keypad ).
Step 3:
Install it.( How ? go to this link to learn how to install libraries to Arduino ide
https://www.arduino.cc/en/Guide/Libraries )
Step 4:
Upload the following program to the Arduino board:
*****For program please refer the last step of the project******

Step 4: Light It Up...!

Let's put that LED strip to good use.
Add the strip in any way you like to light up your launchpad.Mine is along the borders.
There is two ways to proceed:
1.We make programmable Lights
or easier
2.Make LEDs dance to the tone of music: )

Step 5: Frame by Frame......

The Led will be handled on a later phase but now we will look into adding a cover to the launchpad so that it can house superficial buttons.
Easy way:
take a sheet of thick (75gsm will do) parchment paper and tape it around the box and add acrylic tiles and start partying
or better:
make a thin frame out of acrylic and stick a translucent sheet of plastic and add buttons(note the pic above does not have the buttons pic 3) and stick it onto the launchpad.

Step 6: On With the Lighting

We are making the basic option of sound based lighting.We will be needing the following:
tip120 or tip122.......x3
1K resistor................x3
1N4007.....................x3
female headers
wires
a pcb
follow the circuit diagram and solder it on a zero board
i will add soon please check the last step.

Step 7: At the Eleventh Hour

We did all the programming to send commands but we need someone on the other side to receive the commands. so...
Step 1:
download the software from the link below and install and restart your pc.
http://download.cnet.com/Keyboard-Emulator/3000-2094_4-75680555.html
Step 2:
Download beatpad PC software x64
from beatpadpc.net
You dont necessarily need the instrument but can also use you computer keyboard also go to YouTube to find projects to play.
The program:
#include
const byte ROWS = 6; //four rows
const byte COLS = 6; //four columns
#define REDPIN A2
#define GREENPIN A3
#define BLUEPIN A1
byte noteON = 144;//note on command
int redNow;
int blueNow;
int greenNow;
int redNew;
int blueNew;
int greenNew;
//define the cymbols on the buttons of the keypads
char hexaKeys[ROWS][COLS] = {
{'1','2','3','4','5','6'},
{'7','8','9','q','w','e'},
{'r','t','y','u','i','o'},
{'a','s','d','f','g','h'},
{'j','k','l','z','x','c'},
{'v','b','n','m',',','.'},
};
byte rowPins[ROWS] = { 7,6 ,5, 4, 3, 2}; //connect to the row pinouts of the keypad
byte colPins[COLS] = {8, 9, 10, 11, 12, 13}; //connect to the column pinouts of the keypad

//initialize an instance of class NewKeypad
Keypad customKeypad = Keypad( makeKeymap(hexaKeys), rowPins, colPins, ROWS, COLS);

void setup(){
Serial.begin(9600);
pinMode(A5 ,INPUT); //SIG of the Parallax Sound Impact Sensor connected to Digital Pin 7
pinMode(REDPIN, OUTPUT);
pinMode(GREENPIN, OUTPUT);
pinMode(BLUEPIN, OUTPUT);
redNow = random(255);
blueNow = random(255);
greenNow = random(255);
redNew = redNow;
blueNew = blueNow;
greenNew = greenNow;

}
#define fade(x,y) if (x>y) x--; else if (x
void loop(){
char customKey = customKeypad.getKey();
if(customKey){
Serial.println(customKey);

}
boolean soundstate = digitalRead(A5);
if (soundstate == 1) {
analogWrite(BLUEPIN, blueNow);
analogWrite(REDPIN, redNow);
analogWrite(GREENPIN, greenNow);
redNew = random(255);
blueNew = random(255);
greenNew = random(255);
// fade to new colors
while ((redNow != redNew) ||
(blueNow != blueNew) ||
(greenNow != greenNew))
{
fade(redNow,redNew)
fade(blueNow,blueNew)
fade(greenNow,greenNew)
analogWrite(BLUEPIN, blueNow);
analogWrite(REDPIN, redNow);
analogWrite(GREENPIN, greenNow);
delay(1);
}
}
else{
digitalWrite(REDPIN,0);
digitalWrite(GREENPIN,0);
digitalWrite(BLUEPIN,0);
}
}

Step 8: 3,2,1....go

Select the com port in the taskbar from the app you just installed then open beatpad pc and enjoy

Step 9: IMPORTANT!!!!!@#$%!!!!!

This is not a midi instrument but a keyboard configured to a grid controller, it may be cheating but surely worth the try and there are some changes to do with the project that i will be adding soon, quite a busy time currently.Some more information which is needed will be added soon with more pictures and videos of the project.
Notice:
In case of any copyright issues with any pics or any content please notify in the comments section i will respond as soon as possible.

Project updated on 14-02-17
Added programs and schematics for lights for launchpad
Incase of any doubts please ask In the comments and I will respond as soon as possible.

Share

    Recommendations

    • Space Challenge

      Space Challenge
    • Microcontroller Contest

      Microcontroller Contest
    • Spotless Contest

      Spotless Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    2 Questions

    Hi, i have questions, can u please tell me where the resistor and other components should be soldered on the pcb/zero board, (the labelling on the plan seems quite puzzling to me, very sorry)? is the zero board the pcb and buy the small size of zero pcb for the ligting? and is the small displayed red object on the drawing plan, a speaker, that connects to the arduino uno kit? and will this setting project programmable Lights or Make LEDs dance to the tone of music? (and how do u program the LEDs dance to the tone of the music, if not already programmed to be that one or is the program for both-if so how to switch to either option)?
    Appreciate it, This will help with my school project, Thank you.

    what type of male header is needed? also whats the recommended size for the blank PCB?

    13 Comments

    Hey Can You Please Upload The Schematic diagram of push button and the resistors u used with the connection to the arduino on Fritzing

    If we do the above only till step 5 and upload the code which u have provided , will it work?

    As long as you connect pinA5 of Arduino to ground(gnd) and disconnect the lights.

    Can u pls also post a photo of the back of the board because I cannot see how all the connections are done from behind?

    I currently do not have it with me.Please search for matrix keypad and use the logic for making the keypad.

    Thank you so much for posting the code. You helped my group so much!

    You said you would post the code at like 500 views, I've been waiting for it since then. I think this is a really cool project, and I wanted to try it for myself. Could you please send the code?