Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. Dieter_P
    D
    • Continue chat with Dieter_P
    • Start new chat with Dieter_P
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    Dieter_P

    @Dieter_P

    1
    Reputation
    5
    Posts
    201
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Dieter_P Follow

    Posts made by Dieter_P

    • RE: Atom Button at GPIO39 without Pullup?

      @macsbug

      Thank you very much. According my current research I cannot disable power safe function which includes wifi sleep. Reason behind is that I´am also using Bluetooth application and BLE + Wifi does not work in disabled power safe mode. According this discussion:
      https://github.com/esphome/issues/issues/2141#issuecomment-865688582

      Nevertheless, I activated adc power and longpress for user button for 2seconds. Since then I have not received any false signals and therefore I think I can deal with this and we have solution so far.

      Big Thx and greetings!

      posted in Atom
      D
      Dieter_P
    • RE: Atom Button at GPIO39 without Pullup?

      @macsbug

      Thx, I wasn´t aware that there are two models, Atom and Atom Lite so good to know.

      I have Atom Lite in use / bought some days ago.

      According your information I activated adc power for GPIO33 and will test if this will eleminate the pulses for GPIO39.

      Because GPIO33 has no pullup I can only see unstable signal from 0.05V to 0.6V at the moment.

      I cannot proof by oscilloscope so in case of several days without recognized pulses at GPIO39 I have to deal with this and assume that it will work in this case. More precise and professional measurement isn´t possible at my home.

      posted in Atom
      D
      Dieter_P
    • RE: Atom Button at GPIO39 without Pullup?

      @macsbug

      Thx. I am testing at the moment with longpress trigger >=2 seconds and no unwanted actions have been triggered so far.

      But if I understand your code right, you just included adc.h in general. Not directly specified and aligned for an GPIO e.g. GPIO39, right?

      I think I can make use from this and align ADC Power to an unused GPIO (e.g. GPIO 19, 22 or 23) from my Atom lite. This will include adc.h for software compiling (automatically by ESPHome) and activate ADC Power in general. This should then also be beneficial for GPIO39 and avoid theses pulses.

      wifi sleep I do not know if this can be disabled.

      posted in Atom
      D
      Dieter_P
    • RE: Atom Button at GPIO39 without Pullup?

      Big Tanks @felmue & @macsbug !

      Yes, I´m using Wifi in parallel and this sounds very similar to my identified behaviour. I´m not skilled in programming and using standard software solution ESPHome.
      During compiling process the SDK version is shown:

      Processing esp32 (board: m5stack-core-esp32; framework: arduino; platform: platformio/espressif32 @ 3.3.2)

      This seems to be newer than reported in this github issue?

      @macsbug as linked by you I have to check if can make use of the workaround by turning on the ADC power.

      In general it is not clear mentioned if this problem only occur for millisecond or so? So in case of only a quick signal switch on/off I would prefer a woraround by making use of a "longpress-function". For usability longpress of e.g. 2 seconds is ok for me and in case the wifi/interrupt case will never switch longer 1 second this should work.....what do you thing about it?

      posted in Atom
      D
      Dieter_P
    • Atom Button at GPIO39 without Pullup?

      Hi
      I´m using my first M5Stack and it´s a Atom Lite. The button of the device it like to use to toggle dedicated events from my central home automation system, but I am wondering because the events are triggered and nobody has pushed the button of the Atom lite. So I started to research and found that the button is connected to GPIO39 which is sensor_VN at the ESP32 pico which can only be used as input and has no pullup or pulldown resistor.
      I can only find a simplyfied schematic of the Atom Lite and there is shown that GND is connected to the User Button at the Atom.

      So what has been done inside? Is there any pullup or pulldown resistor or in case of no closed user button to GND the result will be undefined ....

      I struggeling with such design for a product and please can anyone clarify if GPIO39 of the user button might send sometimes some wrong values because of missing pullup resistor?

      Big Thx!

      posted in Atom
      D
      Dieter_P