Serial LCD Interface I2C Featured Image

Serial LCD Interface I2C

Interfacing LCD Display with serial Interface like I2C can save microcontroller I/O making it a practical alternative to a standard parallel 8 bit interface. We’ll use PCF8574 I2C port expander and PIC16F876A microcontroller to establish IIC communication by 2 lines, ...
Arduino-7-Segment-LED-Display-MAX7219-Featured-Image

Arduino 7-Segment LED Display MAX7219

MAX7219 is a serial input/output common-cathode display driver. It can interface the microcontroller to 7-segment numeric LED displays, bar-graph displays, dot matrix display or  individual LEDs. This IC has some very useful features like built in decoder, multiplex scan circuitry, ...
LED Controller Featured Image

LED Controller

Light emitting diode (LED) Controller was built using PIC microcontroller and LM317 regulator. Comparing to traditional light sources led illumination should provide more efficient lighting also giving you a possibility to choose desired wavelength. 48 white diffused LEDs connected in parallel ...
1Hz Clock Generator Featured Image PIC16F876A

1Hz Clock Generator using PIC16F876

In this article we’ll see how to generate 1 Hz clock with PIC16F876/877 PIC microcontrollers. 3 different approaches will be demonstrated. The most basic solution is to use nested loops to “waste” enough instruction cycle time in order to produce ...
PC Fan Controller Image

2 Channel PC Fan Controller

Following recently published article about building a PWM Fan Controller here is another simple controller design. This time it’s a 2 Channel PC Fan Controller for standard 12V Fans. It uses software implementation of PWM but instead of directly driving PWM ...
PCF8574 I2C 8-bit I/O expander Featured Image

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 ...
Generating-Sine-wave-by-MCP4725-DAC-with-Raspberry-Pi-Featured-Image

Sine Wave with MCP4725 and Rasperry Pi

Generating Sine wave is a relatively simple task. It can be done by adding MCP4725 12bit DAC to Raspberry Pi. For Arduino version based on PCF8591 IC click this link. This setup is based on I2C interface and works by ...
LM35-Temperature-Sensor-with-Raspberry-Pi-Featured-Image

LM35 Temperature Sensor with Raspberry Pi

Using LM35 temperature sensor with Raspberry Pi is a relatively simple task once you have a way to read and convert analog signals. Fortunately in my previous project I’ve shown how to build a basic Raspberry Pi voltmeter with ADS1015 ...
Arduino-Ultrasonic-Sensor-HC-SR04-Featured-Image

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 ...
RGB LED Bar Graph for Arduino Featured Image

RGB LED Bar Graph

Current LED Bar Graph design for Arduino UNO platform uses 16 independently controlled RGB LED’s with integrated WS2812 chip. Similar project is available at this link. In general the voltage is divided into equal intervals equal to the number of ...