Diode tester using PIC 16F84

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
Diode tester using PIC 16F84 - schematic

Diode tester using PIC 16F84 - img1

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.

Recommended videos

  • PIC Microcontroller Project, Program
  • Led Project Pic 16f84A Led Chaser
    Duration: 0:54.
  • Populaire video


  • Elektor (Registratie)
    Elektor (Registratie) goud in onze handen?De gigantische omvang van de ontwikkeltools, compilers, oncodebestanden, debuggers en databestanden die u via het net naar uw pc verplaatst, kan makkelijk oplopen tot 10.000 keer die van het obje
     24 February 2017
  • Elektor (blog)
    are Golden?Forgive me ye Cortex-M[x] fans but my active dealings with date back to the times when programming these things was exciting but also art for art's sake. I mean: a few enthusiastic men (sic) would drive say 100 miles to meet in
     24 February 2017
  • Electronic Design
    Electronic Design OnlineThe PIC16F15386 is based on Microchip's popular 8-bit family, which has a RISC-style 14-bit instruction set. The system has an internal 32-MHz clock and storage includes up to 28 Kbytes (16 Kwords) of flash memor
     23 February 2017
  • Hackaday
    Hackaday You might think that our community would always strive to be at the cutting edge of computing and use only the latest and fastest hardware, except for the steady ...
     19 February 2017
  • Yahoo Finance
    These four new additions to Stifel's Select List are all rated Buy and make good sense for growth investors looking for new ideas.
     17 February 2017
  • Seeking Alpha
    Seeking Alpha The company offers under the and name and development tools to enable system designers to program for specific applications. MCHP was founded in 1989 and is headquartered in Chandler, Arizona. MCHP will ...
     13 February 2017
  • iProgrammer
    iProgrammer IoT devices come in two general types - small embedded devices or like the and the Arduino and these don't have the power to run an OS. They just run a single program with the help of some system utilities. Then there are the Fi
     3 February 2017
  • iStreetWire
    iStreetWire It also provides development tools that enable system designers to program for specific applications; analog, interface, mixed signal, and timing products comprising power management, linear, mixed-signal, high-voltage, thermal&n
     30 January 2017
  • PR Newswire (press release)
    Electronics Weekly CHANDLER, Ariz., Sept. 13, 2016 /PRNewswire/ -- Microchip Technology Inc. (NASDAQ: MCHP), a leading provider of microcontroller, mixed-signal, analog ...Microchip dev board covers 16 and 32bit PICs - Electronics Weekly
     13 September 2016