Raspi / Jetson Problem
Following docu [1] I should install Jetson.GPIO, which makes in my eyes no sense to install something for Nvidia-Jetson Nano on my Raspi. I did this anyway and got following error message if I start ADS1256.py: "/usr/local/lib/python3.5/dist-package/Jetson/GPIO/gpio-pin-data.py" ....raise Exception('Could not determine Jetson model') Which is no wonder for me on my Raspi. Is the board, the software and the documention already tested on a Raspi? What can we do?
[1] https://github.com/waveshare/High-Precision-AD-DA-Board/blob/master/RaspberryPI/readme_EN.txt
So I think this may be a misprint or something. You can't have Jetson GPIO on the Pi. You can use the SPI library given by python 3, but somebody must've copy/pasted from Jetson to RaspberryPi
Yesterday I move to https://github.com/ul-gh/PiPyADC and as I only want ADC with high precision and slow speed this works perfectly for me. I still believe this software from waveshare needs a lot of clean-up. On the other side the hardware is fascinating.
This is late but it might help someone down the line.
I had the same issue when running the examples (sudo python3 main.py)
Surprisingly what solved it was running the file without sudo (python3 main.py)
Also, make sure to run the command (sudo dtparam spi=on) for the python SPI library