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 which 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…
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 piezo buzzer alarm with LDR(light dependent resistor)/photoresistor
This is a simple tutorial 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…
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…
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…
Dc motor speed and direction control with stm32f103 microcontroller and l293d motor driver
In this tutorial i am going to teach you how to control speed of dc motor using stm32 microcontroller and l293d half h bridge control ic. Dc motors are common motors you see in your houses(DC water pumps, DC fans), toys etc. DC motors rotate at a constant speed but their speed can be varied…
IoT-based water geyser
In this article, we will control our home geyser from anywhere in the world. Life is fast and busy, and we all want to leverage the benefits of technology in our day-to-day life by automating where and when we can. In this experiment, we will automate our geyser in integration with our alarm app so…
An IoT-based virtual doctor
In this tutorial, we’ll learn how to build a device that works as a virtual doctor. The device inputs patient data, which can then be emailed remotely to a registered physician using the simple mail transfer protocol (SMTP) — the internet standard communication protocol for electronic transmissions. The purpose of this device is to support…
How to use IoT-based D2D automation
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…