Using Python

The Meter comes with Python 3 and PIP3 pre-installed. We recommend you to use python 3 for your developments based on long term support.

Installing Libraries with PIP3:

pip3 install <module name>


Reading Temperature example code:

import time
import serialser = serial.Serial(‘/dev/ttyS1’, 230400, timeout = 0.1)#Start serial communication

ser.write(“””{“chip”: “1”, “operation”: “getTemp”}”””)#Solicitar Temperatura del Chip 1
while not ser.inWaiting():
if ser.inWaiting():
recibidoSerial = ser.readline()
print(recibidoSerial)#Print Temperature on the screen