Go Down

Topic: Using a radio transmitter - SCA-1710 (Read 1 time) previous topic - next topic

llewmihs

Hey all,

First post on the forums so please be gentle!

I've purchased a radio transmitter and receiver (SCA-1710) and need a bit of help finding examples of code to make it work, Does anyone have any links to libraries for this transmitter/receiver? Or any sample code that I can experiment with?

Any help or advice is much appreciated.

Thanks

Lewmihs

robtillaart

do you have a link to the specification of the radio?
especially the interface would be valuable..
Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)


ahull

#3
Feb 28, 2014, 04:45 pm Last Edit: Feb 28, 2014, 04:48 pm by ahull Reason: 1
These devices are pretty common.  Are you planning on using it for anything specific (controlling or listening to an existing 433MHz device perhaps).

I wrote a fairly generic "code sniffer" recently that used exactly the same receiver to decode an unknown 433MHz PIR module signal.

Code is here.. https://bitbucket.org/ya_433MHz/ya_433mhz_lib/src

Most recent commit... https://bitbucket.org/ya_433MHz/ya_433mhz_lib/src/5c21af7e48917a21e198e00691b15ea645af1a2e/Ya_Holtec_decoder.ino?at=master

The code is fully commented and is a fairly vanilla  "interrupt driven state machine", i.e. the radio receiver generates interrupts which the state machine interprets as the parts of the "packet" from the transmitter.

There are numerous other (probably better) examples in the forum. Just search for 433MHz and you will see what I mean.  
Give us more information and we can point you in the best direction.

llewmihs

Thanks for your help -  I think that will give me plenty to get going with.

Cheers

Llewmihs

Go Up