Zum Inhalt springen

WSAL11010 – High-Precision AD – DA Board/en

Aus JW Tech Wiki

Documentation notice: This technical documentation was independently rewritten from an archived supplier source. Check technical details and commands against the product version and manufacturer documentation before use.

Summary

The board adds high-precision analog-digital and digital-analog conversion to Raspberry Pi and Jetson Nano over SPI.

Related products at JW Tech

Technical overview

  • Uses the 24-bit, 8-channel ADC ADS1256 with a 30 kS/s sampling rate and four differential inputs.
  • Includes the 16-bit, 2-channel DAC DAC8552 for output conversion.
  • The pinout follows the Waveshare sensor interface standard, allowing connection of various analog sensor modules.
  • Terminal blocks consolidate input and output interfaces for analog and digital signals.
  • An onboard AD/DA test circuit simplifies signal demonstration.
  • For Raspberry Pi, enable the SPI interface via raspi-config under Interfacing Options.
  • Ready-made demo projects are provided in C, Python 2, Python 3, and WiringPi.

Commands and examples – verify before use: 

sudo raspi-config
sudo reboot
ls /dev/spi
sudo wget http://www.airspayce.com/mikem/bcm2835/bcm2835-1.71.tar.gz
sudo tar zxvf bcm2835-1.71.tar.gz
cd bcm2835-1.71/
sudo ./configure && sudo make && sudo make check && sudo make install
sudo apt-get install wiringpi
wget https://files.waveshare.com/wiki/common/wiringpi-latest.deb
sudo dpkg -i wiringpi-latest.deb
gpio -v
sudo git clone https://github.com/WiringPi/WiringPi
cd WiringPi
sudo ./build
sudo su
wget https://github.com/joan2937/lg/archive/master.zip
unzip master.zip
cd lg-master
sudo make install
sudo apt-get update

Notes and version constraints

  • On Bookworm only the lgpio library is available; BCM2835 and WiringPi cannot be installed or used.
  • After using the BCM2835 library, the Raspberry Pi must be restarted so that other libraries run correctly.
  • Unconnected channels display around 1.17 V or 5.08 V as idle signals; this is normal due to the chip's internal structure.
  • The demo adds a delay during data processing, so the effective sampling rate may fall below 30 kS/s.
  • STM32 compatibility is claimed in the source but lacks specific instructions; porting requires manual work.
  • Loading the SPI driver on Jetson Nano uses 'sudo modprobe spidev'; the correct configuration should be verified before use.

Source and revision record