PCF8574 I2C 8-bit I/O expander
In this post we’ll review a simple interface for PCF8574 I2C 8-bit IO expander IC and PIC microcontroller. For similar Arduino based implementation click this link. The format of present post is similar to 2 recently published tutorials about I2C ...
HC-SR04 Ultrasonic Sensor with Raspberry Pi
Using HC-SR04 Ultrasonic Sensor with Raspberry Pi is a relatively easy task. HC-SR04 is a very popular module that can provide the distance to the object by sending ultrasonic bursts at 40kHz and measuring the time it takes for the ...
Digital Lock
In this post I'm going to show you how to build a simple Digital Lock using PIC microcontroller. Instead of building a new hardware design from scratch we are going to use PIC Development Board as a basis for Digital ...
Arduino Ultrasonic Sensor HC-SR04
This post is about building a distance meter using HC-SR04 Ultrasonic Sensor and Arduino MEGA board. For PIC16F877 version click here. Raspberry Pi variant is also available at this link. HC-SR04 module can measure distances ranging from 2cm – 400 ...
LCD voltmeter based on ADS1015 with Raspberry Pi
LCD voltmeter with Raspberry Pi and ADS1015 is the topic of this project. Similar design for Arduino platform is available at this link. ADS1015 is a 12 bit ADC chip with 4 analog input channels. The interface with Raspberry Pi ...
128×64 LCD Display
A few weeks ago I’ve uploaded post with relatively simple assembly code example for interfacing 2x16 LCD display with PIC16F microcontrollers. Driving Graphic LCD display is more complex task as it lacks the build in character generation unit so each pixel needs to ...
Basic PIC Frequency Counter
Here is a Basic PIC Frequency Counter design. For Arduino version click here. It doesn't not attempt to compete with some advance designs and has a very limited frequency range, however it can be used as a starting point to ...
Arduino 4 Digit LED 7-Segment Countdown Timer
Arduino 4 Digit LED 7-Segment Countdown Timer based on Arduino MEGA will be shown in this post. For LCD version of this design follow this link. Similar project that uses PIC16F876 MCU can be found at this link. Raspberry Pi ...
BCD to 7 Segment Display Decoder
In this post I'll show how you can drive 7 Segment LED display with PIC16F876A. Instead of using a dedicated IC’s like 4511 we’ll program the micro controller to convert BCD input code 0 – 9 to a 7 Segment LED ...
INA219 current sensor with Arduino
Measuring current is a relatively simple task that can be done by connecting a shunt resistor in series with the load and measuring the voltage on this resistor. The voltage is proportional to a load current according to Ohm’s law ...