Data Collection Using Raspberry Pi 3.0 and sensors using Python

Annapoornima Koppad (~annapoornima)




1. Introduction

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
  • Wires

3. Software Requirements

Software Used:

  • Ubuntu operating software
  • Python Software

Talk Description

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

Speaker Info:

I am one of the Directors of Python Software Foundation. I also founded the Pyladies Bangalore chapter.

Speaker Links:

Section: Embedded Python
Type: Talks
Target Audience: Advanced
Last Updated:

Please add more details in your talk proposal.

Kushal Das (~kushal)

Hi Kushal,

What other details do you want in the talk proposal. I will upload the slides in another few days.

Thanks and regards, Annapoornima

Annapoornima Koppad (~annapoornima)

Hi Annapoornima, Can you clarify what is the purpose of this IoT solution? What is the problem you are trying to address? Kind regards

misccold . (~misccold)

I noticed that there is a workshop proposal with the same title - are these two unique bits or, the same thing? Building hyperlocal weather sensors is an interesting exercise. Do you intend to cover how your audience can DIY and how it can be useful for them?

sankarshan mukhopadhyay (~sankarshan)

@Sankarshan, I want to present a talk and do a workshop as well. Talk is preferable. If time permits and if I have people to do the DIY workshop, I am for it.

@misccold, I am presenting how to collect temperature data and pass it on to the Raspberry Pi. Further, there are a plethora of things that can be done with data, some of the things that I can think on top of my head are, display heat maps, develop home automation tools, etc. Sky is just the beginning for limits.

Annapoornima Koppad (~annapoornima)

It will great if you can break the topics into subtopics and provide an outline of the talk. See for an example.

In my opinion, the talk would be interesting if the talk includes real world implementation issues, solutions tried, what worked or what did not, etc. Or how this was used to address a specific real world problem, like in pollution control, outcomes, improvements, etc.

Vijay Kumar (~bravegnu)

what is the problem solving ?? then next ...

Login to add a new comment.