Search found 17 matches

by Beowulff
Wed Jun 17, 2020 2:59 pm
Forum: ESP-IDF
Topic: How are NVS keys stored?
Replies: 2
Views: 3620

Re: How are NVS keys stored?

Thanks.
Yeah, I saw that soon after I posted my question.
So, for anyone who might stumble across this: The key is a fixed-length (16 byte) field.
by Beowulff
Wed Jun 17, 2020 2:07 pm
Forum: ESP-IDF
Topic: How are NVS keys stored?
Replies: 2
Views: 3620

How are NVS keys stored?

I am using NVS for it’s Flash wear-leveling abilities. I am only storing a small number of Uint_32 values. Is there any advantage to using short keys vs long ones? If I call my keys “A”,”B”,”C”, vs. “This is a very long, and probably needlessly verbose key”, is the amount of storage that each key pa...
by Beowulff
Wed Jun 17, 2020 3:30 am
Forum: Hardware
Topic: Beginner Post: ESP32 WROOM Circuit Help
Replies: 1
Views: 2639

Re: Beginner Post: ESP32 WROOM Circuit Help

The LED can be powered from 3.3v, through a dropping resistor (value is not critical, I’d start with 200Ω). The photodetector needs 5v, so its output needs to be connected to a resistor to act as a voltage divider. Since the pullup resistor is 10KΩ, putting a 10KΩ resistor to ground will limit the “...
by Beowulff
Tue Jun 16, 2020 3:18 pm
Forum: Hardware
Topic: Newbie Here: having a hard time with a 10k NTC Thermistor
Replies: 6
Views: 14642

Re: Newbie Here: having a hard time with a 10k NTC Thermistor

I’m not familiar at all with ESPHOME, but I looked on the web at the NTC, ADC and Resistance functions, and it’s a bit vague. Obviously, the attenuator in the ADC directly affects the temperature readings, but I don’t see how the NTC function takes the attenuator setting into account. You need to us...
by Beowulff
Tue Jun 16, 2020 3:05 pm
Forum: Hardware
Topic: esp32-wroom-32 start on battery power on without requiring boot button
Replies: 8
Views: 10521

Re: esp32-wroom-32 start on battery power on without requiring boot button

Do you have a capacitor and pullup resistor on the /EN pin?
by Beowulff
Mon Jun 15, 2020 3:08 pm
Forum: Hardware
Topic: Newbie Here: having a hard time with a 10k NTC Thermistor
Replies: 6
Views: 14642

Re: Newbie Here: having a hard time with a 10k NTC Thermistor

What kind of readings are you getting?
Use an ice cube and a hair dryer to expose the thermistor to a range of temperatures, and take readings, noting the actual temperature using a known-good thermometer.
by Beowulff
Sun Jun 14, 2020 11:20 pm
Forum: Hardware
Topic: Newbie Here: having a hard time with a 10k NTC Thermistor
Replies: 6
Views: 14642

Re: Newbie Here: having a hard time with a 10k NTC Thermistor

That’s not a 150KΩ resistor - it’s 120Ω (or maybe 10KΩ - hard to tell).
by Beowulff
Tue Jun 09, 2020 2:43 pm
Forum: Hardware
Topic: Periodic noise on ADC
Replies: 4
Views: 7540

Re: Periodic noise on ADC

ADC’s are very sensitive to grounding issues. Ground bounce caused by high-current digital peripherals will manifest as spurious signals at the ADC. Grounds should be single-point, or ground plane, and not thin, meandering traces. See: http://www.ti.com/lit/an/sbaa052a/sbaa052a.pdf?HQS=sbaa052-aaj&t...
by Beowulff
Mon Jun 08, 2020 8:39 pm
Forum: Hardware
Topic: PCB design external power supply ESP32 tracktor
Replies: 6
Views: 6776

Re: PCB design external power supply ESP32 tracktor

Why do you have the rectifier in series with the capacitor on the output of the regulator?
by Beowulff
Mon Jun 08, 2020 3:35 am
Forum: Hardware
Topic: Periodic noise on ADC
Replies: 4
Views: 7540

Re: Periodic noise on ADC

How are your grounds?