I really like the Freedrum project and decide to do it on my own.
Below is a step by step guide, modified from the VO in the video. By the way, VO is an AI voice, made by Amazon Polly, which speaks in a English accent better than mine :D
If any questions, please feel free to comment below or contact us!
Please like our Facebook Page, more tutorials are coming!
Step 1: Get All Things Ready
You will need:
- Curie Nano board (Arduino101 can also do the trick, but it is too big for this project.)
- a 3.7V lithium battery
- a Velcro SD card module
- SD card
- SD card reader
- a drum stick
Step 2: Preparation
- Solder the pin header to the Curie Nano
- Insert the SD card into the SD card module
- Connect the SD card module to the Curie Nano
- Connect lithium battery to the Curie Nano
- Put them on the drum stick with Velcro
Step 3: Data Collection
Do some motions to let Curie identify.
Data from Curie IMU will be automatically stored into the SD card.
Step 4: Data Pre-processing
- Remove the SD card
- Insert the SD card into the SD card reader
- Insert it into the computer
- Open the motions data stored on the SD card with excel, generate a line graph, truncate the unstable waveform of the front end and the smooth line between each two waveforms, and the last invalid data
- Save the file!!!!
The pre-processed data will be put into QriNeuronPipeline - a feature extraction software by Maker Collider. Then generate several new csv files into the SD card.
Step 5: Curie Learning
Unplug the SD card and insert the SD card module again.
Curie will read the data from SD card and start learning!
Step 6: Pair With IPad/iPhone
- Open the GarageBand application on iPad or iPhone
- Choose Bluetooth MIDI Devices Item in Advanced Settings, and choose Curie to pair.
Now, you are ready to play the "Air" Drum Kit!
Enjoy the beat! :)
Participated in the
Microcontroller Contest 2017