I have the “emonSD-30Oct18” running.
For energy, using a ADE9000 Energy Circuit that I have KWhr’s pulsing into
an Arduino Pulse counter sketch by Trystan, and tested by Glyn.
I also plan to add water and gas meter pulses to the Arduino Pulse counter.
This is using EmonHubTx3eInterfacer on com_port= /dev/ttyUSB0
The ADE9000 also has Volts/Amps/pF/temp/etc… available with a SPI Interface Read.
Ideally would like to use the same RPI3 Stretch that the EmonCMS is running on, to do the SPI Read from the ADE9000, then send to an emonhub socket interface.
Is the RPI3 running Emoncms able to handle SPI Reads, and some averaging and calibration calculations without affecting overall performance?
In addition, is there a recommended serial connection diagram for SPI Interface to a RPI3 running EmonCMS. Are the SPI_MOSI, SPI_MISO, and SPI_CLK available?
Is there any sample code doing a SPI_READ available for a RPI3 running EmonCMS?