Electronic projects


you are here: home page :: projects :: Microcontrollers :: microcontrollers :: PIC diode tester

PIC diode tester

This is a simple use of the PIC 16F84 about a diode tester.

Test procedure : We set «1» to PB0 and «0» to PB3. If diode is ok and opens, then at PA0 we have «1». If PA0 is «0», then the the diode has problem. With the program we manage what the PIC will do in each situation . If PA0 is «1», green led lights wich means that the diode is OK and if PA0 is «0» red led is lighting and the diode is problematic
Test continuous as follows: We give «0» at PB0 and «1» to PB3. If diode is OK and opens, then at PA0 is «1». If PA0 is «0», then diode has problem. If PA0 is «1», green led lights that means that diode is OK and if PA0 is «0» the red diode is lights that means the the diode is problematic.

Source Code


author: Manolis Xenias
e-mail: manolis_the_master@yahoo.gr
web site: http://www.electronics-lab.com
You enjoyed this site? If so, you might want to consider making a donation to help me to pay for traffic & development tools.
project categories:
Audio (49)
Power & high voltage (43)
Radio (23)
Light & LED (31)
Tools & measurement (40)
Telephone (18)
Automotive (10)
Microcontrollers (12)
Sensors & control (47)
Timers & oscillators (40)
Miscellaneous (26)

project subcategories:
All subcategories
microcontrollers

similar projects:
"SimpleMouse" Smartcardprogrammer
ATMEL 89 Series Flash Microcontroller
EPROM adapter for ATMEL 89 Series Flash Microcontroller Programmer Ver 2.0
Funcard Programmer by Diesel
Gold wafer cards
iButton electronic lock
Phoenix Programmer
PlayPIC®
Ponyprog Circuit for ATMEL'S AVR
Ponyprog Circuit for AVR & PIC16F84

recently added projects:
Doorbell for the Deaf
High Quality Intercom
Combinational Conjuring Trick
POT-PLANT POWER
Ultrasonic Dog Whistle
Quiz Circuit
LED Torch
Insect Repellant
Speaker Microphone Circuit
Magic Wand Conjuring Trick.

most popular projects:
100W RMS Amplifier
12 Volt 30 Amp PSU
60W Guitar Amplifier
500W low cost 12V to 220V inverter
12VDC Fluorescent Lamp Driver
The Link Telephone Intercom – Every Home Should Have One!
Cellular Phone calling Detector
200W audio amplifier
2N3055 Power Amplifier
5,000W ultra-light, high-power amplifier, without switching-mode power supply