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. Ethernet Gateway debug to LCD

Ethernet Gateway debug to LCD

Scheduled Pinned Locked Moved Development
10 Posts 6 Posters 2.4k Views 7 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.
  • W Offline
    W Offline
    wokwon
    wrote on last edited by
    #1

    The ethernet gateway with debug turned on logs to the serial port.

    How can we redirect this to an LCD screen, e.g. driven by u8glib or similar? My gateway is no longer in a convienient location to attach via USB to perform logging when I add new nodes now. I have a bunch of 320x240 LCDs (SPI or I2C ) available.

    alexsh1A 1 Reply Last reply
    0
    • M Offline
      M Offline
      MikeF
      wrote on last edited by
      #2

      If you've got an Android phone, an alternative would be to connect an HC-05 Bluetooth module (Tx, Rx, Vcc, GND), and use an app such as BlueTerm to monitor the serial output.

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wokwon
        wrote on last edited by
        #3

        Thanks MikeF, that's good idea for a plan B.

        1 Reply Last reply
        0
        • W wokwon

          The ethernet gateway with debug turned on logs to the serial port.

          How can we redirect this to an LCD screen, e.g. driven by u8glib or similar? My gateway is no longer in a convienient location to attach via USB to perform logging when I add new nodes now. I have a bunch of 320x240 LCDs (SPI or I2C ) available.

          alexsh1A Offline
          alexsh1A Offline
          alexsh1
          wrote on last edited by
          #4

          @wokwon This is a personal view, but with an ethernet GW all you need is MYSController to monitor logs.

          1 Reply Last reply
          0
          • W Offline
            W Offline
            wokwon
            wrote on last edited by
            #5

            Alexsh1, good point however it doesn't have the Hollywood-wow factor of a LCD scrolling random crap.

            B 1 Reply Last reply
            0
            • W wokwon

              Alexsh1, good point however it doesn't have the Hollywood-wow factor of a LCD scrolling random crap.

              B Offline
              B Offline
              boozz
              wrote on last edited by
              #6

              @wokwon
              thinking of your problem...:
              Have you considered using an dedicated repeater-node (node 1) receiving all the info from your nodes and sending all info to the gateway (node 0). This node 1 could function as an echo device, sending all info to a special node on which you attach your lcd screen. Using debug on node 1 and echo-ing it to the LCD would be an option as well.

              downside at this moment is that it requires node numbering in hardware I think...

              AWIA 1 Reply Last reply
              0
              • B boozz

                @wokwon
                thinking of your problem...:
                Have you considered using an dedicated repeater-node (node 1) receiving all the info from your nodes and sending all info to the gateway (node 0). This node 1 could function as an echo device, sending all info to a special node on which you attach your lcd screen. Using debug on node 1 and echo-ing it to the LCD would be an option as well.

                downside at this moment is that it requires node numbering in hardware I think...

                AWIA Offline
                AWIA Offline
                AWI
                Hero Member
                wrote on last edited by
                #7

                @boozz in development you can attach sensors to the gateway. As the gateway is node "0" it receives al info and can display (or forward to another node) as V_TEXT.

                1 Reply Last reply
                0
                • W Offline
                  W Offline
                  wokwon
                  wrote on last edited by
                  #8

                  Necro'ing this topic but I thought I'd post the solution.

                  I was stuffing around with ILI9341 displays on an Arduino Pro Mini but couldn't really get them to work properly at 115,200 baud, even if I increased the serial buffer to 1k.

                  Instead, I got a NodeMCU v1.1, and installed the excellent ESP-LINK firmware on it.

                  I now have a serial console via Wifi to the Mysensors controller with close to zero effort on my part.

                  The only change I needed to make (on the Sensebender Ethernet Gateway) was the following line to direct the output to the serial port in the MYSX connector:

                  #define MY_SERIALDEVICE Serial1
                  

                  0_1512272219309_esp.PNG

                  dbemowskD 1 Reply Last reply
                  1
                  • W wokwon

                    Necro'ing this topic but I thought I'd post the solution.

                    I was stuffing around with ILI9341 displays on an Arduino Pro Mini but couldn't really get them to work properly at 115,200 baud, even if I increased the serial buffer to 1k.

                    Instead, I got a NodeMCU v1.1, and installed the excellent ESP-LINK firmware on it.

                    I now have a serial console via Wifi to the Mysensors controller with close to zero effort on my part.

                    The only change I needed to make (on the Sensebender Ethernet Gateway) was the following line to direct the output to the serial port in the MYSX connector:

                    #define MY_SERIALDEVICE Serial1
                    

                    0_1512272219309_esp.PNG

                    dbemowskD Offline
                    dbemowskD Offline
                    dbemowsk
                    wrote on last edited by
                    #9

                    @wokwon You missed the part about the Hollywood wow factor of a LCD scrolling random crap...

                    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                    W 1 Reply Last reply
                    0
                    • dbemowskD dbemowsk

                      @wokwon You missed the part about the Hollywood wow factor of a LCD scrolling random crap...

                      W Offline
                      W Offline
                      wokwon
                      wrote on last edited by wokwon
                      #10

                      @dbemowsk Nah it's better, I run around with a Surface tablet and look like I'm on %random_forensic_crime_drama% How much more Hollywood can one get?

                      I did split the serial and send it both to the NodeMCU and the TFT screen, but the TFT kept missing lines as it couldn't keep up (rather the Arduino Pro Mini couldn't keep up) so while it'd look nice, was useless for debugging purposes.

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


                      23

                      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