Programming RFM radio modules in Basic


Closed Thread
Results 1 to 40 of 45

Hybrid View

  1. #1
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: Programming RFM radio modules in Basic

    I will give the module a try. I need first, to understand how to use the SPI interface.

    I'm reading now the 4 pin interface and 3 pin interface.

    1. 4pin interface requires all MOSI, MISO, SCK, CE
    2. 3pin interface requires only SCK, CE and a data pin.

    In our case that we would like to send from one side (GPS board) the data to the receiver board, what is the best way to setup the connection?

    i have seen the code Richard shared, (it is welcome all the time and really appreciate it), but i need for my self to go step by step.

    anyone's advice will be much appreciated.

    Thanks

  2. #2
    Join Date
    May 2013
    Location
    australia
    Posts
    2,692


    Did you find this post helpful? Yes | No

    Default Re: Programming RFM radio modules in Basic

    . I need first, to understand how to use the SPI interface
    not really you need to understand what the rmf69 module wants , not what the pic mssp module is capable of .

    refer to the rfm69hw data sheet , they do provide a pic connection example .

    I have chosen the least complicated scheme possible

    don't forget its a 3.3 v device , logic level converters are needed for a 5v pic
    Attached Images Attached Images  
    Warning I'm not a teacher

  3. #3
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: Programming RFM radio modules in Basic

    Hi Richard,

    for the schematic i think i'm ok. I can handle it. I keep saying because i know my self, that first i need to understand the basics. Even if you think that is too basic to read about SPI connection, i need to understand it, and get those small important information for me that will help me later.

    Now i read this because i find it interesting (not the arduino code) but the information they share are useful. Like the " NODES " , Addressing, Broadcast addressing etc.

    I have a long way.

  4. #4
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: Programming RFM radio modules in Basic

    i have a pair of the Adafruit RFM69HCW Transceiver Radio Breakout - 433 MHz, in which there is a voltage regulator and level shifter, so the voltage range is 3-5 volts.

  5. #5
    Join Date
    May 2013
    Location
    australia
    Posts
    2,692


    Did you find this post helpful? Yes | No

    Default Re: Programming RFM radio modules in Basic

    imho the example schematic from hoperf data sheet has miso/mosi names transposed on the module so be wary.

    mosi is master out slave in and pic is the master
    Warning I'm not a teacher

  6. #6
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: Programming RFM radio modules in Basic

    yes i have noticed. I will use the trusted 18F26K22 you have suggested for my project last time.

    Is there any quick way to check whether the RFM module is powered up? Like to send a signal from the Master (PIC18F26K22) and at G0 of the modules port to connect and LED indicator. How may i know that the module is powered up?
    Last edited by astanapane; - 30th August 2018 at 11:12.

  7. #7
    Join Date
    Oct 2010
    Posts
    413


    Did you find this post helpful? Yes | No

    Default Re: Programming RFM radio modules in Basic

    I did the simplest configuration connection between the PIC and the RFM69HCW.

    Both of the boards are exactly the same. One will be the TX and the other will be the RX.

    Still in a very early stage, and keep reading the SPI protocol.
    Attached Images Attached Images  

Similar Threads

  1. basic pic programming
    By sshanmugapriya in forum mel PIC BASIC
    Replies: 0
    Last Post: - 25th February 2010, 06:02
  2. Car radio (Car radio and electronics support forum)
    By freewillover in forum Forum Requests
    Replies: 1
    Last Post: - 1st July 2009, 20:41
  3. Smart Radio RF620A and RF620RA modules
    By Colin612 in forum Serial
    Replies: 0
    Last Post: - 8th May 2008, 16:47
  4. LPRS/miniature radio modules
    By fowardbias in forum Off Topic
    Replies: 1
    Last Post: - 20th September 2005, 02:03
  5. Help With Easy Radio Modules
    By hughgoodbody in forum General
    Replies: 5
    Last Post: - 25th May 2005, 10:14

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts