Welcome, Guest
Username: Password: Remember me

NOTE: This is a "Community" forum. Please be mindful that community members are here to help as part of a community effort. We therefore appreciate your effort in keeping this forum a happy place!

If you have a specific issue (e.g. hardware, failure) and want help from our support team, please use our tech support portal (Support menu - > Contact Us).
Thanks a lot of your help in making a better community.
  • Page:
  • 1
  • 2

TOPIC:

Arduino library to control the MiniSHARC using I2C 4 years 10 months ago #39069

  • nihtila
  • nihtila's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 44
  • Thank you received: 11
Awesome job!

Wish I had that information when I was tinkering with miniSHARC few years back! I should have tried to reverse engineer the communications. Instead I used the IR on VOL-FP, and hooked the IR line to a microcontroller :) Not very elegant solution and it was not really robust enough but worked most of the time.

After some years I am back on planning a custom miniDSP board. This time for nanoSHARC. So the question is has anyone tried if these codes work with nanoSHARC? If not, I guess I will be the one to try at some point. Just need to get myself a board.

Please Log in or Create an account to join the conversation.

Last edit: by nihtila.

Arduino library to control the MiniSHARC using I2C 4 years 10 months ago #39106

  • devteam
  • devteam's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9173
  • Thank you received: 1480
@nihtila

Unfortunately I'm afraid that nanoSHARC doesn't have support for the VOL-FP (i.e and therefore I2C control). Firmware and hardware (it's really 1wire protocol rather than I2C) isn't ported on the nanoSHARC I'm afraid...

MAybe in the future we can think of a way...

DevTeam
miniDSP, building a DSP community one board at a time.

For any official support, please contact our technical support team directly @ support.minidsp.com/support/home

Please Log in or Create an account to join the conversation.

Arduino library to control the MiniSHARC using I2C 4 years 10 months ago #39158

  • nihtila
  • nihtila's Avatar
  • Offline
  • Senior Member
  • Senior Member
  • Posts: 44
  • Thank you received: 11
Thanks for confirming this Devteam.

That's a shame, I just thought there was a possibility as there are I2C pins on one of the pinheader. I guess I need to reconsider my plans.

For elegant DIY solutions it would be very beneficial to have a defined communication protocol for the basic stuff such as volume, input selection, and preset selection. But I perfectly understand that everything you open to public and give more customisation possibilities increases the support load. I hope there could be a mid-way somewhere.
The following user(s) said Thank You: devteam

Please Log in or Create an account to join the conversation.

Arduino library to control the MiniSHARC using I2C 4 years 8 months ago #40186

  • edohulsebos
  • edohulsebos's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
Is it also possible to do the input channel selection (toslink/spdif/AES EBU) of the DIGI-FP connected to the miniShark with this library?

Please Log in or Create an account to join the conversation.

Arduino library to control the MiniSHARC using I2C 4 years 7 months ago #40451

  • LourencoPT
  • LourencoPT's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
Great stuff!

Is it possible to use this with 2x8 kit? This one has 3 pin instead of the 5 pin. Where to connect the SDA and SCL?

Thank you!

Please Log in or Create an account to join the conversation.

Arduino library to control the MiniSHARC using I2C 4 years 5 months ago #41548

  • NM
  • NM's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
At first: Thank you for your effort haggismonster!

I also want to use an Arduino to control my miniSHARC. But I use a DigiFP unit for Inputs wich is not supported.
So here is my question to @devteam: Is it possible to post the i2c bytes to change the input of the DigiFP so I can implement this in the library?

Otherwise I will try to figure it out by myself. But asking is for free. ;)

Greetings NM

Please Log in or Create an account to join the conversation.

Arduino library to control the MiniSHARC using I2C 3 years 5 months ago #47513

  • Scarnato
  • Scarnato's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Hi jsheerin,

did you solve the problem?
I am facing the same issue. The condition to stop the loop is never verified

Any idea?

Thanks

luca

Please Log in or Create an account to join the conversation.

Arduino library to control the MiniSHARC using I2C 3 years 5 months ago #47517

  • Scarnato
  • Scarnato's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 4
  • Thank you received: 0
Dear Haggismonster,

Thank you very much for your work.
I am facing some difficulties and I am wondering if you could help.
It looks like I manage to connect the miniSHARC to the arduino.
I get this message in the Arduino serial monitor:
Volume: 217  //  Input: 0  //  State: 06-84-d9-01-01-00

Now when I try to change the config with the function call below I get into an infinite loop because getConfig() is never equal to varianle config.
Could you please help me to fix this problem?
Moreover also the volume change doesn't work
Any help is more than welcome

Thank you

luca
Sharc.setConfig(1);
void MiniSHARC::setConfig(byte config) {
  if(config < 0 || config > 3)
    return;
    
  sendI2CBytes(138, config);
  
  while(getConfig() != config) {
    sendI2CBytes(138, config);
    delay(250);
  }
}
I g

Please Log in or Create an account to join the conversation.

Arduino library to control the MiniSHARC using I2C 3 years 5 months ago #47522

  • jsheerin
  • jsheerin's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 5
  • Thank you received: 0
Sorry, I don't remember what I did - this was 3 years ago. However some code with modifications I made is posted in another thread:
www.minidsp.com/forum/opendrc-series-sup...t-of-volume?start=60
You can see if that helps you.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
  • 2
Moderators: devteam