Difference between revisions of "RFM12Pi V2"

From OpenEnergyMonitor Wiki
Jump to: navigation, search
(Created page with "==RFM12Pi V2== ===Technical Overview=== ===RFM12Pi V2 Setup=== sudo avrdude -v -p atmega328p -c avrispmkII -P usb -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xDE:m -Ulfuse...")
 
(Technical Overview)
Line 1: Line 1:
 
==RFM12Pi V2==
 
==RFM12Pi V2==
 
===Technical Overview===
 
===Technical Overview===
 +
 +
*ATmega328 based, has more memory and hardware serial support
 +
*Runs on the internal 8Mhz oscillator (to save unnecessary components)
 +
*SMT used, board layout is optimized for pick-and-place machine; SMT also means it is lower profile compared to the old version thus fits inside most Raspberry Pi enclosures
 +
*The new RFM2Pi with ATmega328 allows programming directly from Raspberry Pi using avrdude (..and OptiBoot)
 +
 
===RFM12Pi V2 Setup===
 
===RFM12Pi V2 Setup===
  

Revision as of 20:04, 24 March 2013

RFM12Pi V2

Technical Overview

  • ATmega328 based, has more memory and hardware serial support
  • Runs on the internal 8Mhz oscillator (to save unnecessary components)
  • SMT used, board layout is optimized for pick-and-place machine; SMT also means it is lower profile compared to the old version thus fits inside most Raspberry Pi enclosures
  • The new RFM2Pi with ATmega328 allows programming directly from Raspberry Pi using avrdude (..and OptiBoot)

RFM12Pi V2 Setup

sudo avrdude -v -p atmega328p -c avrispmkII -P usb -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xE2:m -U flash:w:Optiboot328_8mhz_RF12_Demo.hex

Uploading to the ATmega328 from the Pi

Upload to 328 with ISP:

Sketch upload on Pi: cd /RFM2Pi/firmware/RF12_Demo_atmega328 avrdude -v -c arduino -p ATMEGA328P -P /dev/ttyAMA0 -b 38400 -U flash:w:RF12_Demo_atmega328.cpp.hex


Design Files