Pages: [1]   Go Down
Author Topic: cheap wireless communication  (Read 5037 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

0
Offline Offline
Tesla Member
***
Karma: 114
Posts: 8899
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Silly-con Valley, Ca, U.S.
Offline Offline
Sr. Member
****
Karma: 17
Posts: 420
Lernin' to tinker
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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
« Last Edit: December 24, 2010, 01:17:13 pm by biocow » Logged

10 PRINT CHR$(7)
20 GOTO 10

London, GB
Offline Offline
Sr. Member
****
Karma: 7
Posts: 332
Nothing works.
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

CT, USA
Offline Offline
Sr. Member
****
Karma: 2
Posts: 446
Arduino rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 435
Posts: 23611
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

0
Offline Offline
Newbie
*
Karma: 0
Posts: 6
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

THANKS GUYYS JUST WHAT I NEEDED
Logged

Wigan, UK
Offline Offline
God Member
*****
Karma: 18
Posts: 814
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Logged

Atlanta
Offline Offline
Sr. Member
****
Karma: 0
Posts: 254
Arduino still rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: [1]   Go Up
Jump to: