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. Please help! Arduino UNO + RFM69HW (TSM:INIT:TSP FAIL)

Please help! Arduino UNO + RFM69HW (TSM:INIT:TSP FAIL)

Scheduled Pinned Locked Moved Hardware
23 Posts 4 Posters 3.3k Views 3 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.
  • scalzS Offline
    scalzS Offline
    scalz
    Hardware Contributor
    wrote on last edited by scalz
    #2

    Hello,

    A few things are wrong I think:

    • RFM69 'HW' variant needs this define in your relay sketch:
    #define MY_IS_RFM69HW
    

    you can check docs here ;) https://www.mysensors.org/download/sensor_api_20#configuration

    • RFM69 is not 5v tolerant on VCC, nor the spi bus. you're using a UNO, I understand you're using 3v, but UNO mcu is powered by 5v and outputs 5v signals on spi bus as (I think the 'not 5v tolerant' is in docs too. maybe we should highlight it
    1 Reply Last reply
    0
    • vladimirV Offline
      vladimirV Offline
      vladimir
      wrote on last edited by
      #3

      @scalz, many thanks for the reply and the desire to help!

      I understand what you are talking about, but for now I can figure out how to solve it.
      Perhaps you have ideas?

      Replace Arduino board with Pro Mini 3.3V?

      mfalkviddM 1 Reply Last reply
      0
      • vladimirV vladimir

        @scalz, many thanks for the reply and the desire to help!

        I understand what you are talking about, but for now I can figure out how to solve it.
        Perhaps you have ideas?

        Replace Arduino board with Pro Mini 3.3V?

        mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by mfalkvidd
        #4

        @vladimir yes, either replace with a 3.3V board or use a level converter.

        vladimirV 1 Reply Last reply
        0
        • mfalkviddM mfalkvidd

          @vladimir yes, either replace with a 3.3V board or use a level converter.

          vladimirV Offline
          vladimirV Offline
          vladimir
          wrote on last edited by
          #5

          @mfalkvidd I'm not properly connected? In the photo above. He's turned over there.
          alt text

          1 Reply Last reply
          0
          • gohanG Offline
            gohanG Offline
            gohan
            Mod
            wrote on last edited by
            #6

            That is the voltage regulator like the one on the arduino that supplies the 3.3v pin, but the Arduino is using 5v also on the other GPIO pins and that usually could kill the RFM69 that should operate at 3.5V max on data pins

            vladimirV 1 Reply Last reply
            0
            • gohanG gohan

              That is the voltage regulator like the one on the arduino that supplies the 3.3v pin, but the Arduino is using 5v also on the other GPIO pins and that usually could kill the RFM69 that should operate at 3.5V max on data pins

              vladimirV Offline
              vladimirV Offline
              vladimir
              wrote on last edited by
              #7

              @gohan what regulator can you advise? Can you show an example?

              mfalkviddM 1 Reply Last reply
              0
              • gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by
                #8

                search for "logic level shifter"

                vladimirV 1 Reply Last reply
                0
                • vladimirV vladimir

                  @gohan what regulator can you advise? Can you show an example?

                  mfalkviddM Offline
                  mfalkviddM Offline
                  mfalkvidd
                  Mod
                  wrote on last edited by
                  #9

                  @vladimir the shopping guide at https://www.mysensors.org/build/connect_radio lists a logic level shifter.

                  vladimirV 1 Reply Last reply
                  0
                  • gohanG gohan

                    search for "logic level shifter"

                    vladimirV Offline
                    vladimirV Offline
                    vladimir
                    wrote on last edited by
                    #10

                    @gohan thank you very much for your help! :raised_hands:

                    1 Reply Last reply
                    0
                    • mfalkviddM mfalkvidd

                      @vladimir the shopping guide at https://www.mysensors.org/build/connect_radio lists a logic level shifter.

                      vladimirV Offline
                      vladimirV Offline
                      vladimir
                      wrote on last edited by
                      #11

                      @mfalkvidd thank you very much for your help! :+1: :v:

                      1 Reply Last reply
                      1
                      • gohanG Offline
                        gohanG Offline
                        gohan
                        Mod
                        wrote on last edited by
                        #12

                        I hope you didn't fry the rfm69, so in case you are still having problems with the level shifter connected try with another module

                        vladimirV 1 Reply Last reply
                        1
                        • gohanG gohan

                          I hope you didn't fry the rfm69, so in case you are still having problems with the level shifter connected try with another module

                          vladimirV Offline
                          vladimirV Offline
                          vladimir
                          wrote on last edited by
                          #13

                          @gohan I'm afraid that they suffered greatly during my experiments. I'll try with the new ones. Can you tell me how to connect the converter?

                          1 Reply Last reply
                          0
                          • mfalkviddM Offline
                            mfalkviddM Offline
                            mfalkvidd
                            Mod
                            wrote on last edited by mfalkvidd
                            #14

                            https://learn.sparkfun.com/tutorials/bi-directional-logic-level-converter-hookup-guide and https://learn.adafruit.com/neopixel-levelshifter/shifting-levels are pretty extensive guides

                            vladimirV 1 Reply Last reply
                            0
                            • mfalkviddM mfalkvidd

                              https://learn.sparkfun.com/tutorials/bi-directional-logic-level-converter-hookup-guide and https://learn.adafruit.com/neopixel-levelshifter/shifting-levels are pretty extensive guides

                              vladimirV Offline
                              vladimirV Offline
                              vladimir
                              wrote on last edited by
                              #15

                              @mfalkvidd Thank you! I hope I can figure it out. To regret, my knowledge of English is not very great. As I understand it, the connection scheme will be the most similar to this:
                              alt text
                              I'm right?

                              mfalkviddM 1 Reply Last reply
                              0
                              • vladimirV vladimir

                                @mfalkvidd Thank you! I hope I can figure it out. To regret, my knowledge of English is not very great. As I understand it, the connection scheme will be the most similar to this:
                                alt text
                                I'm right?

                                mfalkviddM Offline
                                mfalkviddM Offline
                                mfalkvidd
                                Mod
                                wrote on last edited by
                                #16

                                @vladimir yes, that looks great (except for the brown cable that doesn't go through the level shifter)

                                vladimirV 1 Reply Last reply
                                0
                                • mfalkviddM mfalkvidd

                                  @vladimir yes, that looks great (except for the brown cable that doesn't go through the level shifter)

                                  vladimirV Offline
                                  vladimirV Offline
                                  vladimir
                                  wrote on last edited by
                                  #17

                                  @mfalkvidd So I do not like the converter for 4 channels?
                                  Here this is indicated by the link you gave me above
                                  alt text
                                  It will take 5? More precisely 8-channel version?

                                  mfalkviddM 1 Reply Last reply
                                  0
                                  • vladimirV vladimir

                                    @mfalkvidd So I do not like the converter for 4 channels?
                                    Here this is indicated by the link you gave me above
                                    alt text
                                    It will take 5? More precisely 8-channel version?

                                    mfalkviddM Offline
                                    mfalkviddM Offline
                                    mfalkvidd
                                    Mod
                                    wrote on last edited by mfalkvidd
                                    #18

                                    @vladimir you will need to shift all signals. You can use multiple 4x boards, or a bigger board.

                                    Edit: maybe miso and dio0 don't need to be shifted, since the Arduino only reads from it. But I am not 100% sure.

                                    vladimirV 1 Reply Last reply
                                    0
                                    • mfalkviddM mfalkvidd

                                      @vladimir you will need to shift all signals. You can use multiple 4x boards, or a bigger board.

                                      Edit: maybe miso and dio0 don't need to be shifted, since the Arduino only reads from it. But I am not 100% sure.

                                      vladimirV Offline
                                      vladimirV Offline
                                      vladimir
                                      wrote on last edited by
                                      #19

                                      @mfalkvidd Thank you! :raised_hands: I'll try tomorrow.

                                      1 Reply Last reply
                                      0
                                      • gohanG Offline
                                        gohanG Offline
                                        gohan
                                        Mod
                                        wrote on last edited by
                                        #20

                                        4ch is enough as the brown cable is the interrupt signal so it's just an input on the arduino

                                        vladimirV 1 Reply Last reply
                                        0
                                        • gohanG gohan

                                          4ch is enough as the brown cable is the interrupt signal so it's just an input on the arduino

                                          vladimirV Offline
                                          vladimirV Offline
                                          vladimir
                                          wrote on last edited by
                                          #21

                                          @gohan @mfalkvidd Tell me please, can I connect the converter like this? If not, please explain why.
                                          alt text

                                          Let me remind you, in the example was like this:
                                          alt text

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          16

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.1k

                                          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