Skip to content
View in the app

A better way to browse. Learn more.

www.Head-Case.org

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Group Buy - Digital Attenuator (Kevin Gilmore)

Featured Replies

  • Author
14 hours ago, Pars said:

What is in the Dig. Att. Kits?

The boards I have are the first version, so don't use the MAX chips, but I could be interested in the resistors, etc.

 

the actual saving comes from buying resistors in quantities of 100 ... so we can limit the 'kit' to resistors, no prob

  • Replies 223
  • Views 65.5k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I finally have a simple "ish" solution for the controller on the digital attenuator.  I developed two boards.  The first is a RK50 to Stepped Attenuator adapter board.  It is the same size as the

  • johnwmclean
    johnwmclean

    I am master of this.

  • wokstarr26
    wokstarr26

    No problems at all. I and  members of this forum is indebted to you for the great amount of work you have put into organizing packing shipping etc for these GB. I am now publicly  giving you a BI

Posted Images

Speaking of the first version, sorry if this has been mentioned before but how did you guys change the I2C address pins for balanced operation? I believe all three address pins are grounded (L L L) on one PCF8574A per board, and the other one is adjustable with the ID pins? I suppose you could put in a PCF8574 for one, or mangle a PCF8574A pin and attach it to high. I see that the new boards use SPI.

Also a bit obvious but, for anyone who hasn't soldered SMT resistors before, it might be a good idea to order two or three spares for each value just in case. Once you accidentally let one of these things fall to the floor it is very difficult to find. Maybe someone has a better way of finding them, or keeping them from flying off in the first place.

10 hours ago, sorenb said:

the actual saving comes from buying resistors in quantities of 100 ... so we can limit the 'kit' to resistors, no prob

but do you have a BOM available for what it is you are ordering for resistors? This is for a 10K attenuator, or do you have multiple variants in mind? 10K is what I would be interested in.

  • Author
1 minute ago, Pars said:

but do you have a BOM available for what it is you are ordering for resistors? This is for a 10K attenuator, or do you have multiple variants in mind? 10K is what I would be interested in.

I got this from 50k BOM from Kerry 

I guess we end up with 10k and 50k variants 

 

 

10 hours ago, sorenb said:

I got this from 50k BOM from Kerry 

I guess we end up with 10k and 50k variants 

 

 

Soren,

Is there a GB for the resistors or resistor kits?

I would be interested in the 50K and 10K sets.

  • Author
1 hour ago, b0bb said:

Soren,

Is there a GB for the resistors or resistor kits?

I would be interested in the 50K and 10K sets.

There are a probing going on here , we need more than 25 sets to make this fly

Hi Soren

Cannot change cell in spreadsheet to YES for combine kit.

  • Author
2 hours ago, wokstarr26 said:

Hi Soren

Cannot change cell in spreadsheet to YES for combine kit.

done

I want to put together a spreadsheet to check the attenuator values. I have replicated figures from Kerry, 

 For 0.5dB attenuation

The voltage ratio K = Vin / Vout (L attenuator) for 0.5dB = 10 to the power -0.5/20 = 1,0593

For Z = 50k , R Series is 2797 Ohm, (50.000 x (K-1)/K  R Parallel is 843829 (50.000 x 1/(K-1)  (These values match Kerry's and also several web sites)

Now taking these two values 

V Out / V in = Rpar / (Rpar+Rser) = 1,0033 

dB attenuation is 20 x Log10 (1.0033) = -0,03

Where is the mistake? 

 

  • Author

those "-" tends to be rather important ...I got -0,50001 dB using your numbers

12 hours ago, sorenb said:

There are a probing going on here , we need more than 25 sets to make this fly

OK.

Thanks

On 3/6/2016 at 1:53 PM, mypasswordis said:

Speaking of the first version, sorry if this has been mentioned before but how did you guys change the I2C address pins for balanced operation? I believe all three address pins are grounded (L L L) on one PCF8574A per board, and the other one is adjustable with the ID pins? I suppose you could put in a PCF8574 for one, or mangle a PCF8574A pin and attach it to high. I see that the new boards use SPI.

Nvm, I just ran an i2c address scan and figured out the address situation. Got the code working on each attenuator board with a cloud-connected MCU which uses the 4D systems touchscreen LCD KG and Max are using as the input. 256 pixels for 256 settings, just like they wanted it, and +- buttons for fine control because these resistive touchscreens aren't very precise. I will write the code for balanced operation in the weekend, and I ordered some I2C ADC breakout boards for temperature sensors as well. B) Eventually the goal is to write an Android app for remote control; that way my lazy ass never has to leave the couch.

I'm writing some arduino based code that supports the original boards as well as the new generation. I also have code for a small oled display as well.

I'd like to like at some raspberry pi based code as well which would give some nice interface options including Bluetooth on the pi 3.

I'm traveling (Birmingham, UK) at the moment but could post the current rev of the code I have once I get back.

Awesome, it would be nice to compare notes. :) I won't be getting the ADC boards for awhile anyway. Good idea, rp3 might be the best option for something universal for people to use,  instead of all these different arduino/mcu options and the built in wifi and Bluetooth is nice. 

a web page accessable by any device is what i really want.  

android or ios specific seems way too much work.

then the touchscreen for those moments when you have to get out of the couch.

I was thinking it should have a web interface and possibly a universal app to remote control it.

I'm thinking with the pi it could read from dlna music servers if people would want to embed a DAC.

Balanced is a go. I'll work on a channel balance slider next weekend... maybe try to solder up a level shifter and scaler for the ADC. Anyone have recommendations for such a schematic to convert up to +-20v input signal to 0-3v3 input for ADC?

The digital ps i protoboarded is the same (other than different capacitance values) as the one on the dynahi, so 7812, 7805, and murata 3v3. 

20160313_162338.jpg

Well stated!

It really helps to use solder paste and a heat gun.  I did all of the resistors and low profile parts then I place the relays and then use a straight edge to get them perfect.

You can solder with an iron but it takes a lot longer.

Way smaller than the first version boards, for sure! Thanks, Kerry and KG, for making this happen. I bought a rework station so things will hopefully go a lot easier than with the previous boards.

I just finished the channel balance code, which parallels that of volume. A slider with a range of 256, so up to 128 on either end, and added +- buttons for fine control. Will investigate what's new with Android SDK in the weekend.

I did some research on the RPi3 after you guys mentioned it, and saw they sell a companion 7" touchscreen for $60!! 7" is a bit unwieldy to put in an amp or DAC, though. What a time to be alive.

  • Author

The 10k Dig.Att.kit based on the amb.org:

ZusPfqG.jpg

The kit contains, all resistors (Panasonic ERA's), capacitors and the MAX4820EUP's.

Please transfer your payment to xxx, put your head-case ID into the notes field + "Dig.Att.Kit". As soon as everybody has made their transfer I'll go ahead and order.

Edited by sorenb

17 hours ago, sorenb said:

The 10k Dig.Att.kit based on the amb.org:

ZusPfqG.jpg

The kit contains, all resistors (Panasonic ERA's), capacitors and the MAX4820EUP's.

Please transfer your payment to [email protected], put your head-case ID into the notes field + "Dig.Att.Kit". As soon as everybody has made their transfer I'll go ahead and order.

If I'm wrong, can someone please correct me?

This calculator is used for calculating unbalanced attenuator. By adding a balanced leg to the attenuator circuit (and additional resistors into that leg), should not the resistor values be R/2? Otherwise, will not the balanced attenuator board, calculated above as an unbalanced circuit, become a 20K attenuator due to (+RT) + (-RT) = 2*RT? (+RT) and (-RT) being the balanced leg terminators of the circuit. (10.2K + 10.2K = 20.4K)

Soren, Thanks for putting this GB together. I'm looking forward to getting my boards. Now, just to figure out the resistors.

  • 2 weeks later...

Hey Soren, just checking on the update of my 'order' - noticed you've shipped a few already :)

Thanks.

  • Author
25 minutes ago, Aive said:

Hey Soren, just checking on the update of my 'order' - noticed you've shipped a few already :)

Thanks.

The distribution happens from two locations, US and Denmark, Europe.
Some has been shipped are for people in US ordering LSK389 and/or Dig.Att. boards and no ( Dig.Kit and/or über Group Buy boards).
The Über Group Buy boards has arrived in US, and will probably go out during the weekend.

The non-US part is on its way to Denmark. 

Über Group Buy will start ship next week.
Dig.Kit for US will also ship next week.

/S

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.