• These commercial threads are for private transactions. diyAudio.com provides these forums for the convenience of our members, but makes no warranty nor assumes any responsibility. We do not vet any members, use of this facility is at your own risk. Customers can post any issues in those threads as long as it is done in a civil manner. All diyAudio rules about conduct apply and will be enforced.

GB for ArDAM Lite bare PCBs

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
OK, I'll need to properly debug this code when I get my Soekris back.. coding blind is not a good idea..

Regarding signal type display, are you absolutely sure that your source is indeed outputting DSD? A good test would be to play some 44.1K material, then play some DSD and see if the screen displays a different sample rate & signal type.

Not showing the resolution while shifting to another piece of music with the same resolution is normal - the code depends on the DAM reporting a new sample rate so if that does not happen (like when the dam does not lose lock due to an interruption of the i2s stream or a change in the sampling rate) the code has no way of knowing that something has happened.

The start-up volume thing is easy to fix. Just insert this:

Code:
Serial.print("V-");       // output the new volume level to the DAC's serial port
Serial.println(Vol);      // output the new volume level to the DAC's serial port

after the poweron = true; statement at the setup().
 
I think you are doing well coding blindly :)
Thank you, I will implement that for volume.

Regarding signal type display, are you absolutely sure that your source is indeed outputting DSD? A good test would be to play some 44.1K material, then play some DSD and see if the screen displays a different sample rate & signal type.

Yes, that is what I did. When it shifts to other resolutions, it shows the sample rate ( e.g. from 44 to 88 or 96), but not for DSD material. And I had an easy way to test what I got, since using Roon I could see what was sent ( 384). Furthermore, when I shifted to another source it temporarily showed the high resolution. But that is definitely a minor detail :)
 
I corrected to this - otherwise I got an error in compiling
Serial.print("Vol"); // output the new volume level to the DAC's serial port
Serial.println(Vol); // output the new volume level to the DAC's serial port

However it is still giving full volume until I touch the volume on the remote. Just for your info - it is not critical :)
 
That's weird - something got left out in my copy - paste. The correct lines are these:

Code:
  Serial.print("V-");       // output the new volume level to the DAC's serial port
  Serial.println(Vol);      // output the new volume level to the DAC's serial port

This should take care of the full volume issue..
 
Crap, the platform seems to be messing it up.

It should look like this:

attachment.php
 

Attachments

  • ardam.png
    ardam.png
    11.6 KB · Views: 553
My son came home and he showed his skills at arduino programming. As mentioned, I have a USB2I2S and a Raspberry that I can use as input for the Soekris. An Otto is used for that, via a physical contact. We took the signal pin from the Otto and asked the nano to display PC/ PI beside the volume.
An externally hosted image should be here but it was not working when we last tested it.

The volume is still not adjusted, even with the new code, and we have not figured out why?
 
Last edited:
Member
Joined 2004
Paid Member
ArDAM Lite controlled DAM1941

Hi folks,

I -almost- finished my ArDAM Lite controlled DAM1941.
It's now in "breadboarded" state, but sooner or later I will make a case.

I attached my configuration's block diagram.

The ArDAM Lite PSUs is DiyInHK dual LT3042 (+transistor) versions (+5V, +3V3).

My OLED is 1.3" SH1106 chip version (I2C).

I rewrite Dimdim's code.

Because Arduino Nano has very narrow space for program, only the "necessary" commands and status informations have been implemented:

Commands:
- Volume up; Volume down;
- Source selection: Auto, USB, AES/EBU, BNC SPDIF, RCA SPDIF, Opical (Soren now not implemented I2S);
- Filter changing: four filter selection.

Status display:
- Volume;
- Type of stream (PCM, DSD);
- Sample rate;
- Source;
- Filter.

Because Nano's space is "full", the "draw_logo" procedure now is commented.

The IR codes is my remote control's code, must be change your remote codes.
Use attached Dimdim's "IR_Scanner" for detecting codes from your IR remote control.

If you want to see DAM's serial commands, use attached "serial_console" program.

Have fun and enjoy yourself!
 

Attachments

  • ArDAM_Lite_1.30_OLED_Jolida_remote_V_1.3.zip
    4.1 KB · Views: 138
  • ArDAM_Lite_IR_Scanner_1.30_OLED.zip
    1 KB · Views: 123
  • DAM1941_serial_console.zip
    3.5 KB · Views: 130
  • DAM1941 DAC block diagram.jpg
    DAM1941 DAC block diagram.jpg
    108 KB · Views: 861
  • OLED 1.3_1.jpg
    OLED 1.3_1.jpg
    92 KB · Views: 816
  • My ArDAM controlled DAM1941_web_1.jpg
    My ArDAM controlled DAM1941_web_1.jpg
    350.6 KB · Views: 804
Member
Joined 2004
Paid Member
Can I buy this?

Each component purchasable from the net, ArDAM Lite PCB there from Dimdim, 1.3" OLED, Arduino Nano, parts from ebay.

I use this PSU -because I own several pieces- for control and display:
DiyInHK dual PSU from 0.8uV Ultralow noise DAC power supply regulator 3.3/5/7V 1.5A*x2 - DIYINHK.

My breadboarded system use LT3045 PSUs for DAM, but any good PSU (for example UBiB) usable.

I bought two bobbin transformers for PSUs (INDEL 40VA 7.5V or 9V AC, depends of PSU type). Any transformer usable which have low primary-secondary capacitance. For me toroid not this type.
 
Each component purchasable from the net, ArDAM Lite PCB there from Dimdim, 1.3" OLED, Arduino Nano, parts from ebay.

I use this PSU -because I own several pieces- for control and display:
DiyInHK dual PSU from 0.8uV Ultralow noise DAC power supply regulator 3.3/5/7V 1.5A*x2 - DIYINHK.

My breadboarded system use LT3045 PSUs for DAM, but any good PSU (for example UBiB) usable.

I bought two bobbin transformers for PSUs (INDEL 40VA 7.5V or 9V AC, depends of PSU type). Any transformer usable which have low primary-secondary capacitance. For me toroid not this type.


Thanks for details.


nash
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.