Electronics tutorials including microcontroller, microprocessor, programing and circuits. Intended for beginners, electronics hobbyists, college students, professionals and educational purposes.

Interfacing MPU-6050 with Arduino Uno

Interfacing MPU-6050 / GY-521 board with Arduino Uno

About MPU-6050 MPU-6050 is a chip manufactured by Invensense which combines 3 axis accelerometer and 3 axis gyroscope with an on-board digital motion processor. It also includes a embedded temperature sensor and an on chip oscillator. It is very accurate and consist of analogue to digital conversion hardware for each channel thereby capturing x,y,z channels at the same time. The arduino can be interfaced with I2C bus. 3-axis Gyroscope The MPU-6050 consist of a 3 axis gyroscope which can detect rotational velocity [...]

Read more...
Flash Download Tool_Flash Completed_Flashing Firmware

Flashing Espressif and NodeMCU Firmware to ESP8266

In the earlier articles, we have written our own program in Arduino IDE to access GPIO pins of ESP8266 or to interface sensors to ESP8266. But if we write our own program to access GPIO Pins, the existing firmware will be completely erased and the new program will be written on the ESP8266. So in this article, we will explain how to flash the Official Espressif and NodeMCU Firmware to ESP8266. This can also be used to update to the latest [...]

Read more...
Interfacing LCD with CloudX - Experiment

Interfacing LCD with CloudX Board

To have a good relationship between human world and machine world, display units plays a vital part. Displays allows us to know what’s happening in a device like the voltage, temperature, present status of the device and even device fault detection etc. LCD’s have a very wide application in embedded systems and it is more preferred than seven segment displays. Alphanumeric LCDs are most commonly used in embedded projects since it is commonly available and easy to use.16×2 LCD [...]

Read more...
CloudX - Writing to Ports - Experiment

CloudX – Writing to PORTs

In the previous tutorial we saw how to blink an LED using CloudX board, but in some projects we might need to write to a PORT or a group of pins at the same time. For eg., for designing an 8 LED chaser, writing to pins one after the other makes your code look so bulky but writing to a PORT at once for this kind of projects will make your code look neat and more efficient. A PORT is [...]

Read more...
CloudX PIC Microcontroller Board - LED Blinking

Getting Started with CloudX Development Board

CloudX M633 is one of the popular PIC based microcontroller development board designed by ByteHub Embedded, it comes with over 500 library functions which makes it very easy for beginners to start with embedded systems. In this tutorial we will see how to write our first “Hello World” program to blink an LED using the popular CloudX M633 (PIC16F877A chip) development board. CloudX – PIC Microcontroller Development Board and SoftCard Components RequiredCloudX Microcontroller Board and SoftCard Light Emitting Diode (LED) Resistor 220Ω 2 male [...]

Read more...
ESP8266 as MQTT Client - Arduino IoT Tutorial

ESP8266 as MQTT Client – Arduino IoT

IoT or Internet of Things is an emerging technology which enables us to create a network of devices, sensors, actuators to connect and exchange data. MQTT (Message Queuing Telemetry Transport) is one of the commonly used protocol in this field. It consists of MQTT Broker and MQTT Clients. Where MQTT Broker is the server through which all MQTT Clients are communicating each other. CloudMQTT provides MQTT Broker as a service, which we are using in this tutorial. In this project [...]

Read more...
System Configuration - OpenWrt

How to change Hostname of OpenWrt ?

Sometimes you may need to change the hostname of your OpenWrt. Host name is stored in the system configuration file. You can view it in the following command. cat /etc/config/systemSystem Configuration – OpenWrt It is very easy to change hostname of OpenWrt, using following commands. Here we are changing our hostname to “electroSome”. uci set [email protected][0].hostname='electroSome' uci commit system /etc/init.d/system reloadChanging Hostname of OpenWrt

Read more...
OpenWrt Logo

Getting Started with OpenWrt C Programing

In this tutorial we will learn how to cross compile a C program for OpenWrt. Cross compiling a C program for OpenWrt is a little complicated task for beginners. So I thought of writing a detailed tutorial for it. Please feel free to comment below if you have any doubts or you want to add anything more to this article.OpenWrtPrerequisite You need a linux system for making the OpenWrt build environment. We are using Ubuntu in this tutorial. Windows 10 [...]

Read more...