-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sleep PMSA003 via SET pin #6
Comments
If you get the hardware design done i have re-wrtiiten the ESPHome YAML to to enable deepsleep and run on battery, but the sensors consume too much power even with the ESP is in deepsleep to make this work. I will publish the code into the main branch as a new subset code |
The hardware design has support for a high side P-channel MOSFET to completely remove power to the PMSA003. I've never tested it, but I suspect it'd work and I can help answer questions if anyone wants to try it out! To use it you'd need to do the following steps:
Note: to prevent leakage you may need to put |
Also it's worth noting that the Data sheet says that active current is There's also |
Which t display I/O is the PMS set pin connected to on the circuit board?
…Sent from my iPhone
On Oct 18, 2021, at 9:38 AM, Kyle Manna ***@***.***> wrote:
Also it's worth noting that the PMS_SET pin will put the PMSA003 in to a sleep/sleep mode if it is driven low with no hardware modifications.
Data sheet says that active current is < 100 mA and that the standby current is < 200 μA.
There's also CMD=0xe4 which allows you to command sleep mode via the UART, but I figure that driving the PMS_SET pin is considerably easier.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
How exactly do you turn on sleep mode? You mention there is no hardware modification, is there an esp configuration? |
There is now a way to set the wake interval via the TX pin on the PMSX003 sensor. for the sniffer project, all I had to do was add: see here for sample config: |
I want to preserve the life of my PMS sensor by letting it sleep and getting a measurement every 5 min or so.
Blog post mentions: "some high side P channel MOSFET that would allow me to turn off the various sensors if I wanted to make this battery powered and needed more power management."
My understanding is the TTGo T-display does NOT have any GPIO's with built in 10k pullup like the D1 mini has.
Do I need to add a high side P channel MOSFET or a 10k pull up resistor somewhere in order to accomplish this?
The text was updated successfully, but these errors were encountered: