mypasswordis Posted July 15, 2016 Report Posted July 15, 2016 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 1
kevin gilmore Posted July 15, 2016 Report Posted July 15, 2016 First 4 relays are opposite polarity from the second 4 on the max4820 boards. Yes all 4 of them in series, so 32 bits to write all relays. 2
mypasswordis Posted July 20, 2016 Report Posted July 20, 2016 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.
mwl168 Posted July 22, 2016 Report Posted July 22, 2016 Has anyone built a 15K attenuator BOM that you are willing to share? Thanks!
Kerry Posted July 22, 2016 Report Posted July 22, 2016 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. 1
mypasswordis Posted August 2, 2016 Report Posted August 2, 2016 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... 2
mypasswordis Posted August 28, 2016 Report Posted August 28, 2016 (edited) 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? Edited August 28, 2016 by mypasswordis 1
Kerry Posted October 11, 2016 Report Posted October 11, 2016 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. 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. 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. 6
JoaMat Posted October 11, 2016 Report Posted October 11, 2016 Wanted! Anyone willing to sell me a balanced digital attenuator board? or two?
muskyhuntr Posted October 11, 2016 Report Posted October 11, 2016 I would be interested in the second board. Great work! Me
JoaMat Posted October 15, 2016 Report Posted October 15, 2016 Bought a Saleae Logic thing years ago. Eventually I got some use of it.
luvdunhill Posted October 15, 2016 Report Posted October 15, 2016 Ha! I want a MSO - only uses I have for it aren't exactly ethical though
swt61 Posted October 15, 2016 Report Posted October 15, 2016 Ethical is overrated, just ask our Presidential candidates.
JoaMat Posted October 15, 2016 Report Posted October 15, 2016 Managed to squeeze the code in ATtiny85. I do think it will be able to control the balanced digital attenuator... ...maybe. 1
luvdunhill Posted October 15, 2016 Report Posted October 15, 2016 Nice! That's my favorite uController, just small and handy.
Kerry Posted October 15, 2016 Report Posted October 15, 2016 I was just looking to see if it supports SPI. Good and bad news... The chip supports it but there doesn't seem to be libraries written for this chip according to spark fun. There may be some user libraries out there.
luvdunhill Posted October 15, 2016 Report Posted October 15, 2016 Yeah, I can't say I actually used a "library". Still doable.
Kerry Posted October 16, 2016 Report Posted October 16, 2016 Here's a mini version of the attenuator controller board without a motorized pot. The board is 1" x 1.65". 2
JoaMat Posted October 25, 2016 Report Posted October 25, 2016 @Kerry, any good part number for the crystal Q1?
Kerry Posted October 25, 2016 Report Posted October 25, 2016 Here's the crystal part number: CSTCE16M0V53-R0
Kerry Posted October 28, 2016 Report Posted October 28, 2016 Got the simple one built. I burned the boot loader, but was waiting on the FTDI stuff so I can easily program it. 3
Pars Posted October 29, 2016 Report Posted October 29, 2016 Very cool! So that thing by itself can control the digital attenuator if you don't want to bother with display, etc.?
Kerry Posted October 29, 2016 Report Posted October 29, 2016 Yes. It's a standard linear pot rather than an encoder, so the volume is set by it's position. I have an I2C header if you want a display, but it's not necessary.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now