This tutorial explains how to automate a hand sanitizer bottle. Sanitizers can be found for use at many public places (and especially recently, given the COVID-19 pandemic). However, each press of the cap leaves behind several types of germs on it. One way to avoid this is to automate the bottle so that users never…
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…
Arduino compatible coding 16: Serial UART communication
In the previous tutorial, we learned how to interface a DHT-11 sensor with Arduino. DHT-11 is a digital sensor that comes integrated with an 8-bit microcontroller. This integrated microcontroller outputs humidity and temperature values in the form of a 40-bit digital data packet. In the last tutorial, we read the data packet by polling one…
Arduino compatible coding 15: Reading sensor data from DHT-11 without using a library
In the previous tutorial, we learned how to interface an LM35 temperature sensor with Arduino. LM35 is an analog sensor that can be interfaced with Arduino’s analog input pin. In this tutorial, we’ll cover how to interface a DHT-11 sensor with Arduino. DHT-11 is a digital temperature and humidity sensor. It outputs a much more…
Bluetooth controlled missile launcher
Here is a very nice and interesting application of controlling a missile launcher model through a smartphone using an android Bluetooth application. The model of the missile launcher is built using two servo motors. One servo motor (azimuth motor) turns the missile launcher left and right while another servo motor (elevation motor) moves the missile…
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…
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 compatible coding 14: Interfacing the LM35 temperature sensor with Arduino
In the previous tutorial, we learned how to display custom characters on a character LCD. Character LCD is the most commonly used display device in embedded systems and circuits. Although character LCDs are from sophisticated, they provide a simple interface that’s easy to use and learn. They also convey useful information about operating conditions, warnings,…
DIY Arduino based mini CNC plotter using old DVD drives
An electrical design engineer by profession, Sandeep Sharma is a part time hobbyist who likes to experiment with electronic projects, especially involving Arduino. With an aim to share his knowledge about arduino and embedded projects, he owns a website as well as a YouTube channel through which he showcases certain interesting projects. In one of his Arduino based projects, he made a unique use of old DVD drives to build a DIY CNC Plotter at home. This machine is not only inexpensive but also quite easy to construct and operate. Presented here, is one of his exciting DIY projects that illustrates the construction and coding of an arduino based mini CNC plotter.
Arduino compatible coding 13: Custom characters and icons on the LCD module
In the previous tutorial, we discussed scrolling long text strings on a character LCD using Arduino. However, it’s also possible to display custom characters on the LCD. These custom characters are user-defined and are stored in Character Generator RAM (CGRAM) of the LCD module. The different LCD modules have different Display Data RAM (DDRAM) and CGRAM, which…
Arduino compatible coding 12: Scrolling long text on the character LCD using Arduino
In the previous tutorial, we discussed: The functional blocks of a character LCD How character LCD works and is interfaced with a controller How to display text on a character LCD In this tutorial, we will learn about scrolling long string of text on a character LCD, which can be tricky. A character LCD module has…
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 compatible coding 11: Interfacing character LCD with Arduino
In the previous tutorial, we discussed multiplexing seven-segment displays (SSDs). Continuing with the display devices, in this tutorial, we will cover how to interface character LCD when using Arduino. Character LCDs are the most common display devices used in embedded systems. These low-cost LCDs are widely used in industrial and consumer applications. Display devices in embedded systems…
Arduino compatible coding 09: Interfacing SSD with Arduino
In the previous tutorial, we discussed interfacing RGB LEDs with Arduino. In this tutorial, you’ll learn how to interface seven-segment display (SSD) when using Arduino. When interfacing with any kind of display device, Arduino and other controllers use digital output or serial communication. Driving SSDs by Arduino is as simple as driving an LED on it. The seven-segment…
MATRIX LED scrolling message board using Arduino
LED scrolling message boards are widely used in: Notice board displays Public advertising boards Passenger information display boards in BUS/TRAIN/TRAM/MATRO, etc. Name or signboards of shops Most of these scrolling message boards are made up of a single RED-color LED. However, currently, there are multi-color LED boards and RGB LED boards are also available. In…
Arduino compatible coding 08: Interfacing an RGB LED using Arduino
In the previous tutorial, we discussed analog input when using Arduino. So far, we have covered four out of the five ways that controllers can interface and interact with other electronic components and devices. This includes digital output, digital input, analog output, and analog input. In this tutorial, we discuss how to interface RGB LEDs using Arduino.…
Arduino compatible coding 07: Analog input using Arduino
In the previous tutorial, we discussed analog output in the form of PWM signals when using Arduino. We generated a PWM wave from Arduino by employing the analogWrite() function that approximates to a rectified sine wave. It, then, uses that analog output to fade an LED. A controller can interface and interact with external electronic components…
Arduino compatible coding 06: Analog output (PWM) on Arduino and LED fading
In the previous tutorial, we discussed the digital input process for using Arduino. We also explained push buttons (momentary type buttons) and how to use them for data or command input via a digital input. Any controller can interface and interact with other electronic devices in five ways: digital output, digital input, analog output, analog input,…