Contact bounce (digitally controlled XO) - diyAudio
Go Back   Home > Forums > Source & Line > Digital Source
Home Forums Rules Articles diyAudio Store Gallery Wiki Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Digital Source Digital Players and Recorders: CD , SACD , Tape, Memory Card, etc.

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Thread Tools Search this Thread
Old 16th August 2003, 11:34 PM   #1
nuppe is offline nuppe  Sweden
diyAudio Member
nuppe's Avatar
Join Date: Aug 2003
Location: Gothenburg
Default Contact bounce (digitally controlled XO)

Hi guys!

I've been lurking around these forums for quite some time now, so i guess it's time for my first post:

I've been thinking about building a 24 dB/oct Linkwitz-Riley XO with frequency switching. I got the idea from this paper: .

I put together a test circuit for the digital controls using a bunch of LED's, a 4051 analog mux and a 4029 up/down counter.

The trouble I'm having is that contact bounce from the switch is making the clock input on the 4029 skip steps in the counting.
I can make it tick ok with an improvised wire-switch and some delicate motor skills.

I've tried a simple filter solution from this site: , but that didn't do any good.
Maybe I didn't wire it up right, i'm still a newbie at this, so i just stuck it in between the switch and the clock input...

Does anyone have any idea of what I'm doing wrong?
Please tell me if you do!

Anyway this is what it all looks like:
The stuff on the far left is just for setting the preset.
(How come you can never get it that pretty on the bredboard? )
Attached Images
File Type: gif anmux.gif (15.2 KB, 167 views)
  Reply With Quote
Old 17th August 2003, 09:53 AM   #2
diyAudio Member
nemestra's Avatar
Join Date: Jul 2002
Location: UK
Hi Nuppe,

the standard switch or relay contact debounce circuit uses cross-coupled NAND gates or an SR flip-flop. There are also several R/C delay circuits (Fig. 2) but I've always found them not to be as reliable as the NAND or flip-flop configurations.

The cross coupled NAND is shown in Figure 3 of the following URL:

Though you will need a different type of switch. It's possible to get push buttons with double throw contacts. You'll also need a 4011 quad NAND gate.

  Reply With Quote
Old 17th August 2003, 05:45 PM   #3
nuppe is offline nuppe  Sweden
diyAudio Member
nuppe's Avatar
Join Date: Aug 2003
Location: Gothenburg

I had kindof hoped for some fix for the passive circuit so i could build it without having to get new parts, but as it turns out my buddy had a couple 4011s lying around.
I'm gonna try it out right away! The pushbuttons are no big deal, I'd have to get some new ones to complete the project anyway.

I'll post back with the complete schematic when i've got the actual filters in there too.

(after that there's only building the speakers and amps for my complete triamped system, shouldn't be too big of a deal;.)

  Reply With Quote


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
I ned a 6ch digitally-controlled attenuator. Anyone know of a design? Spasticteapot Digital Line Level 2 27th February 2009 08:17 PM
Digitally controlled LED panel help... needtubes Everything Else 0 28th June 2007 01:53 AM
Contact bounce rho Solid State 6 10th March 2005 08:31 PM
Digitally controlled Baxandall? BoGoMiPz Solid State 21 19th February 2004 01:41 PM

New To Site? Need Help?

All times are GMT. The time now is 11:53 PM.

vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Copyright 1999-2017 diyAudio

Content Relevant URLs by vBSEO 3.3.2