Thanks for sharing your knowledge, i never use Atmel chips, so i dont know about it.
Now i know why in the EmonlIb STM32 Branch have the example for one ADC
Some Readme quote:
Firmware examples included in this repository:
- 1. Blink
- 2. ADC
- 3. DMA
- 4. Emon: EmonTxShield Voltage and CT1 current measurement, single ADC example.
- 5. Emon1CT: EmonTxShield Voltage (ADC1) and CT3 current measurement (ADC2) example.
- 6. Emon1CT_ds18b20: EmonTxShield Voltage (ADC1) and CT3 current measurement (ADC2) example with DS18B20 temperature measurement.
- 7. Emon3CT: EmonTxShield Voltage (ADC1) and 3x CT inputs on ADC2.
- 8. Emon3CT_CB: Firmware for Hardware/stm32-pi_basic/5
- 9. Emon3CT_CB_v2: Firmware for Hardware/stm32-pi_basic/5 v2.
- 10. Emon3CT_RFM69: EmonTxShield Voltage (ADC1), 3x CT inputs on ADC2 and RFM69 support.
- 11. Emon3CT_VET: Basic firmware for Hardware/stm32-pi_full v2 by Trystan Lea.
- 12. emonTxshield_dBC (v13): Mutli-channel energy monitor example firmware thanks to @dBC see STM32 Development - #232 by dBC
- 13. RFM69: RFM69 library and examples.
- 14. MBUS: Example of reading data from an MBUS meter using Serial and DMA’s.
For now, i’am happy with the result STM32+ACS712+ZMPT101B and EmonLib ,
and perhaps i will try EmonlibCM too, i just
read in here EmonLibCM - Version 2 (Support) - #84 by Robert.Wall
I read in there, EmonLibCM have a Frequency Meter, so i will try it.
JFI, i make a DC Meter using ESP8266, then I just switch to STM32 because it have 12bit and more channel.
Btw, because ESP8266 only have 1 channel ADC, so i use 2 pc817 to siwtch the reading from Acs712 to read current and voltage divider to read voltage.
Best Regrads,
Teguh.