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!
7 freelancers están ofertando el promedio de $144 para este trabajo
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.
How r u?bro,,,its me imad,,,have done 200+ projects regarding matlab, arduino, c#, unity, php, html,PIC Controller, Atmega and vb.net. u will feel brotherhood...............