Search found 4 matches

by Leonos
Sun Dec 02, 2018 4:09 pm
Forum: ESP32 Arduino
Topic: Voltage measurement with I35
Replies: 7
Views: 8939

Re: Voltage measurement with I35

Tihs is my function to calculate voltage : voltage = 2.0 x 3.64 x measure / 4096.0 (=> 3.64 x measure / 2048 to avoid useless operations) So it looks like you came to almost the same thing. Where did you get this extra factor 1.10 (3.64 / 3.3) from? I can't find any reference to it, nor an explanat...
by Leonos
Fri Nov 30, 2018 7:58 am
Forum: ESP32 Arduino
Topic: Minimum heap necessary for OTA?
Replies: 1
Views: 2904

Re: Minimum heap necessary for OTA?

I moved the SC card initialisation part out of setup() into a function so it only gets loaded when needed. I also disabled Bluetooth and reclaimed its memory so now I am north of 220 kB free again. OTA works fine now. It would be nice to know the minimum required, though. And I still wonder about Se...
by Leonos
Thu Nov 29, 2018 11:43 am
Forum: ESP32 Arduino
Topic: Voltage measurement with I35
Replies: 7
Views: 8939

Re: Voltage measurement with I35

Yes, I have, but since I am not using 25 and 26 that way (interrupts), I didn't experience the issues you have. Can't you move those buttons to another pair of pins? Regarding measuring voltage: I have to use (analogRead(35) * 3.3 * 2.0 * 1.12) / 4095.0f 3.3: is normally the max voltage a pin can re...
by Leonos
Wed Nov 28, 2018 8:33 am
Forum: ESP32 Arduino
Topic: Minimum heap necessary for OTA?
Replies: 1
Views: 2904

Minimum heap necessary for OTA?

I am building a weather station with all kinds of sensors, SD card etc. When the program is running it results in a reported free heap of only 114 kB. OTA does not work anymore but when I run the example BasicOTA, it works. The OTA code in my program is copy / paste from that example. Could it be th...