App note: Button debouncing with configurable logic cells

A while ago we heard about some new PIC microcontrollers with a tiny bit of integrated logic, a CPLD-lite that can replace a few external logic chips. This app note shows how to make a button debouncer with the peripheral.

In this application note, a PIC10F322 is being used to implement a delay block/debouncer. The delay can be set between 2us and 193us. This can be used effectively as a noise discriminator, or for switch debouncing.

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.