Posts

Showing posts from January, 2015

#IoT :Network of two CC3200 sensor nodes through Internet.

Exploiting the features of #dweet and #Temboo   and our Texas Instruments #CC3200 we can make a sensor network over Internet. We can show each sensor node status by sending some code to dweet server under a my-thing-name. To read the latest dweet for a thing, you can go to the web address  https://dweet.io/get/latest/dweet/for/my-thing-name . Note that dweet.io holds on to the last 500 dweets over a 24 hour period. If the thing hasn't dweeted in the last 24 hours, only its history will be removed. We can’t identify if the node fails. By checking the codes on thing we can easily identify whether the node fails. For HTTP Get request we can use Temboo library. Each run of choreo on another CC3200 get response from dweet through HTTP get request. The chunk response filtered for codes. If one code is received and verified it checks for second code. We can design a network in which each node is sending its status to dweet and also check for other node’s status by using Temboo HTT

Internet of Things Dashboard using Freeboard

Now we can design a beautiful Internet of Things Dashboard using Freeboard   There is good tutorial on freeboard and arduino  on  openhomeautomation  blog                                       Create Your Internet of Things Dashboard                                 http://www.openhomeautomation.net/?p=2153

Temboo: Everything for #IoT

Create, Make, Code the Internet of Everything. Start programming the connected world w/ 500 bonus @ temboo credits http:// bit.ly/1xBR7Ls  

3.Dweeting sensor values

Dweeting sensor values on dweet.io      This is  also HTTP communication between launchpad and cloud server dweet.io. Dweet.io is simple publishing and subscribing for machines, sensors, devices, robots, and gadgets (we just call them things). We call published messages ‘dweets’. It’s helpful to think of dweet.io as a Twitter for things, in fact. We have to specify a thing name that must unique. Another advantage of this is for dweet operation we don’t want to sign up for an account. In this the sensor data are sending as datasources . sample Energia code //#include <SPI.h> #ifndef __CC3200R1M1RGC__ #endif #include <WiFi.h> // your network name also called SSID char ssid[] = "**********"; // your network password char password[] = "***********"; int status = WL_IDLE_STATUS; IPAddress server(54,88,231,110);  // dweet // Initialize the client library // Dweet parameters #define thing_name  "**********"

2. Streaming sensor data to ThingSpeak cloud platform

Image
The Hypertext Transfer Protocol (HTTP) is designed to enable communications between clients and servers. HTTP works as a request-response protocol between a client and server. Using these HTTP requests I can upload my sensor data to ThingSpeak server. The light sensor outputs analog voltage value according to light intensity the ADC of msp430f5529 converts to digital and doing some calibrations percentage of light in our room can be seen on our thingspeak.com user page .We can make the sensor data to public by providing our sensor value streaming page.

MSP430F5529LP + CC3100

Image
MSP430F5529LP & CC3100 WIFI BOOSTER PACK 1.Controlling launchpad by tweet through twitter Software tools                                 I have used Code Composer Studio by importing Energia sketch for writing and flashing the program to the launchpad. Description In this we can control our launchpad remotely through social networking site twitter. Our launchpad is connected to Temboo which is cloud platform which provide access to twitter APIs  and further more. We can connect to Temboo by using a application key provided by them. We have to create a twitter application on twitter development platform. We are using API key and secret and access tokens provided by twitter in our sketch.  The MSP430F5529LP connected to CC3100 wifi booster pack can communicate to internet through wifi router, listens to our recent twitter time line. By tweeting “mylaunchpadon" on our timeline we can turn on our motor. Here I have shown with LED turning on. Screenshots and outputs

Projects using texas cc3200 wifi launchpad

INTERNET OF THINGS PROJECTS USING CC3200  1. VIEW YOUR FARM FROM ANYWHERE http://krishnajithin.wix.com/viewmyfarm https://freeboard.io/board/mA-ZKC REFERENCE SITES      1.www.temboo.com : Program the Internet of Everything . Get more power and flexibility on any IoT topology with  Temboo's   code virtualization   technology .       2.dweet.io -twitter of machines       3. Freeboard.io -Internet of Things Dashboard