Skip to main content

All Questions

0 votes
1 answer
297 views

SPI communication from ESP32 to TLE5012B magnetic enoder

Summary: I've had this bump in the road for one of my projects for a long time and I was wondering if anyone knew anything about it. I found a wonderful magnetic encoder (tle5012b) but I have had a ...
Michael Blaine's user avatar
0 votes
1 answer
1k views

How to add external html script in micropython file

I am running a script of led turn on and off on my esp32 device from a web page. Like this: import machine led = machine.Pin(2,machine.Pin.OUT) led.off() import network sta = network.WLAN(network....
Shaair's user avatar
  • 19
0 votes
1 answer
352 views

How to send more than one value to my MQTT Broker

I am using an ESP32 microcontroller to read data via the sensor MPU6050. I am sending the data directly to my MQTT broker and then to a database (using Node-red). My Question is, how can I send 100 ...
ez.oez's user avatar
  • 1
1 vote
0 answers
2k views

How do I correct an "ETIMEDOUT" error on an ESP32?

I am using a System on Chip (SoC) ESP32 microcontroller and a MPU6050 (an sensor that contains a gyroscope and an accelerometer). I used a piece of code to activate the accelerometer and get readings ...
Samsonite's user avatar
0 votes
0 answers
2k views

Micropython: Unable to fix IndexError: bytes index out of range issue

I am trying to connect ESP32 based MQTT client umqtt.simple.py with Micropython code to a MQTT broker. But its throwing IndexError: bytes index out of range issue. error every time, when start to ...
kpin404's user avatar
0 votes
1 answer
3k views

Problem when running Threads in MicroPython with ESP32 [closed]

I have the following code. I want to run it on an ESP32. The MicroPython is already installed. The problem is that nothing happens. I get no errors but the testThread() method is not called at any ...
cedrik24's user avatar
1 vote
1 answer
3k views

Esp32 wlan connection with micropython doesnt work

im trying to connect my esp32 microcontroller via wifi. But it doesnt work. I followed the tutorial on https://docs.micropython.org/en/latest/esp32/quickref.html#networking step by step and watched a ...
Carrot's user avatar
  • 23
0 votes
1 answer
385 views

Esp32 micropython webserver TCP socket to check http get request

Good afternoon everyone, For a school project I will make a RC car using a c8051 microcontroller and to send the uart data to it I'm using a ESP32 so that I can display a webpage so that the user ...
David Abreu's user avatar