:HELP: Arduino-UNO Project for carnival

Hello everyone,

I'm writing to you from Germany, hoping you guys could help me:

In my county the topic of "carnival" is quite a big event, where various groups prepare and present their performances to a big audience. This year my dance group decided to include a part of the famous "coffin dance" to our performance. Therefore we got an old coffin, which should react like an openend car (imagine press of a button on the remote- car goes beep beep and flashes the headlights).

Therefore I got the following hardware:
-RFID-RC522 sensor
-Adafruit "Music Maker" MP3 Shield (non-amplified version)
-5V KY-019 High-Level-Trigger Relais

I wanted the RFID-sensor to check for any tags present, if a present tag matches a specific UID i wanted the Music Maker Shield to play the beep-beep sound (MP3), while simultaneously giving a 5V Signal to the Relais to activate it and flash some 12v led truck lights.

-now to my problem-

Since this is my first project and I have absolutely no experience in coding I can't get those parts to work together. With the included examples I was able to play music from the shield or read the UID of an RFID tag but when it comes to connecting one or more- I get like a dozen of error messages.

I hope what I have in mind is possible to do- if there are any more questions, feel free to ask. Thank you in advance.

-Chris

Obviously true. First, get the components to work individually and learn all you can about each one. Only then can you consider programming for two or more devices. And TEST, TEST, TEST.

Also, you never mention the power supply you will use nor how you have wired each device to your Arduino. A schematic is the quickest way to do that!

We can't help you sort any of them without being able to see the code and the error messages. Why wouldn't you post that if you want help with it?

This is not a free code writing service. You have to do the work. There are folks here that can help and explain, but it has to be about the code that YOU are writing.

If you have individual sketches that each work with one part, you have a common problem.

Google

 combine Arduino sketches

and work to make something that can do both. Then it will be a matter of getting some logic to handle what to do and when.

Maybe you could post the sketches that need to be hammered on so they have one setup() and one loop() function, no matter what that actually does at first except compile.

a7

Often the examples use the same set of pins.
If one example sets it as output and another as input, that will not work...
If both set the same pin as output, you will blow the pin.
You need to check which pins are used and then move around the wires to unused pins....

By the way: very good you got all working! That is a very useful starting point...

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.