I need use 4 sensor with analog output in raspberry pi3 . in my country we have only mcp3002. I can not get mcp3004.
how I can connect two mcp3002 to raspberry pi3 for read data from 4 analog sensor??? please help me
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.
Sign up to join this communityI need use 4 sensor with analog output in raspberry pi3 . in my country we have only mcp3002. I can not get mcp3004.
how I can connect two mcp3002 to raspberry pi3 for read data from 4 analog sensor??? please help me
SPI is a bus.
Use the same connections between the Pi and the chips for Vcc, ground, MOSI, MISO, and SCLK.
Use CE0 for one chip and CE1 for the other.
The software uses the slave select line (CE0/CE1) to specify the chip to read at any one moment in time.