electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Articles  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links  |  Store
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » Arduino
Arduino MIDI Clock
Post new topic   Reply to topic
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
ixtern



Joined: Jun 25, 2018
Posts: 23
Location: Poland

PostPosted: Tue Oct 30, 2018 1:45 am    Post subject: Arduino MIDI Clock
Subject description: MIDI Clock based on Arduino Nano
Reply with quote  Mark this post and the followings unread

This is my first prototype Eurorack module - MIDI Clock. Heart of it's construction is the Arduino Nano module. Code was mainly based on Dieter Van de Walle "arduino-midi-clock".
Specification:
- BPM range: 40-300,
- BPM blinking LED indication,
- 2 MIDI Clock Outputs,
- BPM Sync short pulse output,
- BPM Sync long pulse output,
- Internal MIDI Clock and BPM Sync connector,
- Start/Stop button,
- Continue/Stop button,
- 0.96" OLED display,
- Encoder for BPM setting,
- Encoder's switch for encoder step toggle (x1 or x10).

Components were soldered on the common prototype PCB using teflon-coated 28-30AWG wires for connections.
Notice: Hardware debouncer (MC14490) was used just for fun and to test it, in your construction you can
connect buttons directly to the Aduino Nano inputes and use software debouncer.
If you wonder why there are free MC14490 inputs left instead to be used for encoder pins then the reason
is different debounce time needed for button and for encoders.
C101 (47nF) connected to the pins 7 and 9 of the MC14490 sets debounce time appropriate for buttons.
Recommended capacity for encoders is 1.5nF (5 ms delay). Nevermind, it's just a curiosity, you don't need it.

Module is supplied by standard Eurorack 16-pin (2x8) connector, so it is possible to have not only +5V outputs
but also +12V (or +15V, depends on your power supply). An additional transistor and resistor is needed for such output
(like the blinking LED circuit).

For testing purposes module may be supplied from standard microUSB +5V through Arduino Nano USB connector.

Front panel file in Front Panel Designer is included.

Kicad files with project/schematic are also included (no PCB project as I didn't needed it).
sym-lib-table file should be edited in text editor to point correct path to the MC14490 library.
MC14490 library files should be placed in the Kicad lib folder (or where you want if all paths in Kicad are correctly set).
[/img]


MidiClock_sch.jpg
 Description:
Arduino MIDI Clock schematic file
 Filesize:  368.85 KB
 Viewed:  26 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

MidiClock_sch.jpg



MidiClockPulses.png
 Description:
MIDI Clock output signals
 Filesize:  13.94 KB
 Viewed:  7 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

MidiClockPulses.png



MIDI_CLOCK_sch.pdf
 Description:
Arduino MIDI Clock schematic PDF file

Download
 Filename:  MIDI_CLOCK_sch.pdf
 Filesize:  107.28 KB
 Downloaded:  9 Time(s)


ArduinoMIDIClock.ino
 Description:
Arduino sketch for MIDI Clock

Download
 Filename:  ArduinoMIDIClock.ino
 Filesize:  14.37 KB
 Downloaded:  10 Time(s)


IXT-MIDI_CLOCK.fpd
 Description:
MIDI Clock panel (Front Panel Designer file)

Download
 Filename:  IXT-MIDI_CLOCK.fpd
 Filesize:  1.41 KB
 Downloaded:  11 Time(s)

Back to top
View user's profile Send private message
ixtern



Joined: Jun 25, 2018
Posts: 23
Location: Poland

PostPosted: Tue Oct 30, 2018 1:50 am    Post subject: Reply with quote  Mark this post and the followings unread

Additional files for Arduino MIDI Clock.


20181027_120541.jpg
 Description:
Clock "main board"
 Filesize:  1.71 MB
 Viewed:  6 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

20181027_120541.jpg



20181027_121358.jpg
 Description:
Crude panel
 Filesize:  1.93 MB
 Viewed:  5 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

20181027_121358.jpg



20181027_120721.jpg
 Description:
Wiring of panel
 Filesize:  2.38 MB
 Viewed:  6 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

20181027_120721.jpg



20181027_121100.jpg
 Description:
OLED display mounting
 Filesize:  1.31 MB
 Viewed:  5 Time(s)
This image has been reduced to fit the page. Click on it to enlarge.

20181027_121100.jpg



IXT-MIDI_CLOCK_with_refs.pdf
 Description:
MIDI Clock panel with reference points

Download
 Filename:  IXT-MIDI_CLOCK_with_refs.pdf
 Filesize:  6.58 KB
 Downloaded:  7 Time(s)

Back to top
View user's profile Send private message
ixtern



Joined: Jun 25, 2018
Posts: 23
Location: Poland

PostPosted: Tue Oct 30, 2018 6:53 am    Post subject: Reply with quote  Mark this post and the followings unread

Kicad files for Arduino MIDI Clock.


Kicad_MidiClock.zip
 Description:
Kicad files for Arduino MIDI Clock

Download
 Filename:  Kicad_MidiClock.zip
 Filesize:  15.43 KB
 Downloaded:  5 Time(s)

Back to top
View user's profile Send private message
ixtern



Joined: Jun 25, 2018
Posts: 23
Location: Poland

PostPosted: Tue Oct 30, 2018 2:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

As you can see on the photos, IC used in MIDI Clock is a 74HC4050, not 4050 as can be seen on a Kicad schematic. Simply Kicad haven't proper name in library and later I have forgotten to rename IC from 4050 to 74HC4050.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » Arduino
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
e-m mkii

Please support our site. If you click through and buy from
our affiliate partners, we earn a small commission.


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use