IoT : Encounter with ESP8266-201 Module

Came to know about new module called ESP8266-201 for IoT experiments , when Heramb MakerLab arranged one session with one of the makers ( Hemant worked in Tieto) on IoT.

It sounds like good Rs. 500 investment for experimenting and learning this new IoT module. I ordered immediately following two items online from one of the vendors on Lamington Road, Mumbai :

  1. ESP8266 ESP-201 WiFi board with full I/O and PCB antenna  : This is actual module which needs to be programmed as a controller along with thing to communicate with internet or home network.
  2. FT232RL Based High Quality USB to TTL Module : This is module for loading the program into ESP module. It can also provide initial power for ESP module during prototyping phase.

Ref :

For running first program on ESP module, you would need following additional hardware :

  • LED
  • Resistor – 220 ohm
  • Jumper wires

By the time I got the modules, I started reading about ESP more. I worked with Raspberry Pi extensively and also developed one IoT prototype for sensing room temperature and sending the data to cloud system.  Working with Arduino IDE and ESP specially was little new area to me.

Step 1 : Installing / Updating Arduino IDE to support ESP8266 boards.

–          Install Arduino 1.6.5 from the Arduino website.

–          Start Arduino and open Preferences window.

–          Enter into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.

–          Open Boards Manager from Tools > Board menu and install esp8266 platform (and don’t forget to select your ESP8266 board from Tools > Board menu after installation).

Ref :

ESP-8226 Board inside Arduino IDE

Step 2 : Connecting ESP module with USB to TTL Module

Use following diagram as reference and make connections.

ESP8266-201 and USB-TTL Module

Step 4 : Connect USB to TTL module to Laptop / Computer

Once you make connection, Red LED on ESP shall get light up.

Step 5 : Upload program to ESP module via Arduino IDE

There is sample program already written in example folder. Open that program to update SSID and Password of your WiFi network, so updated program can be uploaded onto ESP module.

Open Program (Sketch)

Once changes are done, click on upload button on top left hand side. Don’t worry if you are getting errors, recheck the connections and try again.

Program shown in picture is different
Program Uploaded Successfully

Once program is uploaded disconnect the GPIO-0 wire and toggle the power of ESP module (You can just remove USB from laptop and plug it again)

Step 6 : Run program on ESP module and verify THING (ESP /module) is getting connected to home WiFi network

I use android app called Fing to check connected devices inside my home network. This app helps to identify IP address on ESP module, which we can use for operating GPIO-2 of ESP Module (To which we have connected LED).

Step 8 : Operate LED via browser on mobile or Laptop (inside Home network)

You can turn ON/OFF LED from your mobile browser or from any device which is inside your home network.


I enjoyed learning about ESP module by making this project, hope you shall enjoy too. There is lot more to learn abut this module and how to utilize this to satisfy your home automation needs. Next thing, I am learning is Souliss Framework for home automation. This framework can be installed on any Arduino and ESP modules. Let us make something out of Souliss next time.

Happy Making!!!

References :

Following blogs and online sources help me a lot in understanding the ESP and its different variants :

(Good to understand the latest ESP module and understand its basic PIN reference)

(This link does not provide instructions for latest module of ESP , but was handy for me to burn the program on ESP using Arduino IDE)

(Helped me to update the Arduino IDE to support  programming for ESP board)

Fritzing :

Amazon AWS IoT Core and my fridge

We had problem with our fridge which was causing it to make stuff inside more cooler than expected. I thought of looking at its pattern of heating (at condenser) side so I can check how that causing any issues at cooling side. Though this may not be right way to diagnose the freeze, but I thought of trying my hands with Raspberry Pi + DHT 11 Sensor + AWS IoT Core.

Note that AWS IoT core is too much for this analysis, I might create the same analysis with Google Worksheet as well ( Which I might try next).

Raspberry Pi + DHT11 Sensor Connection :

Note that below instructions assumes that you have Raspberry pi with Raspbian OS already installed and you are aware how to connect to Raspberry pi via putty like software.

You can connect raspberry pi i/o pins with DHT11 sensor as below :








To know more about Adafruit Library and how to use the same to capture Temperature and Humidity.

  1. Enter this at the command prompt to download the library:

git clone

  1. Change directories with:

cd Adafruit_Python_DHT

  1. Now enter this:

sudo apt-get install build-essential python-dev

  1. Then install the library with:

sudo python install

Test the sensor with following python script (Make sure you create python script outside the ‘Adafruit_Python_DHT’ folder.


import sys

import Adafruit_DHT

while True:

humidity, temperature = Adafruit_DHT.read_retry(11, 4)

print ‘Temp: {0:0.1f} C  Humidity: {1:0.1f} %’.format(temperature, humidity)

If above script shows output on command prompt of Raspberry Pi, then we are good with our hardware setup.

Set up AWS IoT Core :

Note : You need to have access to AWS portal for which you need to pay around INR 2 where you can get access for 1 year for free. Though there are few limitations with this free account.

  1. Goto IoT Core service and click on manage :1
  2. Register Single Thing2
  3. Create a single thing . Write name of thing with description.3
  4. Add type , here raspberry pi based sensor can be one type.4
  5. Create certificate for given thing. It is part of security bundle which requires to be added in raspberry pi.56
  6. Activate the certificate.7
  7. Device got created now.8
  8. Since thing is added , it requires to create bundle which would have all security certificate . So Interact –> Connect Device option.9-19-ConnetDevice
  9. Select OS as Linux and SDK as Python (for raspberry pi)1011
  10. Download connection kit , which is zip format. Unzip and then transfer to Raspberry pi via winscp (from your windows machine).13
  11. On AWS portal , you will get following screen , which is waiting for message from your sensor device.12
  12. Login to Raspberry Pi via putty and navigate to folder which has been transferred in previous steps. 14
  13. Note steps shown on AWS screen to change executable access for and try to execute the script.15
  14. You can see it downloads python SDK files along with one root certificate. But script fails to run actual python sample scripts. You can do that manually by executing command shown at end of script.


pushd aws-iot-device-sdk-python (This line gives error , which actually navigate control to aws-iot-device-sdk-python folder)

 python install

So navigate to aws-iot-device-sdk-python folder which is just got created via start script.

And run command

Sudo python install

Once above command got executed , navigate back to parent folder and run following command and run following command which appears in your script.

python aws-iot-device-sdk-python/samples/basicPubSub/ -e -r root-CA.crt -c rbPi-2.cert.pem -k rbPi-2.private.key


You can see messages started coming onto AWS portal.

Press Done and navigate back to Monitor option. You can see connections have been shown.


Let us modify the existing python script to push temperature and humidity values to new topic

  • Use same command which you have used previously but with new command line option ‘-t ‘ with new topic which you would like to have .

sudo python aws-iot-device-sdk-python/samples/basicPubSub/ -e -r root-CA.crt -c rbPi-2.cert.pem -k rbPi-2.private.key -t freeze/openclose

You shall get error as below.18

  • Let us fix this issue by updating policy in section Secure –> Policies. Just make sure you select correct policy for update.2021
  • Now after updating the policy try same command again and you can check the messages coming to given topic “freeze/openclose” by navigating to section Test –> Subscribe to a Topic22
  • Now update the temperature , humidity and timestamp values to be sent via python script. You have to create copy of sample python script as below and execute the same with all parameters as previous command
import datetime
import sys
import Adafruit_DHT
from AWSIoTPythonSDK.MQTTLib import AWSIoTMQTTClient
import logging
import time
import argparse
import json

AllowedActions = ['both', 'publish', 'subscribe']
# Custom MQTT message callback
def customCallback(client, userdata, message):
    print("Received a new message: ")
    print("from topic: ")
# Read in command-line parameters
parser = argparse.ArgumentParser()
parser.add_argument("-e", "--endpoint", action="store", required=True, dest="host", help="Your AWS IoT custom endpoint")
parser.add_argument("-r", "--rootCA", action="store", required=True, dest="rootCAPath", help="Root CA file path")
parser.add_argument("-c", "--cert", action="store", dest="certificatePath", help="Certificate file path")
parser.add_argument("-k", "--key", action="store", dest="privateKeyPath", help="Private key file path")
parser.add_argument("-p", "--port", action="store", dest="port", type=int, help="Port number override")
parser.add_argument("-w", "--websocket", action="store_true", dest="useWebsocket", default=False,
                    help="Use MQTT over WebSocket")
parser.add_argument("-id", "--clientId", action="store", dest="clientId", default="basicPubSub",
                    help="Targeted client id")
parser.add_argument("-t", "--topic", action="store", dest="topic", default="sdk/test/Python", help="Targeted topic")
parser.add_argument("-m", "--mode", action="store", dest="mode", default="both",
                    help="Operation modes: %s"%str(AllowedActions))
parser.add_argument("-M", "--message", action="store", dest="message", default="Hello World!",
                    help="Message to publish")

args = parser.parse_args()
host =
rootCAPath = args.rootCAPath
certificatePath = args.certificatePath
privateKeyPath = args.privateKeyPath
port = args.port
useWebsocket = args.useWebsocket
clientId = args.clientId
topic = args.topic

if args.mode not in AllowedActions:

    parser.error("Unknown --mode option %s. Must be one of %s" % (args.mode, str(AllowedActions)))


if args.useWebsocket and args.certificatePath and args.privateKeyPath:

    parser.error("X.509 cert authentication and WebSocket are mutual exclusive. Please pick one.")


if not args.useWebsocket and (not args.certificatePath or not args.privateKeyPath):

    parser.error("Missing credentials for authentication.")

# Port defaults
if args.useWebsocket and not args.port:  # When no port override for WebSocket, default to 443
    port = 443
if not args.useWebsocket and not args.port:  # When no port override for non-WebSocket, default to 8883
    port = 8883

# Configure logging

logger = logging.getLogger("AWSIoTPythonSDK.core")


streamHandler = logging.StreamHandler()

formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')



# Init AWSIoTMQTTClient

myAWSIoTMQTTClient = None

if useWebsocket:

    myAWSIoTMQTTClient = AWSIoTMQTTClient(clientId, useWebsocket=True)

    myAWSIoTMQTTClient.configureEndpoint(host, port)



    myAWSIoTMQTTClient = AWSIoTMQTTClient(clientId)

    myAWSIoTMQTTClient.configureEndpoint(host, port)

    myAWSIoTMQTTClient.configureCredentials(rootCAPath, privateKeyPath, certificatePath)

# AWSIoTMQTTClient connection configuration

myAWSIoTMQTTClient.configureAutoReconnectBackoffTime(1, 32, 20)

myAWSIoTMQTTClient.configureOfflinePublishQueueing(-1)  # Infinite offline Publish queueing

myAWSIoTMQTTClient.configureDrainingFrequency(2)  # Draining: 2 Hz

myAWSIoTMQTTClient.configureConnectDisconnectTimeout(10)  # 10 sec

myAWSIoTMQTTClient.configureMQTTOperationTimeout(5)  # 5 sec

# Connect and subscribe to AWS IoT


if args.mode == 'both' or args.mode == 'subscribe':

    myAWSIoTMQTTClient.subscribe(topic, 1, customCallback)


# Publish to the same topic in a loop forever
loopCount = 0
while True:
    if args.mode == 'both' or args.mode == 'publish':
        ts = time.time()    #Get Current Time
        st = datetime.datetime.fromtimestamp(ts).strftime('%Y-%m-%d %H:%M:%S')  # Conver into particular format
        humidity, temperature = Adafruit_DHT.read_retry(11, 4)
        message = {}
        message['temperature'] = temperature
        message['humidity'] = humidity
        message['timestamp'] = st
        messageJson = json.dumps(message)
        myAWSIoTMQTTClient.publish(topic, messageJson, 1)
        if args.mode == 'publish':
            print('Published topic %s: %s\n' % (topic, messageJson))
    loopCount += 1


Note that newly added code is marked red for your reference.

You can navigate back to AWS portal to check values from sensor coming properly.


This blog is only providing steps to publish sensor values to AWS IoT core. Once you get the messages , you can add new business rules and AWS Analytics channel as well.

Please go through the AWS training to know more about the same.

IoT Foundation : Telemetry

Ref :


I hope this blog would help you to get going with AWS IoT.  I have my makerspace which I run in my part time. If you like to visit and see what we do as part of our maker activities, then you are welcome.


Atul Yadav

Code to Print

While deciding what to teach to students for 3D Printing, I came across Makerbot Educator Guidebook and this particular lesson got me very much interested.

I am really keen to teach this to my students in 3D Printing club.

This is more in picture format (as I hate writing / talking too much theoretical most of the time)

Refer attach PDF in case images are not very clear in blog :




No weekends !!!

It is almost 2.5 months I started working for Vigyan Ashram as a part of my Sabbatical leave. We at DIY Lab successfully arranged Pune Maker’s meet on 1st Nov. This was an event to start new chapter for Pune Makers. We invited people from different backgrounds like agriculture, Bio-gas, IoT, Electronics , Schools, Origami artists, Designers. We at Vigyan Ashram and Heramb MakerLab want to provide platform for collaboration. We also showcased capabilities of DIY Lab, Kothrud by showcasing different projects developed by Fab Lab team in association with Infosys RoboGear Team.

I also started conducting 3D Printing Workshop last month after purchasing new 3D Printer in DIY Lab. We had 13 attendees from different fields including 3 kids. It was really amazing experience. The joy of interacting with variety of people is so out of this world. One thing I benefited from my Sabbatical with Vigyan Ashram is my sphere of influence has now increased. Day in day out I hear the names of Mr Kakodkar, Dr Mashelkar  ,Medhatai Patkar and what not.I usually hear their names, stories from senior members of Vigyan Ashram as they frequently meet them for things related to education. Our Kaka at DIY lab knows Medha Tai closely, so he usually talk about their struggles.


Only thing I realized from these stories is how simple these people are and how impact-full their life is.Not only these highly influential people but I am also impressed with one gentleman aged over 75, who has passion for learning. He is kind of a person who can help you in any technical difficulties by applying design principles. Only thing you would need is patience to listen to him. Again there is one person in Vigyan Ashram heading one department, but he loves learning like small kid. Though that person is educated in Vigyan Ashram when he was drop out of high school, but by every mean he is educated. I realized how this learning by doing philosophy can change your attitude towards work and can make you truly successful.

We are currently working on training program to help schools, NGOs to set up DIY Lab. Vigyan Ashram has 30+ years of experience in Learning by Doing philosophy, so it is easy for me and our Fab Lab team to learn from their experience and come up with solution which can fit with new schools who like to adopt Maker Culture in schools.

During last couple of months, I realized that I am not able distinguish between days, I mean whether it is Sunday or Monday really does not make any sense to me now, as I feel like I am working 24/7 (ok, there are few exceptions, when I have to take my wife and family on holidays). But truly, I have to find same passion and commitment in whatever task I do in future. Again thanks to my family for allowing me to work on holidays as well.

Since making is at heart of Vigyan Ashram, our director asked DIY Lab Kaka to build Diwali Lantern from old CDs. It was difficult initially to stack the CDs vertically but then we used 3D Printed connectors to attached CDs to each other. We also used solar system to light up Lantern. Though we put Diwali Lantern on tree just outside DIY Lab, but when we came back from Holidays, all CDs were fallen down. Security guard told us it was because of crow sitting on the lantern. We mitigated risk of airy whether during building our lantern but we never realized that birds break the lantern. So our project was untimely a failure. We at Vigyan Ashram welcomes failures. Failures are great teachers.



Few of my makings / learning :

Happy Making!!!

Fab Lab – Project Meets and much more

Since I started working with Vigyan Ashram and specially for their two Labs – Fab Lab and DIY Lab, I got to know about different projects it had undertaken. On my second day I got opportunity to attend meeting with projects leads and couple of board members. Our meeting lasted for 4 hours without break, though we had tea two times. We laughed into tears almost 2-3 times in the meeting as everyone was sharing their unique experiences. Vigyan Ashram currently working on many projects like Rice De-husking machine, Remote Bull control, Poly house environment management, Monkey Repellent, Hydro-phonic plantation, Plastic collecting machine for rack pickers and many more (I am getting difficult to recollect now).What I only recollect is I had great experience in listening to all of the meeting attendees.

Most of these projects are the requirements / challenges faced by farmers. So all of these projects would have social impact and shall help society in some or other way.

Then there are projects which are driven by individuals like Prosthetic hand. Volunteers from Infosys and one lady (home maker) helping Fab Lab to build this hand. Vigyan Ashram director wish to donate this hand to one boy who lost three fingers during.

If you see the list of these projects , those projects not only require mechanical expertise which is available with Fab Lab, but also need high end of expertise in electronics / I.T. So my next work is to attract the makers from Pune who shall help us in developing these projects. We now have makers from Infosys, ETON, Emerson etc who are ready to take these challenges. I guess this could be the great way our young pool of talented makers can help our society. This work shall give them challenges which their corporate life may not offer them.

Hope they enjoy working with us on these projects. If you think you would like to work with us then let me know.

Apart from these projects, we also brainstorming with 20 students from 9th grade to come up with problem statement. We also helping them to design solutions for these problems. Then we shall take these 20 students with their ideas and shall conduct 4 days boot camp in IIT Bombay Fab Lab next month. I got opportunity to see IIT Bombay Fab Lab closely. It has got Shop Bot Router, Laser Cutter, 3D Printers, Small Furnace, Sand Blaster, Vinyl Cutter, CNC Milling and Lath machine etc etc. If you are in Mumbai, you can get help of this Fab Lab to work on your ideas.

Vigyan Ashram is also coming up with new version of their IBT Course for their 120+ IBT schools. IIT Bombay boot camp shall help Vigyan Ashram to decide on how these tools can be taken to their IBT schools and how easy or hard would it be for their students to use these tools.

DIY Lab at Kothrud is going to have new 3D Printer soon and me as 3D Printer expert going to conduct series of 3D Printing workshop in coming days. Please watch our event calendar for upcoming events –

Happy Making !!!

My First Day@Vigyan Ashram-FAB Lab-DIY Lab

To start my first day of Sabbatical , I have been asked to come to Vigyan Ashram at Pabal, a place 60 KMs away from Pune. Initially I thought of going by our very own ST bus, but then dropped the plan as I got now used to luxury of driving my own car. After 2 hours of driving through hustle and bustle of city , I reach Pabal at 10:30 AM. I entered Fab Lab and started talking to Fab Lab instructors. Since I was already in contact with them so it was comfortable interaction. They welcomed me to their work place. Later I met Director of Vigyan Ashram, who approved to my idea of helping their DIY/FAB Lab efforts to penetrate Maker Movement in Pune. After formal introduction to other members of the team, I had been asked to explain my purpose of joining to Vigyan Ashram to the whole team. I had also given my usual talk on 3D Printing which I usually give to Schools,Colleges. Since the premises was close to nature so I felt comfortable getting started, I felt like I am in my home town.Then we had quick brain storming session on improvising maker movement in Pune, and how I can help the team to attract more and more crowd to these Labs. I also explained about my plan over next six months time. Though it was really on high level, I got task to make a detailed plan in coming few days.

It had been decided to put more and more efforts in branding the workshops , DIY Lab events among young generation.So branding and advertisement plan preparing is next step.

3D Printing is area in which I think I know little bit more than the crowd , so I decided to devote more time during my sabbatical to introduce this technology to young generation. My other immediate task is to schedule upcoming 3D Printing sessions for schools which are affiliated to Vigyan Ashram. There are 160+ schools which run IBT (Introduction to Basic Technology) program for their students of std. 8,9,10. I may along with Fab Lab instructors shall work on plan to introduce 3D Printing in their regular IBT program. So 3D printer in every school is next step of Vigyan Ashram. Most of the schools having IBT course are in rural areas, so you may get surprised to see rural students know more about 3D Printing than any other urban students. Thanks to Vigyan Ashram and their team for thinking ahead.

Next I shall write about my experience of attending one of the regular stakeholder meetings, it was different experience than our usual corporate meetings. I somehow stopped myself writing that experience here as I think it deserve separate blog 🙂

To know more about Vigyan Ashram , refer following link :

Happy Making!!!

IoT : Make THINGS Alive

IoT technology is helping humans to create eco-system which would be social in nature. Think about human race which was not so social millions of years back. As we started living in tribes, humans started progressing in terms of all aspects of life. This progress is happened just because of sharing of thoughts, ideas and information.

THINGS (devices) in our current environment continuously help us in our day to day activities. These THINGS currently not social , that means those do not interact with each other like we humans do. But in future, these THINGS would communicate with each other fluently, which we call as M2M communication.

Thinking about implementation of IoT technology in our current environment shall enable us to make every dead THING alive. For example, think about STONE telling about its age, Think about a TREE telling you about its problems or think about a river, whose flow gets contaminated at every other corner, starts complaining about the culprits to government authorities (see a complete River monitoring system further).

The idea if making every THING alive is so awesome.

If you are working or going to work in IoT, just think that you are putting soul inside those THINGS for betterment f our eco-system. This thought shall help us to build eco-system which would be more social and interactive.

Following is my thought on using IoT technology to giving life to rivers (I guess rivers give us life by providing us water, this is just we are paying back)

IoT : River Life Line (River Monitoring System)

This is conceptual design of IoT : River Monitoring system called River Life Line. There are two major sections :

  • Floating System : It consists of sensors , floating module, communication mechanism. This part of system shall help in reading health of flowing water in river. As river flows through the different parts of region/state, every city/town shall have this monitoring system fitted inside river bed. Sensors shall read different contamination levels which affects city population (which drinks water from river) and living things inside river. This data shall be communicated to River Monitoring system.
IoT : River Life Line
IoT : River Life Line
  • Central Monitoring System : This is cloud system which shall receive river health data from different parts of river. This system shall consolidate data, analyse t. Based on its analysis, it shall communicate with two systems i.e. Municipal Corporation Office, Water Purification Department of City.

While river flows through different parts of region, different entities like factories, City sewage system contaminates water of river. Floating modules at different locations send river contamination data to Central system. Central system after analysing can send penalty amount to municipal office of particular city based on contamination done by that city or town. This mechanism is of reactive nature.

Central system can also send water contamination data to City’s water purification department. Based on contamination level it can take appropriate action. Level of purification can be improved or reduced based on contamination level.

River Monitoring System eco-system

If you have any suggestions / questions, please do let me know.

Happy Making !!!

Maker Movement India : Fill in the Blanks

When I got exposed to Maker Movement about a year back, it was realization of existence of my own idea. I always wanted to have such a culture and space(Maker Space) around me to explore wide possibilities of making/innovation. I even thought of having fully equipped workshop for engineering / non-engineering students so they can utilized their after school time by engaging themselves with new ideas. Exposure to maker movement gave me different view point about this concept. Maker media then given me access to different types of projects, which I found very interesting and appealing.

Main entity of Maker Movement is Maker Faire, which gives platform to makers to showcase their projects/skills/talent (which most of the time goes unnoticed). To sustain Making culture, appreciation of making skills is necessary, which I suppose Maker Faire does it fairly. ( Till this time I only seen maker faire on internet, electronic media).

It is not the case that we Indians are not aware of making things, rather we are expert in making things (if we looks at our traditional collections). Though we have good skills like handicraft , hand loom etc , we never explore making culture in technology side. If we wish to explore this area of making , then it is necessary for our generation to set right environment and culture. I believe that Maker Movement can help us in setting up right environment .

There are quite few Maker Spaces popping around India, but we still need to have many more Maker Spaces/ Fab Labs around India, at least one in every medium size town. Arranging small small Maker Faires would attract more and more youngsters to these Maker Spaces.

Apart from setting up this infrastructure and creating right mind set among us, it is great responsibility of our generation to fill in the blanks to sustain Maker Eco-system in India.

Following picture shows Eco-system players in USA. Few of the players can become players in Indian Maker Culture too. But then we have to form a league which would take the roles of these players according to Maker Culture of India.


Fill in the Blanks : Please see if you can find the answers to players which have been strike out or are you ready to take that as an opportunity 🙂

Figure2-The_maker_ecosystem2 - Copy

Reference :

Maker spaces which I am aware of (In Maharashtra) :

I know there must be more maker spaces around, share if you know. Also share if you are aware of Maker Eco system players  in India.

Happy Making!!!

Atul N Yadav


Internet of Things (IoT)

Internet of Things (IoT) is a buzz word now days. Few days back I attended one seminar on IoT, which was talking about your machines getting connected to Internet. Since that seminar was for Industries in automobile related industry, they looked at IoT in perspective of Industrial Users.

There seems to be more opportunities in consumer market when we talk about IoT. Here I am trying to showcase you one simple IoT application. This is not merely theoretical walk through but a practical scenario which you can implement at your home or office.

We have created a module which can sense the temperature of atmosphere and send the temperature to one web service (kind of web site), where you can check that temperate from anywhere in the world.

So there is one backbone of IoT systems i.e. Internet Connectivity. You may not need your Thing to be always connected to Internet, but there must be some pre-defined frequency when you want your Thing to talk to Internet for sharing the data. So if you can develop any Thing which can send SMS and shares the information, which could be part of IoT community.

Here, we have used following hardware:

  1. Raspberry Pi Microprocessor
  2. One Digital Temperature Sensor
  3. Internet connection i.e. Modem or Wi-Fi router
  4. On other end of communication you might have computer or Mobile phone which again connected to Internet

For this IoT experiment, we need following software:

  1. Python program running of Raspbian OS which can read temperature and send the data to Internet
  2. One Thing name on : is free service provider for communicating information between your things over internet. There are other services too which you can explore.

Once you connect Digital Temperature sensor to RBPi, you need to read the temperature in intervals and then send that temperature information to Dweet io service using python libraries. (

Actual Physical Instruments
Communication Channels

Once Dweet io service receive this information from your thing (You have to give name to your thing whenever you are talking to Dweet io), so same information gets published on internet so anyone can access that. You can restrict this information using lock mechanism available for paid users of Dweet io.

The given temperature information can be accessed by any other thing if other thing know the name of the thing which is sending the information using the following url :<my-thing-name>

Alternatively Dweet io provide user friendly UI interface to read the dweeted information:<my-thing-name>

Now you can think what would you like your machines to share with each other. You can imagine the world where you can see machines talking to each other and helping humans to reach the goals which we would have never imagined J


Temperature Sensor and Raspberry Pi related à

Dweet io à

Python Library for Dweet io à

Tiny Miracle : Raspberry Pi

First time I saw this incredibly small computer , I was surprised.I thought how one credit card size electronic board can be connected to your TV , USB keyboard and mouse and then covert your home TV into your full fledge computer.Preciously  I had came across small micro controller, integrated circuits (ICs), but they had limited usage. School students may not get access to such instruments  as these instruments may not be directly used by layman.

Raspberry pi puts itself in different category as it can be used out of box immediately. It works on Unix platform , precisely Rasbian (Raspberry + Dabian). So it can be used in areas where normal computers are not affordable but you still want to give access to computing. This tiny giant not only useful for kids but can also challenge ,more precisely attract ,engineers (makers) to learn about itself. As it works on Unix , it requires us to do some command prompt stuff ,though it has attractive user interface(desktop). But the kids can get comfortable to work on command prompt, which is more important than working with mouse( I believe). It also help kids to learn few visualizing and musical softwares like Scratch, Sonic Pi.
It also helps kids to understand and get access to work with GPIOs (General Process Inputs/Outputs). It allows them to program these GPIOs so they can see computers interaction with physical world like LEDs, motors etc. This interaction can help kids to learn the computing concepts more quickly.

It also can connect to USB microphone to detect your voice and write some voice controlled programs.
More powerful thing it can do ,is to capture images using USB camera or Raspberry pi camera module. Then you can write program to do some image processing.People had also connected the raspberry Pi to internet to showcase IoT (Internet of things) concept.
Raspberry pi allows kids to learn from simple program and holds capacity to allow them to learn machine level programming risking less money ( of their fathers)
So if you want to buy computer/laptop for your kid then you can think of this tiny miracle but before that you can start exploring what this raspberry pi do 🙂

P.S. if you are in pune you can get in touch with Heramb MakerLab to learn about Raspberry Pi

Ref :