Search found 32 matches

by lbernstone
Mon Nov 18, 2019 5:13 pm
Forum: ESP32 Arduino
Topic: Analog Read Accuracy
Replies: 4
Views: 480

Re: Analog Read Accuracy

This is a good read, and includes some examples of calibration. https://github.com/espressif/arduino-esp32/issues/1804
SAR is always going to be biased towards the ends of the scale, and the esp32 seems particularly insensitive there.
by lbernstone
Mon Nov 11, 2019 2:52 pm
Forum: ESP32 Arduino
Topic: How to get current WiFi Status
Replies: 3
Views: 367

Re: How to get current WiFi Status

MAX on any enum value is typically a dummy value set so that if you are iterating over the values, you know you have reached the end. It has no meaning. WIFI_OFF == WIFI_MODE_NULL.
by lbernstone
Mon Nov 11, 2019 2:47 pm
Forum: ESP32 IDF
Topic: Reading temperature and humidity
Replies: 15
Views: 565

Re: Reading temperature and humidity

If you are storing the data for processing, it will be more efficient all the way down the line to work with integers rather than decimals. Efficiency = lower cost. APIs are really for computers to interact (efficiently when possible). The presentation to your eyeballs is the only place where it is ...
by lbernstone
Sun Nov 10, 2019 4:37 pm
Forum: ESP32 IDF
Topic: Reading temperature and humidity
Replies: 15
Views: 565

Re: Reading temperature and humidity

The temperature/humidity sensors have very limited memory, so they save space wherever possible. On a device that measures temperature from 0-100, you can get away with a 10-bit integer register (2^10=1024) to store it, with one decimal place of precision. A float value is 32 bits, and more complica...
by lbernstone
Sun Nov 03, 2019 12:17 am
Forum: Hardware
Topic: ESP32-D0WDQ6 Factory Firmware/Bootloader or is it Empty?
Replies: 2
Views: 194

Re: ESP32-D0WDQ6 Factory Firmware/Bootloader or is it Empty?

There is a bootloader. You can set the bootloader to download by strapping gpio0 to ground. Use an IDE or the bootloader utility (https://github.com/espressif/esptool) to upload your firmware.
by lbernstone
Tue Oct 29, 2019 2:01 pm
Forum: ESP32 Arduino
Topic: Can't upload more than 1 MB to spiffs?
Replies: 2
Views: 395

Re: Can't upload more than 1 MB to spiffs?

In most file systems, there is a minimum physical file size. This means that even if the file is only 1 byte of content, it will use a full block when written to disk. I am not familiar with SPIFFS internals, but the physical block size on SPI_Flash is 4096, so that is probably the filesystem block ...
by lbernstone
Sun Oct 27, 2019 3:33 pm
Forum: ESP32 Arduino
Topic: How to set ware levelling Safety mode in Arduino ESP add on
Replies: 4
Views: 445

Re: How to set ware levelling Safety mode in Arduino ESP add on

Safety mode will be introduced in ESP-IDF v4.0. Arduino-esp32 v1.0.4 uses IDF v3.2. When v4.0 is released and stable, arduino will update to that upstream version. However, using an advanced feature like this will always require you to compile your own libraries. There are no guarantees that all the...
by lbernstone
Sat Oct 26, 2019 1:48 pm
Forum: ESP32 Arduino
Topic: WiFi RSSI to percentage
Replies: 2
Views: 379

Re: WiFi RSSI to percentage

Using a percentage is misleading, most people recognize the "bars" for signal strength better than a number. https://www.netspotapp.com/what-is-rssi-level.html It is better to send the strength as collected, and let the server (or consumer) on the other end do the conversion. Raw data is more accura...
by lbernstone
Sun Oct 13, 2019 10:09 pm
Forum: Hardware
Topic: ESP32-PICO-KIT V4.1 Vin 7-12V which pin? 3.3V which pin?
Replies: 2
Views: 515

Re: ESP32-PICO-KIT V4.1 Vin 7-12V which pin? 3.3V which pin?

There is no 7-12V input. The 5V input is connected to the USB->UART adapter (CP2012), so applying >5V will burn that chip. Use 3V3 on the 3V3 pin, or 5V on the 5V pin.

Go to advanced search