![]() The 10-bit property is the resolution of the ADC, or the precision to which it can measure a voltage. The 8-channel part means that it can accept up to 8 different analog voltages, however it can only convert one voltage at any one time. It is an 8-channel, 10-bit analog to digital converter. The ADC used in this example is the MCP3008. A high Chip Select line tells the SPI device to ignore all of the commands and traffic on the rest of the bus. However, only the selected device has the Chip Select line set low, while all other devices have their CS lines set high. If there are multiple SPI devices, they can all share the same CLK, MOSI, and MISO. Finally, the Chip Select line chooses which particular SPI device is in use. ![]() This means the value must be set before the clock is pulsed. The ADC will take the value of the bus on the rising edge of the clock. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |