RFµ

Ciseco's small radio-equipped Arduino compatible RFµ-328 is a nice package.

Over the Air Programming
By default the radio is preconfigured as a serial bridge. Using any of Ciseco's other radios within range you can send and receive data to the AVR's UART.

First you need to power the RFµ. Connect the +3.3v and GND based on:



The are no LEDs on the board so you are looking for a current draw around 0.03A.

Devices like the SRF-Stick or Explorer Plus plug into your computer and show up as a standard serial port (/dev/ttyACM0 on most Linux).

To get this communication working you need to change a few settings on the radio attached to your computer. First open the serial port, then trigger the radios 'AT command' mode, then enter commands. Here are the commands for over the air programming of a new RFµ.

screen /dev/ttyACM0 115200

+++

The '+++' isn't followed by a return, the three characters alone enter AT mode and you should get an 'OK' back. The is then a fairly short time-out before the mode exits, so type the following commands quickly:

ATRC3 ATRIRF ATRP1 ATWR ATAC ATDN

You do need to press enter after every line here, and you should get an 'OK' back for each line. The commands mean:
 * ATRC3: Communicate on sub-channel 3 (default for RFµ)
 * ATRIRF: Communicate with device id 'RF' (default for RFµ - needs to be changed on both to enable multiple devices)
 * ATRP1: Enable remote reset to trigger the bootloader on the AVR
 * ATWR: Save the settings
 * ATAC: Apply the settings
 * ATDN: Exit AT mode

You then need to exit screen: Ctrl-A Shift-K

You can then use the normal Arduino IDE set to the Uno board (or any other programmer that can use the Arduino bootloader) to upload sketches as normal. "avrdude: stk500_recv: programmer is not responding" Usually means something is wrong and you need to try changing the settings. You may occasionally get "avrdude: stk500_paged_load: (a) protocol error..." due to the radio not being as reliable as wire; these should work when you retry the upload.

= Uses =


 * Wireless Serial Camera