Posts

Thankful for Maheswari R Mam's guidance

I really want to say a big thanks to Maheswari Ma'am for being super helpful during my college days.. Mam introduced me to the world of IoT and drones and many more interesting stuff. Maheswari Ma'am introduced me to IBM Node-RED (a browser-based flow editor that makes it easy to connect devices, APIs, and online services by using the wide range of nodes that can be deployed to the Node. js runtime environment with a single click.).  Within a short duration, I have more than 10 mini projects using IBM Node-RED. Mam supported me and utilized my full potential and together we published an article for Open Source For You,  Asia's No.1 open-source magazine in my first semester on the title " Enhancing the design of Autonomous Cars using IBM Node-RED ". This served as the beginning to my journey in the IoT domain.  Despite her busy schedule as the HOD of Cyber Physical Systems, mam's patience and insightful guidance motivated me and helped me achieve a lot of thing

Enhancing the design of autonomous cars using Node-RED

Autonomous cars could be greatly helpful for having a driverless architecture that reduces human intervention towards dangerous and critical locations where it is not possible for humans to enter.  Node-RED is a free and open source software used for making IoT real time applications, online services and projects without much effort.  A  car has been created in the Node-RED interface with animations and voice inputs. The animated car is enhanced with human and computer based inputs by using the Node-RED flows.  A stationary car will be visible in the Node-RED dashboard (output window) and animation is triggered once the button is pressed. The full article about the implementation of autonomous cars using Node-Red is available in the following link: Enhancing the design of autonomous cars using Node-RED

Home Automation using Node-RED

Image
Node-RED can be used for simulating a home automation system online. In this case, I am considering three appliances connected to the home automation system - fan, light and power.  For fan, I have used a function named fan controller that gets the user input from the inject node, processes the data and displays the output as a gauge (similar to a pie chart) in the output screen. For light, I have added switch and button nodes in addition to the function node named Lights, which is used to provide the output as an audio message. For Power, I have added a button and a function node to get input and process the data. I have used two methods to provide the output, one being the audio message and the other one being a pop up notification. Make the required connections between the nodes and the flow diagram will look like this Now we can deploy the flow and navigate to the output screen to see the output of the system. First we can see a gauge that shows the value of the fan. The value disp

OTP Generator using Node-RED

Image
 An OTP Generator is a very useful application in the present times. It is a part of our day to day life activities. OTP Generator is used for generating a random number between 1 and 100 both in text and in pictorial format can be used in net banking and other purposes. Steps for creation of an OTP Generator in Node-RED: Start the server by typing the command "node-red-v" in the command prompt and open the Node-RED software in your browser. Insert an inject node and configure its properties as shown below. I have set the code to repeat every 3 seconds Insert a function node and configure its properties as shown below in Figure 3.                           Now select the respective node which shows the type of output you want in your NodeRed dashboard For Eg:If you want a chart type of output, include a chart node, if you want a slider type of output, include a slider node, for the display of output in text format, include the debug node After inserting the respective node fo

Installation of Node-RED

Image
About Node-RED  Node-RED is a FOSS developed by IBM used to make apps and services in the world of  IoT.It can be used for both hardware, software and web related services. Node-RED is a web browser based GUI that does not require difficult coding to make applications. Installation of Node-RED 1)Refer the given link to install the node js and complete the check up wizard and complete the installation wizard Ø   https://nodejs.org/en/download/ 2) Type the command given below to check the successful installation of node js and install the node package manager (npm) by giving the following command in the command prompt Ø   node-v Ø   npm install –g node-red 3) Type the following command to check successful installation of Node-RED in your system Ø   node-red –v   4) Type the provided link in your web browser to open the Node-RED software Ø    Reference :  Installation Video by Dr. R. Maheswari, VIT Chennai