Signal scaling inside the modules

That problem has bothered me for a while.

We all know that by the Eurorack standard, audio signals should be 10Vpp (a.k.a. ±5V), and CV should be bipolar (±5V) or unipolar (0-5V or 0-10V).

The problem is that even the modules I personally designed to the standard sometimes exceed that ±5V headroom by 0.5V or even 1V (making them ±5.5V and ±6V). Who knows what other manufacturers do, and what if there are 20Vpp audio signals? (I know some modules do that.)

Another example: CV from, for example, an LFO is 0-5V. I want to design a digital module that will accept said LFO as a modulation source via an ADC. At the input, I would want to scale it down to 3.3V (so I won't burn the ADC or MCU). But what if a user connects a 0-10V CV? Then the maximum will be 6.6V at the ADC input, and the ADV will burn. Or what if a user uses a bipolar CV? The positive half will be fine, of course, but the negative half will remain negative after the input attenuator and, yep, will fry the ADC. I don't even mention modules like the NLC Sloth, whose output is ±11V.

Yes, I can make a universal input attenuator that will scale ±12V (the theoretical maximum in Eurorack) to 0–3.3V, but I will lose pretty much all of the available ADC resolution (something like 800 points vs. 4096).

Or, if we go back to audio signals: I have an audio processing chip that is sensitive to incoming voltage levels; 2.8Vrms is the limit. The worst case — a square wave — with 10Vpp (a.k.a. standard) will be 5Vrms. Therefore, the attenuation should be 0.5 (so the Vrms after the attenuator will be 2.5Vrms). The WORST case, however, is a 20Vpp square wave — it is 10Vrms _ so the attenuation should be 0.25 to tune it down to the safe level. But I think that in my particular case, I can just tune the signal down and amplify it later. But what if the audio signal will go to the ADC instead? Then I will be facing the same problem of using only 1/3 of my ADC range.

What is the general solution for this type of problem, NOT COUNTING making separate inputs for 10Vpp, 20Vpp, unipolar, and bipolar signals?

reddit.com
u/adeptyism — 2 days ago

Another 5x7 — ESP32-C3-based oscilloscope

Shout-out for u/bellabebop for their nice-and-clean looking perfboard layouts.

I built an Arduino-based oscilloscope following this project at the end of February. I was happy with it, but it had some issues: it was slow, kept freezing, and had a very sloppy input attenuation stage. (last photo)

I had a ESP32C3 that was lying idle, so I decided to a) port a scope from breadboard to perfboard and b) port the code to the ESP32, with a little extra features.

All changes are described at the README.md file in the repo, but in short: I made a precise attenuation stage that reduces the 24Vpp signal to 2.6Vpp, which allows the incoming voltage to be accurately displayed on the screen and replaced meaningless original voltage ranges with 3v3, 5v, ±5v ±12V and auto-mode. Also ESP32C3 ADC is 12bit vs Arduino Nano 10bit ADC, which is good too, e.g. for measuring precise (edit: like 0.0833V for 1V/oct) voltage (I didn't implemented that though)

Also there's a non-correctly working spectrum analyzer: there's problem with the math somewhere and I can't find it yet.

>!AI was involved only once with the question "what is 'volatile' variables?".!< Most of the comments were in the original code.

Code, GitHub repo: link

YouTube little demo: link

u/adeptyism — 7 days ago
▲ 1.9k r/suddenlyrussians+3 crossposts

POV: Your Uber driver is a DAWless jammer.

As you pull away the sound of a 1 bar loop slowly fades in... the 303 filter starts to open up... you notice all the doors are locked.

u/Content_Mastodon3381 — 14 days ago
▲ 3 r/pchelp

My laptop keeps randomly doing this for 1.5 years now

First occasion of this happened in January, 2025. After that there was zero to one of those screens in a month. At first, the screen simply freezes, then the sound starts to loop for the last 0.8-1 second. After that, artifacts appear. Until the artifacts disappear, I can adjust the keyboard backlight brightness; when the artifacts disappear, the sound starts to jam even faster, and I can no longer change the keyboard brightness (I suppose that's important detail). After reboot everything works normal (in 9 of 10 cases).

This mainly happens when laptop is overheated (no correlation honestly, CPU could be 47 °C and I can get artefacts or it could be 94 °C and I can get nothing), or something hit the laptop lightly (e.g. putting it on the table).

I suspected the memory, SSD and integral GPU, but RAM fully passed multiple memtests, and I switched my SSD in June 2025. EDIT: the artifacts happens with either games or heavy VST plugins (virtual synthesizers) opened, so I'm suspicious about VRAM now.

- Laptop model: MSI Modern 14 B4MW-021 (bought it in 2021)

- CPU: AMD Ryzen 5 4500U with Radeon Vega 6 graphics

- RAM: (i don't know what was originally in it) -> Kingston Fury Impact 16×2GB SO-DIMM

- SSD: some of the SK Hynix -> Kingston Fury 1TB (it's definitely not overheating — 46°C peak)

- OS is Arch Linux, I got kernel panic screen during these artifacts once. Never happened to me again.

Also I noticed that there is a wear on the cable leading to the screen near the hinges. There's no broken isolation, taped it with dielectric tape and everything seems normal.

The laptop was bended slightly over the years, but after visual inspection of the motherboard I think there's barely even 0.1° bend of it and it's mostly affected the case (and possibly the lid with the screen!).

Should I be VERY worried (i.e. it's doomed and I need new laptop) or just normal worried and be even more gentle with it?

u/adeptyism — 23 days ago
▲ 110 r/synthdiy

Totoro μSynth

That's my implementation of Totoro Synth by syntherjack, which is kind of a "beginner synth," based solely on the MCP6004 op-amp. The general idea behind my remake was to gift it to my friends (and they seem to love it). The PCB is the size of a bank card, an outcome of taking inspiration from the benjiamodular SynthCard project(although I noticed later that Benji used a business card format and not a credit card one).

Totoro features two oscillators: one is a square wave with three "gates," and the second is square/saw in OSC mode and saw/triangle in LFO mode. Totoro has a two-pole low-pass twin-T filter onboard with two resonance settings and modulation possibilities. For a more detailed study, visit the original article (link at the beginning of the post).

I made some modifications to the original schematic, such as:

  1. USB-C power — the synth is way lighter and compact that way, and I won't need to switch batteries from time to time;

  2. Polarity switch for the saw (something like /|/|/| => |\\|\\\\|\\|\\\\);

  3. Adjusted capacitor values;

  4. Added OSC2/LFO rate indicator;

  5. Safer stereo output for using for Eurorack and other safety features (e.g. overvoltage protection)

YouTube demo: https://youtu.be/jdFurPZiaJQ

I don't feel comfortable uploading my schematics to GitHub, since my KiCad project is broken because of changing references and not synchronizing the schematic and PCB after it, but I hope I'll get my hands around it in the autumn.

u/adeptyism — 1 month ago
▲ 11 r/PCB

Overlap between Factorio/Satisfactory fanbase and PCB designers (for a research project)

(rules are empty and there are no mentions against making polls and posts for research project, so)

I'm making a little semi-joke presentation about Factorio/Satisfactory and their connection to PCB design for giggles at our local hobbyist EE community, and I wanted to collect some data for more objective and realistic information.

I have ~1950 to ~2100 hours in Factorio + Factorio: Space Age, 620 hours in Satisfactory, and over 3000 hours in GregTech: New Horizons. It seems that Factorio has MASSIVELY lowered my entry threshold into PCB design and electronics in general, so I decided to track if this is a unique experience to me or if it's somewhat general.

View Poll

reddit.com
u/adeptyism — 1 month ago

What is the best MCU for use with USB MIDI devices?

I need to connect an USB MIDI mixer (M-VAVE SMC-mixer) to an Eurorack module. That's pretty much all that I need: receive MIDI from USB cable, decoding it, sending some I2C and SPI data once in a while.

I thought about RP2040's, but they seem to overkill to me and I couldn't find open source projects for USB MIDI Host on RPs.

reddit.com
u/adeptyism — 1 month ago

Need help with selecting a MCU with USB Host capability

Hello everyone.

I'm developing a 8-channel mixer for analog audio signals that will be controlled via external MIDI-mixer, which works via MIDI USB protocol and **an USB Device**.

The analog part is very basic: input signal is attenuated to needed level with an inverting amplifier (e.g. 10Vpp -> ~1Vpp), goes through an attenuator (PT2258, 6-channel I2C audio taper in my case) and AC coupler, then summarized with other signals with another inverting amplifier with gain = 1. My MIDI-mixer also has mute/solo for each individual channel, and current channel state will be indicated with bipolar LEDs (e.g. red = mute, blue = solo) and 74HC595 (each IC has 8 outputs, so it's ideal for my purposes).

The digital part is hard for me: I figured out that I need MCU, that will support USB Host/OTG, SPI for 74HC595s and I2C for PT2258s. My first choice was RP2040, but it's a huge overkill for my purposes, and it seems that I can't use USB Host with RP2040 Zero devboard. Then I found a CH340 8-bit MCU, which has I2C bus and native USB Host, I think that it's too slow, and doesn't have a SPI.

Can someone point me in the general direction of which MCU is best to choose, considering that I'm planning to route it on the PCB for device, without using a devboards?

reddit.com
u/adeptyism — 1 month ago
▲ 1 r/help

I can't pοst anything without any particular reason.

My account (u/adeptyism) got locked two months ago pοsting a huge post with three links (to the blog of developer for source, to the project site and to YouTube video demonstration of the project). Did a password reset, as Reddit advised me in email, and got access back after 10 hours; however, all my previous pοsts are deleted and I can't pοst anything new, except 2-3 comments in two weeks. I submitted appеals every day for four weeks, but Reddit just ignored them all. Can someone give me next steps to retrieve access to Reddit?

reddit.com
u/adeptyism — 2 months ago

Am I (still) shadowbanned?

My account got suspended 2 months ago, and since then I'm kind of invisible for anyone except 1-2 times a week.

I submitted the appeals everyday in May, but gave up in June, since they all were left ignored, my posts in r/help were deleted etc.

What should I do to try saving my account? I can't just make new, since Reddit will shadowban it too, right?

reddit.com
u/adeptyism — 2 months ago

I received PCBs for my synthesizers today. In concept, there are three keyboard switches acting like buttons. However, the switches I ordered (outemu low-profile) have a centered second pin, while on the promo card they showed a misaligned one, just like on Cherry MX switches. Since I saw the misaligned pin on the promo card, I used the standard Cherry MX switch footprint and called it a day.

My question is: how would you fix that mistake? I have some ideas, which I don't like, because I'll need to repeat them 36 times:

  1. Bending the second pin and soldering thin wire, like transformer wire, to it, then soldering the wire to the hole.
  2. Soldering wire directly to the metal plate inside the switch via an extra drilled hole in the switch, which will be directly over the hole.
  3. Bending the second pin in such a way that it touches a hole, and soldering it while praying for a good connection.

The boards will not be in extreme conditions or under high stress.

In the first picture, I drew lines to make it clearer that the pin is offset from the center.

u/adeptyism — 4 months ago

This screen is supposed to display the next metro stations, but it displays internal information for metro workers - the position of switches, the occupancy of sections, the operation of ventilation and pumps, etc.

u/adeptyism — 4 months ago