High-Precision-AD-DA-Board icon indicating copy to clipboard operation
High-Precision-AD-DA-Board copied to clipboard

Raspi / Jetson Problem

Open kolossos opened this issue 6 years ago • 3 comments

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

kolossos avatar Mar 08 '20 11:03 kolossos

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

kelby-amerson avatar Mar 26 '20 13:03 kelby-amerson

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.

kolossos avatar Mar 27 '20 16:03 kolossos

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

KoyaS avatar May 27 '20 20:05 KoyaS