Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

ADC Read Problem

890 Views - Created 09/02/2021

09/02/2021

Posted by:
Andr22

Andr22 Avatar

When running the ADC read code, there is no output to the terminal. Given the code stops if the SPI bus fails to open, I believe this to be the issue. I have enabled SPI in using the device tree paramters of the Pi as follows:

dtparam=i2c=on,i2s=on,spi=on

This doesn't have any effect. What needs to be done to correctly read the voltage and output it?

09/02/2021

Posted by:
Andr22

Andr22 Avatar

Update: manually enabled the SPI interface using the sudo raspi-config command

Sign in to post your reply

Note: documents in Portable Document Format (PDF) require Adobe Acrobat Reader 5.0 or higher to view.
Download Adobe Acrobat Reader or other PDF reading software for your computer or mobile device.