Page 1 of 1

Info on Bit Crushing Electrical Components

Posted: Fri Oct 31, 2014 5:20 pm
by mjmostachetti
Hey there,

I'm interested in making a bit crushing pedal but haven't found any schematics online.
I'm looking for either the ICs involved in changing the sampling rate or other methods to produce a crushed sample.

Any leads would be really helpful. :)

Thanks in advance.

Re: Info on Bit Crushing Electrical Components

Posted: Sat Nov 01, 2014 12:58 am
by eatyourguitar
http://www.experimentalistsanonymous.co ... rusher.gif

http://www.diystompboxes.com/smfforum/i ... ic=69830.0

you can also design one on your own from an ADC and a DAC. with 8bit parallel data it would be easy to put the 4 MSB bits on 4 switches. you can adjust the clock to get different sample rates. the only hard part would be using a charge pump to get the negative 7v supply for the ADC0800. you could do it easy on two 9v batteries.
http://www.ti.com/lit/ds/symlink/adc0800.pdf
http://www.ti.com/lit/ds/symlink/dac0800.pdf
the 555 is an easy clock.
http://en.wikipedia.org/wiki/555_timer_IC

Re: Info on Bit Crushing Electrical Components

Posted: Sat Nov 01, 2014 6:51 pm
by cloudscapes
Unfortunately this isn't really a bitcrusher. it's a samplerate reducer, which is one feature of most bitcrushers, but there are no bits to crush in this one. none of that harsh digital clipping and shaping.

the ADC/DAC method is the only sensible way to make one, without going the microcontroller route. something like this:

http://www.experimentalistsanonymous.co ... 20fuzz.bmp

this is a true 8bit bitcrusher. bits can be dropped using those toggles and you get awesome noise! I believe the pot at the top-left is samplerate control.

Re: Info on Bit Crushing Electrical Components

Posted: Sun Nov 02, 2014 10:05 am
by eatyourguitar
http://www.ti.com.cn/cn/lit/ds/symlink/adc0808-n.pdf

wow nice design. it has a clock made from some inverting logic on the ADC IC. also I noticed you have a single supply for that ADC. this is why ADC0808 is better than ADC0800 for a guitar pedal. I read the datasheet to the DAC0800 and DAC0808,0807,0806. you can definitely do this on a 9.5v single supply. you do not need -12v like that schematic. you just need to understand how to set the Vref- and Vref+. it should be 0v and 5v/2 to interface the ADC0808. you can replace all those 8 switches with a 8 channel OR logic and a pot connected to another ADC0808. this will freeze bits high as you start to turn the pot (control voltage) up at the second ADC.

Re: Info on Bit Crushing Electrical Components

Posted: Sun Nov 02, 2014 2:42 pm
by mjmostachetti
Thanks for the insights! Just out of curiosity - as I'm going to want to learn how to manually code out some effect eventually - where would be a good place to start to learn how to code effects? I've found massive books on DSP, but maybe something more friendly to the beginner. Thanks again for the help! Can't wait to make these. :)

Re: Info on Bit Crushing Electrical Components

Posted: Sun Nov 02, 2014 2:53 pm
by mjmostachetti
Another question, the -12V is the same as GND, right?

Re: Info on Bit Crushing Electrical Components

Posted: Mon Nov 03, 2014 11:10 am
by eatyourguitar
http://www.utdallas.edu/~kamran/dac0808.pdf

read and understand the datasheet for the DAC0808. reading datasheets is a valuable skill. now is your chance to practice your diy skills in a real world situation. on the front page it says +/-4.5v supply. in all the examples it has Vcc pulled up to V+ , Vee to V- and GND somewhere in between. there are also two different DAC0808. national instruments one is in DIP16 and TI one is in DIP28. a little history here---> when chips were made of bipolar junction transistors the power supply was the collector and the emitter. C and E. thats why Vcc and Vee. nothing can be above Vcc or lower than Vee. the standard practice was to use GND 0v as a predetermined level for logic level low and Vcc for logic level high. this also explains why CMOS IC are Vdd and Vss. look up FET for that one. when you interface a chip that has a +5v,0v single supply such as the ADC0808, your logic levels are 0v and +5v (not a surprise?). the datasheet for the DAC0808 will tell you if you logic level high is fixed or adjustable. you can also see if it is possible to use DAC0808 Vee levels (logic low from the ADC0808) for logic low in the DAC0808. without adjustable low and high references on the DAC0808, my single supply plan for everything may actually present a problem of needing logic levels being shifted by some man in the middle device.

Re: Info on Bit Crushing Electrical Components

Posted: Mon Nov 03, 2014 11:16 am
by eatyourguitar
also if you didn't figure it out yet
NSFW: show
DAC0808 is split supply +4.5v, 0v -4.5v. you need a 10k + 10k voltage divider between 9v and 0v to make the fake ground (fake 0v) where the resistors meet. 9v is your new V+ and old 0v is your new V-. this is a cheap hack for +/-4.5v bipolar supply. you can add a cap from the middle rail to the bottom rail for cleaner power rails. 10uf is good.

Re: Info on Bit Crushing Electrical Components

Posted: Tue Nov 04, 2014 1:55 am
by multi_s
if you use this adc you dont need a special "dac" chip. You can just use an opamp as a weighted summation circuit because the ADC has latching outputs and doesn't put garbage on the outputs when preparing the data (weights are 2^0 * R for the MSB then 2^1 * R, 2^2 *R .... 2^7 * R for the LSB, R is some value you choose). This way you can avoid all your power supply troubles. You could even just use a passive R2R ladder,but in the end you will likely want to buffer its output so... Either way it will give you essentially the same result as using this DAC chip at a lower cost and less hassle.

For whatever reason an mcu is frowned on in this thread but in the end an 8 pin mcu is a much nicer solution and use a pwm output. Less parts, lower cos, up 10 bit res most likely as well.

Re: Info on Bit Crushing Electrical Components

Posted: Wed Nov 05, 2014 10:33 am
by eatyourguitar
I think you should sell these again. I would probably buy some.
viewtopic.php?f=151&t=21108

Re: Info on Bit Crushing Electrical Components

Posted: Thu Nov 13, 2014 3:14 pm
by carkifelek
mjmostachetti, I agree with the simpler solution of using an ADC and a DAC to do the required signal clipping and sampling. It is a simple yet elegant solution to your problem. However,someone mentioned using an 8bit MCU in this thread and I can’t say that I disagree to that. You might have to do some smart programming but using a simple MCU can do the job for you without having to go through the ordeal of setting up and a ADC and a DAC.

Re: Info on Bit Crushing Electrical Components

Posted: Thu Nov 13, 2014 4:23 pm
by multi_s
ya if anyone wants i can provide an 8 pin solution.

you can email me direct at mtl.asm@gmail.com

iirc its based on pic12f1822.