![]() |
Home - Downloads - Docs - Hardware - Source - News - Blog | ![]() |
Radiofaro[span.] el faro - [engl.] beacon - [ger.] der Leuchtturm Radiofaro is an Arduino footprint compatible board with the Atmel single chip transceiver ATmega128RFA1. It replaces the original AVR ATmega328P, thus enabling wireless communication in a IEEE802.15.4 network. All special function pins of the original AVR are translated to the new controller which makes it possible to use existing shields without changing the enviroment.
HardwareRadiofaro PIN Assignment
Resources
Most of the components can be ordered from the german distributor reichelt elektronik GmbH & Co. KG . This is the link to the public shopping cart. The ATmega128RFA1 radio modules are available from dresden elektronik ingenieurtechnik gmbh. Per default the module deRFmega128-22C00 with the ceramic chip antenna is used. Optionally it can be replaced with the U.FL variant deRFmega128-22C02. Arduino Software SetupHow the Arduino-IDE package gets installed is basically described here. The AVR tool chain that comes with the Arduino-IDE is from the year 2008 and does not support modern MCUs like the ATmega128RFA1 - therefore it needs an upgrade before Radiofaro can be used. After the tool chain upgrade, the support package WindowsThis article describes on method to upgrade the tool chain inside the Arduino-IDE Arduino Full Memory: upgrade to the last ATMEL Toolchain version MacOSFor MacOS a short description of the tool chain update can be found here: http://lists.nongnu.org/archive/html/uracoli-devel/2010-10/msg00002.html. This update is based on the CrossPack for AVR Development. Linux - Ubuntu 12.04Install original Arduino-IDE
Install and update the Arduino toolchain
Normally the standard packages of the Linux distribution are sufficient. You can install them with:
Since we move the standard Arduino toolchain out of the way, Arduino searches the tools in $PATH. Alternatively you can use a dedicated toolchain, e.g. the latest and greatest AVR toolchain (after registration at www.atmel.com), you have to do the following steps:
Install uracoli support package
Alternatively you can use the steps described in How to update the AVR toolchain to the last 3.4.1 (Linux). Run the Arduino-IDE
If the Arduino-IDE does not start with the error java not found, you need to run:
Initial Firmware SetupBootloader
For the initial firmware installation, an external ISP or JTAG programmer like AVR-ISP, Atmel Dragon or Atmel JTAG-ICE MkII is needed.
Fuses
This fuse settings set the bootloader size to 2kByte and the clock to 8MHz internal RC oscillator. After a reset, the MCU executes the code in the bootloader section and proceeds with execution of the application programm if within a timeout no programmer command is sent via the serial line. Test Bootloader
After connecting the Radiofaro board via USB, the assigned serial port name must be found. Under Linux the following command will show, that /dev/ttyUSB0 is assigned to the connected board:
The correct function of the bootloader can be checked either via the Arduino-IDE when flashing a sketch or with the following command.
|
more topics |
| Last modified: 2013-05-07 |