Showing posts with label Teensy. Show all posts
Showing posts with label Teensy. Show all posts

Wednesday, 10 September 2025

TSNM buchla format - build notes - part 2


 This PCB dates from 2017 ..It's a  Mark 1
There are modern ones using Teensy 4.0 ..... Mk II
which you can still buy.

This is part two on my build notes.
Part 1 is here:










Links

This  Mk I uses the old Teensy 3.2.
....















C22, C23 and IC 6 are not needed if your PSU has +5V



C16 & C21 - are these part of the +5v section of the PCB?
I've soldered c16 in anyway.







C6 --- DNP ??? do not place?













1N5819HW 2 D1, D2 DO-41 schottky rectifiers 511-1N5819











L1 = ??
L2 = ferric bead.
These are connected in parallel ... across either side of the PCB.
Thus I used one ferric beath .. the through hole one. (L1)



Caps : 47uF x 2 


-------------








C17 - 100n (SMD ceramic)?? I think this is not right.
looks like an electro maybe 33uF ??
Is it C21 in the BOM??
-----------------------------------














MPR121 board & headers
It's a Adafruit 12-Key Capacitive Touch Sensor Breakout. This connects to the touch plates of the front panel

Cut the trace on the bottom of Teensy next to VIN pin to separate VIN from VUSB. This prevents 
powering the Teensy simultaneously from USB and the eurorack power supply. 














Teensy 3.2 





The two pots - 10K B ... linear (B103)
Encoder












position  the two displays and LEDs














The lower header is tricky.
I had to do some gentle bending of the ends.

you need to keep enough room for the two matrix displays... the legs aren't long













Bend these headers so you can solder them directly to the front panel












This is a side on view

 to be continued.....

Monday, 9 June 2025

DOBOZ - Touch Sensing Note Memory - Buchla format 4U --- part 1

These are my build notes for the DOBOZ TSNM module
 I like the compact format.
Its a sequencer +
 
Here are some pics of the raw PCBs
 


There are two versions of this module .
One uses a teensy 3.2, and a second uses a teensy 4.0
i bought this board many years ago when teensy's 3.2 were plentiful.
I recently received a NOS 3.2, so thought I'd finish this build.


My board is from 2017. rev 1.0

MPR121 breakout board.


Links
+ BOM 


SEMICONDUCTORS first
Orientation of IC1-IC5 and IC7, Q1, D1 and D2 is clearly designated on the PCB. 

74HC595 2 IC3, IC4 - shift registers
mouser 595-SN74HC595DR
 

 

OPA171
IC5 
SOIC-8 operational amplifier 
mouser 595-OPA171AIDR



TL072
 IC1 
SOIC-8 dual operational amplifier 
mouser 595-TL072CDR
 
 


ADP150-3.3V 
IC7 TSOT-5 linear voltage regulator 
Mouser 584-ADP150AUJZ-3.3R7
 



"The trickiest part may be the DAC8560 (IC2), it’s a VSSOP-8 device. 
This is hand soldered
 

Use lots of flux , a fine soldering tip and fine solder.
... and a steady hand


--------------

MMBT3904 
Q1 SOT-23 NPN bipolar transistor 
Mouser ;512-MMBT3904
I didn't have this exact transistor.
I used this instead:



Encoder: ordered and arrived.
Mfr. No:
EN11-HSM1BF20
Mfr.:
TT Electronics
 
 

Resistors..


Some of the resistors need to have 0.1% tolerance
2 x 100K, (R1 & R15)
1K x 1, 
27k, 
33k, 

teensy 3.2
mouser
coco.


Wednesday, 12 January 2022

Build Your First Synth - Complete Workshop For Musicians and Artists

....

A great tutorial on building a basic synth. 

Good for the beginner who is interested in Arduinos, teensy's &  microcontrollers in general.

Wednesday, 24 July 2019

Teensy Audio Tutorial & Workshop

This looks like a good way to start learning about Arduino & Teensy microcontrollers.
The Teensy looks great  esp fro audio... Comes from a company called PJRC.
You can create all sorts of effects .... delay, chorus, reverb etc
It can also synthesize sounds etc etc.
You can get multichannel sound out of this  chip.

The Teensy 3.2 seems to be very popular. It's used in the Faderbank, and many Eurorack mosules such as the Radio Music / chord organ and the TELEX Teletype.

The Hackaday page is here
https://hackaday.io/project/8292-microcontroller-audio-workshop-had-supercon-2015

This uses a Teensy 3.2 and the audio adapter board

The workshop PDF is here.


....

 Audio library delay line demo





The analog pins are labeled A0 to A9

Connect the buttons to pins 0, 1, and 2
The pots connect to A1, A2 & A3

Audio input I2S. .... also called I²S (Inter-IC Sound).
" is an electrical serial bus interface standard used for connecting digital audio devices together. It is used to communicate PCM audio data between integrated circuits in an electronic device."
I2S is unrelated to the bidirectional I2C (IIC) bus. (Wikipedia).
https://www.cypress.com/file/133906/download

The I2S component operates in master mode only. It also operates in two directions: as a transmitter (Tx) and a receiver (Rx). The data for Tx and Rx are independent byte streams.

The Display:
https://www.pjrc.com/store/display_ili9341.html

Adding Pushbuttons.
To read the pushbutton, you must configure the pin to work as an input. (pinMode)
Then you can use digitalRead to actually read the pin.
There is no need to add a pullup resistor since the Teensy board provides a pullup resistor on every pin. This is built inside the chip itself.
Connect the pushbutton by wiring one side to ground and the other side to a pin.
You can activate the pullup resistor by using INPUT_PULLUP with pinMode in your setup function.

Adding Potentiomers
This uses the analog input side of the teensy.
Connect one of the outside pins to ground, and the other to 5V
The middle pin goes to the analog input
------------------------------------------------------
The microphone
Digi-Key Part Number 668-1296-ND

https://www.digikey.com.au/products/en?keywords=668-1296-nd





---------------------------------
The thumbnail pot
Digi-Key Part Number 3352T-253LF-ND
https://www.digikey.com.au/products/en?keywords=3352t-253lf-nd




---------------------
Putting the two boards together with headers

I'm using these
I removed the bottom spacers
Then soldered them to the main teensy board.

Next, attach female headers

Insert audio board & solder


--------------------------------------------------------------------------
Links
+Arduino workshops for beginners
+ Teensy Tutorials
+ PJRC Audio design system for Teensy
+ Teensy Audio Library
+ Sparkfun - 4 channel audio
+ Microcontroller Index Page
+ i2c protocol 
+ Kickstarter 3.6

Wednesday, 17 July 2019

FaderBank - 16n

Some of my build notes re the fader bank.
This is a eurorack compatible module, however it does use midi and i2c so I hope it is compatible with other synths.

The official website is here:
https://16n-faderbank.github.io/

You can make your own PCBs and panels for it.
Github
https://github.com/16n-faderbank/16n/tree/master/electronics

The module uses a teensy microcontroller

The official build notes are here:
https://github.com/16n-faderbank/16n/tree/master/build



cd 4067
This is a cmos 16 channel multiplexer


MCP6004
This is a quad op-amp

diodes: D1 to D4 are four SOD-123 diodes.

 R17 and R18 are 4.7k resistors.
+ If you plan on using I2C with an ER-301,
   Ansible or TXo, (ie I2C "MASTER" mode) you should populate the 4.7K resistors.
+ If you plan on using I2C with a monome Teletype,
   do not populate these resistors - it may well cause problems.

........................ I'll leave these off for the moment... see how it goes

16n’s I2C jack is a 3.5mm stereo jack wired as follows: tip SDA, ring SCL, and sleeve GND (ground).

 the stereo jack sockets for MIDI and I2C.


the 16 mono jacks. 





tHE Teensy 3.2

 Created by Paul Stoffregen and the team from PJRC, the Teensy 3.2 is a microcontroller development board running a 32-bit ARM Cortex M4 processor, clocking in at 72MHz (overclockable to 96MHz). It also packs 1MB of flash, 4K of EEPROM, and 34 I/O pins







The switch setects different types of MIDI connectors Arturia Vs Korg
 'Arturia/Novation' (tip is current source) and 'Korg/Makenoise' (ring is current source) standards; board is labelled such.



fLASHING THE Firmware
There are two ways to flash the microcontroller


The Build guide uses the Arduino IDE/Teensyduino software.
The first step is to plug your new Teensy in using the USB cable.

All brand new Teensy boards come with the LED blink program pre-loaded. You should see the Orange LED blink slowly, 1 second on, 1 second off.

Before you can flash your Teensy you will need two pieces of software:
1. The Arduino IDE
2. Teensyduino

First install the Arduino IDE. (I'm using version 1.8.9)


Next install Teensyduino


Within the Arduino IDE software application, you need to open the Tools men.
  

be sure to set the Board to Teensy 3.2, USB type to MIDI, CPU speed to 120mhz overclock.


Open the _16n_firmware.ino file in the Arduino IDE.

Flash the board (upload the file).

I ran into a few problems using this method ... compiling errors such as:

A friend suggested I try the simple Teensy Loader Application
https://www.pjrc.com/teensy/loader.html
This is the second method.
This, only uploads hex files.

And it worked perfectly.

Once you've flashed the firmware you will need to configure the controller.
It sends midi CC messages via the USB
The editor is at:
 
You should see a page like this

The 16 channels correspond to CC values from 32 to 47 (default)
You can of course customize this.


Links:

Credits

Based on original work by Brian Crabtree and Sean Hellfritsch.
Minijack MIDI, I2C circuitry and CV outputs by Tom Armitage.
Firmware by Brian Crabtree, Tom Armitage, and Brendon Cassidy.

-----------------------------------------------------------------------------------------------
For more Euro DIY builds click here:
http://djjondent.blogspot.com.au/2017/12/diy-index.html
-------------------------------------------------------------------------------------------------