LDR Pre MkII - LDR volume control and I/O switching

Are these 220k resistors really 220k?

Yes those are Vishay Dale 221K with 1% precision. So the resistors look fine and I did resolder of the 3 relays near the LDRs but still I see the display showing junk now when I power the main board without the USB connection. I do not see any Error 20: now but just full of dots on the display. Not sure what has gone wrong :(
 
Hmm I removed them and powered up and now see that the relays are clicking with the Arduino initially showing up all the 3 LED lights lighting up and then the display intermittently showing error 20 and then going off. Within few seconds only the green light is showing up on the Arduino board with the other lights switched off. All these without the USB connection to the PC.
 
Put a 470-1000uf 10v cap at 5v and gnd pins in the corner next to three relays.

I think you said not required in one my earlier posts. Hence I did not use it. I have a spare 1000uf 25v electrolytic cap and should fit in that small gap. Will solder it and check it.

Edit: I put this 1000uf 25v cap on the +5v,gnd near to the 3 relays and powered on. There is no flickering of the display but I get the same error 20. But pushing the encoder takes me to the menu options "Adjust Bias", 'Measure LDRs" etc., The Arduino now shows only green led on.
 
Last edited:
Ok at last one good news, with the error 20 I just switched off and then connected to the USB cable to PC and started again. Now I do not see any error 20 message but menu options. So I used the encoder knob to "Set defaults" menu option. Now once done that I could see the display showing the source being 1 USB DAC with the volume increasing with turning of the knob. I will connect my preamp sources tonight and test out if the relays work but I could hear the relays clicking when the encoder is turned.

Do I need to follow your LDR MKII instructions like adjusting bias, calibrating etc.,? Or by default this has come set when you sent the Arduino board with the installed firmware? Should I be doing these below steps or not, please confirm.

1. Adjust BIAS - should be done only once. You probably received your device with
already adjusted BIAS so you can forget about this one.
2. Measure LDRs - same as above.
3. Calibrate - your device comes with calibrated LDRs. It should never be recalibrated,
unless there are audible volume non-linearities in sound, or if you change nominal
impedance or load impedance (see below)
4. Set parameters - various system settings:
a. Nominal impedance - simulated total potentiometer impedance. Default is
10K. Press encoder button to edit, rotate to change values. If you change this
value, you need to run calibration again.
b. Screen Max Brightness - changes maximum screen brightness
c. Screen Saver Timer - number of seconds after display dims itself.
d. Screen Min Brightness - brightness value to dim to.
e. Safe volume level - volume will not be saved to levels above this threshold.
f. Load impedance - input impedance of the downstream equipment connected
to output of LDR Pre. If you change this value, you will need to run calibration
again to take it into effect.
g. LSE, LSH, RSE, RSH Minimum Resistance - multimeter measured minimum
resistance of each LDR. Your device comes with these parameters already
stored in EEPROM. Do not change these values.
h. Measured voltage - No need to make any changes here, it’s already
predefined for you.
i. Exit to setup menu - go back to setup menu.
 
Ok at last one good news, with the error 20 I just switched off and then connected to the USB cable to PC and started again. Now I do not see any error 20 message but menu options. So I used the encoder knob to "Set defaults" menu option. Now once done that I could see the display showing the source being 1 USB DAC with the volume increasing with turning of the knob. I will connect my preamp sources tonight and test out if the relays work but I could hear the relays clicking when the encoder is turned.

Do I need to follow your LDR MKII instructions like adjusting bias, calibrating etc.,? Or by default this has come set when you sent the Arduino board with the installed firmware? Should I be doing these below steps or not, please confirm.

1. Adjust BIAS - should be done only once. You probably received your device with
already adjusted BIAS so you can forget about this one.
2. Measure LDRs - same as above.
3. Calibrate - your device comes with calibrated LDRs. It should never be recalibrated,
unless there are audible volume non-linearities in sound, or if you change nominal
impedance or load impedance (see below)
4. Set parameters - various system settings:
a. Nominal impedance - simulated total potentiometer impedance. Default is
10K. Press encoder button to edit, rotate to change values. If you change this
value, you need to run calibration again.
b. Screen Max Brightness - changes maximum screen brightness
c. Screen Saver Timer - number of seconds after display dims itself.
d. Screen Min Brightness - brightness value to dim to.
e. Safe volume level - volume will not be saved to levels above this threshold.
f. Load impedance - input impedance of the downstream equipment connected
to output of LDR Pre. If you change this value, you will need to run calibration
again to take it into effect.
g. LSE, LSH, RSE, RSH Minimum Resistance - multimeter measured minimum
resistance of each LDR. Your device comes with these parameters already
stored in EEPROM. Do not change these values.
h. Measured voltage - No need to make any changes here, it’s already
predefined for you.
i. Exit to setup menu - go back to setup menu.

You need to go through the setup procedure. User manual above applies to completely finished devices only, not bare boards.
 
You need to go through the setup procedure. User manual above applies to completely finished devices only, not bare boards.

Hmm ok then i just need to follow the setup instructions from the old thread on the bias and calibration etc., but with the encoder right and not directly changing in the firmware and reuploading. As per your first post on the new board we can make the adjustments directly on the board using the encoder switch.
 
That’s correct. Set the bias, measure the LDRs and enter params into ldr menu and calibrate.

I couldn't get it to work as I get the Error 20 back when I powered up but goes off when I click on the encoder switch and get into the menu. Used defaults and tried to connect a source but I get a error of Error 21: LSE failure. Lots of issues in this build, so right now packed and tried to get some help from one of my friends who had earlier build the first version of Vincent boards. Hopefully he can check and resolve otherwise I think I am end of the road with this build unfortunately :(
 
Go to measure LDRs setup menu, measure them and report back.

Ok I found that I had reversed 3 of the LDRs while soldering :(.
I was able to remove them and resolder it properly. I could configure 3 of the 4 LDRs back after solder for 700k resistance in the Bias mode. The 3rd LDR (LSH) is not responding and is it possible that the corresponding mosfet (FDV301N) may also be at fault because of the reverse polarity of the LDR?

Thanks
 
Hi Ned

Did some more progress on my main board. Below are few observations and need your inputs to progress further now.

1. 3 of the relays had issues so removed and resoldered them back.
2. Replaced bad LdRs 2 of them
3. Able to adjust bias on all LDRs to 700k as per the manual
4. On power up shows menu adjust bias on start.
5. Now there is no error 20/21 on start up of the main board.
6. So when trying to calibrate its showing on the screen as "Calibrating: 0%", "Runtime: 0.08" and "Series step: 2"
7. It is stuck here now with no progress on the calibration happening.
8. Switching off and switch back on goes to the initial adjust bias screen.
9. Not sure where the error is now with not getting calibrated, please guide on how to proceed or let me know where the error needs to be checked.
10. LDR resistance when measured in order of RSH, RSE, ISH, LAW are 57.3, 64.4, 86.2, 57.7

thanks
 
One more observation I am seeing is that when I power on the board the startup LDR resistance is more than 1.8M ohm which is slowly drifting to about 700K. Hope you can guide me on the problems being faced with my board.

Some pics for your reference:

An externally hosted image should be here but it was not working when we last tested it.

An externally hosted image should be here but it was not working when we last tested it.

An externally hosted image should be here but it was not working when we last tested it.

An externally hosted image should be here but it was not working when we last tested it.


Thanks
 
Last edited:
One more thing is that on initial stage LDR resistance is shooting up and gradually settling down to 700k. As per your suggestion if I set to default and upon restart it is showing LSE 21 error.
So if i readjust the bias and params it is not showing the error LSE 21 anymore. But showing adjust bias menu option and as usual stuck at calibrating 0%.

Need your inputs to debug this as I am unable to use this board.

Thanks
 
If I reset the parameters to default also the calibration is stuck on step2.
Upon resetting power unit showing error 21: LSE power failue.
When adjusting bias and updating params to actual values the error disappears but calibration not progressing.

Also observed in adjust bias mode, the measured resistance slowly drifting down below 700K as time progresses and upon restart of unit and immediately checking bias showing above 700K and drifting down. Is this normal or what could be wrong with any specific parts especially the SMD mosfets?

Seems to be the LDR are fine and no issues but calibration not progressing in step 2 looks like some issue with Nano and its ability to compute the values properly.

Thanks