Skip to content

Python library for Silicon Labs' Si705x family of temperature sensors with full CRC support. Runs on OrangePi

Notifications You must be signed in to change notification settings

iboguslavsky/si705x

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

si705x

Python library for communicating with Silicon Labs' Si705x I2C temperature sensors - along with sample apps. Runs on OrangePi (tested) and RaspPi. Uses SMBus2 module.

Simple temperature logger tool is included.

Datasheet: https://www.silabs.com/documents/public/data-sheets/Si7050-1-3-4-5-A20.pdf

Simple temperature sensing

from smbus2 import SMBusWrapper
from Si705x import Si705x as sensor

with SMBusWrapper(0) as bus:

	c, f = sensor(bus).getTemp()
	print("{:.1f} Celsius, {:.1f} Fahrenheit".format(c, f))

Releases

No releases published

Packages

No packages published

Languages