An LED chaser or sequencer is a popular LED driving circuit. It’s used in running-light rope displays to flash different lighting patterns. In a chaser or sequencer circuit, a controller commands the sequence and timing of the flashing LEDs to illuminate different kinds of lighting patterns. This LED chaser is built on Arduino UNO. Arduino is…
Decimal counter designed in vhdl
This tutorial is about designing a decimal counter in vhdl. I used xilinx to write code and for simulation i used Isim simulator. The decimal counter i designed starts from 0 and moves up to 999. Counter is working perfectly in simulation. What is Decimal Counter? Decimal counter is same like a stop…
Display custom urdu language characters on 16×2 lcd using pic16f877a microcontroller
In this project i am going to display urdu language characters on 16×2 lcd using pic16f877 microcontroller. Urdu is a language spoken in Pakistan, India and Bangladesh. Character lcd’s generally contains a Hitachi HD4478 controller in it. Hd4478 only contains ASCII character set in it and we can only display the predefined characters that are present in it. It…
Battery voltage monitor with nodemcu Esp8266-12E WiFi module
Measuring voltage of your solar panel, ups and other daily use batteries consumes a lot of time. Grabbing multi-meter, opening the battery boxes and touching both the multi-meter leads to terminals of battery takes some effort. How about developing an efficient IOT system through which you can see the status of your battery on your…
Communication between two esp8266 wifi modules programmed in arduino ide
This tutorial is about inter communication between 2 esp8266 WiFi modules. I will explain the method and code of inter communication between two esp8266 modules. I was working on a cool embedded project in which a wireless communication is required between two motors placed a part on a small distance, also the status of the motors…
Difference between interfacing character 16×2 lcd in 4-bit and 8-bit mode with microcontroller
After making many microcontroller projects with character lcd’s(16×1,16×2) and interfacing them with variety of microcontrollers (arduino, microchip pin microcontroller,8051 series,stm32 etc). I still get emails from students about what is the difference between character lcd interfacing in 4-bit and 8-bit mode. So i decided why not to write a post on difference between lcd 4-bit…
Interfacing 7 segment display with stm32f103 microcontroller
This tutorial is about interfacing 7 segment led display with stm32 microcontroller using keil arm mdk 5 with stm32 HAL libraries for code compilation. Stm32cubemx is used to initialize the stm32f103c8t6 microcontroller peripherals/variables pins, operating frequency, oscillator selection etc. Stm32cubemx initialized settings are then imported to keil mdk arm 5 project. Stm32cubemx automatically generates code for…
Difference Between Touch Screens And Normal Keypads
Difference between touch screens and manual keypads Keypad generally comes in 4×4 , 4×3 , 3×4 matrices. Some multinational companies make their own keypads for their projects. Like we see in our daily life the keypad on ATM(Automated Teller Machine) and Photo copy machine is of many variations like 4×5 , 5×4 etc . The keypads on our cell…
How to generate and display self made Custom characters on 16×2 lcd
This tutorial is about making/building your own characters/special images and then displaying them on character 16×2 lcd. Generating custom characters or special character images and displaying on lcds of any sizes (16×1,16×2,8×1,8×2,20×1,20×2,40×1,40×2 etc) is not a very hard task. One must go through the internal structure of lcd control set in order to know how…
Displaying ASCII Characters on 16×2 lcd using 8051(89c51,89c52) Microcontroller
Here is a simple project/tutorial in which i will teach you about how to display ASCII characters on character lcd’s. In this tutorial i am using 16×2 lcd. You can use any other size of lcd if you want but be sure to change the lcd initialization statements in the code. Character lcd’s have a…
NxN(8×1 , 8×2 , 10×2 , 16×1 , 16×2 , 16×4 , 20×2 , 20×4 ,24×2 , 30×2 , 32×2 , 40×2) Character lcd working, Pinout and description
Lcd stands for liquid crystal display. Character and graphical lcd’s are most common among hobbyist and diy electronic circuit/project makers. Since their interface serial/parallel pins are defined so its easy to interface them with many microcontrollers. Many products we see in our daily life have lcd’s with them. They are used to show status of the…
Stm32f103 microcontroller Led on/off control with Push Button as Input
The post explains about how to use stm32 pins as input using keil and stmcubemx ide. A simple led on/off tutorial with push button as input is made to explain the coding and working. When a push button is pressed the led turns on and when push button is released the led turns off. The…
LM35 Temperature Sensor Pin out, Interfacing guide, Circuit Construction and Working Principals
LM35 is a temperature sensor that outputs an analog signal which is proportional to the instantaneous temperature. The output voltage can easily be interpreted to obtain a temperature reading in Celsius. The advantage of lm35 over thermistor is it does not require any external calibration. The coating also protects it from self-heating. Low cost (approximately…
How to measure current using Arduino and ACS712 Current Sensor
In this tutorial, I am going to measure DC current using Acs712 Hall Effect-Based Linear Current Sensor and arduino uno. Acs712 can measure current precisely and accurately if properly managed. I have gone through various blogs on internet about interfacing acs712 current sensor with arduino and other microcontrollers. I found that all of them are…
Tic Tac Toe Multiplayer game in c++
Here is one of my semester project from my bachelors degree Tic Tac Toe game. It is made in c++ language using visual basic as tool to write and compile code. Game supports multiplayer as well as computer as a player. Its not an easy task to build this game especially when it includes computer as a player…
Melay machine finite state machine design in vhdl
This tutorial is about implementing a finite state machine is vhdl. I will go through each and every step of designing a finite state machine and simulating it. Xilinx is used as a tool to construct finite state machine and for simulation and testing purpose. I suppose you know what is finite state machine and…
Arduino uno automatic car head light on/off battery and temperature monitoring system
A simple diy project on how to monitor car battery, engine temperature and automatically control the headlights of car with arduino uno. I have pretty old vehicle, which does not have any fancy items/mechanics in it. So i decided to make this project and make my car look a little bit fancy by my self.…
Arduino water level/quantity/volume indicator/monitor/measurement in water tank
In the previous tutorial i discussed how to interface water sensor with arduino? What are arduino water sensor limitations? How to write effective and efficient code for arduino water detector which limits minute calculation errors? At last steps involved in converting analog water reading by arduino in to its equivalent digital form is highlighted. In…
Stm32f103 Pwm(Pulse width modulation) signal generation using internal timers, keil MDK-ARMv6 and Stmcubemx Ide
This tutorial is about generating pwm (pulse width modulation) signal with stm32f103 microcontroller using its internal hardware timers. Stm32f103 microcontroller components/peripherals initialization code is generated using stmcubemx ide and code is written and compiled in keil MDK-ARMv6 ide. A simple led is derived on a fixed pwm signal output. Led dims and blinks according to the duty cycle and frequency…
Rs485 Serial Communication Between Arduino Mega and Arduino Pro Mini
In this project i will discuss about how to use Max485 for serial communication between two arduino boards. How to effectively configure RS485 in receive and transmit mode. What are advantages of using RS485 protocol for serial communication and finally i will present a working model of RS485 serial communication between arduino Mega and Arduino Pro Mini. Rs485…