In this tutorial, we’ll learn how to use device-to-device (D2D) communication to make daily life a little simpler. For example, you’ll be able to control household appliances, such as the coffee machine, a light switch, or the AC — and do so from inside your vehicle. So, if you’re arriving home one evening, the presence…
IoT-based heart rate monitoring system
In this project we are going to make heart beat monitor system which will be able to send the readings in bpm to the doctor directly through internet using MQTT protocol from anywhere in the world. The ESP 8266 and Arduino are used to read the reading from sensor and then send them to the…
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…
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 piezo buzzer alarm with LDR(light dependent resistor)/photoresistor
This is a simple project on arduino, ldr(light dependent resistor)/photoresistor sensor and piezo buzzer. Piezo buzzer output sound level will variate by arduino depending on the intensity of light thrown on ldr/light sensor. An led will also fade by arduino depending on the intensity of light thrown on photoresistor. The diy project is same like…
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…
Displaying moving(Scrolling) text on lcd using 8051(89c51,89c52) microcontroller
This project is about How to display moving-scrolling text/string on lcd using 8051(89c51 , 89c52) microcontroller. Moving or scrolling text on lcd is not very hard it is only the game of programming the more expert you are in programming the more you can do fun. It is same like we display moving text on our java applications or…
IoT-based, pre-paid electricity system
In this article, we will be making an IoT-based pre-paid electricity system and learn exactly how that works. We will create a meter that will monitor the electricity usage and report to a monitoring server (which we will also create) for bills. In an ordinary electricity system, bills come after the usage, and then we…
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…
IoT-based smart remote classrooms
This project will show how we can use the IoT to create cheap and smart remote classrooms for rural areas using Raspberry Pi and its camera module. If a teacher teaches in a distant city, that session can be streamed live to rural areas. By such applications, children from rural areas can get quality education…
IoT-based patient health register
This project will develop software that will take patient readings from sensors and send them to the main clinic where doctors can see the data and analyze patient health remotely. We will be accomplishing this using the FTP protocol and C#. Components required Tools Required Tools Visual studio 2015 IDE FTP Server Circuit Diagram Connect…
Pet feeding system using WhatsApp (protocol bridging with MQTT)
In this article, we will be creating a pet feeding system that can be controlled by WhatsApp. Components required Tools required/ libraries required Linux based machine Python-based WhatsApp API MQTT based Python IDE Arduino IDE Technical insights The complete project has three types of communication and devices. XMPP (WhatsApp, MQTT, and Arduino Serial) can also…
8255A Programmable Peripheral Interface Pinout and Working
8255 is general purpose programmable peripheral interface. It is used with many microprocessors and microcontrollers for various purposes. The device has three 8-bit ports port A, port B and port C. These ports can be used as input or output. These ports are further divided in to two groups A and B. Each group further…
How to design and build a digital stereo volume and balance controller
By Nazar Sliunchenko, Technical Documentation Manager, Dialog Semiconductor, A Renesas Company This article describes how to design and build a digital stereo volume and balance controller with mute function. It is possible to design a fully functional cost-effective digital stereo volume control circuit using only one SLG47004 IC with a very low external components count.…
IoT liquid (oil) level monitoring system
In this article, we will make a device that will monitor liquid levels in water/oil or any tank. The monitored level information will be sent to a monitoring station. This can be helpful to monitor some water tanks installed at a place where humans cannot frequently reach and at places that are toxic, like labs…
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…
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…
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…
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…
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…