Search found 5 matches

by GreenBEM
Sat Jan 20, 2024 10:59 pm
Forum: General Discussion
Topic: Make global float atomic?
Replies: 3
Views: 1822

Re: Make global float atomic?

Awesome!

Thank you both ESP_Sprite and MicroController.

That's answered my query nicely.

G.
by GreenBEM
Thu Jan 18, 2024 11:21 pm
Forum: General Discussion
Topic: Make global float atomic?
Replies: 3
Views: 1822

Make global float atomic?

Hi, Multitasking is new to me, as is the ESP32 and ESP IDF framework. I'm using a float variable, to share a value between tasks. Were it a 32-bit variable, I believe it's writes would be atomic. As a float value, however, I'm concerned that the reading task may acquiring the value, right in the mid...
by GreenBEM
Tue Nov 14, 2023 12:09 pm
Forum: Hardware
Topic: Voltage Divider for Odd ADC?
Replies: 3
Views: 1596

Re: Voltage Divider for Odd ADC?

Maybe this will clear-up my earlier post:
mV_on_ADCreg.jpg
mV_on_ADCreg.jpg (36.75 KiB) Viewed 1446 times
by GreenBEM
Tue Nov 14, 2023 11:47 am
Forum: Hardware
Topic: Voltage Divider for Odd ADC?
Replies: 3
Views: 1596

Re: Voltage Divider for Odd ADC?

Just trying to measure some simple voltages and currents. I believe that the C3 and S3 variants have an improved ADC. If you extrapolate their linear regions for conversion, they intersect the y-axis at the origin. For the same extrapolation, the ESP-WROOM-32 I'm using has a significantly non-zero y...
by GreenBEM
Mon Nov 13, 2023 12:53 pm
Forum: Hardware
Topic: Voltage Divider for Odd ADC?
Replies: 3
Views: 1596

Voltage Divider for Odd ADC?

Just discovered that the ESP-WROOM-32 I'm toying with, has a rather odd ADC. With other controllers, a simple voltage divider has provided a suitable ADC input voltage for measurement of a full-range voltages. Now, it appears that I need to both divide a measured voltage, as well as translate it to ...