Hot answers tagged

5 votes
Accepted

What is wrong with the way I write and or read the EEPROM adresses?

You forgot to call Serial.begin() in setup(). As a side note, your if tests are useless. The compiler warns me that: comparison is always true due to limited range of data type For reference: the ...
user avatar
  • 35.5k
3 votes

My ESP32-S3 DevkitC-1 has two USB micro ports labeled 'USB' and 'UART'. What are they for?

The USB port connects directly to the D+/D- pins of the ESP32, which allows it to act as a USB host. CircuitPython, for instance, uses this functionality to look like a USB flash drive. You could also ...
user avatar
  • 1,169
2 votes
Accepted

ESP32 Wipe Sensitive Key Data

You can use esptool.py to run an erase_flash operation. Erase Flash: erase_flash & erase_region To erase the entire flash chip (all data replaced with 0xFF bytes): esptool erase_flash To erase a ...
user avatar
  • 101k
2 votes

bh1750 lightsesor won't work

The SCL and SDA silkscreen was reversed on my chips. Took an hour of faffing to figure that out. Never "Just presume" it is correct
user avatar
  • 121
2 votes
Accepted

Arduino create Json Array with double values and 2 decimal point

You defined the rounding function round_range(), but never used it. You want to round the numbers that you are putting into the array within the JSON document: rangeValues.add(round_range(buffer_range[...
user avatar
  • 35.5k
1 vote

Can't read through I2C from RTC

You are doing things in the wrong order. Wire.beginTransmission(0x68); Wire.write(0x06); Wire.requestFrom(0x68,1); seconds = Wire.read(); ret = Wire.endTransmission(); The request is sent on ...
user avatar
  • 35k
1 vote

Use of ESPAsyncWebServer.h with ArduinoJson version 6 for Master-Client transactions

cannot bind non-const lvalue reference of type 'ArduinoJson::JsonObject&' {aka 'ArduinoJson6185_91::ObjectRef&'} to an rvalue of type 'ArduinoJson6185_91::enable_if<true, ArduinJson6185_91::...
user avatar
1 vote

Is it safe to power multiple ESP32-CAM circuits from the same battery output?

There is no difference between your circuits. Internally to the powerbank all three outlets are typically wired together just like in your second schematic. One outlet or three outlets it's all the ...
user avatar
  • 101k
1 vote

Why does oscilloscope trigger look shaky when using delayMicroseconds?

The display moving is what we call jitter. It is normal with the Arduino and expected. The pulses are not even because of the background tasks such as the interrupt service routine (that does the ...
user avatar
  • 1,416

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