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

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

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

Programming Linkit Smart 7688 DUO using Arduino IDE

Linkit Smart 7688 DUO

In this tutorial, we will see how to program the Atmega324 controller of Linkit Smart 7688 DUO module using the Arduino IDE. The boards come in two flavors, Linkit Smart 7688 and Linkit Smart DUO. The difference between both is that the DUO has an ATMEGA324 controller apart from the main MPU which can be programmed using Arduino. In DUO module GPIOs of both the MPU as well as MCU are exposed and some are even multiplexed. The MCU can also be interfaced or controlled using the MPU but in…

Read More

ESP32 : Programming using Arduino IDE

ESP32

ESP32: ESP32 is highly-integrated with inbuilt antenna switches, RF balun, power amplifier, low-noise receive amplifier, filters, and power management modules. ESP32 adds priceless functionality and versatility to your applications with minimal Printed Circuit Board (PCB) area requirements. (Source: bit.ly/2yr3R1o) this video is around how to get started with ESP32 and programming it using Arduino IDE. This video shows a simple example of printing out some data to the serial console from the ESP32 module programmed using Arduino IDE. To enable programming of the ESP32 module from Arduino IDE we first need…

Read More

Firmata protocol with Raspberry Pi and Arduino

Firmata with Arduino and Raspberry Pi

Firmata is a protocol that is used to communicate with microcontrollers from any tablet/pc over the serial interface. There are implementations of this for other platforms too along with Arduino. You can find support for this if you are using any Arduino IDE released after 2008.Use of this protocol lets you access GPIO of Arduino from any host device natively without uploading the sketch each time you change the sketch. You can use Arduino as ADC for your Pi as it doesn’t have native ADC pins, you can also interface…

Read More

IOT: Power outlet controlled from internet using WeMOS

IOT Based Power Outlet

This is a simple project to make IOT enabled power outlet. This video is around WeMOS and demonstrates how to use WeMOS with thingspeak to control some loads in my home. This project lets you control your devices which you need to connect to the output sockets. As an online server, I have used Thinspeak.com but you can use any server but you just need REST API. Check out the video to get started.

Read More

BMP180 Interfacing with Arduino | In Depth

BMP180 with Raduino

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 the 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…

Read More

Fetching data from server | Arduino/ESP8266

Arduino on ESP8266

Arduino/ESP8266: Fetching data to Server (LOCAL and Online) using WifiClient on from the ESP8266 module using Arduino IDE. The chip first came to the attention of western makers in August 2014 with the ESP-01 module, made by a third-party manufacturer, AI-Thinker. This small module allows microcontrollers to connect to a Wi-Fi network and make simple TCP/IP connections using Hayes-style commands. However, at the time there was almost no English-language documentation on the chip and the commands it accepted.The very low price and the fact that there were very few external…

Read More

Programming ESP8266 using Arduino IDE | ESP8266

ESP8266 with Arduino IDE

Programming ESP8266 using Arduino IDE.The ESP8266 is a low-cost Wi-Fi chip with full TCP/IP stack and microcontroller capability paroduced by Shanghai-based Chinese manufacturer, Espressif Systems.The chip first came to the attention of western makers in August 2014 with the ESP-01 module, made by a third-party manufacturer, AI-Thinker. This small module allows microcontrollers to connect to a Wi-Fi network and make simple TCP/IP connections using Hayes-style commands. However, at the time there was almost no English-language documentation on the chip and the commands it accepted.The very low price and the fact…

Read More