Archive

Posts Tagged ‘oksbwn’

DHT12 Interfacing with Raspberry Pi using Pi4J

June 19th, 2017 No comments

DHT12 Interfacing with Raspberry Pi using Pi4JThis video around raspberry pi showing how to interface DHT12 humidity and temperature sensor with raspberry pi by using JAVA nad Pi4j. DHT12 its a temperature sensor with a 1-Wire and I2C interface to connect with external controllers and having 1-Wire interface makes it compatible with the older DHT11 sensor but with a higher accuracy. For this tutorial, we are going to use the I2C interface of the sensor and to interact with it, we will be using JAVA. One issue with the DHT12 I2C interface is that the device address is not changeable which limits the multiple sensor interfacing to the same I2C bus as we can’t have diff address for each sensor.

Read more…

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…

Run JAVA Applications on NanoPi S2

May 28th, 2017 No comments

Install Debian OS on NanoPi S2 eMMC

The NanoPi S2(S2) is designed and developed by FriendlyElec for professionals, enterprise users, makers, and hobbyists. It is a small board with WiFi, Bluetooth, and eMMC. It uses the Samsung Quad Core Cortex-A9 S5P4418 SoC with dynamic frequency scaling up to 1.4GHz. It has 1G DDR3 RAM, 802.11 b/g/n WiFi & Bluetooth 4.0 module. Its inbuilt power management unit uses the AXP228 chip which supports software shutdown. It takes power over the MicroUSB port. It has video input/output interface, 3.5mm audio jack, USB port, and MicroSD card slot, serial debug port and ADC pin-header. An Android and a Debian images are ready for this awesome SBC. The Android OS supports HDMI and LCD output.
Along with it has various interfaces, ports such as LVDS, and GPIOs which are compatible with Raspberry Pi’s GPIOs. Its PCB dimension is 40 * 75 mm. The NanoPi S2 works with most of the modules and OS images that are developed for FriendlyElec’s S5P4418 based boards.

Source: bit.ly/2lvM1lC

This video is all about how to run Java applications on top of NanoPi S2. For this, I am going to use Debian OS on top of nano Pi S2. If you have not installed Debian to the eMMC of Nano Pi S2 you can do so or if wondering how to do it you can simply check my earlier tutorial on this. This tutorial we will only install JDK and run a hello world application and in the upcoming videos we will try to access the GPIO of Nano Pi S2 by using JAVA. Read more…

Install Debian OS on NanoPi S2 eMMC

May 22nd, 2017 No comments

Install Debian OS on NanoPi S2 eMMC

The NanoPi S2(S2) is designed and developed by FriendlyElec for professionals, enterprise users, makers, and hobbyists. It is a small board with WiFi, Bluetooth, and eMMC. It uses the Samsung Quad Core Cortex-A9 S5P4418 SoC with dynamic frequency scaling up to 1.4GHz. It has 1G DDR3 RAM, 802.11 b/g/n WiFi & Bluetooth 4.0 module. Its inbuilt power management unit uses the AXP228 chip which supports software shutdown. It takes power over the MicroUSB port. It has video input/output interface, 3.5mm audio jack, USB port, and MicroSD card slot, serial debug port and ADC pin-header. An Android and a Debian images are ready for this awesome SBC. The Android OS supports HDMI and LCD output.
Along with it has various interfaces, ports such as LVDS, and GPIOs which are compatible with Raspberry Pi’s GPIOs. Its PCB dimension is 40 * 75 mm. The NanoPi S2 works with most of the modules and OS images that are developed for FriendlyElec’s S5P4418 based boards.

Source: bit.ly/2lvM1lC Read more…

Programming Onion Omega 2 using Python | GPIO Access

May 18th, 2017 No comments

Programming Onion Omega 2 using Python | GPIO Access

This tutorial is all about developing python applications on Onion Omega 2. As the onion omega doesn’t come with python pre-installed, we need to install it ourself. We can write a variety of scripts using python for Omega 2 and most importantly for IOT application we can access the GPIO of omega 2 by using python itself. So let’s check out how to do that. And if you are unaware of what is onion Omega 2 you can check the official website for more details and even buy one to work if you don’t have one and for those links are down below. And to check more videos around Onion omega 2 like this there are links for that too.

Omega2, the $5 IoT computer.It is a Linux computer designed specifically for building connected hardware applications. It combines the tiny form factor and power efficiency of the Arduino, with the power and flexibilities of the Raspberry Pi.

Source: Onion Corp (bit.ly/2nTdC3U)
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…

Programming Onion Omega 2 using NodeJS | GPIO Access

May 12th, 2017 No comments

This video demonstrates how to program Onion Omega 2 using NodeJS. It also includes accessing GPIO of onion Omega by using NodeJS.Programming Onion Omega using NodeJS. Omega2, the $5 IoT computer.It is a Linux computer designed specifically for building connected hardware applications. It combines the tiny form factor and power efficiency of the Arduino, with the power and flexibilities of the Raspberry Pi.

The Omega2 is simple, even for people who are just getting started with building hardware.The Omega2 is affordable, starting at just $5.
With the Omega2, we want to lower the barrier of entry and allow everyone to take the leap into hardware development.

Source: Onion Corp (bit.ly/2nTdC3U)
Read more…

Programming Onion Omega using PHP

May 1st, 2017 No comments

This video demonstrates how to program Onion Omega 2 using PHP. It also includes accessing GPIO of onion Omega by using PHP.Programming Onion Omega using PHP. Omega2, the $5 IoT computer.It is a Linux computer designed specifically for building connected hardware applications. It combines the tiny form factor and power efficiency of the Arduino, with the power and flexibilities of the Raspberry Pi.

The Omega2 is simple, even for people who are just getting started with building hardware.The Omega2 is affordable, starting at just $5.
With the Omega2, we want to lower the barrier of entry and allow everyone to take the leap into hardware development.

Source: Onion Corp (bit.ly/2nTdC3U)
Read more…