Wi-FI Remote for MI TV using ESP8266

I got an MI Smart TV and was pretty much interested in including that in my Home Automation system (OpenHAB). It is supposed to be controlled so that it can be turned on or off based on profile and scene. Although the TV does support MI TV remote over Wi-Fi, it is not able to turn on the TV when it is off. The easiest way to do so is to replicate the remote to an ESP8266 board is having an IR LED and Wi-Fi. By using it everything that…

Read More

16×2 LCD With LPC1768 ARM Microcontroller | In Depth

LCD is an output display device abbreviation for Liquid Crystal Display. Many varieties and types of LCD comes into the market and out of them, 16×2 LCD is the simplest one and is easy to be interfaced. As the name suggests it is a 2 line display and each line supports up-to 16 characters. The 16×2 LCD is a  16 pin device having a PCB mounted controller and a display. The controller listens to the data ports and generates the pattern to be displayed according to the i/p data. Out of…

Read More

PIR Sensor with Arduino

arduino_logo-wallpaper-1920x1200

PIR sensors are really simple and easy to use as well as cheap motion detection sensor. The feature that it is easy to interface with any microcontroller makes it widely usable. This post is a simple one around how to interface any PIR sensor having digital output to the arduino board. There are many kinds of PIR sensors available having stuff like onboard relay etc. but the one I am using gives digital output whenever it detects motion. Due to that, it is easy to interface with any microcontroller.  …

Read More

Appliances Control System using Raspberry Pi and Node.js

RPi GPIO Programming using Arduino Web IDE

This is a Raspberry Pi based project using Raspberry Pi and Node.js which lets the user control appliances connected to the Raspberry Pi. Node.js acts as a server which serves a UI for the user to control the desired appliances. According to the input by the user, the node.js script running on Raspberry Pi toggles the GPIO required and the state of the device connected to the GPIO, gets changed.As most appliances operate from AC supply, mechanical or solid state Relays has to be used to control the appliances. The…

Read More

Cheap LoRa Gateway using Pi & RAK831

RAK831 LoRa Gateway

Lately, I have been working with LoRAWAN and I don’t have Lora gateway around. As you might be knowing LoRAWAN network requires a gateway to push data to the internet. As Lora is not an IP based protocol the gateway helps it in doing so. Basically, multiple LoRAWAN nodes transmit data to the gateway and the gateway transfers the concentrated data to server backend. Server backend which resides in the cloud contains a network server which helps in managing the network and the application server which is responsible for the data and…

Read More

RPi GPIO Programming using Arduino Web IDE

RPi GPIO Programming using Arduino Web IDE

Recently Arduino has launched support for programming ARM-based SBCs by using the Arduino web editor and Raspberry Pi is one of the SBCs in the list. This video is all about the basic setup to get started with the programming of the Raspberry Pi GPIOs by using Arduino codes. The setup is pretty simple and will help you if you are more comfortable in the Arduino ecosystem as compared to python. More depth functionalities are yet to be checked.  

Read More

Respeaker 2 HAT With Raspberry Pi

Respeaker HAT

This article is around Raspberry Pi and this Re speaker 2 Mics Pi HAT. ReSpeaker 2-Mics Pi HAT is a dual-microphone expansion board for Raspberry Pi designed for voice applications, like Amazon Alexa or Google Assistant. So if you are interested in playing around Alexa or assistant enabled applications with Raspberry Pi you can certainly try this out. We will set it up with Raspberry Pi and will check some demo applications. The board is developed around WM8960, a low power stereo codec. There are 2 microphones on both sides…

Read More

CRC16 using JAVA

CRC16 using JAVA

CRC codes are numerously used for error checking purposes. So many times working around Embedded Devices you will find CRC used in different communication protocols for error detection. This piece of code will help you to generate CRC16 using provided packets in JAVA. While working on devices like Raspberry Pi which supports JAVA and industrial protocols like MODBUS which uses CRC16, this code can be used.  

Read More

Arduino: String to Array Conversion based on delimiter

arduino_logo-wallpaper-1920x1200

This is a simple sketch on how to convert any String to Array in Arduino based on any token or delimiter. Whenever you are working on any project which involves data transfer between Arduino and Other devices/micro-controllers using serial or Wi-Fi or Ethernet you might need to transfer chunks of data and usually the data are not mapped unless you are using JSON or XML. Use of JSON and XML works fine, but proper parser needs to be added to the micro-controller to parse the encoded data.  So if required…

Read More

OpenHAB2 Installation on Ubuntu Server (16.04)

Ubuntu and OpenHAB

 In my last post about the installation of Zulu JDK to Ubuntu 16.04 server, I covered how to do so and was required so that OpenHAB can run on my server. This post is in the line of my last post and is about the installation of OpenHAB to ubuntu 16.04 server. This post is all about installing OpenHAB to Ubuntu 16.04 using the manual method. I tried with apt-get, but that didn’t work for me.   STEP 1 (Download OpenHAB runtime): Navigate to a folder where you can download files…

Read More