12th Anniversary Sale 12% Off in July & August with the voucher code "SUMMER12" *excludes trade customers
Support Forum

Share your projects and post your questions

Register   or   Sign In
The Forum

ADC Read Problem

The ADC Pi is an Analogue to Digital converter for the Raspberry Pi

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.