Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Raspberry Pi Sensors
  • Toc
  • feedback
Raspberry Pi Sensors

Raspberry Pi Sensors

By : Rushi Gajjar
4.4 (9)
close
Raspberry Pi Sensors

Raspberry Pi Sensors

4.4 (9)
By: Rushi Gajjar

Overview of this book

This book is perfect for hardware enthusiasts who want to develop amazing projects using Raspberry Pi. Some knowledge and experience working with Linux, C, and Python is a plus, but once you're set up to go, you'll be ready to push the creative capabilities of your Raspberry Pi even further.
Table of Contents (10 chapters)
close
9
Index

MCP3008 for analog-to-digital conversion

The MCP3008 ADC is based on successive approximation ADC architecture with a resolution of 10 bits. The MCP3008 has eight input channels for interfacing the sensors on the pins. If so many channels are not required, we can select a four-channel input ADC chip known as MCP3004. These chips are the best way to interface sensors because they support the SPI slave mode to be interfaced with the GPIO pins of the RasPi models A+, B, and B+ and RasPi 2 model B. This MCP3008 chip should be purchased in a dual-in-line (DIP) package so that we can easily insert it on a breadboard while preparing for the project:

MCP3008 for analog-to-digital conversion

Channels

In the preceding figure, the pin out of MCP3008 is represented. Pins 1 to 8 to the left are CH0 to CH7, which are used for analog input channels 0 to 7 respectively.

Tip

If you have had an enough exposure to electronics in the past, you might have heard about differential pair signals. These differential pair signals are used to eliminate the...

bookmark search playlist font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete