LED Aquarium Lighting

LED Aquarium Lighting Featured Image

Recently I was asked to build an aquarium lighting controller prototype to provide variable brightness during its operation and ability to program  ON/OFF times. 25 blue and white diffused 10mm LED were used to illuminate the aquarium. The main requirement from this design was to gradually increase the LED intensity levels in order not to disturb … Read more

1Hz Clock Generator using PIC16F876

1Hz Clock Generator Featured Image PIC16F876A

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 1 sec delay. The main advantage of this implementation is its simplicity.No additional external hardware … Read more

Basic PIC Frequency Counter

Basic PIC Frequency Counter Featured Image

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 implement a frequency counter  or simply provide you a simple way to count pulses with PIC … Read more

Digital Stopwatch

Digital Stopwatch Featured Image

In this article I’ll demonstrate a digital stopwatch design based on PIC16F876A micro controller.For related circuit based on Arduino click here. Similar project showing a Digital Timer design can be found here. Current circuit can be used to count in minutes and seconds in two directions, UP/Down. The display is implemented using 7-Segment Common Cathode … Read more

PIC C Programming

PIC C Programming Featured Image

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 program into PIC’s memory. Till now all published project’s source code was written in Assembly … Read more