Search found 93 matches

by Mike Teachman
Fri Sep 25, 2020 5:55 pm
Forum: ESP32 boards
Topic: TTGO T-WATCH-2020
Replies: 72
Views: 8262

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

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

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

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: 22
Views: 2322

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

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: 22
Views: 2322

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

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...
by Mike Teachman
Wed May 20, 2020 10:34 pm
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 22
Views: 2322

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

Well, at least it changed. Perhaps some other customization is needed to see correct colors? I looked at my commits and there is a color related change in the config file lv_conf.h (change color depth to 16 from 32). I can not recall why I made this change, but maybe compare against your setting? Go...
by Mike Teachman
Wed May 20, 2020 9:01 pm
Forum: ESP32 boards
Topic: LVGL and SD Card won't share SPI bus
Replies: 22
Views: 2322

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

I tried out your posted code and unfortunately I don't see the striped button. Capture (Phone) (Custom).PNG One suggestion is to try setting the background color of the button to see if it changes. Here is a screenshot from my display and the code I added to your example to set the background color ...