skotopes / flipperzero_mhz19_uart

12 stars 2 forks source link

Thoughts on multiple UARTs? #1

Open johnboiles opened 11 months ago

johnboiles commented 11 months ago

I've got both a MHZ-19 CO2 sensor (connected to A6 using PWM mode) and a PMS5003 particulate sensor (connected via UART) on the same expansion board. IMG_3716

I'd love to switch over to using this UART implementation for the MHZ-19 but of course that will probably not play well with my PMS5003 which is already using the UART. So I'm opening this issue to discuss ways to potentially use both at the same time. Here are the ideas I have so far:

What do you think the best route forward would be?

skotopes commented 10 months ago

Just use second uart to communicate with your e second sensor.

johnboiles commented 10 months ago

Oh, I didn't realize it had two and it looks like you already use it by default in this app right (pins 15 + 16)? I'll give it a try!