SPI (NRF905) communication

This program enables communication via the nRF 905 interface on the opensensor.

 

NOTICE: You need to perform the quick hack described here in step 27 in order to use this program.

 

The program is able to send messages and turn the green LED on/off remotely.

For full use of this program at least two opensensors are needed and the nRF 905 interface must be mounted before the opensors are powered up in order to start the nRF chip.


The command interface from the code example Serial interface communication is used and the available commands are:

  • send on - Turns the green LED on the remote opensensor on
  • send off - Turns the green LED on the remote opensensor off
  • send x - Sends the message x e.g. test to the remote opensensor, which will print this message if it is connected via the serial or Bluetooth interface and a terminal program is started

 

main.c

serial.c

radio.c

nrfbits.h

nrfcfg.h

led.h

 

Department of Electronic Systems | Aalborg University | Niels Jernes Vej 12 | DK-9220 Aalborg | Denmark
Phone: (+45) 9635 8695 | Fax (+45) 9815 1583 | E-mail ies(at)ies.aau.dk
Copyright © 2006 Department of Electronic Systems

Last update:06-03-2008