Difference between revisions of "Through-hole Braids"

From Land Boards Wiki
Jump to navigation Jump to search
 
(46 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[file:Braids_Assembled_720pxV.jpg]]
+
[[file:MI_Braids_P1080919-720px.jpg]]
  
 
== Features ==
 
== Features ==
Line 5: Line 5:
 
* Through hole version of [https://mutable-instruments.net/modules/braids/ Mutable Instruments Braids]
 
* Through hole version of [https://mutable-instruments.net/modules/braids/ Mutable Instruments Braids]
 
* Braids is a voltage-controlled monophonic digital sound source
 
* Braids is a voltage-controlled monophonic digital sound source
 +
* [https://github.com/land-boards/lb-boards/blob/master/SYNTHS/Docs/Modules/Mutable%20Instruments/MI%20Braids/MI%20Braids%20Manuals/Mutable%20Instruments%20_%20Braids.pdf Braids Manual]
 +
* [https://github.com/land-boards/lb-boards/blob/master/SYNTHS/Docs/Modules/Mutable%20Instruments/MI%20Braids/MI%20Braids%20Manuals/braids_quickstart.pdf Braids Quickstart]
  
 
== Credits / Resources ==
 
== Credits / Resources ==
Line 91: Line 93:
 
== STM32 "Blue Pill" ==
 
== STM32 "Blue Pill" ==
  
 +
* [[STM32 Blue Pill]]
 
* "Blue Pill" Pins
 
* "Blue Pill" Pins
  
Line 104: Line 107:
  
 
[[file:Braids_Video_Cap_02.PNG]]
 
[[file:Braids_Video_Cap_02.PNG]]
 +
 +
* From [https://sound-force.nl/?page_id=3179 sound-force]
  
 
[[file:SoundForce_Pic-01.PNG]]
 
[[file:SoundForce_Pic-01.PNG]]
Line 115: Line 120:
 
* [https://www.tindie.com/products/27457/ Get the PCB set with panel and both PCBs for 9$ at Kristian's Tindie store]
 
* [https://www.tindie.com/products/27457/ Get the PCB set with panel and both PCBs for 9$ at Kristian's Tindie store]
 
** [https://www.tindie.com/stores/Sourcery/ Tindie store]
 
** [https://www.tindie.com/stores/Sourcery/ Tindie store]
** (Or) Download the [https://sound-force.nl/?page_id=3179 Gerber files]
+
** (Or) Download the [https://sound-force.nl/?page_id=3179 Gerber files]  
* [https://www.aliexpress.us/item/2251801139870562.html?aff_fcid=3b9fa86eb0554ff29ba0a6b77c812cbd-1668328660760-01745-_DFPvQEB&tt=CPS_NORMAL&aff_fsk=_DFPvQEB&aff_platform=shareComponent-detail&sk=_DFPvQEB&aff_trace_key=3b9fa86eb0554ff29ba0a6b77c812cbd-1668328660760-01745-_DFPvQEB&terminal_id=27d42930204b4f3ca90005888e7c8cd4&afSmartRedirect=y&gatewayAdapt=glo2usa4itemAdapt&_randl_shipto=US 5pcs Red Common Cathode 7 segment display] - '''MAKE SURE TO CHOOSE COMMON CATHODE'''
 
 
* [https://www.aliexpress.us/item/3256801435312142.html?aff_fcid=19e3c157d442455d96274e2a86d0207e-1668328775090-01714-_Ddyuri3&tt=CPS_NORMAL&aff_fsk=_Ddyuri3&aff_platform=shareComponent-detail&sk=_Ddyuri3&aff_trace_key=19e3c157d442455d96274e2a86d0207e-1668328775090-01714-_Ddyuri3&terminal_id=27d42930204b4f3ca90005888e7c8cd4&afSmartRedirect=y&gatewayAdapt=glo2usa4itemAdapt&_randl_shipto=US Get a STM32 Programmer here]
 
* [https://www.aliexpress.us/item/3256801435312142.html?aff_fcid=19e3c157d442455d96274e2a86d0207e-1668328775090-01714-_Ddyuri3&tt=CPS_NORMAL&aff_fsk=_Ddyuri3&aff_platform=shareComponent-detail&sk=_Ddyuri3&aff_trace_key=19e3c157d442455d96274e2a86d0207e-1668328775090-01714-_Ddyuri3&terminal_id=27d42930204b4f3ca90005888e7c8cd4&afSmartRedirect=y&gatewayAdapt=glo2usa4itemAdapt&_randl_shipto=US Get a STM32 Programmer here]
 
* STM32F013CBT8 (128kb version) on ebay... not that many to choose from :/  
 
* STM32F013CBT8 (128kb version) on ebay... not that many to choose from :/  
Line 132: Line 136:
  
 
== Build ==
 
== Build ==
 +
 +
* [https://docs.google.com/document/d/1Abn1zaVfb9EWQT7AOmkBqb_WW_tSImPcawUhbSnykno/edit?usp=sharing Assembly Notes]
 +
<pre>
 +
The PCBs were drawn with both parts numbers and part values on, so you can work faster without checking the BOM every 5 seconds. I also added PDFs of the PCB silkscreens on the project page, as the printed silkscreens can be sometimes low resolution and difficult to read.
 +
 +
Recommendations:
 +
 +
- Always start with the lowest profile part (resistors) and then move on to next “in height”
 +
- Check twice, solder once!!
 +
- It’s better to solder all the resistors located around the display at the BACK of the PCB, as they are quite close to the edge of the display.
 +
- It’s better to solder the display when the front panel has been mounted so you can make it as flush as possible with the back of the from panel.
 +
- The STM32F103/blue pill needs to be soldered at the back!!
 +
- Use female headers for the STM32F103!
 +
- You can use sockets for all the ICs, especially if you are starting with Synth DIY
 +
- You can screw the voltage regulators to the PCB for better heat sinking using M3 screw and nut
 +
- The voltage reference have different grades (A, B, C, D), A means the best. MI uses C grade for all CV inputs (VOCT as well). But you can use B or A, use D will probably not ruin your module.
 +
- The voltage regulators could be either LM or LD1117
 +
- If you got a V1.0 PCB, you won’t need R22 and Q7 around the analog 3.3V voltage regulator
 +
</pre>
  
 
=== Processing Card ===
 
=== Processing Card ===
  
 
[[file:MI_Braids_P1080726-720px.jpg]]
 
[[file:MI_Braids_P1080726-720px.jpg]]
 +
 +
[[file:MI_Braids_Analog_Card_Rear_MI_Braids_P1080728-720px.jpg]]
  
 
=== Controls Card ===
 
=== Controls Card ===
  
 
[[file:MI_Braids_P1080733-720.jpg]]
 
[[file:MI_Braids_P1080733-720.jpg]]
 +
 +
[[file:MI_Braids_Controls_Card_Rear_P1080731-720pxV.jpg]]
  
 
== Parts List ==
 
== Parts List ==
 +
 +
=== Discrete/ICs Parts List ===
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 147: Line 176:
 
! Index
 
! Index
 
! Desc
 
! Desc
|-
 
| 0
 
| controls
 
|
 
 
|-
 
|-
 
| 14
 
| 14
| R4-R10, R12-R18
+
| R4-R10, R12-R18 (R4-R9 on rear)
 
| 100 Resistor, 1%
 
| 100 Resistor, 1%
 
|-
 
|-
Line 161: Line 186:
 
|-
 
|-
 
| 7
 
| 7
| R1-R3, R11, R22, R23, R55
+
| R1-R3, R11, R22, R23, R55 (R1-R3 on rear)
 
| 1k Resistor, 1%
 
| 1k Resistor, 1%
 
|-
 
|-
Line 219: Line 244:
 
| C8
 
| C8
 
| 470n Capacitor, ceramic
 
| 470n Capacitor, ceramic
|-
 
|
 
| Capacitors eletrolytic
 
 
 
|-
 
|-
 
| 1
 
| 1
Line 235: Line 256:
 
| C25, C30
 
| C25, C30
 
| 47u Capacitor, electrolytic
 
| 47u Capacitor, electrolytic
|-
 
|
 
| Diodes
 
 
 
|-
 
|-
 
| 2
 
| 2
 
| D1, D2
 
| D1, D2
 
|  1N5817
 
|  1N5817
|-
 
|
 
| ICs
 
 
 
|-
 
|-
 
| 2
 
| 2
Line 291: Line 304:
 
| UC1
 
| UC1
 
|  STM32F103C8T6 NEEDS TO BE 124kb
 
|  STM32F103C8T6 NEEDS TO BE 124kb
|-
+
|}
| 0
+
 
| top
+
=== Additional Parts List ===
+
 
 +
* [https://www.aliexpress.us/item/2251801139870562.html?aff_fcid=3b9fa86eb0554ff29ba0a6b77c812cbd-1668328660760-01745-_DFPvQEB&tt=CPS_NORMAL&aff_fsk=_DFPvQEB&aff_platform=shareComponent-detail&sk=_DFPvQEB&aff_trace_key=3b9fa86eb0554ff29ba0a6b77c812cbd-1668328660760-01745-_DFPvQEB&terminal_id=27d42930204b4f3ca90005888e7c8cd4&afSmartRedirect=y&gatewayAdapt=glo2usa4itemAdapt&_randl_shipto=US 5pcs Red Common Cathode 14 segment display] - '''MAKE SURE TO CHOOSE COMMON CATHODE'''
 +
 
 +
{| class="wikitable"
 +
! Qty
 +
! Index
 +
! Desc
 
|-
 
|-
 
| 2
 
| 2
 
| DISP1, DISP2
 
| DISP1, DISP2
|  14 segments 2 characters LED module
+
[https://www.aliexpress.us/item/2251801139870562.html?aff_fcid=3b9fa86eb0554ff29ba0a6b77c812cbd-1668328660760-01745-_DFPvQEB&tt=CPS_NORMAL&aff_fsk=_DFPvQEB&aff_platform=shareComponent-detail&sk=_DFPvQEB&aff_trace_key=3b9fa86eb0554ff29ba0a6b77c812cbd-1668328660760-01745-_DFPvQEB&terminal_id=27d42930204b4f3ca90005888e7c8cd4&afSmartRedirect=y&gatewayAdapt=glo2usa4itemAdapt&_randl_shipto=US Red Common Cathode 14 segment display]
 
|-
 
|-
 
| 6
 
| 6
Line 345: Line 364:
 
|-
 
|-
 
|}
 
|}
 +
 +
== Software ==
 +
 +
* Software backup
 +
 +
=== Uploading Code to Blue Pill ===
 +
 +
* [https://www.ebay.com/sch/i.html?_from=R40&_trksid=p2380057.m570.l1313&_nkw=ST+Link+V2&_sacat=0 ST Link V2]
 +
* Before programming, set jumpers on Blue Pill module set towards center of card
 +
** This may not be necessary when using ST Link V2
 +
* Use STMCubeProgrammer software to program card
 +
** [https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stm32cubeprog.html?dl=Xo3tcfQICwzQJ5HAqm0JJA%3D%3D%2CMAuOI4j9TAmeEgWs2DAsZZL9fQPso%2FwjsqSyztDNtpvrnXcqYqz1wkGjRuz21cL4mUB5YY06gjG%2B4wZ3ldYyuJv5t%2FaZFFUd0PRt7S1BfwdELDJx3Nns2mBuySPqXAK%2BSpbvH98ciTXPie2VYGeWgigExLg4tSA%2F2zCDFd%2Fit%2BCpBSjeRgL5cl1S0CejZejZ8kcLYv7QW2BQNk4scxX6lR6xHo8giVRMOacAWORZEE%2F2vC4UVnt3MC%2F9hPsO3s3OI%2Fgz%2BgL4TDm6Dpe7IaEVV7I8BkEfpnX6EYylFxWrtN2ok%2F2RCRYjjIOo7eso6GOVN3CubQwb7nLYJIJQy2FSQb6f4uCMggcrZvoCewxp1xSRk06yny9ISOuRnjhMEBiF STMCubeProgrammer Download]
 +
** [https://www.st.com/content/ccc/resource/technical/document/user_manual/group0/76/3e/bd/0d/cf/4d/45/25/DM00403500/files/DM00403500.pdf/jcr:content/translations/en.DM00403500.pdf STMCubeProgrammer User Guide]
 +
* Programming needs both the files
 +
** [https://github.com/land-boards/lb-boards/blob/master/SYNTHS/Docs/Modules/Mutable%20Instruments/MI%20Braids/MI%20Thru%20Hole%20Braids%20Software/Firmware/braids_bootloader.hex Braids_bootloader.hex]
 +
** [https://github.com/land-boards/lb-boards/blob/master/SYNTHS/Docs/Modules/Mutable%20Instruments/MI%20Braids/MI%20Thru%20Hole%20Braids%20Software/Firmware/Braids_Renaissance_Through-Hole_1.hex Braids_Renaissance_Through-Hole_1.hex]
 +
** Followed [https://youtu.be/EpqNQiMcVl8 Kristan's video] for steps
 +
 +
[[File:BluePill_Jumper.png]]
 +
 +
* After programming, set jumpers on Blue Pill module set towards USB jack
 +
 +
== Checkout ==
 +
 +
* Programming needed the braids_bootloader.hex and Braids_Renaissance_Through-Hole_1.hex files
 +
* One of the Blue Pill cards had 64KB and could not be programmed with the Braids_Renaissance_Through-Hole_1.hex file
 +
** Followed [https://youtu.be/EpqNQiMcVl8 Kristan's video] for steps
 +
* Other Blue Pill worked
 +
* Q6 was backwards
 +
* Was missing one of the 100 Ohm resistors
 +
* Working, 100% (as far as I could test
  
 
== Videos ==
 
== Videos ==
 +
 +
<video type="youtube">EpqNQiMcVl8</video>
  
 
<video type="youtube">QgeCO1DD2wA</video>
 
<video type="youtube">QgeCO1DD2wA</video>

Latest revision as of 12:06, 1 January 2023

MI Braids P1080919-720px.jpg

Features

Credits / Resources

Original Braids

Braids panel front-720pxV.jpg

  • 16 HP
  • 25mm deep
  • +12V@100mA, -12V@15mA
  • Braids Through Hole version has differences
    • Output is PWM
    • A/D is 10-bits

Original Braids Features

AN ATLAS OF WAVEFORM GENERATION TECHNIQUES

  • Braids is a voltage-controlled monophonic digital sound source.
  • Sound source… like an oscillator? Not really.
    • Most of the timbres it generates are so complex that approaching them with a classic analog modular setup would require a full case of oscillators, filters, VCAs, waveshapers and ring-modulators – that’s why we call it a macro-oscillator – intricate digital synthesis algorithms wrapped in oscillator’s clothes.
  • 2 KNOBS TO RULE THEM ALL
    • Each algorithm is controlled by two continuously variable parameters, TIMBRE and COLOR, both of them voltage controllable.
    • Instead of being directly assigned to the intricate details of the synthesis algorithm, they work as meta-parameters going through all the sweet spots.
    • Very often, these parameters simultaneously affect several dimensions of timbre, creating very complex movements which would be hard to generate with a traditional setup.
  • Synthesis models
  • The classics
    • CS-80 style sawtooth with a notch.
    • Continuously variable morphing between triangle, sawtooth, square and pulse, with character control.
    • Square/sawtooth with pulse width control.
    • Triangle to sine morphing, with wavefolder.
  • Direct digital synthesis
    • Band-limited dual pulse train, with detuning.
    • Dual square or sawtooth oscillator with hard sync.
    • Triple saw, square, triangle or sine.
    • Stack of three ring-modulated sine waves.
    • Swarm of seven sawtooth waves.
    • Comb-filtered sawtooth wave
    • Circuit-bent sawtooth generator with sample rate reduction and bit toggling.
    • Direct synthesis of filtered waveforms, casio CZ style.
    • Low-fi or hi-fi vowel/formant synthesis.
    • Harmonic oscillator.
    • FM with various feedback paths.
  • Physical and percussive models
    • Plucked string (Karplus Strong).
    • Bowed string.
    • Reed and flute.
    • Bell and metallic drum.
    • 808 bass drum, cymbal noise and snare drum.
  • Wavetables
    • 256 waveforms, organized as 21 wavetables or as a 16x16 XY map.
    • 4-note chord synthesis.
  • Noise sources
    • Noise processed by a tuned multimode filter.
    • Noise processed by a dual BP filter.
    • Clocked digital noise.
    • Cloud of sinusoidal grains.
    • Particle synthesis.
  • Additional settings
    • These settings are accessible through a menu, and are not CV controllable.
    • Bit-depth (from 4 to 16 bits) and sample rate (from 4kHz to 96kHz).
    • Quantizer on the CV-input with a large selection of scales.
    • Analog VCO-style linear detuning of higher frequencies.
    • Analog VCO-style pitch drifting.
    • Waveform quirks, unique to each module built.
    • Built-in AD envelope, assignable to the oscillator frequency, the COLOR and TIMBRE parameters, and to the amplitude.
    • META mode enabling CV-controlled model selection with the FM input.
  • Specifications
    • All inputs: 100k impedance, DC to 4kHz.
    • 12-bit CV capture.
    • 96kHz, 16-bit audio processing (some algorithms are 2x or 4x oversampled).

STM32 "Blue Pill"

STM32F103C8T6-Blue-Pill-Pin-Layout-720px.png

  • "Blue Pill" Schematic

BluePillSchematic-720px.png

Show Screen Caps

Braids Video Cap 01.PNG

Braids Video Cap 02.PNG

SoundForce Pic-01.PNG

SoundForce Pic-02.PNG

SoundForce Pic-03.PNG

Braids Show Notes

Build

The PCBs were drawn with both parts numbers and part values on, so you can work faster without checking the BOM every 5 seconds. I also added PDFs of the PCB silkscreens on the project page, as the printed silkscreens can be sometimes low resolution and difficult to read.

Recommendations:

- Always start with the lowest profile part (resistors) and then move on to next “in height”
- Check twice, solder once!!
- It’s better to solder all the resistors located around the display at the BACK of the PCB, as they are quite close to the edge of the display.
- It’s better to solder the display when the front panel has been mounted so you can make it as flush as possible with the back of the from panel.
- The STM32F103/blue pill needs to be soldered at the back!!
- Use female headers for the STM32F103!
- You can use sockets for all the ICs, especially if you are starting with Synth DIY
- You can screw the voltage regulators to the PCB for better heat sinking using M3 screw and nut
- The voltage reference have different grades (A, B, C, D), A means the best. MI uses C grade for all CV inputs (VOCT as well). But you can use B or A, use D will probably not ruin your module.
- The voltage regulators could be either LM or LD1117
- If you got a V1.0 PCB, you won’t need R22 and Q7 around the analog 3.3V voltage regulator

Processing Card

MI Braids P1080726-720px.jpg

MI Braids Analog Card Rear MI Braids P1080728-720px.jpg

Controls Card

MI Braids P1080733-720.jpg

MI Braids Controls Card Rear P1080731-720pxV.jpg

Parts List

Discrete/ICs Parts List

Qty Index Desc
14 R4-R10, R12-R18 (R4-R9 on rear) 100 Resistor, 1%
1 R51 330 Resistor, 1%
7 R1-R3, R11, R22, R23, R55 (R1-R3 on rear) 1k Resistor, 1%
1 R27 10k Resistor, 1%
1 R50 20k Resistor, 1%
10 R30, R31, R34, R35, R41-R44, R52, R53 24.9k Resistor, 1%
2 R45, R46 39k Resistor, 1%
2 R25, R26 49.9k Resistor, 1%
6 R24, R29, R47, R48, R54, R56 100k Resistor, 1%
1 R39 120k Resistor, 1%
3 R28, R32, R40 200k Resistor, 1%
3 R33, R49, R57 (Optional see note, only on Brain 1.2) 47 Resistor, 1%
1 C29 47p Capacitor, ceramic
2 C21, C22 100p Capacitor, ceramic
4 C13, C14, C16, C17 1n Capacitor, ceramic
13 C1-C6, C18, C20, C23, C26, C27, C28, C31 100n Capacitor, ceramic
1 C8 470n Capacitor, ceramic
1 C24 10u Capacitor, electrolytic NP
4 C7, C9, C15, C33 10u Capacitor, electrolytic
2 C25, C30 47u Capacitor, electrolytic
2 D1, D2 1N5817
2 IC1, IC2 SN74HC595
1 IC3 2.5V LM4040 Shunt Vref
1 IC4 MCP3204 quad 12-bit ADC
1 IC5 MCP4822 dual 12-bit DAC
2 IC6, IC11 3.3V LD1117V33
1 IC7 MCP6004 dual op-amp R2R IO
1 IC8 10V LM4040 Shunt Vref
1 IC9 TL074 quad op-amp
1 IC10 TL072 dual op-amp
6 Q1-Q4, Q6, Q7 NPN transistor 2N3904
1 UC1 STM32F103C8T6 NEEDS TO BE 124kb

Additional Parts List

Qty Index Desc
2 DISP1, DISP2 Red Common Cathode 14 segment display
6 COLOR, FM, OUT, TIMBRE, TRIG, VOCT Vertical jack connector
6 R19-R21, R36-R38 10k linear pot, 15mm shaft
1 SW1 Encoder, 24 steps w/ clicks, w/ switch
Headers
Single row male 1X06, 1X10, 1X8, 1X09
Single row female 1X10, 1X8, 1X09,
2 Female header for the blue pill (optional) 1x20
Euro power 2x05 (Preferably shrouded)
Programmer
Programmer to program the STM32 board
Alternative Serial "programmer" or FTDI's or CH430

Software

  • Software backup

Uploading Code to Blue Pill

BluePill Jumper.png

  • After programming, set jumpers on Blue Pill module set towards USB jack

Checkout

  • Programming needed the braids_bootloader.hex and Braids_Renaissance_Through-Hole_1.hex files
  • One of the Blue Pill cards had 64KB and could not be programmed with the Braids_Renaissance_Through-Hole_1.hex file
  • Other Blue Pill worked
  • Q6 was backwards
  • Was missing one of the 100 Ohm resistors
  • Working, 100% (as far as I could test

Videos