Menu

Problems with OLED display

2020-05-31
2020-06-10
  • Antonio Cruz Cabeza

    Hi Robert,

    I have just finished the project, it works great, but I am having problems with the OLED display, it freezes at startup and does not continue displaying all the information (see the video). I checked the OLED with the test program (by the way I believe there is a bug mixing OLEDTEXT and OLEDDISPLAY, I am attaching what I presume is a correct program) and it works.

    I try to find if there is a bug in the software but I am just a beginner in this so no way for me to do it...

    Could you give me some clues to find a solution.

    Regards

     
  • brownrb

    brownrb - 2020-06-01

    Hi Antonio

    i refer you to page 3 of the PDF "Getting help"
    Please follow the instructions there, and provide the necessary information outlined.
    If you help me with providing the information required, then I am better able to address your issue.

    Regards
    Robert

     
  • Antonio Cruz Cabeza

    Hi Robert,

    Thanks for your help.

    I installed the new 066 release and things continue the same...
    Find attached the controllerconfig.h file
    I have not been able to get the data_per.jsn file, the link to the instructions in the pdf is broken.
    Hope you could help me.

    The sensors connected are: rainsensor, BME280, and TSL2591

    Thanks in advance

     
    • brownrb

      brownrb - 2020-06-06

      Look in the PDF under using the webserver to download spiffs file

       
  • brownrb

    brownrb - 2020-06-06

    Without all the information I cannot help you. This is a very complex piece of software.
    In order to find an issue I have to recreate your environment. Without the correct details I cannot do that.

    WHAT YOU NEED TO PROVIDE WHEN ASKING FOR HELP
    • A detailed explanation of the problem outlining what happens and steps required to reproduce the problem
    • Your controllerconfig.h file so we know how to reproduce your settings
    • A copy of your data_per.jsn file is very useful [see here how to get this file]
    • A list of the actual sensors connected to your controller
    • Any modifications you have made to the existing official release code [as we assume you are using the official release unmodified you will be asked to only use the existing official release code; no support is available to help debug your code alterations]
    • We assume that you are using the current recommended versions of Arduino, Packages and
    Libraries as outlined in the Readme.md and firmware files. If this is NOT the case, you need to use
    the recommended versions for your environment]
    • Your network TCIP/IP addresses [we do NOT require your SSID or PASSWORD]
    • Your OS version, firmware revision number, and version numbers of applications you are using that causes the issue

     
  • Antonio Cruz Cabeza

    Hi Rober,

    Find attached my answers

    A detailed explanation of the problem outlining what happens and steps required to reproduce the problem

    the OLED display, it freezes at startup and does not continue displaying all the information (see the video). I checked the OLED with the test program and it works. I check with other OLED with the same result. The rest of the sensors seems to work properly, the readers seem correct.

    • Your controllerconfig.h file so we know how to reproduce your settings

    Attached

    • A copy of your data_per.jsn file is very useful [see here how to get this file]

    {"wsport":80,"wrefreshrate":0,"oledstate":0,"tsl2591gain":16,"tsl2591int":1,"tmode":0,"dmode":0,"tcpipport":2121,"mqttbrokerip":null,"k1":33,"k2":0,"k3":4,"k4":100,"k5":100,"k6":0,"k7":0,"tovercast":0,"tclear":-8,"cloudpercent":30,"jsonsupport":0,"dls":0,"dlssh":0,"dlssd":0,"dlssm":0,"dlseh":0,"dlsed":0,"dlsem":0,"tzom":0,"tzoh":0,"tgps":0,"mqttj":0,"gpsout":0,"xdomain":0}

    • A list of the actual sensors connected to your controller

    rainsensor, BME280, and TSL2591. Also I used the pcb board 2020 ver.

    • Any modifications you have made to the existing official release code [as we assume you are using the official release unmodified you will be asked to only use the existing official release code; no support is available to help debug your code alterations]

    No modifications

    • We assume that you are using the current recommended versions of Arduino, Packages and
    Libraries as outlined in the Readme.md and firmware files. If this is NOT the case, you need to use
    the recommended versions for your environment]

    I am using the recommended versions of Arduino 1.8. All the required libraries are installed (previous versions has been removed prior to this installation)

    • Your network TCIP/IP addresses [we do NOT require your SSID or PASSWORD]

    192.168.1.243 Fix address
    port 2121
    192.168.1.1 Gate

    • Your OS version, firmware revision number, and version numbers of applications you are using that causes the issue

    Windows 10
    Firmware 066 (tested with the same results with 060)
    Windows desktop application version 0.0.0.28

     
  • brownrb

    brownrb - 2020-06-10

    Hi Antonio
    Thank you for that.
    I see from data_per.json output is
    oledstate":0
    The oled is in an of state.
    In the PDF there is a section on using the Webserver. You have the web server enabled in controllerconfig.h

    So please look at the admin page of the webserver, as there is an option there to turn the oled display on or off. Currently it is in the off state. You can enable it from the admin page of the web server. The pdf explains how. I believe from memory goto the webserver, and add /admin to the url

    Regards
    Robert

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.