Raspberry pi weather station
This was an entry level study done on Raspberry pi in the Data Acquisition Lab to get a basic knowledge on Raspberry pi and also to get familiarized with the linux operating systems.
First Raspbian was downloaded and a bootable SD card was created. Raspberry pi wa booted and was connected to a wifi network. Then a little bit of study on static and dynamic IPs was done. For easy functionality a static IP was created using DHCPCD. Then the raspberry pi was connected to the computer using "Putty".
Once the link was established between Raspberry pi and the computer files were transmitted to the pi and some basic codes were tested such as lighting an LED, lighting two LEDs, generating a PWM signal and blinking an LED etc.
As the next step a DS1820 temperature sensor was interfaced with the pi. Once it was up and running using the one wire protocol another DS1820 was interfaced. Then apache server was installed and a temperature logger was created. There the python code will write the temperature data into a text file. And an html file was created to acquire data from the text file which was located at /var/www/html location. Therefore using the ip address 10.20.12.219 it was possible to view the web page.
Click here to access the full report.
First Raspbian was downloaded and a bootable SD card was created. Raspberry pi wa booted and was connected to a wifi network. Then a little bit of study on static and dynamic IPs was done. For easy functionality a static IP was created using DHCPCD. Then the raspberry pi was connected to the computer using "Putty".
Once the link was established between Raspberry pi and the computer files were transmitted to the pi and some basic codes were tested such as lighting an LED, lighting two LEDs, generating a PWM signal and blinking an LED etc.
![]() |
| Two sensor information |

No comments:
Post a Comment