Search found 24 matches

by lbayo
Mon Dec 27, 2021 3:39 pm
Forum: ESP32 boards
Topic: RTC strange behaviour
Replies: 3
Views: 5049

Re: RTC strange behaviour

Thanks karfas, but ... In my case, the fact that Thonny takes the local time as the "correct" one is annoying to me, since I want to use the RTC of my ESP-32 to work with UTC time, not local time (in my case local time = UTC + 1 or UTC + 2). I understand that in my case the "sync time keyword" must ...
by lbayo
Mon Dec 27, 2021 11:32 am
Forum: ESP32 boards
Topic: RTC strange behaviour
Replies: 3
Views: 5049

RTC strange behaviour

Hi, I’m trying to control the RTC (Real Time Clock) on a ESP-32, starting with a very simple micropython program and Thonny IDE. I’m starting in the interactive mode, setting date to a future date (1/08/2022 12:34:00) from machine import RTC; RTC().datetime (2022,8,1,0,12,34,0,0) and next, I’m verif...
by lbayo
Tue Oct 26, 2021 2:44 pm
Forum: General Discussion and Questions
Topic: Thonny install
Replies: 1
Views: 1404

Thonny install

Hi, I have a problem and I can't solve it. I have Ubuntu 20.04. A few days ago I tried using Thonny on an ESP32 and had errors. I reinstalled it and now when I press Tools-Options, the folder "Interpreter" (in “Options”) will no longer appear. I have tried deleting and reinstalling in various ways a...
by lbayo
Sat Jul 03, 2021 7:39 am
Forum: ESP32 boards
Topic: no blocking scan function
Replies: 5
Views: 2354

no blocking scan function

Hi guys, I have a program that works correctly (finally) using the async functions but ... there is a process that uses the scan () function to determine the RSSI of the WiFi network (here, we have a lot of nets) and the execution of this function (which is not multitask) locks the other processes f...
by lbayo
Wed Jun 16, 2021 2:28 pm
Forum: micro:bit boards
Topic: Relay boARD
Replies: 0
Views: 8135

Relay boARD

Hi, I have bought a very cheap board with a relay and an ESP-12 on Aliexpress to use it in IoT applications, but I don't have any documentation. Can micropython run on this board? There is an App for mobile phone but it is not what I intend. But I want to make my own software, not go through an App....
by lbayo
Thu Jun 10, 2021 6:28 am
Forum: ESP32 boards
Topic: TFT display SPI
Replies: 7
Views: 3665

Re: TFT display SPI

If there is no CS pin in the display, I assume it is internally tied low ?
by lbayo
Thu Jun 10, 2021 6:24 am
Forum: ESP32 boards
Topic: TFT display SPI
Replies: 7
Views: 3665

Re: TFT display SPI

Thanks russ_h
by lbayo
Wed Jun 09, 2021 4:37 pm
Forum: ESP32 boards
Topic: TFT display SPI
Replies: 7
Views: 3665

Re: TFT display SPI

I can't get any of the 3 color TFT displays (IPS 240x240) to work for me despite the different tests carried out. In the software, the MOSI, MISO, CLK, RESET, DC and CS pins are programmed but the display has (apart from Vcc and GND) SDA, SCL, RES, DC and BLK. I am clear that MOSI corresponds to SDA...
by lbayo
Thu May 27, 2021 7:08 am
Forum: ESP32 boards
Topic: MQTT+ ASYNC programming
Replies: 3
Views: 2863

Re: MQTT+ ASYNC programming

Continuing my learning in asynchronous programming and mqtt, a curious problem has appeared that has cost me a lot to detect, but finally detected the problem (not the solution). I write from Catalonia, where we commonly use various Latin languages ​​(Catalan, Spanish and French) with symbols that a...
by lbayo
Wed May 05, 2021 3:25 pm
Forum: ESP32 boards
Topic: MQTT+ ASYNC programming
Replies: 3
Views: 2863

MQTT+ ASYNC programming

Hi; Despite the fact that I have been programming in Python for several years, I am a beginner in using async and mqtt and have problems that I cannot understand. I have taken an original program by Peter Hinch (thanks!), with very small modifications called “range” (name of the topics, qos and some...