Search found 5078 matches
- Fri Apr 16, 2021 11:38 am
- Forum: ESP32 boards
- Topic: ESP-Now support for ESP32 (and ESP8266)
- Replies: 67
- Views: 7931
Re: ESP-Now support for ESP32 (and ESP8266)
...I'm not sure if it is useful to handle such a small delay with asyncio. Fair point. A non-sync send() returns in less than a millisecond. As the ESP-Now docs say, these responses come from very low down in the network stack and don't guarantee the message has been or will ever be received by an ...
- Fri Apr 16, 2021 11:30 am
- Forum: General Discussion and Questions
- Topic: Installing uasyncio V3
- Replies: 4
- Views: 199
Re: Installing uasyncio V3
upip is intended to run on a device with a network connection. For non-networked targets there is micropip which runs under CPython and enables libraries to be installed to a PC's filesystem: the result can then be copied to the target's filesystem.
- Fri Apr 16, 2021 11:26 am
- Forum: ESP32 boards
- Topic: DAC Problem
- Replies: 2
- Views: 73
Re: DAC Problem
The other option is to use a host with a decent DAC such as a Pyboard. Note that, in my testing, the ESP32 DAC is also adrift at the high end of its range.
- Thu Apr 15, 2021 7:46 am
- Forum: General Discussion and Questions
- Topic: Fade 1 image to show another.
- Replies: 6
- Views: 270
GC9A01 display driver
OK, so the question is whether anyone has written a MicroPython driver for the GC9A01 display. I'm not aware of one, and a forum search draws a blank. You may have to DIY. This usually involves porting Arduino C code to MicroPython, a task that requires familiarity with low level coding in both lang...
- Thu Apr 15, 2021 7:37 am
- Forum: MicroPython pyboard
- Topic: Input voltage limit, V+ as output, and actuator power supply options
- Replies: 4
- Views: 155
Re: Input voltage limit, V+ as output, and actuator power supply options
The two V+ pins are connected together so what you're suggesting would work. However that is not how I'd wire it as the current for your peripherals would pass through the Pyboard's PCB traces. If high currents are involved - and you mentioned actuators - this is not a good idea. Better to power the...
- Thu Apr 15, 2021 7:30 am
- Forum: ESP8266 boards
- Topic: Difference between print() and uart.write()
- Replies: 4
- Views: 128
Re: Difference between print() and uart.write()
I don't really understand what you're doing here, perhaps you could clarify. The purpose of print() and uart.write() are entirely different. This is a session on a Pyboard: >>> from pyb import UART >>> uart = UART(1) >>> uart.write(b'\xff\xfd\x18') 3 >>> uart.write returns 3 because 3 bytes were tra...
- Thu Apr 15, 2021 7:21 am
- Forum: ESP32 boards
- Topic: ESP-Now support for ESP32 (and ESP8266)
- Replies: 67
- Views: 7931
Re: ESP-Now support for ESP32 (and ESP8266)
@glenn20 This looks great and you've written some excellent docs :D Re uasyncio support, is it possible to instantiate a StreamWriter associated with a specific peer? This only makes sense where the underlying send has sync=True - otherwise you'd just use a synchronous send . But I can see a use cas...
- Wed Apr 14, 2021 12:14 pm
- Forum: MicroPython pyboard
- Topic: Input voltage limit, V+ as output, and actuator power supply options
- Replies: 4
- Views: 155
Re: Input voltage limit, V+ as output, and actuator power supply options
I'd never spotted that discrepancy, believing 16V was the limit on a Pyboard 1.x. The voltage regulator is rated to 16V and has thermal shutdown, so nothing will go bang, but whether the regulator will start to shut down at 16V depends on factors such as whether you draw power from 3V3, on PCB layou...
- Wed Apr 14, 2021 9:25 am
- Forum: General Discussion and Questions
- Topic: Fade 1 image to show another.
- Replies: 6
- Views: 270
Re: Fade 1 image to show another.
You might be more likely to get a response if you told us what hardware you plan to use: display type and host device.
- Wed Apr 14, 2021 9:22 am
- Forum: General Discussion and Questions
- Topic: Installing uasyncio V3
- Replies: 4
- Views: 199
Re: Installing uasyncio V3
In general there is no need to compile from source, unless you want to use "advanced" features like frozen bytecode. Daily builds are available here - simply download and install the latest "unstable" build. Despite the name, automated testing ensures that problems with these builds are very rare. A...