Data Collection Using Raspberry Pi 3.0 and sensors using Python
Annapoornima Koppad (~annapoornima) |
The internet of things is a connected of various elements capable of communication with one another. Internet of Things utilize a variety of computing devices incuding sensors capabe of sensing parameters, communication devices that can interface the sensors to information convertors such as Analog to Digital convertors, and processing motherboard that can process data obtained from the sensors via the information convertors.
2. Hardware Requirements
I have used the following hardware for this project. Illustration 1 depicts the components used for this project.
- Temperature sensor – DHC11
- Analog to Digital Convertor - ATMEGA328PU
- Raspberry Pi 3.0
3. Software Requirements
- Ubuntu operating software
- Python Software
The ATMEGA328PU analog to digital convertor is bootloaded with data acquition bootloader available from the AVR too chain set.Here in this project, I have connected DHC11 temperature sensor to a ATMEGA328PU which is powered by the Raspberry Pi 3.0. The DHC11 temperature sensor senses the temperature and the ATMEGA328PU sends the collected data to Raspberry Pi 3.0. The Raspberry Pi 3.0 receives the data from the ATMEGA328PU and displays a chart of the data against time.
Verification of whether the temperature sensor DHC11 can acquire accurate temperature with the user varying the temperature near the sensor using a match stick or by sticking his/her finger on the temperature sensor DHC11.
The data can further be used from the end user’s purposes such as indicating a surge in temperature, and or display heat maps.
The software part of acquiring data is written entirely in Python. I wrote python programs that are capable of sending messages to mobiles and email address of particular people.
5. Scope for future work
The data collected from the DHC11 can be used to develop home automation tools such as gesture control modules that make home automation tools more interesting towards user centric automation.
There is a lot of future work in terms of applications in fields of Media, Entertainment Systems, Infrastructure Management, Manufacturing, Medical and Health care Systems, Transportation, and Large Scale deployments. I have entirely used Open Source Software for the software requirements so that there are no issues to make the project available for the common good.
Python 2.7, Raspberry Pi 3.0
I am one of the Directors of Python Software Foundation. I also founded the Pyladies Bangalore chapter.