TTGO T-WATCH-2020

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
vandys
Posts: 7
Joined: Mon Aug 10, 2020 9:06 pm

Re: TTGO T-WATCH-2020

Post by vandys » Mon Aug 10, 2020 9:37 pm

I'm also getting this after flashing Micropython:

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QIO, clock div:2
load:0x3fff0018,len:4
load:0xffffffff,len:-1
ets Jun 8 2016 00:22:57

I know "thonny" somehow avoids this... could somebody pick out if/how it invokes esptool, so I can flash my watch without being dependent on a particular IDE?

Thanks!
Andy Valencia

husky
Posts: 17
Joined: Wed Jul 15, 2020 7:46 am

Re: TTGO T-WATCH-2020

Post by husky » Tue Aug 11, 2020 8:24 am

vandys wrote:
Mon Aug 10, 2020 9:37 pm
I'm also getting this after flashing Micropython:

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QIO, clock div:2
load:0x3fff0018,len:4
load:0xffffffff,len:-1
ets Jun 8 2016 00:22:57

I know "thonny" somehow avoids this... could somebody pick out if/how it invokes esptool, so I can flash my watch without being dependent on a particular IDE?

Thanks!
Andy Valencia
Hi,
I don't know if you are on Linux, MacOs or Windows. But if when you connect the watch, you don't see the device, you still need to install drivers.
When you see the device, install esptool at https://github.com/espressif/esptool
Download the firmware http://micropython.org/resources/firmwa ... 3d8e81.bin
and finally execute:
erase flash

Code: Select all

esptool.py --chip esp32 --port /dev/cu.usbserial-4152065289  --baud 115200 erase_flash
write flash

Code: Select all

esptool.py --chip esp32 --port /dev/cu.usbserial-4152065289 --baud 115200 write_flash -z 0x1000 esp32spiram-idf4-20200811-unstable-v1.12-663-g9883d8e81.bin
where / dev /cu.usbserial-4152065289 is your device

vandys
Posts: 7
Joined: Mon Aug 10, 2020 9:06 pm

Re: TTGO T-WATCH-2020

Post by vandys » Tue Aug 11, 2020 9:34 pm

No, my system's definitely talking to it (thus I can see the console output).
husky wrote:
Tue Aug 11, 2020 8:24 am
vandys wrote:
Mon Aug 10, 2020 9:37 pm
I'm also getting this after flashing Micropython:

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:QIO, clock div:2
load:0x3fff0018,len:4
load:0xffffffff,len:-1
ets Jun 8 2016 00:22:57

I know "thonny" somehow avoids this... could somebody pick out if/how it invokes esptool, so I can flash my watch without being dependent on a particular IDE?

Thanks!
Andy Valencia
Hi,
I don't know if you are on Linux, MacOs or Windows. But if when you connect the watch, you don't see the device, you still need to install drivers.
When you see the device, install esptool at https://github.com/espressif/esptool
Download the firmware http://micropython.org/resources/firmwa ... 3d8e81.bin
and finally execute:
erase flash

Code: Select all

esptool.py --chip esp32 --port /dev/cu.usbserial-4152065289  --baud 115200 erase_flash
write flash

Code: Select all

esptool.py --chip esp32 --port /dev/cu.usbserial-4152065289 --baud 115200 write_flash -z 0x1000 esp32spiram-idf4-20200811-unstable-v1.12-663-g9883d8e81.bin
where / dev /cu.usbserial-4152065289 is your device

husky
Posts: 17
Joined: Wed Jul 15, 2020 7:46 am

Re: TTGO T-WATCH-2020

Post by husky » Thu Aug 13, 2020 5:57 pm

vandys, did you get it to work?

vandys
Posts: 7
Joined: Mon Aug 10, 2020 9:06 pm

Re: TTGO T-WATCH-2020

Post by vandys » Fri Aug 14, 2020 7:04 pm

husky wrote:
Thu Aug 13, 2020 5:57 pm
vandys, did you get it to work?
Alas, no. No luck w. Debian Thonny, nor a git of their project and local install.

I've spent enough time now, so I'm going to check back in some months and maybe somebody will have discovered what wrinkle is causing this.

husky
Posts: 17
Joined: Wed Jul 15, 2020 7:46 am

Re: TTGO T-WATCH-2020

Post by husky » Mon Aug 17, 2020 11:27 am

I already have a wasp-based system, with a battery widget and a clock application running.
The battery lasts about 4-5 days.
It connects to the internet every 20 minutes to synchronize the time and do background tasks.
I'm going to try to make the touch gestures work.
When I get it, I upload the project to github.

husky
Posts: 17
Joined: Wed Jul 15, 2020 7:46 am

Re: TTGO T-WATCH-2020

Post by husky » Mon Aug 17, 2020 5:07 pm

if this https://github.com/focaltech-systems/dr ... r/issues/5 is true. We have to implement gestures in software. Any code for that?

husky
Posts: 17
Joined: Wed Jul 15, 2020 7:46 am

Re: TTGO T-WATCH-2020

Post by husky » Wed Aug 19, 2020 2:39 pm

I have finished version 0.1 of the wasp project adapted to twatch 2020.
It works: clock, stopwatch, flashlight, settings.
in this version the clock wakes up every 5 minutes and tries to connect to the internet to do certain tasks, right now just synchronize the time.
This version will have many errors that I will correct, but it is already a watch that can be used.
https://github.com/sactre/wasp-os/tree/develop/wasp
To test it, load micropython on the clock, then copy the contents of the wasp folder to the clock.

vlad
Posts: 5
Joined: Mon Aug 24, 2020 1:31 pm

Re: TTGO T-WATCH-2020

Post by vlad » Mon Aug 24, 2020 1:50 pm

Hi guys,
are there musicians here in this forum?

I'm building the foot midi controller based on Raspberry Pi

I bought T-WATCH-2020 thinking of using it for two things:
1. Metronome. If I can send a value tempo too it the watch would start buzzing with a motor for specific period of time. It will help in a life performance to start playing a song with the proper tempo.
2. Send the accelerometer readings to foot controller to control the specific MIDI CC. That could be a lot of fun to control the wah-wah effect with the movement of a hand with the watch on.

I'm a software developer but MicroPython is not one of those languages I use. But I will definitely learn it.

Could you please let me know if those things are doable from your point of view ?

Does anyone would like to try to implement something like that

Cheers,
Vlad

husky
Posts: 17
Joined: Wed Jul 15, 2020 7:46 am

Re: TTGO T-WATCH-2020

Post by husky » Fri Aug 28, 2020 9:36 am

Metronome app seems easy to implement over wasp adaptation I did.

Post Reply