how to use it?

Home  >>  homepage  >>  how to use it?

how to use it?

On Marzec 30, 2015, Posted by , In homepage, With No Comments

Raspberry Pi setup

How to set up rapidradio? don’t worry, it’s a child’s play.
Just plug it in to your Raspberry Pi as shown on the pictures below – meaning into the inner pin column, starting from the 6th pin from bottom (true for all Raspberry Pi versions).
Do not forget to switch-off and unplug Raspberry Pi first (just in case).

Raspberry Pi model A/B

Raspberry Pi model A/B

Raspberry Pi model A/B

Raspberry Pi model B+/Raspberry Pi 2

rapidradio pinout

rapidradio pinout

Then get the rapidradio tool. You can download compiled binary here (Raspbian Wheezy) here:

 



or go to the downloads page

or you can build it from source on your own:

sudo apt-get install autoconf
git clone https://github.com/micas-pro/rapidradio.git
cd rapidradio/raspberrypi
chmod 744 rapidradio_install.sh
./rapidradio_install.sh
./configure
make
sudo make install

now you are ready for a transmission!
start listening using address 0x12345678 and channel 50:

sudo ./rapidradio -l -a=0x12345678 -c=50 > received_file.txt

To stop listening just hit Ctrl+C.

Then on second Raspberry Pi use this command to send a ‚sample_file.txt’ to the listening rapidradio you’ve just set (address 0x12345678 and channel 50):

sudo ./rapidradio -a=0x12345678 -c=50 < sample_file.txt

You’ve just sent a file. A child’s play, wouldn’t you agree?


Note: The channel number and target device address need to match values used on a listening device.

Try:

./rapidradio --help

to see all available rapidradio tool options.


Note: ‚sudo’ rights are required to access SPI interface on Raspberry Pi.

Dodaj komentarz

Twój adres e-mail nie zostanie opublikowany. Pola, których wypełnienie jest wymagane, są oznaczone symbolem *

Możesz użyć następujących tagów oraz atrybutów HTML-a: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>