|
Post by nivanda on Jan 29, 2023 10:07:22 GMT
Hi This is my first post here. I recently discovered AE Modular and the possibilities of the DIY part of it. I don't have my system yet as I still have to wait for my February pay check. But I'm already looking into the DIY, or more specifically DIY modules that use Arduino or other MCU boards as I'm an third year IT student and MCU programming is easy (and fun) for me. So I found a Chord VCO module on Youtube that was originally designed for Eurorack. But it sounds so good that I'm willing to go through hell to make it work with AE Modular. Here is the link to the video. For those who don't want to watch the whole video, here is the Schematic for it: So here come the questions I need help with. First, I need to change the Op-Amp IC. If i understand correctly in need a Single power supply, Rail to rail Op-Amp, correct me if I'm wrong. If anybody knows such IC (possibly quad Op-Amp IC) that would give good sound quality then please tell me. Second, I'm not sure if I need those BAT43 diodes, if I'm correct they are there for some over voltage protection or something like that, but as AE Modular's voltage levels don't go over 5V then they are not needed, right? Third, if I don't need the diodes (also I can't find any seller that has them, the designer is from Japan, so i assume he uses some Japan only parts) then how would the schematic look like after? My Electronics skills are not the best, so try to explain it so i could understand. With regards nivanda
|
|
|
Post by keurslagerkurt on Jan 30, 2023 12:39:08 GMT
Hey Nivanda Cool to see you jumping on the DIY stuff, AE is really perfect for that! The Hagiwo stuff is really cool. If I'm not mistaking, I think m4vrick has played with modifying some of his modules for AE! Considering the opamps, about everyone here generally uses the MCP600x opamps. They give great rail-to-rail input AND output, and are pretty inexpensive. The quadruple version is the MCP6004. The MCP60x (notice the difference in zeroes) also works, but is a bit more expensive and has no rail-to-rail input IIRC, so I prefer the MCP600x. Not sure about the diodes. If I recall correctly, the RP2040 CAN get fried by 5V, as it has a max 3.3V. But having a voltage divider that brings 5V -> 3.3V (eg with a 10k and 22k resistor), should give you all the protection you need. There is no 'reverse voltage' possible (ie no negative voltages) in AE. Of course, if you connect your prototype wrong yourself (eg you switch the power supply by accident), then there is reverse voltage. Hope this helps!
|
|
|
Post by robertlanger on Jan 30, 2023 18:09:08 GMT
One thing to keep in mind is, that with single supply the + input of opamps in inverting operation (all in this circuit) does not go to ground, but to a "virtual ground" of 2.5 volts. This can simply be accomplished by a resistor divider between 5V and GND made of 2x 4.7k plus a buffer capacitor (100n - 10uF) between the 2.5V and ground.
|
|
|
Post by robertlanger on Jan 30, 2023 18:11:58 GMT
...and the capacitor at OUT is not necessary; audio in AE is not swinging around 0 volts, but also the "virtual ground" of 2.5 volts. The capacitor would change this.
|
|
|
Post by nivanda on Jan 30, 2023 19:25:10 GMT
Big thanks to both of you. I'll try to find those chips and remember the tips you gave me. Also didn't expect to see a reply from Robert...hehe
|
|
apiel
New Member
Posts: 18
|
Post by apiel on Feb 6, 2023 6:46:51 GMT
Maybe, you should have a look to samd21 or samd51 to do such thing, they are still very cheap (samd21 maybe even cheaper than rp2040) and they have built-in DAC, so you should get a better sound than using PWM, and therefor most likely no need of low pass filter (even if it can be useful). Another good thing with samd51 is that adafruit made a port of the amazing PJRC audio library made by Paul for Teensy, github.com/adafruit/Audio and I guess it might work with samd21 as well (or might need little modification but should not be too hard). Another thing, RP2040 is a bit of a mess right now, it's still in early stage and it is getting different direction depending of the developer preferences, so it is easy to get lost ^^. And the board are not very stable to flash the code (first time I manage to destroy a MCU was with RP2040 )
|
|
|
Post by rodney on Feb 19, 2023 6:25:05 GMT
Maybe, you should have a look to samd21 or samd51 to do such thing, they are still very cheap (samd21 maybe even cheaper than rp2040) and they have built-in DAC, so you should get a better sound than using PWM, and therefor most likely no need of low pass filter (even if it can be useful). Another good thing with samd51 is that adafruit made a port of the amazing PJRC audio library made by Paul for Teensy, github.com/adafruit/Audio and I guess it might work with samd21 as well (or might need little modification but should not be too hard). Another thing, RP2040 is a bit of a mess right now, it's still in early stage and it is getting different direction depending of the developer preferences, so it is easy to get lost ^^. And the board are not very stable to flash the code (first time I manage to destroy a MCU was with RP2040 ) I didn't know they'd ported Paul S's teensy audio library to the samd51. I mihgt take a peek. (so much for my solemn vow to not buy more MCUs before making something out of all the others I have in my drawer!)
|
|