Open DrBlokmeister opened 2 years ago
I got it working. I wedged a 10 kOhm resistor between 3.3V and GPIO18 and changed the switch configuration to pin18:
switch:
- platform: gpio
name: "PMS7003_SET"
pin:
number: GPIO18
mode: OUTPUT
restore_mode: ALWAYS_ON
id: pms_set
I think your standard YAML file is wrong, as you need to use GPIO18 and not GPIO26.
Otherwise this issue can be closed.
Would you mind re-opening this for visibility? I had to do this too, and things now work great.
Reopened as the default yaml file is wrong.
Is that still valid? Sorry, but I do not work actively anymore on this project and can't help much. However, if pins are wrong, then the ESP32 board is different. Not sure if there is any changes with the new ESP32 boards. I remember that RX and TX pins are crossed according to the documentation of the board, even noted that in the documentation:
In the description of WeMos_D1_mini_ESP32 the pins for UART0 are crossed (TX is where RX is shown). It's easy to fix as you can select those pins but if you carefully check the pins you might wonder why is that.
Mine is working on GPIO26
What boards are you using? Maybe it needs another yaml/comment added to yaml just to help anyone in the future with the same board? For reference; I am using MH-ET LIVE esp32 minikit v2.0 with the current yaml
Hey! First of all thanks for your work on this project. I really appreciate it. It's the first time I ordered a custom PCB and I hope it will bring me to making more custom devices.
I have ordered your PCB, with the D1 mini ESP32, the MH-Z19 and PMS7003. Other sensors/components are still on their way.
Therefore I use a limited part of your config:
The readings from the CO2 sensor are just fine and roughly what I expect. However, I get no reading from the PMS7003.
Some observations:
I've thought about my PMS7003 being faulty, but I have no way to double check as I have no 1.25 mm pitch headers/converter cables.
I read somewhere online about pulling up the set pin. Is this required for this board?
Is there something else I should check before ordering a new sensor?