Créer un projet Besoin d'aide ?
  • État du projet
  • Date de publication
  • BADGE
Commentaires récents
PADAKATHU R RANGASAMY
PADAKATHU R RANGASAMY il y a 19 heures
i need two channel measurements, first i tried to read two ICL7135 through two PCF7584, it works reads and give value, then i send to another ESP32 serial2 then string to float  float f = (volt1.toFloat());  converted it is working used for calculation. But when we swtich on all the time not start reading both PCF7584 data.  Now trying to read from individual ESP32 calculation in one for that need to recive in a variable with polority signed voltage.  
ESP32 Digital Voltmeter
PADAKATHU R RANGASAMY
PADAKATHU R RANGASAMY il y a 19 heures
Gustavo, i tried to convert signal and add to voltages. tried to convert using  float f = atof(Signal); getting error like below invalid conversion from 'char' to 'const char*' [-fpermissive] Tried other few ways also still not getting Please if you have any suggestion to get complete signed float value for calculations. Thank you
ESP32 Digital Voltmeter
PADAKATHU R RANGASAMY
PADAKATHU R RANGASAMY il y a 3 jours
Thank you Gustavo, i will follow up and post the result
ESP32 Digital Voltmeter
Gustavo Murta
Gustavo Murta il y a 3 jours
Hi PADAKATHU, See that :ESP32 Espruino: convert number to string in different baseshttps://techtutorialsx.com/2017/10/26/esp32-espruino-convert-number-to-string-in-different-bases/ Regards, Gustavo Murta  
ESP32 Digital Voltmeter
Gustavo Murta
Gustavo Murta il y a 4 jours
Hi PADAKATHU,  I suggest you create some calculations to convert float in  two's complement format. https://en.wikipedia.org/wiki/Two%27s_complement void PrintVoltage () {   Voltage = ((Digit5 * 10000) + (Digit4 * 1000) + (Digit3 * 100) + (Digit2 * 10) + Digit1) / 10000.0 ;   Serial.print("   Voltage = ");   Serial.print(Signal);   Serial.println(Voltage, 3); } Some things may interfere in zero calibration: Voltage reference adjust type of capacitor C3 (0,47 uF) electronic noise and interference Regards, Gustavo Murta   
ESP32 Digital Voltmeter