Basic Sketch for Serial Control of Wav Trigger using Arduino Mega


I am looking for a freelancer who is familiar with Arduino serial control to write a sample sketch where a wav trigger board is controlled serially by an Arduino Mega. A list of events is described below.

I have used the Wav Trigger board (Robertsonics / SparkFun) successfully with past projects that use physical switches to activate the 16 available triggers on the board. I've been impressed with its ease of use and programming using the utility. I also have had success using an Arduino Mega for other prototyping projects. I'm no expert but getting better with each project.

See more about the board, tutorials and online guide at [login to view URL]

Now I need to control the Wav Trigger using serial Tx from my Arduino Mega for the first time. The reason is this project has too many banks of switches and the cabling will get unruly unless I simplify. I also understand that serial control would allow me to utilize all 999 sounds on the Wav Trigger memory - and I need more than the physical 16 triggers available. Serial control will accomplish this. However I've never used serial tx rx in an arduino project. I have reviewed sample tutorials, etc. but I need assistance from someone who has set up the mega to serial transmit before. Although I believe the goals are quite simple (playing sounds and turning on lights), I cant get it to work with the online resources.

Right now I am working on a from scratch prop build which has many vintage single pole single throw rocker switches from the 60s, momentary switches and LEDs. I need to get more functionality from these old switches and controlling the sound portion by serial would get the job done. Also, between the number of switches, sound triggers and LEDs, I may run out of Arduino pins!?!?

This project deliverables are:

- Create sketch which initializes the Arduino Mega to implement serial communication on port 3 to control a Robertsonics Wav Trigger board.

- Provide all required libraries and any other files necessary for the sketch.

- The sketch will have Arduino Mega Dpins 2 through 10 as inputs for detecting 5v voltage from a series of SPST toggle and momentary switches. Other pins for momentary switches and LEDs can be assigned in the sketch as necessary.

-Please annotate the sketch as much as possible for clarity (i.e. //place note lines after each line as needed to explain function)

- Include code for the following events:

+When switch A is toggled on (pin 2 reads high), play sound 1, then when switch A is toggled back off (pin 2 reads low), stop all playing sounds and then play sound 2.

+ When switch B is toggled on (pin 3 reads high), play sound 3, then when switch B is toggled back off (pin 3 reads low) play sound 4.

+ When switch C is toggled on (pin 4 reads high) play a random sound selected from a set of .wav files (for example sounds 100 to 110), then when switch C is toggled off (pin 4 reads low) play another random sound from the same set.

+ When (momentary) switch D is toggled on (pin 5 reads high) play sound and blink LED A until switch D is pressed again.

+ When Momentary switch E is toggled on (pin 6 reads high) play a random sound selected from a set of wav files (for example sounds 200 to 210).

+When momentary switch F is toggled on (pin 7 reads high) play sound 8.

This is a short list of basic functions where I hope to see the code and learn more about the serial transmit functions.

I think this should be an easy project for the many Arduino masters here on freelancer. Please ask any questions. Thanks!

Habilidades: Arduino, Ingeniería eléctrica, Electrónica, Microcontrolador, Diseño PCB

Ver más: home security system using arduino mega, measuring loudness using loudness sensor a basic graph with some input and output data and code using arduino uno, using arduino control lights internet, c programming, embedded software, microcontroller, arduino, control co2 level room using arduino, pic basic servo motor control using pic16f877a, power monitoring control using arduino, rov arduino serial control, control using arduino, visual basic web browser control saving image, develope inventory control management system using vbnet, visual basic net serial key free, visual basic net user control, visual basic web browser control automate navigate, project serial port programing 80c51 using, visual basic web browser control, serial wireless data transmission using at89c51 chip

Información del empleador:
( 9 comentarios ) Maitland, United States

Nº del proyecto: #16765156

Adjudicado a:


Hello there, I am an Electrical Engineer by Profession and have been doing Arduino projects for a while now. The learning state which you are in right now was once my beginner stage. I figured out my own shortcuts, ra Más

$20 USD en 1 día
(7 comentarios)

7 freelancers están ofertando el promedio de $144 para este trabajo

$66 USD en 1 día
(195 comentarios)

Read and understood your project description. Have real time experience on Arduino MEGA and using Serial communication with multiple devices. 15+ years of experience on Computer Language and Digital Electronics.

$750 USD en 15 días
(7 comentarios)

Hi. I can do your task. Pls see my portfolio for implemented projects. further do you need a written report for the project mentioning how it is done?

$111 USD en 5 días
(7 comentarios)

How r u?bro,,,its me imad,,,have done 200+ projects regarding matlab, arduino, c#, unity, php, html,PIC Controller, Atmega and u will feel brotherhood...............

$15 USD en 1 día
(14 comentarios)

I have good experience in PCB design (schematic and layout), also in arduino, pic24 microcontroller, esp8266 wifi module, rn4020 bluetooth

$25 USD en 3 días
(0 comentarios)

A proposal has not yet been provided

$23 USD en 1 día
(0 comentarios)