Building the MIDI Clock Tile

Notes:

  • Make sure the MCP1702 is used and not the MCP1700. The MCP1700 can only handle up to 6V.
  • The ATTINY85 should be mounted in a socket to make it easier to update or reprogram. The 4n37 optocoupler can be soldered to the PCB.
  • Use a 4n37 and not a 4n28 or other optocoupler.
  • If the large M7 diode isn’t labelled on your PCB, it’s the largest unlabelled diode (labelled M7 below).

 


BOM:

Qty
Value
Device
Package
Parts
Description
Source 1
Source 2
1LEDLED3MMLED1LED
1100kResistorR0805R21RESISTOR
1100nCapacitorC0805KC5CAPACITOR
21kResistorR0805R3, R4RESISTOR
11n4148DiodeSOD323-WD8DIODE
21uCapacitorC0805KC1, C2CAPACITOR
1220rResistorR0805R15RESISTOR
12kResistorR0805R1RESISTOR
13.9kResistorR0805R20RESISTOR
14N37OptocouplerDIL06OPTOCOUPLER6-Pin Phototransistor Optocoupler
2BAT54SDiodeSOT23D3, D4Schottky Diodes
1M7DiodeDO214ACD1DIODE
1MCP1702-5LDO Power RegulatorTO92IC15V LDO VOLTAGE REGULATOR
1MIDI ConnectorPanelMIDI-INFemale CONNECTOR, DIN 5-180, Panel Mount.
23.5mm JackTHONKICONNCLOCK, START/STOP3.5mm socket for Eurorack modular synthshttp://shop.erthenvar.com/collections/accessories/products/3-5mm-inline-jackshttps://www.thonk.co.uk/shop/3-5mm-jacks/
1Tile power lead"Futaba J" style Tile power leadhttp://pulplogic.com/product/tile-tail/
1ATTINY85-20DIP08U1Atmel 8-pin 2/4/8kB flash uC
1IC SocketDIP08

Schematic:


Build Instructions:

map_7092_lznClean PCB with isopropyl alcohol to remove any manufacturing residues.

If necessary, separate panels carefully by gently flexing and twisting back and forth, ensuring that they break  cleanly at the “mouse bites”. File the leftover tabs down until flush with the edge of the panel or PCB.

Solder the surface mount devices.

Solder the through-hole parts, including power lead, but NOT the jacks, LED, or MIDI connector.


Prepare the MIDI connector by trimming lugs 1,2,3 (two outer lugs, and middle lug.) Cut them as close to the bottom as possible so they won’t scrape the PCB. Bend the two remaining lugs and ground lug vertical.


Mount the MIDI connector to the front panel using two m3 screws and bolts. Test-fit the panel to the PCB, bending the MIDI lugs to line-up with the PCB holes.

Solder the two jacks and the LED, using the front panel for alignment. DO NOT SOLDER THE MIDI CONNECTOR YET. Use the two 3.5mm jack nuts to hold the panel and MIDI connector to the PCB.


map_7094_lznCheck that there is no contact between the MIDI Connector and other components, particularly the power regulator leads and the optocoupler pins. Trim down any leads that looks like they could cause a problem.

At this point the MIDI connector should be making good contact with the PCB without soldering to allow for testing.


Check soldered connections for shorts, especially between the pins of the BAT-25S diode.

Apply power and check that pin 8 is getting 5V. If not check again for shorts.

Add the programmed microcontroller, and again apply power. The LED should flash briefly. Connect a MIDI cable (attached to a sequencer) and start a sequence. The LED should flash and CLOCK output should be sending a stream of pulses. If the sequencer is sending Start/Stop/Continue messages then the START/STOP output should go high when the sequencer starts, and go low when it stops.

If everything is working as it should, then tighten the nuts and solder the MIDI connector on the back of the PCB. Once it’s soldered the front panel cannot be removed without desoldering the MIDI connector.


map_7101_lzn

Done!