Jump to content

Group Buy - Digital Attenuator (Kevin Gilmore)


sorenb

Recommended Posts

I wrote a Python implementation with full GUI on Raspberry Pi 3 with touchscreen, which works fully on the old I2C boards balanced with balance control like the one I did for 4D systems touchscreen. I will take the next few weeks to incorporate that into a full web server implementing a RESTful API. However, just to make sure, is the pdf Kevin posted in the beginning of the thread the correct wiring for the relays? As in first 4 flipped compared to the second 4, etc. Also, the MAX4820s are daisy chained so do you just write commands in series? I have to implement bit banging SPI because the touchscreen uses the hardware SPI :(

  • Like 1
Link to comment
Share on other sites

Thanks, that helped a lot. I'm having problems with just pin OUT5 of all 4 MAX4820s for some reason, it won't toggle the voltages like all the other pins. What do you think I might have done wrong? Seems too specific to just be a poor soldering job, thought that's always a possibility. Will start probing more in-depth with a DMM tomorrow.

Link to comment
Share on other sites

On ‎7‎/‎19‎/‎2016 at 11:23 PM, mypasswordis said:

Thanks, that helped a lot. I'm having problems with just pin OUT5 of all 4 MAX4820s for some reason, it won't toggle the voltages like all the other pins. What do you think I might have done wrong? Seems too specific to just be a poor soldering job, thought that's always a possibility. Will start probing more in-depth with a DMM tomorrow.

I've only built the prior version of the smaller board (before the relays were flipped).  Everything works well on that version.  I've got the latest board ready to build. Just need some time.  Let us know if you get it working.

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Server volume test is up and running for the i2c boards, here is screenshot of test volume and balance control Web page and i believe it should work for almost all browsers and devices. I will try to get modernizr working just in case. Also will finally start troubleshooting spi boards now and add some other cool features...

Screenshot_20160801-211140.png

  • Like 2
Link to comment
Share on other sites

  • 4 weeks later...

Got web sockets working so now temperature or any other sensor data can be shown in real time without having to make any client server requests. I have the i2c ADCs and temperature sensors low level code, just need to incorporate them as right now the data array is generated from integer random generator. The latency is pretty variable while on my phone, though, it's more stable on my laptop for some reason. Potentially can make a crude WiFi oscilloscope!

 

Edit: anyone have experience with bit banging spi for writing to SD card?

Screenshot_20160828-040636.png

Edited by mypasswordis
  • Like 1
Link to comment
Share on other sites

  • 1 month later...

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 Stepped Attenuator board and will fit into an RK50 pinned board.

RK50-DA-Adapter.jpg

 

The second is a controller board that supports a motorized POT with IR similar in function to AMB's controller, but as a smaller module with no built in display.  A display could be added via the headers (I2C or SPI).  It has an ATMEGA328P similar to the Arduino UNO or mini pro.  The board is 1" x 2.5" and extends about a half an inch past the motorized POT.

SA-bottom.jpgSA-Top.jpg

 

It can be programed via a programmer or via the FTDI USB boards.

I need to double check everything, but I'll put an order in soon and test to make sure everything works ok.

 

  • Like 6
Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

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