Search found 88 matches

by mathieu
Thu Sep 02, 2021 4:40 pm
Forum: ESP8266 boards
Topic: network.WLAN(network.STA_IF).connect results in reset loop
Replies: 7
Views: 5164

Re: network.WLAN(network.STA_IF).connect results in reset loop

Same issue here on an ESP01S. What might be of interest is that once I create the problem (by attempting to connect to my wifi network), it persists after physically switching the power off and back on again. Only way I've found to make the problem go away is to re-flash the firmware (this is on μPy...
by mathieu
Tue May 11, 2021 3:05 pm
Forum: General Discussion and Questions
Topic: I2S project - ESP32
Replies: 1
Views: 1371

Re: I2S project - ESP32

You might have already seen this, but https://github.com/miketeachman/micropy ... s-examples seems like a good place to start.
by mathieu
Sun May 02, 2021 10:03 am
Forum: Development of MicroPython
Topic: uasyncio scheduling algorithm
Replies: 12
Views: 11580

Re: uasyncio scheduling algorithm

I'm wondering if significant changes have happened re: this issue over the past 4 years. My use case is that I have time-critical (pushing data to an I2S amp) and non-time-critical (monitoring gyroscope readings and various switches) coroutines, and I'd like to prioritize the former. What happens wh...
by mathieu
Sun Apr 11, 2021 5:30 pm
Forum: MicroPython pyboard
Topic: Reading multiples waves files in the same time
Replies: 3
Views: 3379

Re: Reading multiples waves files in the same time

To expand on pythoncoder's answer, I think the real hard part here would be to read "on the fly" or to store in memory 20 mn of non-repeating music, at a reasonably good sounding bitrate. If a lot of the audio is repeated (e.g. mixing single-tone piano notes with short percussion clips and one or mo...
by mathieu
Sun Feb 21, 2021 4:19 pm
Forum: General Discussion and Questions
Topic: Starting coding
Replies: 5
Views: 2247

Re: Starting coding

Excellent question: as the parent of a 9-year-old I've been curious about these lego/micropython bricks for a while now, but from reading official descriptions it was never entirely clear how this differs (or not) from a lego-less microcontroller. So I'm also interested in a good place to learn more...
by mathieu
Mon Feb 08, 2021 8:24 am
Forum: Pyboard D-series
Topic: Elegant Physical Config for Pyboard D
Replies: 17
Views: 10850

Re: Elegant Physical Config for Pyboard D

I've always been amazed that it's possible to align the wbus connectors with the required degree of precision. Two comments: first, the WBUS pads are only 200 microns wide, so a reasonable visual alignment (using a binocular scope) is likely to be good to 20 microns or better, which is really not t...
by mathieu
Sun Feb 07, 2021 12:37 pm
Forum: Pyboard D-series
Topic: Elegant Physical Config for Pyboard D
Replies: 17
Views: 10850

Re: Elegant Physical Config for Pyboard D

Hi all, I understand Peter's reluctance to design a DIP32 based on the WBUS connectors, but in case someone finds it useful, here's my attempt at something like that: https://github.com/mdaeron/pybd-breakout . The soldering wasn't too hard using low-temperature solder paste, an adjustable heating pl...
by mathieu
Thu Jan 21, 2021 7:15 pm
Forum: MicroPython pyboard
Topic: How a pyboard can request the runnig of a program on a computer ?
Replies: 3
Views: 2218

Re: How a pyboard can request the runnig of a program on a computer ?

This is a very non-specific answer, but you could look at pyb.USB_VCP() and set up some flavor of two-way communication between the host computer and the pyboard.

https://docs.micropython.org/en/latest/ ... B_VCP.html
by mathieu
Mon Jan 11, 2021 9:18 pm
Forum: Pyboard D-series
Topic: Unable to write numpy arrays to '.txt' or '.DAP' files on SD
Replies: 5
Views: 4684

Re: Unable to write numpy arrays to '.txt' or '.DAP' files on SD

monquarter wrote:
Mon Jan 11, 2021 5:20 pm
This won't give you an error, however it doesn't function properly. I think there may be a bug in the .tobytes() file as the lenght of the array is off by a factor of 8 (the size of float object).
You could try again, this bug was just fixed a couple of hours ago.
by mathieu
Tue Dec 29, 2020 9:53 pm
Forum: ESP32 boards
Topic: Class for stepper motor driven by Easy Driver
Replies: 4
Views: 2486

Re: Class for stepper motor driven by Easy Driver

By the way, I've been playing with the EasyDriver recently (but managed to fry one), as well as this one: https://www.pololu.com/product/2966 . Does anybody have an idea of what differences exist between these two options? The second one is cheaper and smaller, what would I be getting by opting for ...