While working in projects on a daily basis, as I do for YouTube videos, we tend to create the same folder structure and related repositories every time, as we move to the next project. For me, it is like creating folders for video, code, uploaded video, schematics and so on and in my most of the video for YouTube, I always create almost same folders. Along with that, I create GitHub repository to host the codes that I use in the project or tutorial to distribute. And I hate doing the…
Read MoreConnected Weighing scale using HX711 and ESP8266
Since I got into Home Automation System, I have always wanted a central system with as much as information about me starting from my food habit to each and everything that can be measured or collected. You can say that it is greatly influenced by JARVIS of Iron Man which came around my Engineering days. Coming to the topic, I recently managed to connect a regular bathroom weighing scale to my Home Automation System (OpenHAB) using MQTT. So basically this post is all about how to do that. For the weighing…
Read MoreESP32 LoRaWAN Node using Arduino
To test out the recent addition in my lab that is the LoRa gateway, I needed one LoRa node also. LoRa modules are available to be used with Arduino as well as Raspberry Pi and are pretty cheap too. However, you can get complete LoRa module with ESP32 and OLED display at pretty low price from Banggood, and they fit the purpose. And by using these, you don’t need to jumble around jumpers. In this post, I have covered how to make a simple, cheap LoRa node that can send…
Read MoreMaking a Java Swing JFrame Transparent
This is how you can create a transparent JFrame in JAVA. public class transparentJFrame { public static void main(String[] args) { new transparentJFrame(Date, Head, Detal); } public transparentJFrame(String Date, String Head, String Detal) { JFrame frame = new JFrame(); frame.setUndecorated(true); frame.setBackground(new Color(Color.black.getRed(), Color.black.getGreen(), Color.black.getBlue(), 1)); //Change value of ‘1’ above to have diff transparency ((JComponent) frame.getContentPane()).setBorder( BorderFactory.createMatteBorder(3, 2, 2, 2, Color.black)); frame.setBounds(100, 50, 500, 400); frame.getContentPane().setLayout(null); final JLabel lblX = new JLabel(“X”); lblX.setBounds(frame.getWidth() – 15, 5, 15, 15); lblX.setForeground(new Color(255, 255, 255)); lblX.setToolTipText(“Closern”); lblX.addMouseListener(new MouseAdapter() { @Override public void mouseClicked(MouseEvent…
Read MoreWi-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 More16×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 MorePIR Sensor with Arduino
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 MoreAppliances Control System using Raspberry Pi and Node.js
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 MoreSending SMS using GSM Module and LPC2148
When accessing GSM networks comes in picture in embedded system ,the only way around i to use GSM/GPRS modules which provides RS-232/UART interface and supports for AT command sets (Commands used for calling,Messaging etc) and usually easy to integrate with embedded modules. Some of the modules manufactured by SIMCOM are widely used as they are pretty cheap and are easily available.This post is about connecting a SIM300 module to LPC2148 using UART and send message to a mobile number. The SIM module is connected to the LPC2148 by using the…
Read MoreCheap LoRa Gateway using Pi & RAK831
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