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.
  • EEVblog #39 - Microchip PICkit 3 Programmer/Debugger Review
    Duration: 9:55.

News


  • 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 ...
     13 January 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
     12 January 2017
  • Versatile dev kit for PIC MCU and dsPIC digital signal controllers
    Electropages (blog)
    Electropages (blog) MCU and dsPIC digital signal controllersAvailable now from RS Components, the Microchip Explorer 16/32 development kit is a versatile full-featured prototyping platform for 16-bit and 32-bit and dsPIC digital signal
     10 January 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
     4 January 2017
  • Hackaday
    Hackaday Powering it all are a ace of : an ATMega328 for the 7-segments and a range of controlling the bar graphs and RGB LEDs. Another handles RF communication with the sensors, which are housed in a remote box. We've embedded ...<
     2 January 2017
  • Hackaday
    Hackaday Mesh, Accessible Distributed NetworkingTheir Mesh university project is a distributed wireless mesh network using 2.4GHz NRF24L01 transceiver modules and PIC32 . They have it configured for demonstration purposes with a home au
     17 December 2016
  • PR Newswire (press release)
    Electronics Weekly ® CHANDLER, Ariz., Sept. 13, 2016 /PRNewswire/ -- Microchip Technology Inc. (NASDAQ: MCHP), a leading provider of , mixed-signal, analog and Flash-IP solutions, today announced the new Explorer 16/32 Development Boa
     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 15) announced a new cloud-based integrated development environment (IDE) for the company's . According to Microchip (Chandler, Ariz.), the free MPLAB Xpress cloud-based IDE is the easiest way for users to get started with MCUs,&
     16 February 2016

.