Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspi / Jetson Problem #5

Open
kolossos opened this issue Mar 8, 2020 · 3 comments
Open

Raspi / Jetson Problem #5

kolossos opened this issue Mar 8, 2020 · 3 comments

Comments

@kolossos
Copy link

kolossos commented Mar 8, 2020

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

@kelby-amerson
Copy link

kelby-amerson commented Mar 26, 2020

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

@kolossos
Copy link
Author

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.

@KoyaS
Copy link

KoyaS commented May 27, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants