MIDI Beat Clock (Arduino-powered)

Cwejman, Livewire, TipTop Audio, Doepfer etc... Get your euro on!

Moderators: lisa, luketeaford, Kent, Joe.

Post Reply
User avatar
solarmodulars
Common Wiggler
Posts: 118
Joined: Mon Jan 31, 2011 10:39 pm
Location: north gate

MIDI Beat Clock (Arduino-powered)

Post by solarmodulars » Thu Apr 14, 2011 12:43 pm

MIDI Beat Clock
by Tom Whitwell

[video][/video]

"Midi / pulse clock divider, with swing, running on arduino"

8_) Nice DIY.

User avatar
Tombola
Super Deluxe Wiggler
Posts: 1878
Joined: Sun Jan 23, 2011 11:33 am
Location: London, England

Post by Tombola » Thu Apr 14, 2011 1:00 pm

Last edited by Tombola on Thu Apr 14, 2011 6:55 pm, edited 2 times in total.

User avatar
wetterberg
Super Deluxe Wiggler
Posts: 7673
Joined: Thu Jul 24, 2008 5:31 pm
Location: Copenhagen, Denmark.

Post by wetterberg » Thu Apr 14, 2011 2:21 pm

Tombola wrote:Will do a post in the DIY forum with some details about the schematic/code.
yes please :)

User avatar
matttech
Super Deluxe Wiggler
Posts: 9696
Joined: Wed Feb 23, 2011 1:12 pm
Location: Manchester, UK

Post by matttech » Thu Apr 14, 2011 2:22 pm

Tombola wrote:Thank you! There is now a qmmg in the next space along, which makes for a better class of demo.

Will do a post in the DIY forum with some details about the schematic/code.
hey mate - PM me about the filter (not sure what's up with my messages, but some don't seem to have been sent, and yours came up blank)

User avatar
reignbear
Super Deluxe Wiggler
Posts: 1170
Joined: Sat Dec 19, 2009 7:12 pm
Location: Long Beach/santa ana

Post by reignbear » Thu Apr 14, 2011 4:04 pm

well this pretty much rules. :sb:
just out of curiosity what is the depth of the build?

User avatar
wetterberg
Super Deluxe Wiggler
Posts: 7673
Joined: Thu Jul 24, 2008 5:31 pm
Location: Copenhagen, Denmark.

Post by wetterberg » Thu Apr 14, 2011 4:08 pm

reignbear wrote:well this pretty much rules. :sb:
just out of curiosity what is the depth of the build?
low pin count... arduino... You can probably run this on a tiny breadboard and this:

ImageNote; 0.7"*1.3" :sb:

User avatar
reignbear
Super Deluxe Wiggler
Posts: 1170
Joined: Sat Dec 19, 2009 7:12 pm
Location: Long Beach/santa ana

Post by reignbear » Thu Apr 14, 2011 4:18 pm

@wetterberg :guinness:

User avatar
matttech
Super Deluxe Wiggler
Posts: 9696
Joined: Wed Feb 23, 2011 1:12 pm
Location: Manchester, UK

Post by matttech » Thu Apr 14, 2011 4:25 pm

Tombola wrote:Thank you! There is now a qmmg in the next space along, which makes for a better class of demo.

Will do a post in the DIY forum with some details about the schematic/code.
hi tombola - you messaged me about a doepfer filter but for some reason your latest message came through blank, and ones i've sent you just go to my outbox, but don't appear to have been sent

you can get me on pencilpreston@hotmail.com if you want

cheers

sandyb

Post by sandyb » Thu Apr 14, 2011 4:54 pm

matttech wrote:...
hi tombola - you messaged me about a doepfer filter but for some reason your latest message came through blank, and ones i've sent you just go to my outbox, but don't appear to have been sent

you can get me on pencilpreston@hotmail.com if you want

cheers
how the PM system works here:
viewtopic.php?t=29818

hth

sandy

User avatar
Tombola
Super Deluxe Wiggler
Posts: 1878
Joined: Sun Jan 23, 2011 11:33 am
Location: London, England

Post by Tombola » Thu Apr 14, 2011 6:01 pm

reignbear wrote:well this pretty much rules. :sb:
just out of curiosity what is the depth of the build?
It's not especially deep - about two inches?

You don't need to use an actual arduino board, or even the Mini that Wetterberg linked to, just the 28 pin Atmel chip with a (very) few supporting components

Image
DIY module by Tom.Whitwell, on Flickr

User avatar
jimmyambulance
Ultra Wiggler
Posts: 846
Joined: Wed Dec 08, 2010 11:50 am
Location: Boston-area

Post by jimmyambulance » Fri Apr 15, 2011 11:46 am

want to share your code at all?

i've been wanting to make an arduino module and i have 2 unused minis around. i'm not the best at electronics and my concern is the details - did you use protection on your jacks? what kind of signal can it accept/put out? i'm assuming you can use the doepfer-style connector to the 5v?

sorry for all the questions...

User avatar
wetterberg
Super Deluxe Wiggler
Posts: 7673
Joined: Thu Jul 24, 2008 5:31 pm
Location: Copenhagen, Denmark.

Post by wetterberg » Fri Apr 15, 2011 2:06 pm

yes, I'm more interested in how the i/o is handled :) I don't need midi at all.

User avatar
nickciontea
brownshoesonly
Posts: 1268
Joined: Wed Feb 03, 2010 10:37 am
Location: Chicago
Contact:

Post by nickciontea » Fri Apr 15, 2011 2:23 pm

outputs are straight off the digital outs.. High and low.. real simple.

the digital outs are great for clocking, logic, and gates.

for a simple clock and divider w/0 midi.. i would use an interrupt based program. this way you can reset and even do tap tempo.

i wanna try to make an arduino module with some jacks, knob, and one switch that designates what 'program/module" to run.

User avatar
Tombola
Super Deluxe Wiggler
Posts: 1878
Joined: Sun Jan 23, 2011 11:33 am
Location: London, England

Post by Tombola » Fri Apr 15, 2011 6:48 pm

jimmyambulance wrote:want to share your code at all?
did you use protection on your jacks? what kind of signal can it accept/put out? i'm assuming you can use the doepfer-style connector to the 5v?

sorry for all the questions...
If you PM me I'll send the code - it's pretty scrappy, not in a state I'd want to 'publish'

Didn't use any protection. The outs are straight from the digital pins. The point is it's literally an Atmel 328 with a few supporting analog components = cheap in everything but your time.

I've fired probably +/- 6v into the inputs with no trouble. You *should* protect the inputs with diodes etc.

Doepfer connector has 5v. I used the Synovatron proto kit, and cut a trace to get 5v distributed around the board.

User avatar
Tombola
Super Deluxe Wiggler
Posts: 1878
Joined: Sun Jan 23, 2011 11:33 am
Location: London, England

Post by Tombola » Fri Apr 15, 2011 6:58 pm

wetterberg wrote:yes, I'm more interested in how the i/o is handled :) I don't need midi at all.
Digital in = simple - easy to read pulses and act on them
Analog in = simple, you have 1024 levels of precision in theory, but I wouldn't expect anything like that in practice, but knobs and simple voltage control should be OK
Digital out = really simple. You should buffer/boost the pulses, but not totally necessary
Analog out = tricky with any precision. Quantizers and midi/cv modules are usually built around micro controllers like the Atmel, but coded properly, and using proper d-to-a converters.

MIDI is actually simple because it's just serial data, which Arduino can read. The circuit on the board is just protection (for your synth/keyboard/MPC) and inversion.

User avatar
Parametex
Veteran Wiggler
Posts: 569
Joined: Sat May 09, 2009 4:08 pm

Post by Parametex » Sat Apr 16, 2011 3:26 am

This is very cool!

A ong while I have been wondering why why there has not been a din sync modules produced!

Well done!

User avatar
synthomaniac
Veteran Wiggler
Posts: 515
Joined: Tue Oct 26, 2010 1:40 pm
Location: Portsmouth UK

Post by synthomaniac » Sat Apr 16, 2011 9:05 am

Tombola wrote:Doepfer connector has 5v. I used the Synovatron proto kit, and cut a trace to get 5v distributed around the board.
That's great feedback - I'll consider adding improved 5V support on-board when I design the Rev2 version of the Synovatron DIY kits later this year; perhaps by just having a few user-configurable busses.

User avatar
Monobass
thonk.co.uk
Posts: 8792
Joined: Fri May 29, 2009 5:39 pm
Location: Brighton, UK
Contact:

Post by Monobass » Tue May 03, 2011 3:29 pm

hey synthomaniac... ever considered doing some uk module building workshops? I can build kits fine, but anything more is a bit daunting.
Thonk - CLICK HERE - Modular Synth DIY + Eurorack Accessories Store

User avatar
Tombola
Super Deluxe Wiggler
Posts: 1878
Joined: Sun Jan 23, 2011 11:33 am
Location: London, England

Post by Tombola » Wed May 04, 2011 1:57 am

Monobass wrote:hey synthomaniac... ever considered doing some uk module building workshops? I can build kits fine, but anything more is a bit daunting.
Would be a great idea. I got started in this after going to a Tom Bugs workshop in London.

User avatar
Low-Gain
Super Deluxe Wiggler
Posts: 2695
Joined: Thu Apr 22, 2010 12:49 pm
Location: Milwaukee, WI

Post by Low-Gain » Wed May 04, 2011 6:43 am

well so much for that module. lol.
I had one in the works almost just like this one. more division outputs though + a few other features..

lol.

Looks great!

User avatar
snufkin
Ultra Wiggler
Posts: 807
Joined: Mon Jan 04, 2010 6:43 pm

Post by snufkin » Wed May 04, 2011 7:49 am

would totally be up for a workshop guys :hyper:

I have quite a bit of diy soldering experience and even a scope I could bring (although I'm not sure its calibrated) however i lack some of the technical knowledge useful in debugging and more complex builds

always good to build stuff together and share skills
WTB: any Digisound80 / Digisound 80 faceplates/pcbs/kits.

User avatar
synthomaniac
Veteran Wiggler
Posts: 515
Joined: Tue Oct 26, 2010 1:40 pm
Location: Portsmouth UK

Workshops

Post by synthomaniac » Tue May 17, 2011 7:49 am

@Monobass, Tombola and snufkin

Workshops sounds like a great idea - I thought it might be neat to combine a workshop with a Modular Meet and have made an enquiry about doing that at the next London meet but that event is not looking too hopeful.

I have had some requests, in my DIY Prototyping Kit topic on Muffs, to take a design from concept through to build. One way is as an online project, a bit like an electronics mag project, but the other way is as a workshop.

I'd like to gauge the interest, location and content/format. So here are some questions:

How may people want to do this? Where are you located? What exactly do you want to get out of a workshop?

The options for the content/format are:-

Basic electronic theory - Ohm's law through to op-amps (simple arithmetic no heavy theory) - so you can work out the resistor values you need for an op-amp mixer for example or working out what value resistor you need for a LED running off 12V - that kind of thing. Signal parameters such as voltage, current, load and output impedance, frequency.

Basic synth building blocks - VCO, VCF, VCA, ADSR, LFO circuits - basic theory of voltage control, gates/triggers etc.

Basic skills - soldering, laying out a perf board, measurements with a scope and DMM.

A guided project - e.g. design a LFO, understand how it works, lay it out on a perf board, solder it together and test it. This could be done in a hardware agnostic way using a bunch of pots, components and perf board or could be done using a Synovatron prototyping kit with front panel for a more complete solution.

Please ping me your thoughts and contact any buddies who may be interested too. This will take some organising and commitment from everyone and I'm more than happy to present this if there is enough interest and we can accomodate everyone's needs.

Check out my blog for the CV Tools Project which is a bit ambitious for a one day workshop but gives you an idea of the design/development process (we could just do a build CV Tools Kit workshop if you fancy building one but need a bit of help).

http://synovatron.blogspot.com/p/cv-tools-project.html


Cheers
Tony
Synovatron Electronic Music
http://synovatron.blogspot.com
Eurorack DIY kits, modules (CV Tools, CVGT1, cvgt MM), AS-Doepfer Adaptors, Ribbon cables
http://soundcloud.com/monakrome

Post Reply

Return to “Eurorack Modules”