# Power Metter TDM2507 Specs

> Source: https://maker.tdlogy.com/wiki-doc/power-metter-tdm2507-specs/

### User Manual&nbsp;

#### Overview&nbsp;

TDM2507 is a built-in clock calibration-free energy metering module, which is suitable for single-phase multifunction electricity meters, smart sockets, smart home appliances and other applications, with more costefficient solution.

This document describes the specification of the TDM2507 AC Power Metter Module.&nbsp;This module is mainly used for measuring AC voltage, current, active power, frequency, power factor and active energy, the module is without display function, the data is read through the TTL interface.&nbsp;

Variant selection:TDM2507-1-10A: Measuring Range 10A (Built-in Shunt 1mOhm)&nbsp;TDM2507-2-10A: Range 10A (external CT)&nbsp;TDM2507-3-50A: Range 50A (external CT)TDM2507-4-100A: Range 100A (external CT)&nbsp;&nbsp;

Note: the module does not come with a plastic case, if you want to have plastic case, please order from&nbsp;this link

#### 1. Function description&nbsp;

Voltage measuremnt10-300VacPower AcccurracyLess than 0.1% error in active energy measurement over a dynamic range of 4000:1&nbsp;Current RMS range ( Onboard shunt version)(10mA ~ 30A) @ 1mOhm&nbsp;TDM2507-1-10ACurrent RMS range ( External CT 10A)0-10A Using CT DL-CT08CL6-1000 10ATDM2507-2-10ACurrent RMS range ( External CT 50A)0-50A Using CT DL-CT08CHL12-1000 50ATDM2507-3-50ACurrent RMS range ( External CT 100A)0-100A CT DL-CT08CHL18-2000TDM2507-4-100AResolutionActive Energy Measurement Error0.5%

#### 2.Communication protocol &nbsp;

2.1 Physical layer protocol&nbsp;

Physical layer use UART.

Baud rate is 4800, 8 data bits, 1 stop bit, no parity&nbsp;

Support packet reading

Baud Rate Configuration:&nbsp;

BL0942 can configurate Baud Rate by register MODE [9:8] and SCLK_BPS pin. But we recommend to keep baurate at 4800bps to advoid noise immunity.

Refer techincal datasheet for more details: BL0942 Datasheet

#### 3. Functional block diagram

##### A. With direct current measure via shunt resistor&nbsp;

##### B. With CT current sense (default 10A)

#### 4. Wiring Diagram

#### 5.Addition Note:&nbsp;

#### Programing Example:

Test with ESP32-C3: &nbsp;bl0942_esp32c3.zipESP32C3 Pin----- TDM2507

Thứ tự chân trên TDM2507:

&nbsp; &nbsp;VCC&nbsp; TX&nbsp; RX&nbsp; GND

&nbsp; &nbsp; &nbsp; Pin 4 ----- RX

&nbsp; &nbsp; &nbsp; Pin 5 ----- TX

&nbsp; &nbsp; &nbsp; GND ----- GND

&nbsp; &nbsp; &nbsp; 3V3 ----- VCC

Điều chỉnh lại UART sử dụng và chân trong file bl0942.c

Có thể điều chỉnh chân uart giao tiếp ở dòng 124 trong code test. (thứ tự chân là UARTBL0942, TX, RX).

Có thể điều chỉnh uart sử dụng ở dòng 36 trong code. Cấu trúc UART_NUM_0( hoặc 1, hoặc 2).

Kết quả sau khi chạy code mẫu.