Archive

Posts Tagged ‘howto’

Send data using MQTT from Raspberry Pi with JAVA

June 12th, 2017 No comments

Send data using MQTT from Raspberry Pi with JAVAThis is the third video in the series “IOT with Raspberry Pi” and that’s using JAVA. The series comprises of Sensor interfacing using pi4J, REST API usage with JAVA, MQTT usage with JAVA and finally adding all to the same project and running over Raspberry Pi. last two videos shows how to interface DS18B20 1 wire temperature sensor with Raspberry Pi and send data to Thingspeak by using REST API with JAVA. If you have not checked those you can do that with the links down below. This video is the 3rd in the series and is about how to publish or send sensor data using MQTT API to cloud. And in this, we are using ThingSpeak as cloud service to publish data.Publishing Data using MQTT is done using Eclipse PAHO lightweight library. MQTT is a simple lightweight publish/subscribe protocol that can be used over TCP instead of going for HTTP as MQTT is power friendly and bandwidth friendly as compared to HTTP. So it fits perfect for IOT applications. If you are interested in more about it, you can check some docs linked below.

Read more…

Call REST API using JAVA on Raspberry Pi

June 8th, 2017 No comments

REST API from Raspberry Pi using JAVA

This video is around Raspberry Pi to showcase the usage of Raspberry Pi in IOT projects and that’s using JAVA. This is going to be a series of video including Sensor interfacing using pi4J, REST API usage with JAVA, MQTT usage with JAVA and finally adding all to the same project and running over Raspberry Pi. In the last video, we saw how to interface DS18B20 1 wire temperature sensor with Raspberry Pi by using JAVA. If you have not checked it out you can do that and for that, I have provided the link down below in the description. This video is the 2nd in the series where we will see how to publish or send sensor data using REST API to cloud. And in this, we are using ThingSpeak as cloud service to publish data. HTTP calls for REST API are done using Unirest lightweight HTTP client library. In the next video, we will do the same by using MQTT.

 

 

Read more…

DS18B20 Sensor Interfacing with Rsapberry Pi using JAVA

June 3rd, 2017 No comments

DS18B20 Sensor Interfacing with Rsapberry Pi using JAVAThis video is around Raspberry Pi to showcase the usage of Raspberry Pi in IOT projects and that’s using JAVA. This is going to be a series of video including ┬áSensor interfacing using pi4J, REST API usage with JAVA, MQTT usage with JAVA and finally adding all to the same project and running over Raspberry Pi. So this video is going to be the first part of it where we will see how to interface DS18B20 one wire temperature sensor with Raspberry Pi by using JAVA with the help of the pi4J library. I will upload the rest of the videos in the series soon.

Read more…

Information Display System using WeMOS and MAX7219

May 12th, 2017 No comments

This tutorial is all about making a WiFi based information display system using WeMOS

This tutorial is all about making a WiFi based information display system. This system is built around ESP8266 but not the standalone ESP8266 instead WeMOS is used and programmed using Arduino IDE. So In this video, we will check out how to make an information display system like that using Wemos and MAX7219 based dot matrix display modules. The display system fetches data from the local/online server and displays the received. In this system, u can display any data that you want and that’s up to you however over here I am using this to display my YouTube subscribers and twitter followers count.

 

Read more…