Tag Archives: raspberry pi

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 http://dweet.io/ : Dweet.io 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. (https://github.com/paddycarey/dweepy)

IMG_20141030_083332
Actual Physical Instruments
IoT
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 :

https://dweet.io/listen/for/dweets/from/<my-thing-name>

Alternatively Dweet io provide user friendly UI interface to read the dweeted information:

https://dweet.io/follow/<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

Reference:

Temperature Sensor and Raspberry Pi related à http://www.themagpi.com/issue/issue-23/

Dweet io à http://dweet.io/

Python Library for Dweet io à https://github.com/paddycarey/dweepy

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.

BPlusInfographic
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.

quick-reaction-circuit
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
www.Facebook.com/herambmakerlab

Ref :