Skip to content

usmanf1/3phase_meter

 
 

Repository files navigation

3phase_meter

Arduinobased 3-phase power meter

Some resources:

Note that a file "mySSID.h" should be created. It only contains some IDs and passwords and should not be checked in.

  char *ssid="The SSID to connect to";
  char *password="The password to use";
  char *mqtt_server="192.xxx.xxx.xxx";
  char *flashpw="Password to use when flashing OTA";

Some libraries are needed as well:

  • ESP8266 - configuration of the board
  • PubSubClient - to be able to use MQTT
  • EmonLib - For current and power calculations

Note that the EmonLib should be updated to read from an external ADC.
(TBD: Should update with a link or check-in the changes ...)

Note! PubSublient.h needs to be updated! Increase the following define to 1024:

//#define MQTT_MAX_PACKET_SIZE 128 #define MQTT_MAX_PACKET_SIZE 1024

About

Arduinobased 3-phase power meter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 94.4%
  • C 5.6%