Transmit Temperature with Raspberry Pi
This project demonstrates interfacing a Raspberry Pi to an I2C temperature sensor (TMP102) and then publishing the data to a Google sheet and graph.Requirements:Raspberry PiUsed in article: Model B Revision 1.0 with Raspbian (Debian GNU/Linux 7.6 (wheezy))I2C temperature sensorUsed in article: TMP102Method to connect Raspberry Pi to internetUse in article: Raspberry Pi wired directly to routerGoogle account to create and access sheetsSetting up the I2C:Installing driversOpen a terminal on the Pi or use SSHType the following on the terminal to install support tools:sudo apt-get install python-smbussudo apt-get install i2c-toolsUse raspi-config to enable the i2c drivers:sudo raspi-configSelect "Advanced Options"Select "I2C"Select "Yes"Select "Yes"Reboot the Pi
Мнение автора может не совпадать с мнением редакции
For more projects, you can check : animated overview video
0
