Help me build a RFM69 gateway using wemos d1 + keyestudio RFM69 shield

  • Hi!
    I am trying to build a RFM69 gateway with wemos d1 and keyestudio RFM69 shield. The code is compiled and uploaded but I see no serial log nor wifi connection. It just doesn't show anything. Can I set up the gateway? Thanks in advance.

    • arduino ide 2.3.2
    • mysensors 2.3.2
    • esp8266 board 2.7.4 (ver 3.1.2 won't upload the code)

    The RFM69 shield is from Keyestudio.

    Here's the code.

    // Enable debug prints to serial monitor
    #define MY_DEBUG

    // Use a bit lower baudrate for serial prints on ESP8266 than default in MyConfig.h
    #define MY_BAUD_RATE 9600

    // Enables and select radio type (if attached)
    #define MY_RADIO_RFM69
    #define MY_RFM69_FREQUENCY RFM69_868MHZ // Set your frequency here
    #define MY_IS_RFM69HW

    #define MY_GATEWAY_ESP8266

    #define MY_WIFI_SSID "**"
    #define MY_WIFI_PASSWORD "

    // Set the hostname for the WiFi Client. This is the hostname
    // it will pass to the DHCP server if not static.
    #define MY_HOSTNAME "WEMOSD1_GW"

    // Enable MY_IP_ADDRESS here if you want a static ip address (no DHCP)
    #define MY_IP_ADDRESS 192,168,0,146

    // If using static ip you can define Gateway and Subnet address as well
    #define MY_IP_GATEWAY_ADDRESS 192,168,0,1
    #define MY_IP_SUBNET_ADDRESS 255,255,255,0

    // The port to keep open on node server mode
    #define MY_PORT 5003

    // How many clients should be able to connect to this gateway (default 1)

    #include <MySensors.h>

    void setup()
    // Setup locally attached sensors

    void presentation()
    // Present locally attached sensors here

    void loop()
    // Send locally attached sensors data here

Log in to reply

Suggested Topics