Capacitors are one of the most common passive electrical components that are extensively used in all kinds of electronic circuits. In this project, we will discuss a technique of building a digital capacitance meter using a PIC microcontroller. This project can measure capacitance values from 1 nF to 99 ?F, with a resolution of 1 […]
Projects
How to drive a lot of LEDs using PIC12F microcontroller
How to drive a lot of LEDs from a few microcontroller pins. Using the fact that many microcontroller pins have three states (+V, GND, or “high impedence”, you can drive N*(N-1) LEDs from N pins. So the little 8 pin microcontroller like a PIC12Fxxx or an ATtiny11 can drive 20 LEDs on its five available […]
PIC RC Motor Controller (and example lego robot)
Step 1: Parts List General: RC transmitter/receiver set with at least 3 channels. As is this code only works with stacked PWM signals. I can only say for sure that it will work with traxxas receivers. With modification it could work with any PWM timing, and I am working on making it work with synchronous […]
Digital logic probe for troubleshooting TTL and CMOS circuits
A logic probe is considered as a stethoscope for engineers and technicians for debugging digital logic circuits that consists of logic gates, memories, registers, etc. A digital multimeter (DVM) can also be used for such analytical purposes but it gives you the numeric value of the voltage at a point instead of the logic state. […]
Temperature and relative humidity display with adaptive brightness control
The objective of this project is to illustrate a technique of implementing adaptive brightness control to Smart TrH Display and seven segment LED displays. It consists of a closed loop system that continuously assesses ambient light condition using an inexpensive light-dependent resistor (LDR) and uses that information to adjust the brightness of the display. For […]
LED Infinity Mirror Controller, 32 LEDs, Multiple Patterns using PIC12F675
LED Infinity Mirror Controller, 32 LEDs, Multiple Patterns UPDATE: This kit is discontinued please see the new version, 8 Channel LED Controller v.3, the development files are still available to build this version. As simple a circuit as can be. A 12F675 controls a high-power shift register, which in turn controls up to 48 LEDs at 20ma […]
Interfacing of PIC12F675 with (i2c based) 24LC64 EEPROM (code + Proteus simulation)
This post provides the code for interfacing 24LC64 EEPROM with PIC12F675 microcontroller. This 24LC64 EEPROM has i2c based interface and PIC12F675 doesn’t have any built in i2c modules, so software i2c module is created in the code. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the ‘Downloads‘ section at […]
Making a simple clap switch
A clap switch is a fun project for beginners. It switches on and off electrical appliances with a sound of clapping hands. Today we will discuss about making a simple clap switch that operates when it detects two clapping sounds in a row. It uses an electret microphone as a transducer for converting a clapping […]
2 Digit Counter using PIC12F629 Microcontroller
This article describes a 2-Digit Counter using a Microchip PIC12F629. It shows what can be done with an 8-pin chip having just 5 output lines and one input line. The chip drives two7-segment displays and this would normally require 7 lines to drive the segments plus another one or two lines to select the displays. […]