Firmware to test hardware

9 views
Skip to first unread message

Konstantin

unread,
May 27, 2009, 2:58:05 AM5/27/09
to strobit...@googlegroups.com
Hi!

I've now fully assembled the two widget boards including the resistors
across the RFM12. It would be really great if there was some kind of
firmware that would allow to test these boards. Like one part that
would send a pre-defined message, and the other that would receive it
and flash LEDs.

Stephen, can you put together something like that and put it in the
downloads section?

Stephen Eaton

unread,
May 27, 2009, 4:57:22 AM5/27/09
to strobit...@googlegroups.com
Great to hear,

Jeelab have some firmware available that will do the trick, it's what I've
been using. I've attached the modified version of jeelabs demo for the
widgetboard

http://code.google.com/p/jeelab/source/browse/trunk#trunk/libraries/RF12

Download the RF12 directory and copy it to the arduino libraries directory,
then under the arduino environment file|sketchbook|examples and you will see
rf12 examples. Select the Library-RF12|RFM12demo and it will load the
example code. Compile and upload to your board, you will need to configure
as per README

See the readme on how to run the examples:
http://code.google.com/p/jeelab/source/browse/trunk/libraries/RF12/examples/
RF12demo/README

Attached is a example sketch I modified that will blink one of the onboard
LEDs on valid CRC reception. You will need the above libraries for this to
work.

I also suggest having a look at the driver source code, in particular the .h
file as there is an option to include one of the sync bytes in the CRC
calculation, default is off.

Jean-Claude (drivers author) is on this list so he may be able to answer
specific qestions about the driver.

Regards,

Stephen...
> __________ Information from ESET Smart Security, version of
> virus signature database 4107 (20090527) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
>
>
> __________ Information from ESET Smart Security, version of
> virus signature database 4107 (20090527) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>


__________ Information from ESET Smart Security, version of virus signature
database 4108 (20090527) __________

The message was checked by ESET Smart Security.

http://www.eset.com


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

RFM12widgetdemo.pde

Konstantin

unread,
May 27, 2009, 5:02:26 AM5/27/09
to strobit...@googlegroups.com
Can you compile this into a HEX file for ATMega 168? I am really not
into Arduino :)

Stephen Eaton

unread,
May 27, 2009, 5:17:36 AM5/27/09
to strobit...@googlegroups.com
Lol you can try this,

Don't know how it will go as I just grabbed it from my arduino folder. It
should be the hex that is D/L to the board via the bootloader.

Compiled under arduino for 10mhz crystal.

Stephe...
RFM12widgetdemo.hex
Reply all
Reply to author
Forward
0 new messages