Wiring with Arduino Pro Mini

Started by tony.huy, June 02, 2015, 05:32:12 PM

tony.huy

I'm trying out your RFM69 library. It looks great. But when I run the Gateway example, I get the error:

        Listening at 915 Mhz...
        SPI Flash Init FAIL! (is chip present?)

I'm wondering if I have it wired correctly. I'm trying to use it with an Arduino Pro Mini. I have these wires hooked up:

RFM69HC                    Aduino
---------------                    -----------
3.3                               VCC (I'm using a 3.3 arduino)
Gnd                              Gnd
NSS                             Pin 10 (SS)
MISO                           Pin 11 (MOSI)
MOSI                           Pin 12 (MISO)
SCK                             Pin 13 (Sck)

Is this correct? Any help you can give would be hugely helpful

EloyP

The error message about the chip not being present can be ignored -- Moteinos can use an on-board small flash memory chip, which, given the error message, you don't seem to have (and if you do, it is wired incorrectly).

One use of the flash memory chip is to support firmware upgrades over the air (via the RFM transceiver).

Your wiring of the RFM69 module is missing one important connection: Arduino D2 to RFM69 DIO0 pin.

Also, the MISO and MOSI signals are not connected correctly. It should be Arduino MOSI to RFM69 MOSI and Arduino MISO to RFM MISO.

For details, reference the Moteino schematic:

https://github.com/LowPowerLab/Moteino/raw/master/R4/MoteinoR4_schematic.pdf

Cheers,

Eloy Paris.-

tony.huy