Lengkap

Basic Sketch for Serial Control of Wav Trigger using Arduino Mega

Hello,

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 [url removed, login to view]

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!

Kemahiran: Arduino, Kejuruteraan Elektrik, Elektronik, Mikropengawal, Susun Atur PCB

Lihat lagi: 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, 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

Tentang Majikan:
( 8 ulasan ) Maitland, United States

ID Projek: #16765156

Dianugerahkan kepada:

HaiderJutt007

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 Lagi

$20 USD dalam sehari
(2 Ulasan)
1.4

8 pekerja bebas membida secara purata $129 untuk pekerjaan ini

$66 USD dalam sehari
(181 Ulasan)
7.1
SPARKtechBD

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 dalam 15 hari
(6 Ulasan)
5.0
RoboEMServices

am an Electrical Engineer from Pakistan. I'll help you with your Arduino projects and teach you how to deal with Arduino. I will also work with you to debug any issue in your Arduino projects and guide you through t Lagi

$25 USD dalam sehari
(12 Ulasan)
3.0
soltracker

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...............

$15 USD dalam sehari
(11 Ulasan)
3.1
adilme

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 dalam 5 hari
(2 Ulasan)
2.6
AbdullahL12

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

$25 USD dalam 3 hari
(0 Ulasan)
0.0
vinu250794

A proposal has not yet been provided

$23 USD dalam sehari
(0 Ulasan)
0.0