Go Down

Topic: cheap wireless communication (Read 9130 times) previous topic - next topic

riz

hi
i am in the middle of designing a very simple door alarm.
please can someone help me decide which way to proceed on the wireless side.(data to be transmitted simple  on off) please advise me on the cheapest option. distance max 10m.

also how would i be able to play music through arduino.
thanks in advance

zoomkat

Quote
i am in the middle of designing a very simple door alarm.
please can someone help me decide which way to proceed on the wireless side.(data to be transmitted simple  on off) please advise me on the cheapest option. distance max 10m.


Modify a wireless door bell.

Quote
also how would i be able to play music through arduino.


You could have the arduino operate a transistor which which controls the power to a gizmo that can play music.
Google forum search: Use Google Advanced Search and use Http://forum.arduino.cc/index in the "site or domain:" box.

biocow

#2
Dec 24, 2010, 07:16 pm Last Edit: Dec 24, 2010, 07:17 pm by biocow Reason: 1
Quote
You could have the arduino operate a transistor which which controls the power to a gizmo that can play music.


Something like this...

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1289929542
10 PRINT CHR$(7)
20 GOTO 10

u0421793

The Arduino Uno has three fairly large mounting holes. You should be able to play music on one side of the Uno and get the sound to go through one or more of those holes and appear out the other side.

AlphaZeta

Hmm...

Even though all you wanted to is a simple on/off controller, I'd imagine you'd also want this alarm to be some what reliable, correct? This means, you can't just use a simple carrier-only transmitter, and some kind of modulation and coding is needed (i.e. FSK).

So I'd just pickup a pair of RF link transmitter/receiver, like these ones:

http://www.sparkfun.com/products/8945
http://www.sparkfun.com/products/8947

They are pretty darn cheap!

CrossRoads

Ian, that was too funny!

The sparkfun Rx/Tx works well, easy to program to send a message from the Tx to the Rx using virtualwire:
http://www.open.com.au/mikem/arduino/VirtualWire.pdf
See the "simple remote for granny" to make the Tx side sleep in between transmissions if you want it battery operated, build it around a 3.3V ardweeny & power it with a 3.7V LiPO battery, recharge it once a  month or so.  Or 3 AAs will also work. Bring power direct to VCC pin, no regulator to suck your battery down.
http://www.solarbotics.com/products/kardw
(click resources, manual, easy to assemble)

On the Rx side, search the Tone tutorial, make it play whatever song you want thru a little speaker (or an amp and a bigger speaker) when you get a message in.
http://www.arduino.cc/en/Tutorial/Tone

<$30 in hardware, mount both sides on some perfboard.
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

riz

THANKS GUYYS JUST WHAT I NEEDED

CowJam

I've just ordered the RF transmitter/receiver from the bottom of this page: http://www.bitsbox.co.uk/sensors.html#rf


AltairLabs

You dont need to waste an Arduino on a dumb ON/OFF wireless sensor, see
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1293839127
Dumb Dirt Cheeep Wireless Environment Sensor
Use the first example, and have the door switch in series with battery.

The TX is less than $1 of parts plus your module.  For longest battery life, have the TX turned off in the state the door spends most of its time.

Go Up