Skip to content

SequentMicrosystems/24b8vin-rpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

24b8vin-rpi

Drivers for Eight 24-Bit Analog Inputs DAQ 8-Layer Stackable HAT for RaspberryPi

image

Setup

Enable I2C communication first:

sudo raspi-config

A good article about I2C on Raspberry can be found here.

If you use Ubuntu you need to install raspi-config first:

sudo apt update
sudo apt install raspi-config

Make sure you have all tools you need:

sudo apt update
sudo apt-get install git build-essential

Usage

Install the command:

cd
git clone https://github.com/SequentMicrosystems/24b8vin-rpi.git
cd 24b8vin-rpi/
sudo make install

Now you can access all the functions of the Eight 24-Bit Analog Inputs DAQ through the command "24b8vin". Use -h option for help:

24b8vin -h

If you clone the repository any update can be made with the following commands:

cd ~/24b8vin-rpi/  
git pull
sudo make install

Gain codes

Gain Code Voltage Range (±V)
0 24
1 12
2 6
3 3
4 1.5
5 0.75
6 0.37
7 0.18

Example usage

24b8vin 0 grd 2

Read gain code for input channel #2 on board #0

24b8vin 0 gwr 2 4

Set gain code to 4(±1.5V) for input channel #2 on board #0

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published