GTEM ESP32 ATM90E26 – Connections

The GTEM, Grid Tie Energy Monitor board, has been designed to be flexible and whilst providing Energy Monitoring functionality, it also has other options for experimenting.     AC Input Power safely derived from a SELV / Wall AC/AC Power Supply Provides AC waveform reference for accurate Real Power measurements Connect ideally 12V AC (can […]

GTEM ESP32 ATM90E26 – Snippets

The ATMEL M90E26 is a high-performance wide-span energy metering chip. The design includes ADC and DSP technologies to ensure the chip’s long-term stability over variations in grid and ambient environmental conditions. Power Requirements DC 3.3V ~ 6mA Clock 8.192 MHz – External Crystal Interfaces SPI (Full Duplex, Synchronous Channel – 3 or 4 wire) 3 Wire. /CS […]

GTEM ESP32 ATM90E26 – Features

The ATMEL M90E26 is a high-performance wide-span energy metering chip. The design includes ADC and DSP technologies to ensure the chip’s long-term stability over variations in grid and ambient environmental conditions.   Metering Features • Metering features fully in compliance with the requirements of IEC62052-11, IEC62053-21 and IEC62053-23; applicable in class 1 or class 2 […]

GTEM ESP32 ATM90E26 SDK v1 – Power Supply

The GTEM board can be powered via either/both: USB Interface 5V AC into AC/DC Connector   The USB interface (via MicroUSB), can be used to power the GTEM board.  This is good for flashing and testing code.  The VBUS Diode is only used for protection, preventing any DC from external power supply input, so you […]

GTEM ESP32 ATM90E26 SDK v1 – Setup Code Calibration and Domoticz

GTEM ESP32 ATM90E26 Energy Monitor SDK GTEM-1_Test_ATM90E26_Basic_Calibration-Domoticz (Visual Studio Platform IO) This is available for Visual Studio Code download on our GitHub  A simplified version for Arduino IDE can be downloaded  on our GitHub This code will: Configure the GTEM board and Test the ATM90E26 Energy Monitor. Calibrate the ATM90E26, where needed (Based on Energy […]

GTEM ESP32 ATM90E26 SDK v1 – Interfacing

GTEM ESP32 ATM90E26 Energy Monitoring Energy Monitor ESP32 Interfacing The ESP 32 interfaces to the ATM90E26 via either: SPI UART (connected to ESP32 UART2) This is user selectable using the pads on the bottom of the GTEM board. By default, SPI is selected. The ESP32 interfaces to the AT24C64 EEPROM via I2C. It has an […]

CMIS ESP32 SDK v1 – Specification

CMIS (Current Monitor IoT Sensors), SDK Kit is based on an Espressif ESP32 WROOM and the board is designed to monitor four fully isolated DC currents up to 100A. An I2C reversible 2.54mm header is provided in the middle of the board, which will allow an OLED display (such as a SSD1306 I2C), to be […]

CMIS-1 ESP32 Additional ADC Advanced Functions

CMIS (Current Monitor IoT Sensors), SDK Kit is based on an Espressif ESP32 WROOM and uses the internal ADC for reading sensor values. Other useful advanced ESP32 ADC functions for future experimenting are: analogReadResolution(resolution): set the sample bits and resolution. It can be a value between 9 (0 – 511) and 12 bits (0 – […]

CMIS-1 Test Code Calibrate DC SensorZeroVoltage

CMIS (Current Monitor IoT Sensors), SDK Kit is based on an Espressif ESP32 WROOM and the board has four AC/DC ACS758 100A (ACS758LCB-100B-PFF-T), Hall Effect based, Linear Current Sensors. These bi-directional current sensors will read +/- 100A and have a sensitivity of typically 20mV/A.   The example code below will enable you to calibrate the […]

CMIS-1 Test Code DC Current with OLED Display

CMIS (Current Monitor IoT Sensors), SDK Kit is based on an Espressif ESP32 WROOM and the board has four AC/DC ACS758 100A (ACS758LCB-100B-PFF-T), Hall Effect based, Linear Current Sensors. These bi-directional current sensors will read +/- 100A and have a sensitivity of typically 20mV/A.   The example code below will measure a low voltage DC […]

CMIS-1 Test Code CT Clamp with OLED Display

CMIS (Current Monitor IoT Sensors), SDK Kit is based on an Espressif ESP32 WROOM and the board has a CT Clamp Input. The example code will read a voltage from the CT Current Clamp (or Current Transformer), and output to the OLED Display.  Each loop the RED LED will flash. Note, depending on your CT […]

CMIS-1 Test Code CT Clamp

CMIS (Current Monitor IoT Sensors), SDK Kit is based on an Espressif ESP32 WROOM and the board has a CT Clamp Input. The example code will read a voltage from the CT Current Clamp (or Current Transformer), and output to the serial monitor.  Each loop the RED LED will flash.  If a value is read, […]

EMIS-1 Test Code Relay

EMIS (Current Monitor IoT Sensors), SDK Kit is based on an Espressif ESP32 WROOM and the board has a small relay in order to provide an isolated output. The relay is rated at 2A and 30V DC.    

CMIS-1 Test Code OLED

CMIS (Current Monitor IoT Sensors), SDK Kit is based on an Espressif ESP32 WROOM and the board has an I2C header designed for easy OLED connection. Displays random number between 0 and 99 and updates battery percentage.  Heartbeat RED LED flashes each loop cycle. You will need to select your OLED Display.  Uncomment/Comment as needed. // […]

EMIS-1 Test Code OLED

EMIS (Energy Monitoring IoT Sensors), SDK Kit is based on an Espressif ESP32 WROOM and the board has an I2C header designed for easy OLED connection. Displays random number between 0 and 99 and updates battery percentage.  Heartbeat RED LED flashes each loop cycle. You will need to select your OLED Display.  Uncomment/Comment as needed. […]

EMIS-1 Test Code Wifi

EMIS (Energy Monitoring IoT Sensors), SDK Kit is based on an Espressif ESP32 WROOM, which incorporated 2.4GHz Wireless. This code simply communicates with the 2.4GHz Wireless and scans for available Access Point or Router networks. Example Arduino code below.

CMIS-1 Test Code Wifi

CMIS (Current Monitor IoT Sensors), SDK Kit is based on an Espressif ESP32 WROOM, which incorporated 2.4GHz Wireless. This code simply communicates with the 2.4GHz Wireless and scans for available Access Point or Router networks. Example Arduino code below.  

EMIS-1 Test Code RGB LED

EMIS (Energy Monitoring IoT Sensors), SDK Kit contains an RGB LED.  This basic code is used to test the RGB LED. RED LED is on GPIO 2 Green LED is on GPIO 4 Blue LED is on GPIO 15 The separate POWER LED is RED and is always on. Note that in the default state, […]

CMIS-1 Test Code RGB LED

CMIS (Current Monitor IoT Sensors), SDK Kit contains an RGB LED.  This basic code is used to test the RGB LED. RED LED is on GPIO 2 Green LED is on GPIO 4 Blue LED is on GPIO 15 The separate POWER LED is RED and is always on. Note that in the default state, […]