Skip navigation
1 2 3 4 Previous Next

WearGenius

56 posts

You can Subscribe on YouTube by clicking this link to show your support and be updated with the latest video on the channel like this.

Subscribe: http://bit.ly/2d8pHge

********************************************************************

This 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 DHT 11 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.

 

Links:

Intro Video Credit: http://bit.ly/2sDmXPl

 

DHT11 with Raspberry Pi using JAVA: http://bit.ly/2serqaJ

Github Repo:http://bit.ly/2sLFXMi

Code: http://bit.ly/2sGcV0O

Schematic: http://bit.ly/2sGdKXv

Download Pi4J Library: http://bit.ly/2j32blF

JAVA Application on Raspberry Pi: http://bit.ly/2hO2f84

DHT12 Datasheet: http://bit.ly/2sDmXPl

 

Java Application on Pi Playlist: http://bit.ly/2eB1O2K

___________________________________________

Catch Me On:

 

Twitter: https://twitter.com/geekybikash

GIT: https://github.com/oksbwn

Facebook: http://www.facebook.com/geekybikash

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

 

 

Links :
Download Eclipse PAHO Library(With Dependencies):http://bit.ly/2srKW4B
Eclipse PAHO Website: http://bit.ly/2srfxPE
First Part (DS18B20 Interfacing with Raspberry Pi using JAVA): http://bit.ly/2rxd1WK
Second Part (Upload data to Thingspeak using REST API ): http://bit.ly/2rZWLMu
More on MQTT
Official Website: http://bit.ly/2shMMp8
Java Application on Pi Playlist: http://bit.ly/2eB1O2K
********************************************************************
You can Subscribe on YouTube by clicking this link to show your support and be updated with the latest video on the channel like this.

 

 

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.

 

Links :
Github Repo: http://bit.ly/2sxXweP
Download Unirest Library: http://bit.ly/2j32blF
Unirest Website: http://bit.ly/2rFQ2t3
Unirest Jar Download (With Dependencies): http://bit.ly/2sAbhul
First Part (DS18B20 Interfacing with Raspberry Pi using JAVA): http://bit.ly/2rxd1WK

Java Application on Pi Playlist: http://bit.ly/2eB1O2K

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

 

 

Links :
Check Out this SBC: bit.ly/2ptw7xM
All OS with eFlasher for Download: bit.ly/2rrepLl
Win32 Disk Imager: bit.ly/2n3Lfwg
SD Formatter Windows: bit.ly/2ofKfFL

WiKi Page : bit.ly/2lvM1lC
Buy : bit.ly/2pZqcR3

Access GPIO using SysFS of NanoPi S2 : http://bit.ly/2qiOTHj

********************************************************************
You can Subscribe on YouTube by clicking this link to show your support and be updated with latest video on the channel like this : bit.ly/2d8pHge

You can even support by making small donation on Patreon : bit.ly/2jcjTSo
___________________________________________

Check out my YouTube channel for other video tutorials.

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.

 

 

 

 

Code:

#include <ESP8266WiFi.h> #include <SPI.h> #include <bitBangedSPI.h> #include <MAX7219_Dot_Matrix.h>  const byte chips = 4; //No of MAX7219 Dpt Matrix Display unsigned long lastMoved = 0; unsigned long MOVE_INTERVAL = 100;  // mS int  messageOffset;  MAX7219_Dot_Matrix display (chips, 2);  // Chips / LOAD  char message [90] = "WeArGenius                       "; //String to be displayed  const char* ssid = "weargenius"; // SSID Of the Router const char* password = "omisoksbwn";// Access point Password const char* host = "192.168.0.1"; //Server IP or URL int requestTime=0; int exitT=1;  void updateDisplay () {   display.sendSmooth (message, messageOffset); //Display commands for the Matrix   // next time show one pixel onwards   if (messageOffset++ >= (int) (strlen (message) * 8))     messageOffset = - chips * 8; }  // end of updateDisplay  void setup() {   display.begin (); //Initialize teh displays   Serial.begin(115200);    delay(100);   Serial.println();   Serial.print("Connecting to ");   Serial.println(ssid);   WiFi.begin(ssid, password); // Initiate connection to the Wi-Fi network   while (WiFi.status() != WL_CONNECTED) {     delay(500);     Serial.print(".");   }   Serial.println("");   Serial.println("WiFi connected");     Serial.println("IP address: ");   Serial.println(WiFi.localIP()); //Printout the IP assigned to the module in DHCP   display.setIntensity(15); // Intensity of the Dot Matrix module can be 0-15 }  void loop() {   if(millis()-requestTime>120000){ // Request data from the Srever after every 2 Minutes     requestTime=millis();     Serial.print("connecting to ");     Serial.println(host);          WiFiClient client;     const int httpPort = 80;     if (!client.connect(host, httpPort)) { //Connect to SERVER       Serial.println("connection failed");     }          String url = "/test/index.php"; //Path of the webpage in the server to request     Serial.print("Requesting URL: ");     Serial.println(url);     client.print(String("GET ") + url + " HTTP/1.0\r\n" +         "Host: " + host + "\r\n" +          "Connection: close\r\n\r\n");      while (client.available() == 0) { // check Response from server     if (millis() - requestTime >30000) { // 30 seconds to wait for response before timeout       Serial.println(">>> Client Timeout !");       client.stop();       exitT=0;       break;     }     }     String line="";     while(client.available()){ // Read response from Server       line += client.readStringUntil('\r');     }     line=line.substring(line.indexOf('[')+1,line.indexOf(']')); // Process the response     Serial.println(line);     int i;     for (i=0;i<line.length();i++) // Put response  to char array to display       message[i]=line[i];      if(exitT==1){        exitT=1;       Serial.println("closing connection");       client.stop();     }   }   for(int i=0;i<5000;i++){ // Display the content     if (millis () - lastMoved >= MOVE_INTERVAL){       updateDisplay ();       lastMoved = millis ();     }     delay(1);   } }

MAX7219 Library for WeMOS: http://bit.ly/2oTtoty

Arduino HTTP Call (ESP8266): http://bit.ly/2r8yKBp

Fetch data using XPATH and PHP: http://bit.ly/2pGB0zC

Programming Esp8266 using Arduino IDE: http://bit.ly/2hdARij

Github Repository: http://bit.ly/2r8GFhX

Schematic: http://bit.ly/2pG6ogI

 

More Videos on ESP8266: http://bit.ly/2ijh6qX

Projects Like This: http://bit.ly/2r8x8rr

======================================================

Related VIdeos:

Getting started with ESP8266 : http://bit.ly/2fchgTc

ESP8266 with Raspberry Pi : http://bit.ly/2fchHgb

********************************************************************

Subscribe on YouTube : https://goo.gl/FhfdL7

Guys Subscribe to my channel for latest contents into your inbox.

___________________________________________

Website: http://www.weargenius.in

Twitter: https://twitter.com/geekybikash

YouTube: https://www.youtube.com/weargenius

Instagram: https://www.instagram.com/weargenius/

GIT : https://github.com/oksbwn

Facebook: http://www.facebook.com/geekybikash

 

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 (http://bit.ly/2nTdC3U)

---------------------------------------------------------------------------------------------------------

Onion Omega 2 Getting started using Web interface: http://bit.ly/2nWsdZn

GPIO Access Library with NodeJS: http://bit.ly/2prwogJ

Onion IO Website: http://bit.ly/2nTdC3U

Kickstarter Campaign: http://bit.ly/2mWtZ02

********************************************************************

Subscribe YouTube : https://goo.gl/FhfdL7

 

Guys Subscribe to my channel for latest contents into your inbox.

Support me to keep going.

 

Support me on Patreon : http://bit.ly/2jcjTSo

 

This is a simple tutorial on using GPIO of Orange Pi Zero using JAVA. For this, I have used Pi4J library which also works with Raspberry Pi.  This tutorial might help you to interact with GPIO in your IOT projects. In his tutorial, I have tested the application with LUBUNTU OS on Orange Pi Zero.

-------------------------------------------------------------------------------------------------------

Links :

Install LUBUNTU:   http://bit.ly/2nU84Eh

JAVA Applications on Orange Pi: http://bit.ly/2pqUDih

 

Github Repo: http://bit.ly/2oEkHDA

Website (Orange Pi Zero): http://bit.ly/2i4g9S0

 

********************************************************************

Subscribe YouTube : https://goo.gl/FhfdL7

 

Guys Subscribe to my channel for latest contents into your inbox.

Support me to keep going.

For this, I am going to use LUBUNTU os on the OPI Zero so if you have not already installed LUBUNTU you can do so by following my earlier tutorial on that.If you are a JAVA developer and interested in working in some IOT projects using the Orange Pi zero this is definitely going to help you. One more thing the opi zero has also support for GPIO access using JAVA so that you can also interact with peripheral devices using it.

-------------------------------------------------------------------------------------------------------

Links :

Install LUBUNTU :   http://bit.ly/2nU84Eh

Win32 Disk Imager: http://bit.ly/2n3Lfwg

SD Formatter Windows: http://bit.ly/2ofKfFL

Website (Orange Pi Zero)  : http://bit.ly/2i4g9S0

Website(LUBUNTU) :  http://bit.ly/2o1SZ2P

Buy: http://bit.ly/2iRnsi8

********************************************************************

Subscribe YouTube : https://goo.gl/FhfdL7

 

Guys Subscribe to my channel for latest contents into your inbox.

 

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 (http://bit.ly/2nTdC3U)

--------------------------------------------------------------------

Onion IO Website: http://bit.ly/2nTdC3U

Bonjour Service for Windows: http://apple.co/2mWu6Zw

Kickstarter Campaign: http://bit.ly/2mWtZ02

 

********************************************************************

Subscribe YouTube : https://goo.gl/FhfdL7

 

Guys Subscribe to my channel for latest contents into your inbox.

Support me to keep going.

 

Support me on Patreon : http://bit.ly/2jcjTSo

___________________________________________

 

Website : http://www.weargenius.in

Twitter : https://twitter.com/geekybikash

YouTube : https://www.youtube.com/weargenius

Instagram : https://www.instagram.com/weargenius/

GIT : https://github.com/oksbwn

Facebook: http://www.facebook.com/geekybikash

 

 

The IoT Stamp module is powered by Realtek RTL8710AF ARM Cortex M3 WiFi SoC running at 83 MHz. This module features same form factor and GPIO layout as of ESP8266 but lacks ADC input.
But it features

Up to 1x SPI @ 41.5 Mbps max

Up to 3x UART with 2x up to 4Mbps, 1x @ 38400 bps

Up to 4x PWM

Up to 1x I2C @ 3.4 Mbps max

Up to 19 GPIOs including 10 supporting interrupts. And it comes with 1 MB of flash and 512 KB of RAM.

---------------------------------------------------------------------------------------------------

Used Commands:

AT

ATSR

ATSY

ATPW=1 //Station Mode

ATWS// Scan Wifi

ATPH=2,2// Mode AP 1/STA 2, Enable:DHCP 1/STATIC 2

ATPE=192.168.0.5// Static IP ATPN=weargenius,omisoksbwn// Connect to AP

ATW?// Wifi Info

ATPG=1 // Auto COnnect 0: Disable 1: Enable

ATPC=0,192.168.0.1,80 // Create TCp Client

ATPI// Connection Info

ATPT=70,1:"GET /tut/index.php?NAME=bikash /HTTP/1.1 Host:192.168.0.1:80\r\n"//Send Data

ATPR=1,20// rECEIVE dATA ATPD=0//0 FOR ALL OR conn_id

ATWD // Disconnect from AP

---------------------------------

Resources from Pine64 Website:

IOT Stamp Resources: http://bit.ly/2mNoxLT

Datasheet: http://bit.ly/2lOnYCj

Pinout Diagram: http://bit.ly/2mxGHR8

AT Commands guide: http://bit.ly/2mUtyT9

Getting Started Guide: http://bit.ly/2mwmYQc

********************************************************************

Subscribe YouTube : https://goo.gl/FhfdL7

Guys Subscribe to my channel for latest contents into your inbox.

Support me to keep going.

___________________________________________

Website : http://www.weargenius.in

Twitter : https://twitter.com/geekybikash

YouTube : https://www.youtube.com/weargenius

Instagram : https://www.instagram.com/weargenius/

GIT : https://github.com/oksbwn

Facebook: https://www.facebook.com/geekybikash

 

This video is all about interfacing BMP180 module with Raspberry Pi. BMP180 will help us to measure environmental temperature  and pressure and by using that we can calculate the altitude which can be used in various applications like weather monitoring, navigation etc. The BMP180 sensor module comes with I2C interface and with a default address 0x77 which is not configurable limiting stacking of multiple modules to that same I2C bus.

---------------------------------------------------------------------------------------------------

Links :

Website (BOSCH SensorTec): http://bit.ly/2kFHiA6

Schematic : http://bit.ly/2lnGk9w

Code : http://bit.ly/2lf9glB

Datasheet : http://bit.ly/2jUJNPu

JAVA on Raspberry PI ; http://bit.ly/2eB1O2K

 

********************************************************************

Subscribe YouTube : https://goo.gl/FhfdL7

 

Guys Subscribe to my channel for latest contents into your inbox..

___________________________________________

 

Sonoff TH10/TH16 is a smart switch version of Sonoff which can monitor and set temperature and humidity through the iOS/Android APP eWeLink. Just as the name indicates, the Sonoff TH device supports two current supply specifications: 10A or 16A. It features presetting the range for temperature or humidity. When the temperature or humidity of the environment fall within the range, it will automatically turn on or off the connected devices. It supports three kinds of temperature and humidity sensors

 

AM2301

DS18B20

DHT11

 

Source/Store: http://bit.ly/2lCttDp (ITEAD)

********************************************************************

Subscribe YouTube : https://goo.gl/FhfdL7

 

Guys Subscribe to my channel for latest contents into your inbox.

Support me to keep going.

___________________________________________

Website : http://www.weargenius.in

Twitter : https://twitter.com/geekybikash

YouTube : https://www.youtube.com/weargenius

Instagram : https://www.instagram.com/weargenius/

GIT : https://github.com/oksbwn

Facebook: http://www.facebook.com/geekybikash

oksbwn

All about Nano Pi S2

Posted by oksbwn Feb 12, 2017

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 in-built power management unit uses the AXP228 chip which supports software shutdown.

 

Website : http://bit.ly/2k8Ek2K

---------------------------------------------------------------------------------------------------

Links

Wiki   : http://bit.ly/2lvM1lC

Buy:     http://bit.ly/2krxPsM (Official)

 

********************************************************************

Subscribe YouTube : https://goo.gl/FhfdL7

 

Guys Subscribe to my channel for latest contents into your inbox.

Support me to keep going.

___________________________________________

 

Website : http://www.weargenius.in

Twitter : https://twitter.com/geekybikash

YouTube : https://www.youtube.com/weargenius

Instagram : https://www.instagram.com/weargenius/

GIT : https://github.com/oksbwn

Facebook: http://www.facebook.com/geekybikash

This video is all about interfacing BMP180 module with Arduino. BMP180 will help us to measure environmental temperature  and pressure and by using that we can calculate the altitude which can be used in various applications like weather monitoring, navigation etc. The BMP180 sensor module comes with I2C interface and with a default address 0x77 which is not configurable limiting stacking of multiple modules to that same I2C bus. In this tutorial we will interface the module with Arduino by using I2C interface that is analog input pin A4 and A5. And for this we are not going to use any library although if you are interested you can use any library available online which are actually pretty easy to use. Interfacing the module without any library will help us learn how it works as well as we can interface to other devices also where libraries are not available.

 

 

---------------------------------------------------------------------------------------------------

Links :

Website (BOSCH SensorTec): http://bit.ly/2kFHiA6

Schematic : http://bit.ly/2jUFW5a

Code : http://bit.ly/2kA3465

Datasheet : http://bit.ly/2jUJNPu

********************************************************************

Subscribe YouTube : https://goo.gl/FhfdL7

 

Guys Subscribe to my channel for latest contents into your inbox.

Support me to keep going.

___________________________________________

 

Website : http://www.weargenius.in

Twitter : https://twitter.com/geekybikash

YouTube : https://www.youtube.com/weargenius

 

Ultrasonic ranging module HC - SR04 provides 2cm - 400cm non contact measurement function, the ranging accuracy can reach to 3mm. The modules includes ultrasonic transmitters, receiver and control circuit. The basic principle of work:

 

(1) Using IO trigger for at least 10us high level signal,

(2) The Module automatically sends eight 40 kHz and detect whether there is a

pulse signal back.

(3) IF the signal back, through high level , time of high output IO duration is the time from sending ultrasonic to returning.

 

Intro visual Source: http://bit.ly/2iJ1vAI

---------------------------------------------------------------------------------------------------

Links :

Java Application on Pi Playlist: http://bit.ly/2eB1O2K

Schematic : http://bit.ly/2ihvK5F

Pi4J GPIO Numbering : http://bit.ly/2ja20av

Download Pi4J Library : http://bit.ly/2j32blF

Code : http://bit.ly/2j95Osp

 

********************************************************************

Subscribe YouTube : https://goo.gl/FhfdL7

___________________________________________

 

Website : http://www.weargenius.in

Twitter : https://twitter.com/geekybikash

YouTube : https://www.youtube.com/weargenius

Instagram : https://www.instagram.com/weargenius/

GIT : https://github.com/oksbwn

Facebook: http://www.facebook.com/geekybikash