Programming RFM radio modules in Basic


Closed Thread
Results 1 to 40 of 45

Hybrid View

  1. #1
    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

    after a bit of experimenting I have come up with a fairly simple demo for rfm69hw with no bells and whistles for pbp
    it can support two nodes has a fixed length payload of 16 bytes the remote end is described but not provided in pbp code.
    Attached Files Attached Files
    Warning I'm not a teacher

  2. #2
    Join Date
    Jan 2013
    Posts
    64


    Did you find this post helpful? Yes | No

    Default Re: Programming RFM radio modules in Basic

    Quote Originally Posted by richard View Post
    after a bit of experimenting I have come up with a fairly simple demo for rfm69hw with no bells and whistles for pbp
    it can support two nodes has a fixed length payload of 16 bytes the remote end is described but not provided in pbp code.
    Hi R,
    That looks interesting thanks.

    I am only able to read BASIC, but I may be able to slowly decode your program, when I come to use the RFM69 (POSS SX1276?)

    C

  3. #3
    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

  4. #4
    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

  5. #5
    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.

  6. #6
    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.

  7. #7
    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

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