Posts

Showing posts with the label button

Arduino BeatBox

Image
Create your very own Arduino BeatBox ! Home-made capacitive touch sensors are used to trigger the MP3 drum sounds stored on the Grove Serial MP3 player. I have used a number of tricks to get the most out of this module, and I was quite impressed on how well it did. Over 130 sounds were loaded onto the SDHC card. Most were drum sounds, but I added some farm animal noises to provide an extra element of surprise and entertainment. You can put any sounds you want on the module and play them back quickly. We'll put the Grove Serial MP3 module through it's paces and make it into a neat little BeatBox !! Key learning objectives How to make your own beatbox How to make capacitive drum pad sensors without using resistors How to speed up Arduino's Analog readings for better performance How to generate random numbers on ...

Arduino Boombox

Image
Add sound or music to your project using the "Grove Serial MP3 Player". An Arduino UNO will be used to control the Grove Serial MP3 player by sending it specific serial commands. The Grove Base Shield allows for the easy connection of Grove sensor modules to an Arduino UNO without the need for a breadboard. A sliding potentiometer, switch and button will be connected to the Base shield along with the Serial MP3 player. A specific function will be assigned to each of the connected sensor modules to provide a useful interface: Sliding Potentiometer – Volume control Button – Next Song Switch – On/Off (toggle) Once the MP3 module is working the way we want, we can then build a simple enclosure for it. Grab a shoe-box, print out your favourite design, and ...

Grove Button Tutorial

Image
The Grove Button is a handy little component which simplifies the push-button experience. It doesn't take much programming to get this component to work. And while the button works extremely well with the Grove Base Shield, we will be connecting this button directly to the Arduino UNO. The button will be LOW in its normal resting state, and report HIGH when the button is pressed. Have a look at the video below to see this project in action. Video Parts Required MiniBreadboard 4.5cm x 3.5cm LED and 330 ohm resistor Breadboard Jumper Wire Arduino UNO (or compatible board) Grove Button Grove Universal 4 pin 20cm Cable   Sketch Arduino Sketch 1 2 3 4 5 6 7 8 9 10 11 12 /* Grove Button Sketch - Written by ScottC 22nd Dec 2013 http://arduinobasics.blogspot.com --------------------------------------------------------- */ void setup(){ pinMode(8, INPUT); pinMode(13, OUTPUT); } void loop(){ digitalWrite(13, digitalRead(8)); } The signal pin of the Grove Button att...