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,717


    Did you find this post helpful? Yes | No

    Default Re: Programming RFM radio modules in Basic

    i can only advise on rfm69 modules here
    the modules come fixed to operate in one only of these bands you need one thats legal in your country
    315MHz Module
    433MHz Module
    868MHz Module
    915MHz Module

    they can do FSK, GFSK, MSK, GMSK and OOK modulation
    they are capable of FSK Bit rates up to 300 kb/s subject to
    the bandwith / deviation selected the power level used

    if you choose to have a packet radio system then the built in
    Packet engine can perform CRC-16, AES-128 encyption and data whitening for you
    if you network them they can also do Incoming Sync Word Recognition
    and make good use of the 66-byte FIFO

    they are capable of backwards compatability with older modules like rfm12b


    for my network system i created a rfm12b compatable mode with a 5 byte preamble 3 byte syncword that incorporates a 1 byte net id and a 7 bit node id with a 1 bit auto acknowledge req flag , the network can transport node to node packets along with broadcast packets
    it operates @434mHZ 50k deviation @17000 bps , with no encryption and a pic generated ccitt_16 crc ,it supports variable length
    packets of
    1-255 bytes [from memory]

    reception can be polled or interrupt driven

    there is no simple . I think I have three pages of possible register settings . have you looked at the data sheet or the sample code from the hoperf site ?
    I got my initial rf12b system running by studying some of the Arduino libraries and adapting it to my needs


    and not make you feel like you need to know rocket science to program those little modules.
    it may not be rocket science but !

    what did you have in mind ?
    Warning I'm not a teacher

  2. #2
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,175


    Did you find this post helpful? Yes | No

    Default Re: Programming RFM radio modules in Basic

    There are other modules capable of plug and play as you request. But they are not as cheap as the HopeRF are. HopeRF does really cheap modules, taking away from you all the burden of the RF circuit. Then it leaves the rest of the settings up to you, making the modules versatile as Richard described.

    Also, every time the module is power cycled, it needs to be setup again, as it has no EEPROM to store the settings permanently.

    If you want to have all the settings ready and just to connect it to power and a data port, then it is not for you.

    These are great and cheap module but you have to do your part of the job. Can't have it all I 'm afraid.

    Ioannis

  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 understand. It is not as easy as it looks like. Absolutely it is not for me. I might have to look other solutions to transfer the GPS data from one side to an other.

    I thought that it wouldnt be difficult for someone, in order to help this community, to create a library and a sample program. As i said before, i understand that it takes time, and it is not worth it to make it for free.

  4. #4
    Join Date
    Jan 2013
    Posts
    64


    Did you find this post helpful? Yes | No

    Default Re: Programming RFM radio modules in Basic

    Hi,
    I don't have time at the moment to work on these type of modules, so I am using HC-12s which work fine, but perhaps not the distance.

    When I get time, I hope to get SX1278 modules working, they seem pretty good, but as said previously need a fair bit of managing.

    C.

  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 camerart,

    thanks for your help. But i dont think i can do anything with those modules, as i understand are not for me and my knowledge are limited.

    thanks anyway.

  6. #6
    Join Date
    May 2013
    Location
    australia
    Posts
    2,717


    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

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

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