Skip to content

A small PCB with debounced buttons and switch to put on breadboards

License

Notifications You must be signed in to change notification settings

shack/knoepfchen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knoepfchen

The unpronounceable PCB!

Purpose

A small PCB with two debounced buttons, a debounced SPDT switch, and a 555 in astable configuration.

When experimenting with logic circuits, one often needs a switch or a button or a clock. However, putting small debounce circuits on the breadboard over and over again is tedious. Knoepfchen is a small PCB that you can just put on your breadboard and get two debounced buttons, a debounced switch, a 555 in astable mode, a two inverters with all relevant connectors available.

Connectors

Knoepfchen has to rows of connectors: The lower ones connect to the power rails of the breadboard. The upper row can be plugged into the upper half of the breadboard and exposes all relevant connectors. These are from left to right:

Number Label I/O Description
1 a I Input to an 74HCT14 inverter
2 ~a O Negation of a (output of inverter)
3 b I Input to an 74HCT14 inverter
4 ~b O Negation of b (output of inverter)
5 b1 O Debounced button 1 (active high)
6 b2 O Debounced button 2 (active high)
7 s O Position 1 of debounced SPDT switch
8 DIS - Pin 7 of 555
9 THR - Pin 6 of 555
10 CLK O Pin 3 of 555

drawing

Usage

  • The buttons can be used for reset or a manual clock pulse.
  • The RC network of the buttons also can also serve as a power-on reset circuit, providing a active-high RESET signal after ~40ms (see details below).
  • The two inverter inputs can for example be used to create a active-low RESET signal and/or an inverted clock.
  • If you don't need the 555, just leave pins 9-11 unconnected.
  • If you don't need an inverter input, tie it low or high.
  • All other pins don't need to be connected.

Technical Details

  • The switch debouncing circuit uses two inverter gates in a feedback configuration through a resistor (R5) as in The Art of Electronics, 3rd ed. Figure 10.52, page 730.
  • The two buttons are identical and debounced using a standard RC circuit as in this document but without the diode. Resistors R1 and R2 from the schematics are 1k and correspond to R1 in the document. Similarly, R3 and R4 are 10k and correspond to R2 in the document. C1 and C2 correspond to the capacitor and have 1µF each.
  • C5 is a decoupling capacitor for the '14 chip and the 555.
  • C4 connects to the CONTROL pin (pin 5) of the 555 and to GND.

Configurations for the 555 in Astable Mode

Here, a brief summary of two standard configurations to get a clock signal out of the 555.

The standard configuration

  • Resistor R1 from Vcc to DIS
  • Resistor R2 from DIS to THR
  • Capacitor C from THR to GND

The frequency is then $\frac 1{\ln 2\cdot(R_1+2R_2)\cdot C}$ and the duty cycle is $\frac {R_1+R_2}{R_1+2R_2}$

A 50% duty cycle configuration

  • Resistor R from THR to CLK
  • Capacitor C from THR to GND
  • DIS not connected
  • Duty cycle: 50%
  • Note that you cannot put a resistive load to CLK without changing the duty cycle.

The frequency is then $\frac 1{2\ln 2\cdot RC}$

More details on both configurations and more can be found for example here.

About

A small PCB with debounced buttons and switch to put on breadboards

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published