Home / Tutorials (page 4)


Use LM393 IR Module as Motor Speed Sensor

Arduino Motor Speed Sensor

Unlike stepper and servo motors, precision control for DC motors is impossible unless a sort of feedback mechanism is employed. If your application requires a consistent motor speed or a stimulant-dependent speed then you certainly need feedback. This tutorial aims to develop a simple motor speed sensor for a more …

Read More »

Building an Arduino Water Flow Meter

Arduino Water Flow meter

How do you measure the volume of a liquid? There are a couple or so ways to do it. One technique is by determining the level of the liquid in a container with a known cross-sectional area. For level measurements, an ultrasonic sensor is useful. Another technique is to use …

Read More »

Persistence of Vision (POV) with Seven-segment Displays

POV seven segment

Lack of pins to use is a common challenge in designing microcontroller-based projects. This is particularly true when dealing with liquid crystal or seven-segment displays. Multiplexers and display drivers are great help but at an additional cost. Thankfully, a software-based solution exists to solve such problem.

Read More »

Capture and Compare with PIC16F877A

PIC16F7877A prototype board

The PIC16F877A microcontroller comes with a Capture Compare PWM (CCP) module which utilizes its 16-bit Timer1 module to generate or count pulses, among other things. I have already covered how to generate PWM in my previous tutorial. This time, we will look at how to implement capture and compare with …

Read More »