Categories

App note: Button debouncing with configurable logic cells

Posted on Saturday, September 22nd, 2012 in app notes by DP

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.

This entry was posted on Saturday, September 22nd, 2012 at 1:00 pm and is filed under app notes. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

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

Recent Comments

  • Edward Mallon: I've managed to get cheap thermistors calibrated to about to +/- 0.2C with 3.3v Arduinos. https://edwardmallon.wordpress.com/2017/04/26/calibrating-oversampled-thermistors-with-an-arduino/ Instead of playing whack-a-mole with the various sources of...
  • Ja: What the keyer do? Sends random morse code or there is some input? If someone can point me to some source to read I would...
  • Sorin: Pleasure of free!
  • hli: Sunday++
  • Max: Jolly good stuff, although the "include 100 W resistors in series with the inputs and outputs" part is quite hilarious until one realizes* they meant...