Skip to content

Unidirectional Asynchronous Serial Output (PIMA)

License

Notifications You must be signed in to change notification settings

ricaun/arduino-PIMA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unidirectional Asynchronous Serial Output (PIMA)

The Unidirectional Asynchronous Serial Output is a protocol to communication with electronic electricity meters.

LibraryBuild

Diagram

chip

Serial Configuration

Each meter has a fixed rate, usually 2400 Baud rate.

Packet Format

Preamble Id Size Index Data CRC
2 bytes 5 bytes 1 byte 2 bytes n bytes 2 bytes

Standard Packages

Index Type
0x0A02 ACTIVE
0x0A07 INDUCTIVE
0x0A0C CAPACITIVE
0x0A51 REVERSE

Documentation

Here a Celesc manual in Portuguese whos explains how the PIMA communication works.


Installation

Examples

The library comes with examples. After installing the library you need to restart the Arduino IDE before they can be found under File > Examples > PIMA.

API

See API.md.

License

This library is licensed under the MIT Licence.


Do you like this library? Please star this project on GitHub!