Hello everyone. I am working on a homework project, and at this final stage, this is my situation :
I have a circuit where an LM35 chip yields temperature in a voltage rate proportional to the ambient centigrade value (eg. 20 degrees would be 20mV V). Then, after i found out i had to turn this into a digital signal to be able to display this voltage on a seven segment display, i decided to use ADC0831 and to use it's binary output, i decided to use MAX7219 (includes a decoder for binary signals and a driver to drive the 7 segment displayers).
Here's my first sticking point, and despite some research, which i couldn't quite understand.
ADC0831 has 8 terminals, namely CS, Vin+, Vin- , GND on one side and Vcc, Vref, CLK and DO on other.
What exactly do these terminals do? CS,CLK and DO are of particular interest to me. And I'd also appreciate advice on how best i'd use these terminals. My goal is to display temperature on the 7 segment displays with 2 digits , from 0 to 50 celsius.
So far i saw that CS activates the chip , CLK puts in the working frequency of the chip and DO is the binary signal that is translated from the analog value. But how exactly? What should be my CLK or CS value? What is the correspondence between the ambient temperature and the 8 bit signal?
I have a circuit where an LM35 chip yields temperature in a voltage rate proportional to the ambient centigrade value (eg. 20 degrees would be 20mV V). Then, after i found out i had to turn this into a digital signal to be able to display this voltage on a seven segment display, i decided to use ADC0831 and to use it's binary output, i decided to use MAX7219 (includes a decoder for binary signals and a driver to drive the 7 segment displayers).
Here's my first sticking point, and despite some research, which i couldn't quite understand.
ADC0831 has 8 terminals, namely CS, Vin+, Vin- , GND on one side and Vcc, Vref, CLK and DO on other.
What exactly do these terminals do? CS,CLK and DO are of particular interest to me. And I'd also appreciate advice on how best i'd use these terminals. My goal is to display temperature on the 7 segment displays with 2 digits , from 0 to 50 celsius.
So far i saw that CS activates the chip , CLK puts in the working frequency of the chip and DO is the binary signal that is translated from the analog value. But how exactly? What should be my CLK or CS value? What is the correspondence between the ambient temperature and the 8 bit signal?