Introduction to Arduino

As part of series on Arduino development, this article will give you and an Introduction to Arduino hardware and software. Subsequent posts will cover these topics in detail What is Arduino Arduino is an open source project, company that designs and manufacturers micro controller based kits for various purposes. Most of the boards designed by …

Continue reading ‘Introduction to Arduino’ »

HTTP requests with ESP8266

In this article I will explain how to send HTTP requests with ESP8266 module. We will see how to send an HTTP GET and a POST request. I will also introduce a new library for processing JSON. Lets start. Setup wifi Include the following header. This library has all the required APIs for connecting to …

Continue reading ‘HTTP requests with ESP8266’ »

Arduino IDE for ESP8266

Thanks to few wonderful people out there. Now we can run Arduino programs on ESP8266. Arduino IDE for ESP8266 is nothing but your favorite IDE with additional support for ESP8266 boards. In this article I will explain how did I run my first Arduino program on ESP826 module. This is a NodeMCU module. But we …

Continue reading ‘Arduino IDE for ESP8266’ »

Setup Wifi AP with ESP8266 with NodeMCU

Now lets do some programming on the device. You will find lot of examples on internet. In this demo, we will setup Wifi AP with ESP8266 and wait for connections. NodeMCU firmware runs init.lua when the module is rebooted. That is why you see a message when you connect ESP8266 with NodeMCU firmware just flashed. …

Continue reading ‘Setup Wifi AP with ESP8266 with NodeMCU’ »

ESPlorer IDE for ESP8266 NodeMCU firmware

ESPlorer IDE for ESP8266 If you are familiar with LUA programming language, then there is an IDE to work with ESP8266, ESPlorer IDE. It is written using java with launcher available for MS Windows platform as well as for Linux. It has lot of features useful when you are developing with ESP8266. This IDE uses …

Continue reading ‘ESPlorer IDE for ESP8266 NodeMCU firmware’ »

ESP8266 with NodeMCU firmware

ESP8266 wifi module is a low cost (less than $5) , self contained module with integrated TCP/IP stack. The module comes with firmware using which the module can be controlled with simple AT commands. The module has its own application processor. So, instead of using AT commands, if we have a mechanism by which we …

Continue reading ‘ESP8266 with NodeMCU firmware’ »

Writing a simple WebSocket server in java

Websocket protocol uses a server, which is a simple TCP application (like a webserver) and a client, which may be a browser. There are lot of examples on how to use websockts in javascripts. In this tutorial, I will explain how I wrote a simple Websocket server application. All I had to do was to …

Continue reading ‘Writing a simple WebSocket server in java’ »

Export data from MySQL to Mongo DB

This is a continuation of my previous article Moving data between HBase and MySQL. In this article we are adding one more database, which is mongoDB. I will be using the same base framework and interfaces. The example shows how to export mysql to mongodb. 1. Introduction mongoDB is a leading noSQL document database. It …

Continue reading ‘Export data from MySQL to Mongo DB’ »

Move data from Hbase to MySQL

1. Introduction In this article I will explain about moving data from HBase to MySQL. HBase an unstructured database and MySQL, a structured database. With very little changes, it can be used to move data from MySQL to HBase HBase is a Hadoop database, that stores data as key value pair. HBase can store billions …

Continue reading ‘Move data from Hbase to MySQL’ »

A simple way to install Hadoop and HBase

I was not able to install hadoop without spending at least two days and re-install of OS few times. It may not be the case always. I just wanted to run a few MR jobs and access HBase and HDFS. Instructions available online for hadoop hbase installation were mostly about installing hadoop on a production …

Continue reading ‘A simple way to install Hadoop and HBase’ »