Search found 155 matches

by Mike Teachman
Thu Dec 24, 2020 12:32 am
Forum: ESP32 boards
Topic: GPIO always high
Replies: 4
Views: 2632

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

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: 87
Views: 109102

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

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

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...
by Mike Teachman
Tue Aug 04, 2020 2:41 pm
Forum: ESP32 boards
Topic: ESP32 reliability
Replies: 23
Views: 13051

Re: ESP32 reliability

Have you ruled out a voltage dip as the cause? Consider: The resets you observe also fit the pattern of a voltage dip that brings a processor's VCC, flash memory, or SRAM to below spec, leading to a reset. The poor wifi environment in your test may cause the ESP32 to lose the wifi connection, follow...
by Mike Teachman
Sat Jun 13, 2020 6:24 pm
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 30
Views: 18344

Re: LVGL and SD Card won't share SPI bus

How would I go about adding the modxpt2046.c touch driver? BTW the fix for the incorrect colors was to comment out... For the touch driver: sorry, I do not have any experience with this feature. I have only used LVGL to display graphics. The MicroPython category at the LVGL forum might have some id...
by Mike Teachman
Wed Jun 10, 2020 1:24 am
Forum: ESP32 boards
Topic: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Replies: 2
Views: 2709

Re: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.

Did you know that the Lobo ESP32 port has its own forum?:
https://loboris.eu/forum/

You will likely get a better response at that forum. This forum is focused on the mainline of MicroPython.
by Mike Teachman
Sat May 23, 2020 3:03 pm
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 30
Views: 18344

Re: LVGL and SD Card won't share SPI bus

Have you tried to apply you fix to ili9341.py? No. I have never used the ILI9341 micropython driver in any of my littlevgl projects. At this point I have no reason to switch to the micropython driver as the modified C driver does what I need. It's a case of "if it's not broken, don't fix it". How c...
by Mike Teachman
Sat May 23, 2020 12:20 am
Forum: ESP32 boards
Topic: i2s volume control with miketeachman's firmware
Replies: 2
Views: 3918

Re: i2s volume control with miketeachman's firmware

Hey ! Welcome to the MicroPython forum :) I can't find a way to change the volume from software. I also needed volume control for an alarm clock project I'm working on. My solution was to add a new I2S helper module to my custom build. The module is called i2stools and includes a function called shi...