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. Troubleshooting
  3. SOLVED: ESP8266 RFM69H Gateway

SOLVED: ESP8266 RFM69H Gateway

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 2 Posters 2.1k Views 1 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.
  • O Offline
    O Offline
    Omemanti
    wrote on last edited by Omemanti
    #1

    Hey,

    I got a little question regarding my ESP RFM gateway. I think the PCB should be oke.
    I got the ESP working, i can connect to it though MYSController but Sensors dont report to it.
    So I think, I may messed up my sketch or the connections between the ESP and the RFM.

    Is there someone who can Judge this?

    I cleaned up the Diagram. I should have plenty of caps for the ESP and RFM to work, 100Uf for the chips, some 100nf for and after the regulators.
    The question is, are the connections oke?
    0_1499418297327_upload-82fa2a3e-7435-4db2-9015-f9b32aca7dcd

    The second is my Gateway sketch.

    #ifdef ESP8266
    #define MY_RADIO_RFM69
    #define MY_RFM69_FREQUENCY RF69_868MHZ // Set your frequency here
    #define MY_IS_RFM69HW // Omit if your RFM is not "H"
    #define MY_RF69_IRQ_PIN 5 // GPIO5
    #define MY_RF69_IRQ_NUM MY_RF69_IRQ_PIN
    #define MY_RF69_SPI_CS 15 // NSS
    #endif
    

    I got this working on my NODEMCU but not on this PCB.

    If your willing to help out, that would be great!.
    Thnx.

    If I got it working, ill upload it to openhardware.io.

    13-7-2017: GPIO 4 & 5 are switched on the ESP12. changing the IRQ from 5 to 4 did the trick.

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

      Hi,

      would be easier if you could post your gw logs ;)

      O 1 Reply Last reply
      1
      • O Offline
        O Offline
        Omemanti
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        1
        • scalzS scalz

          Hi,

          would be easier if you could post your gw logs ;)

          O Offline
          O Offline
          Omemanti
          wrote on last edited by
          #4

          Here it is:

          Last line is when connecting MYScontroller

          when I boot up the sensor (with new uploaded sketches..) it stays silent.

          When I connect my other gateway a couple of minutes later, it start showing up at my other controllers

          0;255;3;0;9;TSF:LRT:OK
          0;255;3;0;9;TSM:INIT
          0;255;3;0;9;TSF:WUR:MS=0
          0;255;3;0;9;TSM:INIT:TSP OK
          0;255;3;0;9;TSM:INIT:GW MODE
          0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
          0;255;3;0;9;MCO:REG:NOT NEEDED
          scandone
          f 0, scandone
          state: 0 -> 2 (b0)
          state: 2 -> 3 (0)
          state: 3 -> 5 (10)
          add 0
          aid 4
          cnt 
          
          connected with ***************, channel 3
          ip:192.168.2.111,mask:255.255.255.0,gw:192.168.2.254
          .IP: 192.168.2.111
          0;255;3;0;9;MCO:BGN:STP
          0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
          pm open,type:2 0
          0;255;3;0;9;Client 0 connected
          
          1 Reply Last reply
          0
          • O Offline
            O Offline
            Omemanti
            wrote on last edited by
            #5

            Seems like the ESP-12 switches GPIO5 and GPIO4.

            Changing the the GPIO 5 => 4 did the trick:

            #define MY_RF69_IRQ_PIN 4 // GPIO5```
            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            26

            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