Voting open for your top 3 tracks in our Odd Meter Remix/ReMangle/Reimagine Challenge

Prizes generously donated by:
ADDAC System (Eurorack 3U)
Endorphin.es (Eurorack 3U)
Fred's Lab (DIY Paraphonic Synth)
Northern Light Modular (Buchla-format h-series OR Eurorack3U)
Rattly and Raw (Wiggler Approved Kontakt Instrument)
Studio.h (Buchla-format 4U)

Get your vote on and free 42 minute modular playlist for your listening pleasure.

OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

From circuitbending to homebrew stompboxes & synths, keep the DIY spirit alive!

Moderators: Kent, luketeaford, Joe.

Post Reply
User avatar
secrethero303
Common Wiggler
Posts: 108
Joined: Tue Oct 25, 2016 5:23 pm
Location: WI, USA

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by secrethero303 » Wed Oct 06, 2021 6:23 pm

I built mine and got it working today after a bit of hair pulling. Two issues I had to resolve.

1. No audio, similar to FungusCavern. Turned out that I had mixed up IC3 and IC4 on the OPL2 board. A quick swap and I have audio.

2. Trouble flashing boot loader and firmware with the ST-Link. I found that moving the jumpers on the blue pill from the 0 to the 1 position allowed it to be connected properly and get flashed, the returning the jumpers back and it works as expected when disconnected.

Hope this helps others having trouble.

User avatar
SphericalSound
Veteran Wiggler
Posts: 573
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SphericalSound » Wed Oct 06, 2021 7:21 pm

Bodo1967 wrote:
Wed Oct 06, 2021 4:08 pm
SphericalSound wrote:
Thu Sep 02, 2021 4:30 am
Download the lastest version of the firmware

https://github.com/spherical-sound-soci ... es/pangrus

OR_Pangrus_1.0.hex
For all non-Github experts who may have run into the same dead end as me:

Using that link and trying "right mouse button" => "save as" does not work for the firmware file (it does for the bootloader, though :hmm: ).

Use this link:
https://github.com/spherical-sound-society/OPERA_ROTAS

Then click the green 'Code' button, download the zip file, extract is, et voilà.
Flashing the BluePill apparently was successful now (haven't put it in the OR yet as it's already past 11 pm over here, but the ST Utility software behaved as expected and returned no error message this time).
Thank you, Bodo <3

User avatar
SphericalSound
Veteran Wiggler
Posts: 573
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SphericalSound » Wed Oct 06, 2021 7:24 pm

Regarding the jumpers, I have never touched them.

No need to alter them unless you exactly know what you are doing

User avatar
secrethero303
Common Wiggler
Posts: 108
Joined: Tue Oct 25, 2016 5:23 pm
Location: WI, USA

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by secrethero303 » Wed Oct 06, 2021 10:22 pm

SphericalSound wrote:
Wed Oct 06, 2021 7:24 pm
Regarding the jumpers, I have never touched them.

No need to alter them unless you exactly know what you are doing
You are right, I am able to consistently flash them now, without setting the jumpers. What I have found that works for me is pushing the reset button on the blue pill, immediately before clicking the Program and Verify button in the ST-Link Utility. That has stopped it from giving me any errors about not finding a device. Thanks!

User avatar
Bjarne
Common Wiggler
Posts: 157
Joined: Sat Jul 20, 2013 10:31 am
Location: Stockholm

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by Bjarne » Thu Oct 07, 2021 12:23 am

Great that it finally worked! The reason I suspected the github download is that I and others have done the same mistake (for other binary firmware files)
Cheers

User avatar
SphericalSound
Veteran Wiggler
Posts: 573
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SphericalSound » Sat Oct 09, 2021 2:02 am

Ok, I can confirm that the MIDI chiclet works for the older revision (0.85) too. I will write a guide, is dead easy to implement it.

The people that wants one, please PM. It´s 20€ (shipping included) for the PCB only and 32€ for the soldered chiclet. In both cases you have to solder 3 additional cables for it to work. Is dead easy even for total beginners

The rest of users, with revision 0.9 and later dont need it

mercyofwolves
Common Wiggler
Posts: 108
Joined: Fri Sep 10, 2021 1:06 pm
Location: messupatameear

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by mercyofwolves » Sat Oct 09, 2021 6:26 am

scuse me for my casual entry in this thread,
i expect it's less elegant than preferred, but using an arduino with usb support (leonardo) was extremely accessible, and offers a well supported route to midi connectivity,

Code: Select all

#include <MIDIUSB.h>

byte command;
byte channel;

unsigned long pulse = 1000; //  1000 = 1 millisecond
unsigned long time0 = 0;
bool note0 = 0;

void setup() {
  //pinMode(LED_BUILTIN, OUTPUT);
  pinMode(11, OUTPUT);
  digitalWrite(11, LOW);
  Serial.begin(192000);//(31250);
}

void loop() {
  midiEventPacket_t rx;
  do {
    rx = MidiUSB.read();
    if (rx.header != 0) {
      command = rx.byte1 & 0xF0;
      channel = rx.byte1 & 0x0F;
      if (channel == 0x09) {  //  channel 10
        if (command == 0x90) {//digitalWrite(11, HIGH);//noteon
          if (rx.byte2 == 36) {
            digitalWrite(11, HIGH); //c1
            time0 = micros();
            note0 = 1;
          }
        }
        //else if (command == 0x80) digitalWrite(11, LOW);//noteoff
      }
    }
  } while (rx.header != 0);

  if (note0) if (micros() - time0 > pulse) {
    digitalWrite(11, LOW);
    note0 = 0;
  }

  
}

User avatar
SphericalSound
Veteran Wiggler
Posts: 573
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SphericalSound » Mon Oct 11, 2021 5:41 am

Some of you have asked how to change the firmware: you have to pull one blue pill and push the other with the firmware that you want to play, here is the little visual aid:
Attachments
Push and Pull_Blue_Pill copy.jpg

User avatar
SphericalSound
Veteran Wiggler
Posts: 573
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SphericalSound » Mon Oct 11, 2021 5:44 am

mercyofwolves wrote:
Sat Oct 09, 2021 6:26 am
scuse me for my casual entry in this thread,
i expect it's less elegant than preferred, but using an arduino with usb support (leonardo) was extremely accessible, and offers a well supported route to midi connectivity,

Code: Select all

#include <MIDIUSB.h>

byte command;
byte channel;

unsigned long pulse = 1000; //  1000 = 1 millisecond
unsigned long time0 = 0;
bool note0 = 0;

void setup() {
  //pinMode(LED_BUILTIN, OUTPUT);
  pinMode(11, OUTPUT);
  digitalWrite(11, LOW);
  Serial.begin(192000);//(31250);
}

void loop() {
  midiEventPacket_t rx;
  do {
    rx = MidiUSB.read();
    if (rx.header != 0) {
      command = rx.byte1 & 0xF0;
      channel = rx.byte1 & 0x0F;
      if (channel == 0x09) {  //  channel 10
        if (command == 0x90) {//digitalWrite(11, HIGH);//noteon
          if (rx.byte2 == 36) {
            digitalWrite(11, HIGH); //c1
            time0 = micros();
            note0 = 1;
          }
        }
        //else if (command == 0x80) digitalWrite(11, LOW);//noteoff
      }
    }
  } while (rx.header != 0);

  if (note0) if (micros() - time0 > pulse) {
    digitalWrite(11, LOW);
    note0 = 0;
  }

  
}
Thanks!!

User avatar
SphericalSound
Veteran Wiggler
Posts: 573
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SphericalSound » Mon Oct 11, 2021 5:56 am

The MIDI Chiclet uses 5 components and this schematic

1x10k resistor
1x220R resistor
1x6n137 optocoupler (dip-8)
1x4148 diode
1xstereo 3.5mm female jack (PJ324)



Image
Attachments
MIDIPCB.pdf
(11.61 KiB) Downloaded 23 times

User avatar
fogoverparis
Learning to Wiggle
Posts: 14
Joined: Thu Dec 30, 2010 6:22 pm
Location: Seattle, WA USA

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by fogoverparis » Sat Oct 16, 2021 11:09 pm

I'm having a problem trying to get midi sync to work. When I press SHIFT+AUTO the screen displays "MIDI" but becomes completely unresponsive otherwise. It doesn't sync to incoming MIDI and I can't un-toggle MIDI sync mode or make any other changes. I have to power cycle it to get it working again. Any idea how to fix this? I have a recently-purchased assembled unit.

User avatar
SphericalSound
Veteran Wiggler
Posts: 573
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SphericalSound » Sun Oct 17, 2021 12:43 pm

fogoverparis wrote:
Sat Oct 16, 2021 11:09 pm
I'm having a problem trying to get midi sync to work. When I press SHIFT+AUTO the screen displays "MIDI" but becomes completely unresponsive otherwise. It doesn't sync to incoming MIDI and I can't un-toggle MIDI sync mode or make any other changes. I have to power cycle it to get it working again. Any idea how to fix this? I have a recently-purchased assembled unit.
Yeah, you probably have an incompatible MIDI cable. There´s 2 standards, the Korg and the Roland. You have the other type, get a new 5pin to 3 stereo cable, the other type should work. Better get 2, both types, so one will sure work

Edit: Re reading your message, maybe is a different issue. Without the MIDI plugged, you still can´t untoggle it?. It´s strange.
Can you post what PCB revision do you have and what firmware revision do you have?
Last edited by SphericalSound on Sun Oct 17, 2021 12:47 pm, edited 1 time in total.

User avatar
SphericalSound
Veteran Wiggler
Posts: 573
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SphericalSound » Sun Oct 17, 2021 12:44 pm

For the people with revision 0.85 PCBs that wants to install the MIDI chiclet, here you have the instructions:

https://github.com/spherical-sound-soci ... 5_MIDI_Fix

Leighzi88
Learning to Wiggle
Posts: 40
Joined: Sat Jul 25, 2020 3:36 am

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by Leighzi88 » Mon Oct 18, 2021 3:17 am

Is there a stereo MIDI plug on the unit? I thought the MIDI was via the USB cable?

.... I have my pre-assembled unit on the way, somewhere between Spain and Australia! :sb:

User avatar
fogoverparis
Learning to Wiggle
Posts: 14
Joined: Thu Dec 30, 2010 6:22 pm
Location: Seattle, WA USA

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by fogoverparis » Mon Oct 18, 2021 12:34 pm

SphericalSound wrote:
Sun Oct 17, 2021 12:43 pm
Yeah, you probably have an incompatible MIDI cable. There´s 2 standards, the Korg and the Roland. You have the other type, get a new 5pin to 3 stereo cable, the other type should work. Better get 2, both types, so one will sure work

Edit: Re reading your message, maybe is a different issue. Without the MIDI plugged, you still can´t untoggle it?. It´s strange.
Can you post what PCB revision do you have and what firmware revision do you have?
Yeah even without MIDI plugged in it locks up everything to turn it on. PCB says 0.95, I don't know how to view the firmware version, it just says "Pangrus" when I turn it on.

User avatar
SphericalSound
Veteran Wiggler
Posts: 573
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SphericalSound » Tue Oct 19, 2021 1:17 am

Leighzi88 wrote:
Mon Oct 18, 2021 3:17 am
Is there a stereo MIDI plug on the unit? I thought the MIDI was via the USB cable?

.... I have my pre-assembled unit on the way, somewhere between Spain and Australia! :sb:
Yeah, is in stereo 3.5 midi format... I shipped your OR yesterday. Should be there in a few days :cloud:

User avatar
SphericalSound
Veteran Wiggler
Posts: 573
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SphericalSound » Tue Oct 19, 2021 1:23 am

fogoverparis wrote:
Mon Oct 18, 2021 12:34 pm
SphericalSound wrote:
Sun Oct 17, 2021 12:43 pm
Yeah, you probably have an incompatible MIDI cable. There´s 2 standards, the Korg and the Roland. You have the other type, get a new 5pin to 3 stereo cable, the other type should work. Better get 2, both types, so one will sure work

Edit: Re reading your message, maybe is a different issue. Without the MIDI plugged, you still can´t untoggle it?. It´s strange.
Can you post what PCB revision do you have and what firmware revision do you have?
Yeah even without MIDI plugged in it locks up everything to turn it on. PCB says 0.95, I don't know how to view the firmware version, it just says "Pangrus" when I turn it on.
Yeah, is quite strange. You have the latest hardware and almost the latest firmware. Yours is 1.0, latest 1.1, is almost the same.

Does it work other combo keys?. It would be nice to check if the poly firmware reads midi ok to troubleshoot it. If you are thinking in getting it I can made you a discount. You can PM for it

User avatar
SPIKE the Percussionist
Veteran Wiggler
Posts: 662
Joined: Sun Nov 11, 2012 4:32 pm
Contact:

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SPIKE the Percussionist » Tue Oct 19, 2021 5:40 pm

had a great time weaving the noiz from the Opera Rotas into last night's session...
i finally really got a grasp of the way it works since installing the updated OS.
it might help others quite a bit if all of the new key commands were thoroughly explained. :party:
++

more noiz!

SPIKE the Percussionist

- http://www.manipulate.net -

ASTROGENIC HALLUCINAUTING
CoRE - Constructs of Ritual Evolution
DOGGEBI
Fiddle Witch and the Demons of Doom
morgue city
Unified Space

User avatar
SPIKE the Percussionist
Veteran Wiggler
Posts: 662
Joined: Sun Nov 11, 2012 4:32 pm
Contact:

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SPIKE the Percussionist » Wed Oct 20, 2021 2:03 am

mother fracken satan frack...
just when i was REALLY getting some use out of this thing...THIS FRACKEN HAPPENED:
IMG_2841.jpg
tried powering it with the second microUSB connection...the board powers up but NO screen...
seriously running out of curse words over here.
:bang: :bang: :bang: :bang: :bang:
i so hate these microUSB connectors.
++

more noiz!

SPIKE the Percussionist

- http://www.manipulate.net -

ASTROGENIC HALLUCINAUTING
CoRE - Constructs of Ritual Evolution
DOGGEBI
Fiddle Witch and the Demons of Doom
morgue city
Unified Space

User avatar
what gives?
Wiggling with Experience
Posts: 378
Joined: Thu Sep 25, 2014 11:35 am

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by what gives? » Wed Oct 20, 2021 4:24 am

Yeah, the cable can sometimes exert a destructive leverage on those arduino usb connectors. Same thing happened to me on another board a while back. It really sucks...

User avatar
Bodo1967
Ultra Wiggler
Posts: 821
Joined: Wed Aug 10, 2016 2:27 pm
Location: Germany

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by Bodo1967 » Wed Oct 20, 2021 4:45 am

SPIKE the Percussionist wrote:
Wed Oct 20, 2021 2:03 am
tried powering it with the second microUSB connection...the board powers up but NO screen...
seriously running out of curse words over here.
:bang: :bang: :bang: :bang: :bang:
i so hate these microUSB connectors.
That sucks indeed :waah: .

However - you may have had "luck within the bad luck", as we say over here. The connector apparently "only" came off its solder pads, but without any further damage. They are relatively simple to (re-)solder even with a soldering iron. So I honestly believe this can be repaired by a farily experienced DIYer within a couple of minutes.

I cross my fingers (and press my thumbs, as we do over here) you'll get it fixed soon!
... why buy it for $100 when you can build it yourself for $150?

User avatar
SphericalSound
Veteran Wiggler
Posts: 573
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SphericalSound » Wed Oct 20, 2021 7:23 am

SPIKE the Percussionist wrote:
Wed Oct 20, 2021 2:03 am
mother fracken satan frack...
just when i was REALLY getting some use out of this thing...THIS FRACKEN HAPPENED:
IMG_2841.jpg

tried powering it with the second microUSB connection...the board powers up but NO screen...
seriously running out of curse words over here.
:bang: :bang: :bang: :bang: :bang:
i so hate these microUSB connectors.
Im so sorry about this. Some chinese vendors dont solder the lateral legs that gives structure to the bluepill. I´ll be optimizing this too with my supplier so it dont happen again.

Please ship me back it for me to fix it. Im sending you a brand new one for free. PM your address

User avatar
SphericalSound
Veteran Wiggler
Posts: 573
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SphericalSound » Wed Oct 20, 2021 7:27 am

Bodo1967 wrote:
Wed Oct 20, 2021 4:45 am
SPIKE the Percussionist wrote:
Wed Oct 20, 2021 2:03 am
tried powering it with the second microUSB connection...the board powers up but NO screen...
seriously running out of curse words over here.
:bang: :bang: :bang: :bang: :bang:
i so hate these microUSB connectors.
That sucks indeed :waah: .

However - you may have had "luck within the bad luck", as we say over here. The connector apparently "only" came off its solder pads, but without any further damage. They are relatively simple to (re-)solder even with a soldering iron. So I honestly believe this can be repaired by a farily experienced DIYer within a couple of minutes.

I cross my fingers (and press my thumbs, as we do over here) you'll get it fixed soon!
Yeah, is super easy to fix it, but I guess not all pleople is in the DIY side of the things. Normally Bluepills are quite solid, but that batch was probably not good soldered and weak. Bloody chinese, they screw a lot of things to save 0.01 cents of tin. I´ll be checking/soldering manually everyone so it dont happen again

User avatar
SPIKE the Percussionist
Veteran Wiggler
Posts: 662
Joined: Sun Nov 11, 2012 4:32 pm
Contact:

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SPIKE the Percussionist » Wed Oct 20, 2021 4:56 pm

SphericalSound wrote:
Wed Oct 20, 2021 7:23 am

Im so sorry about this. Some chinese vendors dont solder the lateral legs that gives structure to the bluepill. I´ll be optimizing this too with my supplier so it dont happen again.

Please ship me back it for me to fix it. Im sending you a brand new one for free. PM your address
yeah...not the most well made devices.
:party:
thank you for the help!
++

more noiz!

SPIKE the Percussionist

- http://www.manipulate.net -

ASTROGENIC HALLUCINAUTING
CoRE - Constructs of Ritual Evolution
DOGGEBI
Fiddle Witch and the Demons of Doom
morgue city
Unified Space

User avatar
SphericalSound
Veteran Wiggler
Posts: 573
Joined: Thu Feb 01, 2018 9:23 am
Location: Spain

Re: OPERA ROTAS, a DIY mutant drum machine BUILD THREAD

Post by SphericalSound » Wed Oct 20, 2021 6:07 pm

SPIKE the Percussionist wrote:
Wed Oct 20, 2021 4:56 pm
SphericalSound wrote:
Wed Oct 20, 2021 7:23 am

Im so sorry about this. Some chinese vendors dont solder the lateral legs that gives structure to the bluepill. I´ll be optimizing this too with my supplier so it dont happen again.

Please ship me back it for me to fix it. Im sending you a brand new one for free. PM your address
yeah...not the most well made devices.
:party:
thank you for the help!
Normally are solid. That batch it seems they forgot to solder the lateral pins. I´ll be inspecting by hand everyone and soldering it if needed so it does not happen again

Post Reply

Return to “Music Tech DIY”