Gateway + Oled ?



  • Hello,
    First of all, I apologize for my language, which comes from the translation.

    I discover MySensors, and I see that great work has been done to develop this system, congratulations!

    I use Domoticz with a PI3B, and I wanted to install a 4x4 keyboard with a small Oled screen. A way to be able to stop the alarm if the Wifi or internet is no longer present, yes it happens...
    So I discover MySensors, I say to myself why try?
    So I get a Nano+Keypad+Oled I2C.
    The Nano is the Gataway and connected via USB to >RPI 3B.
    During my PC tests connected to the Nano, my program works very well.
    On the other hand, when I plug it into Domoticz, the Nano bugs quite quickly and Domoticz drops it.
    My question: is it possible to make the whole thing work??? There seems to be a conflict with the serial port and I2C.
    What do you think?
    Thank you in advance for your replies.
    A+



  • Hello
    I didn't understand very well, do you already have a mysensors network with nodes in use?

    How does Domoticz dialogue with mysensors nodes?
    Which Mysensors sketch and on the GatewayUSB+Oled-Key?



  • Hello,
    Thanks to @JeeLee for answering me.
    This is the only and first MySensors network that I am installing. There is no RADIO, only the Gateway_Serial USB link.
    This morning I changed the Adafruit_SSD1306 & GFX library of the Oled to that of Tiny4kOLED and for the moment everything seems to be working correctly.
    Here is my setup:MySensors2a.png

    And the beginning of the code:
    MySensors3a.png

    If I run into any problems again, I'll come back here.
    Cordially.



  • bravo
    a very complete scheme, yes there are so many possible architectures, it's not easy to see from a distance.

    Good discovery of MySensors (a good old bottle)



  • Hello,
    The project is complete and working well.
    I attach photos to feed the album of the site.
    MySensors2b.png

    MySensors2c.png

    Sincerely.



  • nice realization, clean and modern 🙂

    can be already used, but foresee a protection of the OLED display, yes it is "marked" easily

    on my Gateway GUI I have the function ( différente suivant la librairie )

    oled.ssd1306WriteCmd(SSD1306_DISPLAYOFF); // set the OLED display to OFF
    

    a key press on the keyboard and the screen turns on for an hour.



  • Hello Jeelet,

    Thank you for the encouragements.
    Your advice to save (protect) the Oled screen is also welcome, thank you.
    My code expects it, the text is mini and moves every 3 seconds. Press a key and the menu returns.

    MySensors2d.png

    Cordially.


Log in to reply
 

Suggested Topics

  • 87
  • 5
  • 6
  • 7
  • 10
  • 5

18
Online

11.4k
Users

11.1k
Topics

112.7k
Posts