The Magnetometer using PIC16F688

I found several different magnetometer designs on Internet, but I tend to be very picky. None of those was what I needed - something that is sensitive enough to record the small magnetic field variations where I live (San Jose, California), robust enough to work for long periods of time without constant maintenance, and relatively easy to construct. Since the only place where I could permanently install the ...

Read more

Revised version of LM35 based digital temperature meter using PIC16F688

This is a revised version of my LM35 based digital thermometer project that I posted last year. Although it is one of the simplest projects, it is very popular among newbies who are just starting to learn microcontrollers. There was a little flaw in the original project as pointed by some readers. I was using a 1.2 V reference for A/D conversion with PIC16F688 microcontroller. However, the PIC16F688 datashe ...

Read more

Motion Activated Led Dice using PIC16F688

Introduction   I've always wanted to build an electronic led dice, but something different from what we see on the internet. Making it motion controlled... now that's new!   Many new cell phones that have accelerometers built in also have dice games. These dice move when shaking the cell phone. My Led Dice project will also work with a shake motion but without the use of the expensive accelerometers. Parts ...

Read more

PIC16F688 breadboard module for quick prototyping

This module is based upon the basic setup circuit for PIC16F688 that I have described in one of my PIC lessons, Getting ready for the first lab. I thought of soldering this circuit on a general purpose ptototyping board and use male headers to access the power supply pins and I/O ports of the PIC16F688 microcontroller. This will free up a lot of space on the breadboard as the ICSP header and the reset switc ...

Read more

Lab 3: Four bit binary counter using PIC16F688

Description Today’s lab session is about binary counting LEDs. The binary 1 and 0 will be represented by turning LEDs on and off. You will make a 4-bit binary counter (using 4 LEDs) that counts from 0 to 15 (0000-1111 binary). The four LEDs are connected to RC0 through RC3 port pins of PIC16F688 with current limiting resistors (470Ω each) in series. A push button switch is connected to pin RC4 to provide in ...

Read more

DMM Piggyback (add RS-232) using PIC16F688 microcontroller

DMM Piggyback (add RS-232) There are mods that give a multimeter serial connectivity by soldering some pins but, it only works if it already has RS-232 ability. So I decided rather than building a PIC multimeter from scratch, I would Piggyback off a $4 DMM. I used: one PIC16F688 one LM358 a button and a 100k potentiometer 3 resistors (1k 10k 20k) A PCB, piece of thin plastic, and hardware Despite the low pa ...

Read more

Determine capacitance by measuring the charging time using PIC16F688

When TEST botton is pressed, RA3 pin is set to "1". R2 and R3 are divide the voltage to 1/2 Vra3 which is connected to RA2 pin to be a Vref for comparator. The C undertest is charging and the timer is start. When the voltage of C undertest is more than 1/2 or above Vref, the timer is stop. and a number of periods that elapsed multiply by 10 is the C value in nF. Convert C number to string and display to 1x1 ...

Read more

Digital Oscilloscope using PIC16F688

Far and away my most ambitious project to date, this digital oscilloscope can sample up to four channels at a rate up to 100kHz.  And the best part? It only cost me about $40 in components. The user interface is an application running on a PC.  The user selects the configuration settings here.  When the data has been acquired, it is displayed as a graph on this screen. The board uses five PIC 16F688 microco ...

Read more

Digital Thermometer Using PIC16F688 microcontroller

Digital thermometers are cool devices as they show temperatures in human readable formats. This digital thermometer project is based on a PIC16F688 microcontroller and a DS1820 temperature sensor, and it displays temperature on a character LCD screen in both Celsius and Fahrenheit scales. I selected PIC16F688 for this project because it is cheap (I bought one for $1.50). DS1820 is a 3-pin digital temperatur ...

Read more

Microcontroller based Diode and Bipolar Junction Transistor (BJT) tester using PIC16F688

Introduction Most of the digital multimeters these days have built-in features for testing diodes and sometimes transistors. The purpose of this project is to demonstrate a simple way to construct a testing device for diodes and bipolar junction transitors (BJTs) using a microcontroller. The testing algorithm is based on a simple fact that a working PN junction conducts current in only one direction. A PIC1 ...

Read more
Scroll to top