OSCCAL Value Finder Board with 16F88

The program loaded in the 12F675 device which has no osccal value will force a pulse on GPIO.4 and it will make a loop while increasing the osccal value internally. GPIO.5 will send the current osccal value used for each pulse sent. Because the device has no calibrated osccal value, the pulse will be variable. The circuit will wait until it receives the correct pulse. When the correct pulse is received, it will stop the test and display the osccal value used when the correct pulse was measured. The value displayed is in Hexadecimal format which means it can be used without conversions directly to the device?s memory.
OSCCAL Value Finder Board with 16F88 - schematic

Turning on the circuit, it will display the name of the project and then it will display the message ? Put Pic ? Hit But ?. At this point it?s possible to place the 12F675 device on the socket and press the push button. Pressing the push button S1 the circuit will start to measure the signal from the 12F675 device and will count the pulses. The display shows the pulse signal being measured and the current Osccal value. When the pulse sent by the 12F675 device matches the requested pulse length the circuit will stop the device and display the recommended osccal value. Since the circuit controls the power of the 12F675 device, at this point is possible to remove the device from the socket and place a new one. Pressing S1 the circuit will start a new test. This is a very interesting circuit for the microcontroller beginner. Not only for recovering lost osccal values but also to understand some microcontroller characteristics. The crystal must be a good quality crystal or precise results may not be ensured. The circuit uses an 8X2 LCD making it a portable project.

Recommended videos

  • How to program the PIC microcontroller with the PicKit II
    Duration: 10:57.
  • MPLABX Tutorial - How To Upload Code a PIC Microcontroller
    Duration: 4:39.
  • Populaire video


  • Home Toys (press release)
    Kanda manufacture stand alone handheld programmers to simplify firmware updates for in the field and production. They are battery operated and use a single button press to reprogram a product. As well as AVR and microntollers
     20 October 2016
  • Dataweek (press release)
    Microchip rolled out the new Explorer 16/32 development board for designing with 16-bit and 32-bit . This new board is offered at a lower cost than the popular Explorer 16 development board and comes with an integrated ...
     5 October 2016
    A new Digitally Enhanced Power Analog (DEPA) controller designed to regulate current, regulate voltage and monitor temperature is now available from Microchip Technology Inc. (NASDAQ: MCHP), a leading provider of , mixed-signal, analog ...<
     4 October 2016
  • Home Toys (press release)
    Home Toys (press release) Programming KitThe MICRO-X kit is based on one of the latest Microchip , the PIC16F1789, which is far superior to older types like PIC16F877. Most information on the web and other training kits use these older d
     27 September 2016
  • 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
  • Electronic Design
    Electronic Design a Way to Online Development1) ings cloud-based development tools to developers. It is a complete MPLAB X integrated development environment (IDE) environment. This includes debugging hooks to local devices. There are s
     19 February 2016
  • EE Times
    EE Times Free, web-based integrated development environment said to be the the easiest way for designers to get started with PIC MCUs.Microchip moves development to the cloudElectronics WeeklySoftware Is Free -- SometimesEE JournalMi
     16 February 2016
  • EE Times
    EE Times Microchip's proposed acquisition of Atmel would shake up the top three microcontroller vendors for the second time in a matter of months.
     21 January 2016
  • Power Electronics Technology
    Power Electronics Technology Microchip Technology Inc. has expanded its eXtreme Low Power (XLP) portfolio. Features of the new PIC24F "GB4" family include an integrated hardware crypto engine with both OTP and Key RAM options for secure
     15 December 2015