Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Hardware
  3. Problem with RFM69 on homemade board

Problem with RFM69 on homemade board

Scheduled Pinned Locked Moved Hardware
15 Posts 5 Posters 6.4k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • voximdoV
    voximdoV
    voximdo
    wrote on last edited by
    #6

    This 1K omh resistors on SPI line could cause problem or they shouldn't?

    1 Reply Last reply
    0
    • scalzS
      scalzS
      scalz
      Hardware Contributor
      wrote on last edited by scalz
      #7

      @voximdo
      you don't give enough details...

      • your board: what looks like your level converter? on your schematic we don't see it. Is it your 1K res ??? if so, that's not a level converter! and you can't use a voltage regulator for this. you need to use mosfets.
      • which arduino board are you using for your tests? if uno/nano, atmel is powered through 5v, so dataline would be all 5v. The 16mhz crystal is a good indicator when you're not sure ;)

      I always try to power my circuit with 3v if rfm69. and if 5v, there are booster or charge pump.. Like this, it's easier to handle because there are much more things working at 3v than 5v, and then if you need level converter for each, pain begins.

      but in case, about level converter : https://www.sparkfun.com/products/12009

      1 Reply Last reply
      0
      • voximdoV
        voximdoV
        voximdo
        wrote on last edited by
        #8

        I don't have level converter on my board, I forget about it, so I connected it outside the board. So MOSI, MISO, SCK and NSS goes to level converter and then to Atmega328p which is powered with 5V. Exactly that one from your link.

        I am using Arduino UNO board for testing. I am powering circuit with 5V because I don't have any programmer (only Arduino board). So RX/TX for communication and programming have also 5V.

        YveauxY 1 Reply Last reply
        0
        • voximdoV voximdo

          I don't have level converter on my board, I forget about it, so I connected it outside the board. So MOSI, MISO, SCK and NSS goes to level converter and then to Atmega328p which is powered with 5V. Exactly that one from your link.

          I am using Arduino UNO board for testing. I am powering circuit with 5V because I don't have any programmer (only Arduino board). So RX/TX for communication and programming have also 5V.

          YveauxY
          YveauxY
          Yveaux
          Mod
          wrote on last edited by
          #9

          @voximdo is there any pull up on ss line? If not, and you have more devices connected to spi interface, that might cause issues during startup if not all ss lines are set to high state before initialization starts.

          http://yveaux.blogspot.nl

          1 Reply Last reply
          0
          • voximdoV
            voximdoV
            voximdo
            wrote on last edited by
            #10

            I didn't have pullup, but I don't have any more SPI decives also. But still - I added it as you sugested and still the same.

            I have also one node which is working (Arduino PRO Mini connected with RFM69 module. And I tried test radio module also with that code:
            https://learn.adafruit.com/adafruit-rfm69hcw-and-rfm96-rfm95-rfm98-lora-packet-padio-breakouts/rfm69-test. I used working node as transmitter and my homemade board as receiver.

            And instead of "Hello World" I am getting some trash data:

            0_1472036066828_trush.png

            YveauxY 1 Reply Last reply
            0
            • voximdoV
              voximdoV
              voximdo
              wrote on last edited by
              #11

              And when I changed it - PRO Mini as reciever and my homeboard as transmitter I got nothing. Homeboard is claiming that it is sending something, but it isn't getting to working node. Even trash data.

              1 Reply Last reply
              0
              • voximdoV voximdo

                I didn't have pullup, but I don't have any more SPI decives also. But still - I added it as you sugested and still the same.

                I have also one node which is working (Arduino PRO Mini connected with RFM69 module. And I tried test radio module also with that code:
                https://learn.adafruit.com/adafruit-rfm69hcw-and-rfm96-rfm95-rfm98-lora-packet-padio-breakouts/rfm69-test. I used working node as transmitter and my homemade board as receiver.

                And instead of "Hello World" I am getting some trash data:

                0_1472036066828_trush.png

                YveauxY
                YveauxY
                Yveaux
                Mod
                wrote on last edited by Yveaux
                #12

                @voximdo I think you're only receiving ones over the spi interface, hence the 255 rssi values. Maybe you swapped mosi & miso signals (edit: seems ok in your schematics)
                Do you have a scope or logic analyzer you can attach to the spi bus to check correct functioning?

                http://yveaux.blogspot.nl

                1 Reply Last reply
                1
                • voximdoV
                  voximdoV
                  voximdo
                  wrote on last edited by
                  #13

                  I could borrow scope for the weekend. Could you tell me what should I searching for in this signals?

                  YveauxY 1 Reply Last reply
                  0
                  • voximdoV voximdo

                    I could borrow scope for the weekend. Could you tell me what should I searching for in this signals?

                    YveauxY
                    YveauxY
                    Yveaux
                    Mod
                    wrote on last edited by
                    #14

                    @voximdo the ss line (normally high) should go low when the avr is talking to the rfm.
                    The clk signal is the clock from the avr to the rfm, to trigger exchange of bits.
                    Miso is data going from rfm to avr, mosi is data in the other direction.
                    You could trace the data from the startup of mysensors, until the check on which it fails and see what happens.
                    There's not much more I can do as I don't have an rfm setup...

                    http://yveaux.blogspot.nl

                    1 Reply Last reply
                    0
                    • voximdoV
                      voximdoV
                      voximdo
                      wrote on last edited by
                      #15

                      Thank you very much for suggestions. I will try to check that over the weekend, then I will let you know about my results. In the meantime if someone has any other ideas why it doesn't work or how to debug it somehow I would appreciate.

                      1 Reply Last reply
                      0

                      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                      With your input, this post could be even better 💗

                      Register Login
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      18

                      Online

                      12.4k

                      Users

                      11.2k

                      Topics

                      113.5k

                      Posts


                      Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • MySensors
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular