Now that you know the trick of reading the ADC value from MCP3008 through an SPI, line we are ready to interface one of the sensors with MCP3008's channel 0. You can now use your sensor station to interface with up to eight sensors in parallel. To simplify the experiment, we are going to interface the temperature sensor with the sensor station board. Imagine that the RasPi has been connected at a remote place to log temperature data. Depending on our application, once in a month or after a certain time, we need the data to be recorded manually. To log this, we will make use of Python to store data in a text file, and read these values later on for analysis.
Raspberry Pi Sensors
By :
Raspberry Pi Sensors
By:
Overview of this book
Table of Contents (16 chapters)
Raspberry Pi Sensors
Credits
About the Author
Acknowledgements
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Meeting Your Buddy – the Raspberry Pi
Meeting the World of Electronics
Measuring Distance Using Ultrasonic Sensors
Monitoring the Atmosphere Using Sensors
Using an ADC to Interface any Analog Sensor with the Raspberry Pi
Uploading Data Online – Spreadsheets, Mobile, and E-mails
Creating an Image Sensor Using a Camera and OpenCV
Shopping List
Index
Customer Reviews