My raspberry 3Bs seem to have problems with their I2C and SPI bus.
a. I tried MCP3008 using SPI connected with light sensor and temp sensor, the output on channel 0 &1 is only outputting zeros and 255s. I've replaced jumper wires 3 times, replaced with another Raspberry pi 3B, replaced with 4 different mcp3008, replaced light sensor and temp sensors. NOTHING WORKS.
b. Then I tried ADS1115 using I2C connected with temp sensor. I then used adafruit's example simpletest.py following the exact step. Get an erro: 'remote I/O error'
Basically I've replace everything else but my laptop and the software itself(raspbian). Anyone that can help will be very much appreciated.
[![enter image description here]]