How to Use Lookup Tables in PIC Assembly

Lookup Tables with PIC

Programming a microcontroller in assembly languages takes time and to reduce that time, embedded systems engineers often have tricks up their sleeves. One of those tricks is the use of lookup tables. In this post, I will share how I use lookup tables in assembly language for the PIC16F84A microcontroller.

Read More »

Arduino NANO Pinout Diagram

Arduino NANO Pinout

The Arduino NANO is a smaller, breadboard-friendlier version of the Arduino UNO. This Arduino NANO Pinout diagram reference is a handy guide for using this board. Arduino NANO Pinout Description The Arduino NANO pins, similar to the UNO, are divided into digital pins, analog pins, and power pins. The NANO …

Read More »

Get Orientation with Arduino and MPU6050

Arduino MPU6050

The MPU6050 is a six-axis gyroscope and accelerometer in one package. With its easy-to-use breakout board, it became one of the more popular sensors for the Arduino platform. This article looks into this sensor and teaches how to use it to determine the orientation of an object.

Read More »

A Better Arduino Color Sensor using TCS230

Last time, I showed how easy it is to detect colors using the Pixy2 camera. However, the camera’s price might be too expensive for some. Luckily, there is a much cheaper option to implement an Arduino color sensor. The color sensor I’m referring to is the TCS230 (and equivalent TCS3200) …

Read More »

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 »

Raspberry Pi Ultrasonic Sensor Tutorial

Raspberry Pi Ultrasonic Sensor tutorial

An ultrasonic sensor is a common tool for measuring the distance of an object in front of it. While I recommend using an Arduino with ultrasonic sensor to achieve real-time results, it is still possible to use the sensor with a Raspberry Pi. This tutorial shows you how to build …

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 to determine 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 »