Search found 155 matches

by Mike Teachman
Wed Oct 06, 2021 4:35 am
Forum: Development of MicroPython
Topic: I2S on NUCLEO-4F01RE
Replies: 4
Views: 20354

Re: I2S on NUCLEO-4F01RE

I've just built and flashed v1.17 to my NUCLEO in the hope of gaining I2S support but I've now realised it's not supported in this release. I2S on the STM32 port was released for the boards that I could physically test with: pyboard v1.1 and pyboard D I2S might work on your NUCLEO board by enabling...
by Mike Teachman
Sat Aug 28, 2021 2:50 am
Forum: Raspberry Pi microcontroller boards
Topic: No I2S support in Raspberry Pi Pico builds?
Replies: 3
Views: 3807

Re: No I2S support in Raspberry Pi Pico builds?

I just started working on rPi Pico I2S support yesterday. The I2S support on the rPi Pico will be the same as the Pyboards and ESP32. Look for a new PR sometime in the next month. In the meantime, you can get familiar with I2S on one of the supported platforms. I have a repo of examples that might b...
by Mike Teachman
Fri Aug 27, 2021 1:40 pm
Forum: ESP32 boards
Topic: Lolin D32 PRO and SD Card Errors
Replies: 2
Views: 1913

Re: Lolin D32 PRO and SD Card Errors

I use the same dev board. Here is what works for me in the v1.16 release:

Code: Select all

    
import os
from machine import Pin    
from machine import SDCard
sd = SDCard(slot=3, sck=Pin(18), mosi=Pin(23), miso=Pin(19), cs=Pin(4))
os.mount(sd, "/sd")
by Mike Teachman
Sun Aug 15, 2021 6:10 pm
Forum: ESP32 boards
Topic: I2S on ESP32
Replies: 10
Views: 7715

Re: I2S on ESP32

I'm the author of the recent I2S PR. Sorry for being absent from this post, but from reading the discussion it looks like the questions raised have been answered. Yesterday, I updated the I2S examples repo that I am maintaining. The examples are now clearer (thanks to Peter Hinch for the suggestions...
by Mike Teachman
Sat Jun 26, 2021 10:41 pm
Forum: MicroPython pyboard
Topic: PDM support on Micropython
Replies: 6
Views: 7614

Re: PDM support on Micropython

If you would consider an I2S MEMS microphone you could look at integrating this PR into a custom build. It supports the PyBoard. https://github.com/micropython/micropython/pull/7183 Or, try out the I2S feature with a pre-built binary, available here: https://github.com/miketeachman/micropython-i2s-e...
by Mike Teachman
Fri Mar 05, 2021 3:00 am
Forum: ESP8266 boards
Topic: How to play Wav files in esp8266
Replies: 7
Views: 4851

Re: How to play Wav files in esp8266

oyster wrote:
Fri Mar 05, 2021 2:00 am
is this video relevant?
.
Not Really. The video describes implementation of an I2S WAV player by writing C code using the Arduino editor. The poster is interested to use MicroPython.
by Mike Teachman
Wed Mar 03, 2021 6:02 am
Forum: ESP8266 boards
Topic: How to play Wav files in esp8266
Replies: 7
Views: 4851

Re: How to play Wav files in esp8266

If you are comfortable making your own custom build one option is integrating this PR for the ESP32: https://github.com/micropython/micropython/pull/4471 Documentation for the PR is here: https://github.com/miketeachman/micropython-esp32-i2s-examples Included in the documentation are pre-built uPy E...
by Mike Teachman
Tue Feb 02, 2021 2:32 pm
Forum: Pyboard D-series
Topic: no module for modbus server(master) protocol ?!
Replies: 1
Views: 2854

Re: no module for modbus server(master) protocol ?!

Hi Mohammed, I think forum readers might need some more information before they can offer assistance ... Can you describe the exact problem that you are having? What limitation do you see? Can you describe your application and communication topology? For example, do you want to use the pyboard as a ...
by Mike Teachman
Wed Jan 13, 2021 5:37 pm
Forum: ESP32 boards
Topic: Best driver for ili9341 display
Replies: 40
Views: 25908

Re: Best driver for ili9341 display

Hi @Divergentti you might be able to scrape some code and ideas from my air quality project? Similar project - ILI9341 display, particulate sensor, MQTT, uasyncio. Here are some links: Github: https://github.com/miketeachman/micropython-street-sense Hackaday project: https://hackaday.io/project/1620...
by Mike Teachman
Mon Dec 28, 2020 4:12 pm
Forum: ESP32 boards
Topic: Do native modules work on ESP32?
Replies: 5
Views: 2962

Re: Do native modules work on ESP32?

Hi Peter, this example worked on my ESP32 SPIRAM build. Build info: rebased to the mainline at commit 5a70279 (Nov 23, 2020) environment is Win10/WSL2/Ubuntu ESP-IDF v3.3.2 I attached the mpy file >>> >>> import features0 >>> features0. __class__ __name__ __file__ factorial >>> features0.factorial(3...