Interfacing MCP4725 DAC with Arduino
In this post I’ll show you how a 12 bit DAC model MCP4725 can be connected and controlled by Arduino or a compatible board. Similar design based on Raspberry Pi platform can be found at this link . Wire.h and ...
PIC C Programming
In this article I’ll show you how to program Microchip PIC microcontrollers using HI-TECH PICC compiler and basic PIC development board. The board consists of PIC16F876A, LED bar graph and 20MHz oscillator. PICKIT3 compatible programmer was used to download the ...
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 ...
Sine wave generator PCF8591 I2C Arduino
The topic of this post is building sine wave generator based on Arduino UNO and PCF8591 8-bit A/D and D/A converter. For similar design with PIC micro-controller look at this link. Raspberry Pi version based on MCP4725 DAC available at ...
8×8 LED Matrix chaser Arduino
8x8 LED Matrix chaser based on Arduino MEGA compatible board will be presented in this post. It uses a LED dot matrix display module with two 74HC595 shift register chips connected in serial to control the LED output. Similar design ...
Digital Voltmeter LED Display
Here is another modification of a digital voltmeter. This time with 7 – Segment LED Display. These circuits seems to be more popular than other designs so I’ve decided to publish another variant. You can find 4 variations of digital voltmeter on ...
Electronic Lock
Here is a modified and improved electronic lock design. For Arduino version click here.It is largely based on Digital Lock article, however this time a real electronic lock was used instead of a solenoid. The code is a 4 digit number ...
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, ...
Running LED with PIC16F877A
In this post I'll show a simple running LED circuit. Currently only 2 patterns are available but additional effects can be easily added by slightly modifying the code. This design uses only 16 LED's however PIC16F877 has 5 I/O ports ...
Stepper Motor Interface PIC16F
This article shows a basic interface between PIC16F microcontroller and a unipolar stepping motor using an assembly code. For programming the MCU you'll need PICKIT2 or PICKIT3 device. Similar design for Arduino platform can be found at this link. Instead ...