This version of the Python Libraries is no longer under active development. For new python projects we recommend using our current Python library which is compatible with Python versions 2 and 3.
Current Version: https://github.com/abelectronicsuk/ABElectronics_Python_Libraries
Python 3.x Libraries to work with Raspberry Pi expansion boards from https://www.abelectronics.co.uk
Python 3.x with smbus
To download to your Raspberry Pi type in terminal:
git clone https://github.com/abelectronicsuk/ABElectronics_Python3_Libraries.git
This directory contains ADC DAC Pi Python Library with ADC read and DAC write demos to use with the ADC DAC Pi https://www.abelectronics.co.uk/p/39/ADC-DAC-Pi-Raspberry-Pi-ADC-and-DAC-expansion-board and the ADC DAC Pi Zero https://www.abelectronics.co.uk/p/74/ADC-DAC-Pi-Zero-Raspberry-Pi-ADC-and-DAC-expansion-board
This directory contains ADC Pi Python Library and read voltage demo to use with the ADC Pi https://www.abelectronics.co.uk/p/69/ADC-Pi-Raspberry-Pi-Analogue-to-Digital-converter
This directory contains ADC Differential Pi Python Library and read voltage demo to use with the ADC Differential Pi https://www.abelectronics.co.uk/p/65/ADC-Differential-Pi-Raspberry-Pi-Analogue-to-Digital-converter
This directory contains Expander Pi Python Library and demos to use with the Delta Sigma Pi https://www.abelectronics.co.uk/kb/article/1041/delta-sigma-pi
This directory contains IO Pi Python Library and demos to use with the Expander Pi https://www.abelectronics.co.uk/kb/article/1046/expander-pi
This directory contains IO Pi Python Library and demos to use with the IO Pi Plus https://www.abelectronics.co.uk/p/54/IO-Pi-Plus and IO Pi Zero https://www.abelectronics.co.uk/p/71/IO-Pi-Zero
This directory contains RTC Pi Python Library and demos to use with the RTC Pi https://www.abelectronics.co.uk/p/15/RTC-Pi , RTC Pi Plus https://www.abelectronics.co.uk/p/52/RTC-Pi-Plus and RTC Pi Zero https://www.abelectronics.co.uk/p/70/RTC-Pi-Zero
This directory contains ServoPi Python Library and read voltage demo to use with the ServoPi https://www.abelectronics.co.uk/p/44/Servo-PWM-Pi and Sero Pi Zero https://www.abelectronics.co.uk/p/72/Servo-PWM-Pi-Zero
We have now added ABE_helpers.py class to the libraries which use Python smbus to enable a single bus instance to be used with multiple expansion boards and to avoid smbus conflicts.