Turn an 8-pin microcontroller into a programmable fractional divider

Dec. 1, 1997
The PIC12C508 is an 8-pin microcontroller that contains an RC oscillator (4 MHz) and power-on-reset circuitry. Two pins are for ground and power-supply connections, while the remaining six pins are dedicated for input/output. This tiny microcontroller...

The PIC12C508 is an 8-pin microcontroller that contains an RC oscillator (4 MHz) and power-on-reset circuitry. Two pins are for ground and power-supply connections, while the remaining six pins are dedicated for input/output. This tiny microcontroller provides a low-cost and spacesaving solution for some applications that require fewer parts than if conventional logic devices are used.

The circuit shown is used to implement a fractional divider using the PIC12C508 (see the figure). The divide ratio produced is completely controlled by software. The microcontroller can divide an input signal by a factor of 1.5 to 16.5. D0-D3 selects the divide ratio. Note that the speed of the circuit is limited by the microcontroller’s execution time. It can work reliably under 30 kHz with a minimum input pulse width of 6 µs.

See associated listing

Sponsored Recommendations

What are the Important Considerations when Assessing Cobot Safety?

April 16, 2024
A review of the requirements of ISO/TS 15066 and how they fit in with ISO 10218-1 and 10218-2 a consideration the complexities of collaboration.

Wire & Cable Cutting Digi-Spool® Service

April 16, 2024
Explore DigiKey’s Digi-Spool® professional cutting service for efficient and precise wire and cable management. Custom-cut to your exact specifications for a variety of cable ...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!