Go Down

Topic: Wireless transmission of signal for alarm system (Read 3230 times) previous topic - next topic



I'm working on a small fun project that involves setting up multiple wireless alarm systems. Basically, I want to have approximately 10 or more alarms/sensors (not sure whether this will be motion sensitive, small switch, infrared etc...) that will send a WIRELESS signal to an arduino when one or more of them gets tripped. The data transmitted will either be a logical 1 or 0 (alarm triggered or not). The arduino will then communicate with a computer and send an email out notifying me of which sensor tripped. The range will not be more than 50m at most.

My main confusion lies with how to have an arduino listening for multiple wireless sources and keeping track of which source it came from. (Wi-Fi is not an option due to highly unreliable network in my area). I'm hoping to keep the costs down as well since I don't have too much money to spend right now. Any suggestions?


NRF24l01+ modules are cheap wireless modules and  you can use up to 6 transmitters transmitting to one reciever. See here:

I have just used a couple to make a wireless MIDI setup. :)
Smooberry Dooberry.


The arduino will then communicate with a computer and send an email out notifying me of which sensor tripped.

You don't need a computer to send an email from your Arduino. An ethernet shield would suffice.


I have just used a couple to make a wireless MIDI setup

Mubase, care to share?


Hi Florinc. :)
I'd love to show you how I finally got around sending MIDI over these cheap NRF24l01 modules.
I have been wanting to try wireless MIDI for a long time and the other week came across some code for a wireless MIDI pads and joystick controller which controlled pitchbend commands. ( see here https://github.com/honnet/BAD

The transmitter is working on an Arduino MEGA2560 and the reciever on a duemilanove. I have made a shield for the NRF24l01 module using a protoshield with a MIDI din attached for simplicity and it is quite robust.:)

After studying the code I worked out how to change it to suit 3 pots, an LDR and 2 buttons to trigger noteon/off messages. Oh yeah, the original code used a USBMIDI library which I changed to a standard MIDI library. I initially had some problems with understanding how the NRF24l01s transmitted their information payload but after some help, worked out how to change the payload to reflect the information sent by the controlers and buttons.
Another problem was with getting the transmitter to transmit in increments of 1 ( which originally it was doing in 3 so intead of controller messages going up: 1,2,3,4,5....etc they were going up 1,4,7,10...etc)
The code works and is very smooth, the pots and LDR are connected to A0,A1,A2 and A3 and the note buttons digital pins 18 and 19 . Have a look at the pictures. :)
I will post the code in another message as I will probably run out of characters if I try to post it on this one..

All the best,
Steve ( Mubase )
Smooberry Dooberry.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131