This is a simple DIY project on internet of things applications. How to monitor room temperature over WiFi? One can see temperature on his mobile, laptop or desktop computer by this DIY project. Popular Lm35 temperature sensor is interfaced with nodemcu esp8266-12e WiFi module. Nodemcu gets raw temperature voltage form lm35, converts the voltage in…
Atmega162 Uart Serial Communication using Arduino IDE
I started working on a project with involves Atmega162 to be programmed in order to achieve the desired output. I started to write code using atmel studio ide but i found it very hard to work with the atmel studio ide. Atmel studio is slow and finding bugs etc are also very difficult. So i…
Interfacing stepper motor with 8051(89c51,89c52 ) microcontroller
Here is a simple tutorial on how to interface stepper motor with 89c51 microcontroller. Stepper motor as the name depicts takes steps to complete a full 360 degree circular rotation. We can rotate stepper in clock and anti clock wise direction. Stepper motor speed can also be varied. There are many types of steeper motors four…
Interfacing Latches(74ls574,74ls373) Flip flops with 8051 (89c51, 89c52) Microcontroller
In this project i am going to interface latches with 8051(89c51, 89c52) microcontroller. I am going to interface 74LS574 with 8051(89c51, 89c52). You can also interface any other latch(74ls373, 74ls374 etc) with a slight changes in the connections given in the circuit diagram. The whole project is about, grabbing the status of the latches inputs and then display…
Making and displaying Custom Characters on 16×2 lcd using 8051(89c51,89c52) Microcontroller
This tutorial is about making and displaying custom characters on 16×2 lcd using 8051(89c51,89c52) microcontroller. By custom i mean characters that are not alphabets, digits or ASCII value characters. Rather they are new and designed by us. I first recommend you to please go through the following simple tutorial. This will clear you about the internal structure of…
Serial data received from pc and displayed on 16×2 lcd using 8051(89c51,89c52) microcontroller UART port
In this post i am going to explain how to receive serial data from your pc and display it on 16×2 lcd using 89c51 microcontroller UART port. Hardware components of the project includes max232(TTL to RS232 level converter/shifter ), 8051(89c51,89c52) microcontroller and 16×2 lcd. On software side i am using Hyper terminal. Hyper terminal is a program through…
Making blinking pattern of leds with 8051 microcontroller
Blinking/flashing leds or making a special pattern of blinking leds through microcontroller is not a big task. One must know about the programming syntax of the particular microcontroller through which blinking led pattern is required. Numerous microcontrollers are available in market and each has its own programming ide(Integrated development environment). In this tutorial we are going to…
GLCD 128×64 graphical lcd(GLCD) interfacing with 8051(89c51,89c52) microcontroller
In this tutorial i am going to teach you how to interface graphical lcd 128×64 with 8051(89c51,89c52)microcontroller. 128×64 means that lcd has 128 coulombs and 64 rows. Which means you can make your desired image or text in 128×64 matrix square. Graphical lcds comes in many sizes, they also differ in characteristics. Some can be…
How to measure voltage of multiple batteries connected in string/array in series or parallel combination with microcontrollers
Measuring an individual battery voltage or a whole bank of battery using any microcontroller(arduino, microship pic, Avr, Atmega, Intel, NXP, stm32)is an easy task. You can find many tutorials on internet on how to do so. But what about if we want to measure an individual battery connected to a cluster of batteries in series…
Blink Led with Stm32f103c8 microcontroller keil and Stmcubemx
After working a lot with 8-bit microcontrollers and learning all the protocols and functions they offer, now i thought to switch to 32-bit microcontrollers. I decided to go with arm 32-bit processors, because of their popularity in the market. I choose arm cortex-m3 processor series for my new hobby/learning projects. The reason behind choosing the…
Controlling Servo Motor with Stm32f103 microcontroller using stm32cubemx code configurator by STMicroelectronics and keil uvision 5 ide for cortex m1 series microcontrollers
This tutorial is a part of series of tutorials on pwm(pulse width modulation) signal generation with stm32f103 microcontroller. Previously we looked upon how to generate pwm signal with stm32 microcontroller using keil uvision 5 ide and stm32cubemx code configurator. We moved forward on generating variable pwm signal using internal timers of stm32f103 microcontroller. We studied about generating pwm, now…
Garden monitoring and automation with ATmega16
Gardening is one of the common hobbies. It keeps you close to nature. It is healthiest hobby that anyone can have. Though, plants and trees are like pets. They need continuous care without break. One needs to be with them all time. This is not always possible. One may have to go for vacations or business trips or travel for other reasons. At such times, the garden may remain unattended for some time or even could be left unattended for a long period of time.
Fading/Controlling led/brightness using Potentiometer (Variable Resistor) and Arduino Uno
Fading or controlling led brightness using arduino uno and potentiometer/variable resistor is not a very hard task. Arduino predefined libraries made it very easy to fade led with arduino uno. Whats going behind the arduino code predefined commands/instructions at software and at hardware level is important to understand. Students normally start with the pre-written arduino…
Driving relays with stm32f103 microcontroller using uln2003 relay driver
In this tutorial i am going to teach you how to interface relays with stm32f103 microcontrollers. Stm32 microcontrollers works on 3.3 volt TTL logic. Where as electrical relays minimum take +5 volts to make a regular connection. We must need an external circuit to drive relays with stm32 microcontrollers. This post is about teaching you…
Interfacing water flow meter with arduino uno
In this tutorial i am going to teach you about how to use arduino flow meter to measure the amount of water passing through the water valve. Flow meter is actually a valve. One can control the valve manually and digitally in order to limit the flow of water through the pipe. Normally manual water…
Arduino uno bistatic radar demo on hardware
This project is by a final year student of university of liverpool. The project is prototype of a bistatic radar system. Prototype is made using arduino uno and ultrasonic transmitter and receiver. To rotate the ultrasonic transmitter and receiver servo motors are used. Ultrasonic receiver and transmitter are mounted on the top of the servo…
Stm32f103 microcontroller controlling stepper motor by A4988 stepper motor driver module
Stepper motors as the name depicts moves in steps. They are popular in industry due to their ability to rotate their shaft at an accurate location and outputting high torque at low angel movements. One can also control the stepper motor step speed and angle accurately with out the need of feed back mechanism. Though they…
Stepper Motor Speed and Direction Control Using Arduino and Bluetooth HC-06 Module through an Android App
This is a simple tutorial on how to control speed and direction of stepper motor using arduino uno and bluetooth module hc-06 through an android phone app. The motor which i am using is Uni directional stepper motor. Their are two types of stepper motors unidirectional and bidirectional. Uni directional has four phases and bidirectional…
Fading led with LDR(Light Dependent Resistor) using Arduino uno
Blinking an led is basic getting started program/project through which every newbie has to go through upon entering the field of microcontrollers(arduino, pic stm32 etc). After blinking led newly entrants try to explore more features of the particular microcontroller by making some diy(do it your self) projects. Led dimmer or intensity/brightness control of led using ldr(light dependent…
Arduino home security system using Sim900 Gsm module, Pir motion detector and magnetic door contact switch
In this tutorial i am going to make an arduino home security system. One can install this diy arduino security system project on his home main door. The diy arduino security system checks two things. First it checks if some one approached the door? Second it checks if door is opened by the person? When the…