Digitech JamSync - How does it work?

All about modern commercial stompbox circuits from Electro Harmonix over MXR, Boss and Ibanez into the nineties.

Re: Digitech JamSync - How does it work?

Postby calde » 06 Jun 2017, 11:25

@Nikogo, the arduino sketch needs only the serial out and serial in.

But:

attiny85 clock is internal and I have some doubt about the stability to sync to midi signal

attiny85 has very low memory

attiny85 (I think) supports the serial communication by external library, that eats some memory

However someone could try to compile and see the size ...

For this message the author calde has received thanks:
Nikogo (24 Jun 2017, 16:54)
calde
 
Posts: 13
Joined: 10 Sep 2016, 00:11
Has thanked: 2 times
Have thanks: 5 times

Re: Digitech JamSync - How does it work?

Postby calde » 06 Jun 2017, 21:51

Hi,

I've tried to compile the sketch for AtTiny85, but I've got this:

Sketch uses 5414 bytes (264%) of program storage space. Maximum is 2048 bytes.
Global variables use 266 bytes (207%) of dynamic memory, leaving -138 bytes for local variables. Maximum is 128 bytes.
Sketch too big; see http://www.arduino.cc/en/Guide/Troubleshooting#size for tips on reducing it.
Error compiling for board ATtiny25/45/85.


I have added the board:
https://raw.githubusercontent.com/damel ... index.json

And I have added at top:
Code: Select all
#include <SoftwareSerial.h>
const int rx=3;
const int tx=4;
SoftwareSerial Serial(rx, tx);


I think that Attiny85 isn't suitable for this scope.
calde
 
Posts: 13
Joined: 10 Sep 2016, 00:11
Has thanked: 2 times
Have thanks: 5 times

Re: Digitech JamSync - How does it work?

Postby teebee » 07 Jun 2017, 15:34

Finally it works, this is super cool, it opens up a whole bunch of new possibilities! I don't know exactly what was wrong in my first attempts, I guess there were a couple of concurrent things causing trouble: MIDI clock was unintentionally switched to MIDI thru on my source device, MIDI out plug was loose, and the MIDI in connectors on my arduino were swapped (well, I swapped them at one point). @calde: thanks so much for your help!

Now, to push this project a little further: I could imagine to use the jamman as a master device in some situations. How would that work?
teebee
 
Posts: 4
Joined: 27 Apr 2017, 22:30
Has thanked: 2 times
Have thanks: 0 time

Re: Digitech JamSync - How does it work?

Postby Nikogo » 24 Jun 2017, 16:49

@Teebee: The proposed Attiny85 schematics could be modified to have the MIDI style output. My initial doubts were about the internal clock stability and the program compatibility.
@Calde: Enrico, muchas gracias for your research, the code, and your advice.
I have ordered a few Arduino Nano and am impatiently waiting for a slow boat from China.
Meanwhile in a search for a compact design I found that the Nano can be placed inside the BeatBuddy under the display PCB. I would need 6 wires to connect it.
Two wires for 9V DC could be taken from the DC power connector or from the PCB (it has nice big soldering pads);
Two wires from MIDI Out could be taken from the PCB near the MIDI connector to be an input for Nano;
Two wires for the output from Nano could be connected to the two empty contacts of MIDI PS/2 connector. So the MIDI Input and Output of BeatBuddy would be still available but for connection to a JamMan I would need a special cable. I made such a cable from the old mouse PS/2 connector and the headphone cable with 3.5mm stereo plug.
I will keep the MIDI shield circuits. But I guess the optical isolator may not be even needed. Because the ground is common and the 5V DC power is the same for BB and Nano it would be enough to connect the MIDI Out from BB with a single wire to Nano's RxD and the TxD through 220 Ohm resistor to JamMan (using the 5VDC through 220 Ohm from the MIDI Out). The only doubt is if the BB MIDI out would be overloaded when the real MIDI connection is used (the Nano would be still connected inside).
Please give your opinion.
Nikogo
 
Posts: 3
Joined: 30 May 2017, 02:52
Has thanked: 2 times
Have thanks: 0 time

Re: Digitech JamSync - How does it work?

Postby calde » 24 Jun 2017, 23:55

Hi Nikogo,

I am not so expert in electronics to help you with optical isolator.

About the Midi out, I think that is safer disconnect the midi out connector of the BeatBuddy and change it in MIDI THRU. You can find schematics online.

good work!
calde
 
Posts: 13
Joined: 10 Sep 2016, 00:11
Has thanked: 2 times
Have thanks: 5 times

Previous

Return to Modern Stompbox Effects (1975 - ...)

Who is online

Users browsing this forum: SAMBER_DINO and 10 guests