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 Sep 28, 2020 7:14 pm

Are there two hardware versions of the 2020 TTGO watch? I have seen source which appears to use GPIO for the backlight; on my watch, it's the vibrator motor. And I keep finding some TTGO 2020 images which bootloop:

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:1
load:0x3f400020,len:2044892

and others which work. Puzzling!

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

Re: TTGO T-WATCH-2020

Post by vlad » Fri Oct 09, 2020 10:27 am

Hi guys,
Did anyone try to implement the MQTT or any other messenger client for T-Watch2020 yet?

uraich
Posts: 36
Joined: Tue Mar 26, 2019 12:24 pm

Re: TTGO T-WATCH-2020

Post by uraich » Sun Oct 11, 2020 5:05 pm

I don't know what you want to use MQTT for but the umqtt module in micropython-lib does the job.
Here is a small example I wrote as a demo for a presentation on IoT.
The connect() function from the module wifi_connect just connects to my WiFi network. I started mosquitto on my Linux PC as well as the mosquitto_sub client subscribing to the ASP2020 (African School of Physics) topic.
Attachments
mqttDemo.png
mqttDemo.png (41.65 KiB) Viewed 155 times
mqttDemoResult.png
mqttDemoResult.png (43.94 KiB) Viewed 155 times

Post Reply