About Us Knowledge Base Community Forum Electronics Toolbox FAQ Shipping & Delivery

Community Forum

Share your projects and post your questions

Search
Register or Sign In
Forum

ADC Read Problem

41 Views - Created 16 days ago

16 days ago

Posted by:
Andr22

Users 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?

16 days ago

Posted by:
Andr22

Users Avatar

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

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.