Skip to content

〽️ AD Converter driver for RPi extended board.

Notifications You must be signed in to change notification settings

keisukesakasai/ads1256

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ADS1256 (High-Precision AD/DA Board)

Environment

  • Raspi(Raspbian Stratch)
  • python 3
  • require : sudo privileges

Usage

  • console
sudo python3 ./ads1256.py
====== ADC VALUE======
CH1 : 1.9933 V
CH2 : 0.7193 V
CH3 : 1.1976 V
CH4 : 1.1976 V
CH5 : 1.1977 V
CH6 : 1.1976 V
CH7 : 1.1978 V
CH8 : 1.1978 V
=======================
  • interpreter
import ads1256

adc = ads1256
adc.ads1256_adc()
>>>
{'CH1': 1.9933,
 'CH2': 0.7142,
 'CH3': 1.1975,
 'CH4': 1.1975,
 'CH5': 1.1976,
 'CH6': 1.1976,
 'CH7': 1.1976,
 'CH8': 1.1976}
 
 adc.ads1256_adc()['CH1']
 >>> 1.9934 # V

About

〽️ AD Converter driver for RPi extended board.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages