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. Development
  3. Imitating a LoRaWAN(R) with ESP8266/ESP32 and MySensors

Imitating a LoRaWAN(R) with ESP8266/ESP32 and MySensors

Scheduled Pinned Locked Moved Development
3 Posts 2 Posters 28 Views 2 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.
  • OldSurferDudeO Offline
    OldSurferDudeO Offline
    OldSurferDude
    wrote on last edited by
    #1

    Re: Gateways

    Re: Gateways

    I got interested in LoRaWAN(R). It actually looks much like MySensors, with long range radios. In fact, MySensors supports the rfm95 radio that is identical (?) to the LoRa radio.

    So I built a MySensors Gateway with an rfm95 radio running on an ESP-12F (Arduino board Generic ESP8266 Module) and a MySensors relay node running on an ESP32 WR-32 Development Board (Arduino board DOIT ESP32 DEVKIT V1). I included Over-the-Air (OTA) code, which is quite handy when it works. I was pretty impressed with a range of 25m through five walls...the WiFi didn't go that far!

    Here's the challenge, though. The ESP-12F does not have a lot of storage. Every "node" connecting to it will take a bit of that. How many nodes can attach to this gateway?

    I don't think a MySensors rfm95 sensor network could compete with a LoRaWan(R) network on specs. But when a LoRa humidity/temperature sensor goes for € 44, I think a DiY'er could justify a few compromises.

    mfalkviddM 1 Reply Last reply
    0
    • OldSurferDudeO OldSurferDude

      Re: Gateways

      Re: Gateways

      I got interested in LoRaWAN(R). It actually looks much like MySensors, with long range radios. In fact, MySensors supports the rfm95 radio that is identical (?) to the LoRa radio.

      So I built a MySensors Gateway with an rfm95 radio running on an ESP-12F (Arduino board Generic ESP8266 Module) and a MySensors relay node running on an ESP32 WR-32 Development Board (Arduino board DOIT ESP32 DEVKIT V1). I included Over-the-Air (OTA) code, which is quite handy when it works. I was pretty impressed with a range of 25m through five walls...the WiFi didn't go that far!

      Here's the challenge, though. The ESP-12F does not have a lot of storage. Every "node" connecting to it will take a bit of that. How many nodes can attach to this gateway?

      I don't think a MySensors rfm95 sensor network could compete with a LoRaWan(R) network on specs. But when a LoRa humidity/temperature sensor goes for € 44, I think a DiY'er could justify a few compromises.

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

      @OldSurferDude the max number of nodes is 253, as with any MySensors gateway.

      The esp-12f has a lot more resources than an atmega328.

      OldSurferDudeO 1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        @OldSurferDude the max number of nodes is 253, as with any MySensors gateway.

        The esp-12f has a lot more resources than an atmega328.

        OldSurferDudeO Offline
        OldSurferDudeO Offline
        OldSurferDude
        wrote on last edited by
        #3

        @mfalkvidd Yes, I understand that 253 is the software limit. I was wondering about the hardware limit.

        For example, my Asus router has a software limit of 253 devices. But when I get 20-25 WiFi devices trying to connect, the network goes haywire. (pun intended ;) ) I am quite convinced that this is a hardware limitation of the router because the router has to carry some information about each connection.

        If the gateway is dumb, that is, carries no information about any connection, then it could truly have 253 connections. After a bit of contemplation, I realize that the name, gateway, implies this.

        If that is the case, it is good news for the DiY'er in that this very inexpensive and cheap hardware could stand in for a LoRaWAN, again, with a number of compromises.

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


        14

        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