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

Installing Keil IDE – ARM Microcontroller Tutorial – Part 1

This is our first part of ARM microcontroller tutorial. In this article we will see how to setup development environment for ARM microcontroller LPC2148. We are using Keil IDE for this. Downloading IDE Go to "keil.com" Go to "Download" page Go to "Product Downloads" Go to MDK-Arm Fill the contact form and submit it. You will get the download link of Keil IDE Keil - Product Downloads Downloading Keil Legacy Support Go to legacy support's download page. Click on "Download Legacy Support...

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...

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...

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. 16x2 LCD...

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...

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 Required CloudX Microcontroller Board and SoftCard Light Emitting Diode (LED) ...

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...

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/system System 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 reload Changing Hostname of OpenWrt