Adc board integration

I got a Raspberry Pi High-Precision AD/DA Expansion Board from Robotshop,
the RB-Wav-08 by Waveshare.
https://www.robotshop.com/en/raspberry-pi-high-precision-ad-da-expansion-board.html

I have no clue what to do next. I assumed it would come with a software. It uses the SPi bus.

Could someone point me in the right direction?
MySensors? /ul-gh/PiPyADC? custom c? custom python? Or start over with a different boad that has a Home Assistant platform?

Thanks!

I took a quick look. I can find C code for the device for the Raspberry PI, including a prewritten interface here: https://www.waveshare.com/wiki/High-Precision_AD/DA_Board

However I think for a beginner Python would be a better choice. But I cannot find Python directly for that device.

SPI is a generic bus protocol, Serial Peripheral Interface (I believe). There is Python code that shows you how to communicate with it from the PI,
https://learn.sparkfun.com/tutorials/raspberry-pi-spi-and-i2c-tutorial/all

but this would be generic and require you get the datasheet for the IC on the board you bought.

Usually with ADCs you send a read request and then listen for the response. For DAC you sent a write request, then send your data. You usually have to send a config byte or bytes to set the ADC up into the mode you want first. For example they often have single sample or a series of samples. This can often be a head melt as hardware config bytes are sometimes not for the faint hearted.

I think it depends on how deep you want to get into this or if you just want a quick win. If you have the time and are interested learning the SPI interface in Python is an option. If you don’t you could try the pre-canned RPI image and their example test code and wrap a script around it for HA integration.

I would spend some time googling for other people using this from Python, someone, somewhere may have posted code.