Teensy based DIY projects


#1

I’ve finally finished the MIDI USB pedal that I mentioned I was prototyping a while ago. I’ve put some build details here along with source code http://www.cutlasses.co.uk/cutlasses/?p=149 . It’s fully programmable and has an LED which flashes in time to the MIDI clock. I’m really impressed with TEENSY as a platform. So easy to get started with minimal electronics experience. Next up I want to have a go at making some TEENSY based Eurorack stuff. Starting with a simple 12-bit digital delay. Does anyone here have any experience of similar projects? I thought there’d be loads of people doing it, but I haven’t found that many. I’ve just got myself a Radio Music DIY kit (my first Eurorack module). https://www.thonk.co.uk/shop/radio-music-full-diy-kit/ Hopefully building this will set me in good stead to design and build my own.


#2


#3

The Neutron Sound Orgone Accumulator is a Teensy-based oscillator.

I’ve got a few small projects kicking around on them - nothing worth sharing yet, but one might become moderately meaty. It helps particularly that the Teensy 3 has a single pin DAC on it - but you might also want to investigate external DACs, possibly in the form of the Teensy Audio Board.


#5

Ah, that looks interesting.

Is the reason you suggest investigating other DACs because the converters in the Teensy don’t sound very good? I think I remember @tehn saying something similar? My plan is to implement something on the standard Teensy, then if I actually finish it I’ll get a Teensy Audio Board to improve the resolution and potentially have better converters. I’d be interested to see what you are working on @infovore when you are ready to show something off!


#6

Other DACs just in case you want more than one channel of it, or higher bitrate.

The Teensy 3.1/3.2 has a single pin of 12-bit DAC. This is what the Radio Music uses for its mono audio out. You might want higher quality outputs, or more of them, hence looking at other DAC chips. The Teensy Audio board, for instance, has a two-channel 16-bit DAC on it.

You can approximate analogue output using PWM from a digital pin, but it’s revolting and I wouldn’t recommend it at all.

“Something to show off” feels a way off - and when I do, it’s going to be a thing for manipulating triggers (and specifically, clock) rather than audio-rate CV.


#7

Oh I see, thanks for the explanation. Well, mono should be fine for my initial experiments. Looks like pin A14 from the schematic…


#8

Yep, it’s that single odd pin on the bottom row.


#9

I bought a few to build with a while back, but that was almost a year ago now and nothing much done at all :pensive:


#10

http://bleeplabs.com/ has some (non-eurorack) Teensy projects, which I think are open sourced (Delaydelus, Thingamagoop 3000 (?))

Besides RM and NeutronSound, I’ve also built this: https://github.com/mxmxmx/O_C/tree/asr

(There’s more Teensy projects in that repo).

MacroMachines Omni I think is basically a Teensy. But I’m not sure it’ll be open-sourced.

Bastl seems to have something in the works (Take a look at their github). Difficult to tell what though.

If you don’t mind gcc/JTAG, the NUCLEO-F303K8 seems like a nice/cheap alternative. 3 DAC channels and it’s a M4F. I think (never tried), there’s a libMaple (=quasi Arduino IDE) port.


#11

Just put together a video of my latest DIY project. Again it’s Teensy based. This time in the Eurorack format, making use of the Teensy Audio Shield. It essentially samples small sections of live audio and lets you manipulate them. https://www.youtube.com/watch?v=Wnd8HAyvk2A


#12

this is great! you might want to consider moving power regulation onto the board - and also some reverse polarity protection…

(I got the boards for the prototype of the thing I mentioned waaay earlier in this thread back last week. first notes from the 0.1 code: it’s really fun. can’t wait to share more).


#13

aha - here’s a grab of what I’m currently working on:

which came back from fab last week. Amazingly, it basically is already working in simple form, and now the real job is overhauling the firmware. I imagine it won’t be a Teensy forever: the code is mainly math and logic, so I think this is going to be an ATMega directly on the board, which will be a new adventure for me. Still. My first time sandwiching two boards and it all working OK.


#14

Cheers! I wanted to keep the circuit relatively simple as it was the first time getting a pcb fabricated, so left out any power regulation etc. It’s just connected directly to the 5v line on the Eurorack power. Seems to work for my prototype needs. I might add it to the next version of the pcb, along with more jacks for CV input, although the Teensy Audio shield hogs a lot of the analogue inputs.

Will you be putting up more details of your project soon? Looks great!!


#15

eventually! I kinda want to have something like a 1.0, though, because the thing it’s doing is both relatively straightforward and yet… somewhat unique? I’d rather just go “here is a thing, it is done” than get a bit held up. It’s intended to ultimately be a DIY project, I think.

Good luck with your second version - more than happy to offer input/a hand. I reckon you can get several HP off that PCB if you’d like to, easily - there’s bags of space - and that’s before you put in power reg/protection. Although 5V from 12V is as simple as a regulator and a capacitor, pretty much.

More importantly, though, like I said, loving the sound and functionality as it stands.


#16

Yeah, I could definitely do a more compact version of the PCB. I was just learning Eagle at time, man, that software has a steep learning curve! Cheers for the offer of help.


#17

yeah, EAGLE is… challenging. Having spent ages wrapping my head around it, I’ve developed a kind of Stockholm Syndrome - I’m actually rather attached to it now, and have got quite fast to the point it’s usually quite enjoyable. I describe routing as a really, really compulsive puzzle game, to people who can’t see the charm. I still learn new things in it every day, though - always trading tips with other DIYers…

As you’ve probably found, though, the easiest way to learn it is to have a friend to teach or answer questions - the documentation online is all quite spare.


#18