Search found 100 matches

by Mike Teachman
Fri Mar 05, 2021 3:00 am
Forum: ESP8266 boards
Topic: How to play Wav files in esp8266
Replies: 7
Views: 1021

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: 1021

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: 262

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: 3908

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: 552

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...
by Mike Teachman
Thu Dec 24, 2020 12:32 am
Forum: ESP32 boards
Topic: GPIO always high
Replies: 4
Views: 326

Re: GPIO always high

GPIO15 is an ESP32 strapping pin, used to configure silencing of boot messages. It has an internal pull-up resistor which gives you the '1' reading when nothing is connected to the pin. If you ground the pin you should read a zero.
by Mike Teachman
Wed Dec 02, 2020 4:18 am
Forum: ESP32 boards
Topic: I2S: Stereo input/output
Replies: 3
Views: 569

Re: I2S: Stereo input/output

Cool Project - this is quite doable with one ESP32 which has two I2S channels. First you'll need some I2S capability. You can either apply the I2S PR to a MicroPython build or try out one of the precompiled ESP32 binaries available here: https://github.com/miketeachman/micropython-esp32-i2s-examples...
by Mike Teachman
Fri Sep 25, 2020 5:55 pm
Forum: ESP32 boards
Topic: TTGO T-WATCH-2020
Replies: 81
Views: 16881

Re: TTGO T-WATCH-2020

Has anyone worked on the I2S piece? The watch hardware block diagram shows an I2S DAC connected to a speaker. If someone integrates my ESP32 I2S PR it should be possible to play sound clips using WAV files. Integrating the I2S PR is simple: add one C file and edit 3 others. Then build. An I2S how-to...
by Mike Teachman
Sun Aug 09, 2020 4:15 am
Forum: ESP32 boards
Topic: ESP32 reliability
Replies: 23
Views: 3815

Re: ESP32 reliability

Voltage dips sure don't appear to be a factor at all.

Is there any merit in trying to get JTAG debugging working, to identify the code that is running when the crash happens? I've never attempted source level debugging with the ESP32.
by Mike Teachman
Wed Aug 05, 2020 2:32 pm
Forum: ESP32 boards
Topic: ESP32 reliability
Replies: 23
Views: 3815

Re: ESP32 reliability

Using a battery is an effective setup for eliminating noise effects from the AC mains power. But, it might not address the concerns of voltage drops leading into the supply voltage pins of various critical components on the dev board. In the context of voltage drops I have a couple of other suggesti...