Search found 216 matches
- Sat Jan 04, 2020 11:19 pm
- Forum: Development of MicroPython
- Topic: drivers/dht improvements (take 2)
- Replies: 19
- Views: 11588
Re: drivers/dht improvements (take 2)
The start() or convert() method (I can't decide what the name should be) returns milliseconds to wait. I picked that for expediency more than anything else. Less than one ms and it seems better to just sleep right there... I believe where "my" model breaks is when there are multiple steps or multipl...
- Sat Jan 04, 2020 1:34 am
- Forum: General Discussion and Questions
- Topic: mixing asyncio and physical I/O
- Replies: 3
- Views: 2050
Re: mixing asyncio and physical I/O
Hey, thank for the reply and for reminding me of that PR. Now my question is how to get that PR merged... I'll probably see what happens if I merge it into my fork.
- Sat Jan 04, 2020 1:32 am
- Forum: Development of MicroPython
- Topic: drivers/dht improvements (take 2)
- Replies: 19
- Views: 11588
Re: drivers/dht improvements (take 2)
Question about the overall model. I want to use other sensors, such as bme680, si7021, sht31 with asyncio. They all need their time to perform a data acquisition. Fortunately, they have a more sane i2c interface than the dht so there's no time-critical sleep. The question I have is the following: yo...
- Sat Jan 04, 2020 12:39 am
- Forum: General Discussion and Questions
- Topic: OTA Firmware update with pure uPy script possible?
- Replies: 10
- Views: 6410
Re: OTA Firmware update with pure uPy script possible?
I don't see much of an issue in doing OTA in mostly python. There is support in ESP-IDF for the esp32 (I can't comment on the esp8266 as I have not kept track of developments): https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/system/ota.html The arduino (esp32) Updater class is a ...
- Fri Jan 03, 2020 7:22 pm
- Forum: General Discussion and Questions
- Topic: mixing asyncio and physical I/O
- Replies: 3
- Views: 2050
mixing asyncio and physical I/O
I'm trying to understand how asyncio and physical I/O mix. Do I understand correctly that if I call UART.read() in a coroutine and read blocks then the entire asyncio thread is blocked, not just the coroutine? DO I have to write a wrapper, perhaps using UART.irq? BTW, what's the best documentation f...
- Wed Jan 01, 2020 10:14 pm
- Forum: ESP8266 boards
- Topic: [Solved] UART for a PMS7003 sensor gives weird output.
- Replies: 6
- Views: 6598
Re: [Solved] UART for a PMS7003 sensor gives weird output.
FYI, if you're powering the device from 3.3V the fan will run at a lower speed, which will reduce the airflow, which will impact the accuracy of the measurements.