Hot answers tagged

16 votes

Working with Rust on the ESP32

Xtensa have just released an official ESP32/Espressif LLVM backend and clang front end. See their announcement here: https://esp32.com/viewtopic.php?p=38466 Repos: https://github.com/espressif/llvm-...
user avatar
  • 261
13 votes
Accepted

How can I list the partition table of a currently running esp32 devboard?

The current tools of the ESP32 have no explicit option for that. However, the existing tools can be easily combined to do this. The partition table is located at 0x8000 (32768) on older, and on 0x9000 ...
user avatar
  • 431
13 votes
Accepted

Working with Rust on the ESP32

Rust uses the LLVM toolchain, which is a a set of programs used to compile LLVM's intermediate representation (IR) into platform-specific code. The process works a little like this: Rust Code -> ...
user avatar
8 votes

Working with Rust on the ESP32

Like Aurora0001 said, you can't run Rust on an ESP32 currently (or the older ESP8266). There's a very similar chip, the RTL8710, that is recommended for use in situations where you'd use an ESP32, ...
user avatar
6 votes

Can I use Arduino shields with ESP32?

This is possible using an ESP32 that has Arduino headers, like the ones found on the ESPDuino-32. This project uses the Duino and an ST shield (with theTSYS02D sensor) to get you up and running. I've ...
user avatar
  • 61
5 votes
Accepted

Data from ESP32 to AWS S3

Not the complete answer but a step forward: https://docs.aws.amazon.com/freertos/latest/userguide/getting_started_espressif.html AWS has released their ESP32 support with AWS FreeRTOS. To send ...
user avatar
  • 186
5 votes

Stream ADC values from ESP32 over http

From what you're asking, I believe you should use MQTT protocol, it seems to fit your architecture. You'll need to have a mqtt server/broker that will receive the data from the device and then send ...
user avatar
  • 463
4 votes

Connecting ESP to USB Port

/dev/ttyUSB0 is how Linux refers to USB Serial ports. MacOS uses /dev/tty.usbserial with the FTDI driver
user avatar
  • 12k
4 votes
Accepted

How to connect several sensor boxes (ESP32) via WIFI/webserver/...?

I'd suggest using MQTT to configure the ESP32's as clients to publish/subscribe. You can use a Raspberry Pi (A 0W will work, but a 3 or 4 is better) as the broker, and look at your data (or control ...
user avatar
  • 156
4 votes
Accepted

How to use the onboard LED on the ESP32-C3-DevKitC2

As stated in the page you linked to :) and as stencilled directly on the board, it’s connected to GPIO8. Note that it’s an “addressable” RGB LED, so samples which just toggle an output won’t work, it ...
user avatar
  • 1,778
4 votes
Accepted

ESP32 UART reads garbage

Sorry colleagues, I simply forgot to connect common ground. Found the unconnected wire, plugged it to the devboard and now everything is working. 🤪
user avatar
  • 161
3 votes
Accepted

How to test internet connectivity of network to which esp32 is connected?

If you want to test internet connectivity the best way is to request http://google.com. If your device is connected to internet, you would get 301 as response code.
user avatar
3 votes

How to send WIFI credentials to ESP32?

You have the bootstrap problem. The firmware can't know the WiFi credentials until it has been given them. There are many ways to solve this. WiFi Protected Setup using the pushbutton method is one ...
user avatar
  • 226
3 votes

Which IoT platform to visualize real-time and historical sensor data?

I would recommend NodeRed .Simple drag and drop visual programming by IBM based on Nodejs .NodeRed can be installed easily using npm (package manager in Nodejs sililar to pip for python).Please read ...
user avatar
  • 63
3 votes

ESP32 video recording to SD card

You could try writing an MJPEG stream, which is pretty universally supported in web browsers both on desktops and mobile devices. The writer code isn't that complex and could definitely be run on ...
user avatar
  • 311
3 votes
Accepted

Can I log serial output from ESP32 using Sparkfun's OpenLog?

Just for reference, it worked fine almost out of the box. I only needed to connect rx, tx, vcc, gnd. Then I setup the config file as outlined and plugged it in. Every time I run the ESP32, all of the ...
user avatar
3 votes

802.11 action frames send and receive in software

I'll bet ESP-Now frames can be sniffed by tshark using something like tshark -n -l -i wlp0s29u1u2 -I -y IEEE802_11_RADIO (add a -t type such as ek or json), then add a filter like -Y 'wlan.fc....
user avatar
3 votes

How can I set up ESP3212 after unpacking?

You can start watching this unboxing video for the basic flow of installing and mounting the device. Tutorial uses Espressif Github project for Arduino which has the same instructions in written ...
user avatar
  • 4,301
3 votes

ESP32 - How to enable options in PlatformIO

I followed the same tutorial and I also had this problem. It seems that esp_bt.h only appears in the latest release of esp-idf and some changes are not yet available in PlatformIO. The sample espidf-...
user avatar
3 votes

How can I list the partition table of a currently running esp32 devboard?

I'm trying the following: gen_esp32part.py partable.bin on a file that is called "partable.bin" which is the extracted partition table using esptool. But gen_esp32part.py keeps throwing the ...
user avatar
3 votes

Can somebody explain why some pins on Olimex ESP32-EVB cannot be used?

For the ESP32-EVB, most, if not all pins, are used by all of the stuff they pack on the board. If you look at the schematic for that particular board, you'll see that UART0 (GPIO pins 1&3) are ...
user avatar
  • 31
3 votes
Accepted

Can I compile Python on my PC, load it to an ESP32 and run it?

Based on this forum post, it is possible to include precompiled scripts (in a modules directory at build time) in the flash image. This requires the config FROZEN_MPY_DIR. It is also possible to ...
user avatar
3 votes

Can I use Arduino shields with ESP32?

The short answer is yes, you can likely use the shields. But, the following will apply: This is obvious, but you won't be able to just plug it in to an ESP32 like a shield. You'll have to use ...
user avatar
  • 466
3 votes

How to use Grove Connectors with the ESP-WROVER-KIT-VB development board?

I have some doubt I fully understand the question (as the answer seems too simple) but I'll try nonetheless. Two options that came to mind right away: Get a plain Grove I2C Hub with 4 ports or more, ...
user avatar
3 votes
Accepted

Best way to set up a portable local IoT network?

The only two network types you can count on on a phone are WiFi and BLE (or cellular, but you told us there’s no Internet). LoRa is indeed never available. WiFi requires the user to connect to the ...
user avatar
  • 1,778
3 votes
Accepted

ESP32 proximity detection - how near, far and how accurate can it be?

Haven't tried it myself, but a few things to consider: If you had the two devices with line of sight to each other in a very very large open space, then there should be a direct relationship between ...
user avatar
  • 1,778
3 votes
Accepted

MQTT disconnects from AWS when publishing a message

Some quick possibilities: You don't actually have a thing with the name of "myid". You haven't given this client the rights to the topics you're subscribing to or publishing on. There's not ...
user avatar
2 votes

How can I write bytes to BH1750 via line buffer IC (ESP32)?

I2C is a "bus", as in bi-directional. You signal the device at its address that you want some data from it, and it sends it back. Now I'm no electrical engineer graduate, but the 74F244 chips looks ...
user avatar
  • 608

Only top scored, non community-wiki answers of a minimum length are eligible