The latest stuff done

Spiderbaby V2 (Arduino version)

A couple of years ago I did a small device grabbing midiclock and making some sort of trig from it. It was realized on a Attiny2313 and done completely in assembler. Assembler is a nice language!

But, time moves on and why not try C?

The MIDI Library was added and some small code was written.

What does the code do?

Well, not much really. It just checks if MIDI-messages such as START, STOP, CONTINUE, CLOCK is sent from a connected device such as a midi sequencer. Seperate handlers take care of what will happen when any of the messages are recieved. The trig-pattern (6 parellell outputs) is easy to expand or adjust. In the code it´s just cycling thru an array of 24 elements (midiclock is 24 ticks per quarternote).

The trig pattern will give you 6 parallell outputs on pin 2 to pin 7 on an Arduino Uno V3, and as mentioned before very easy to change. Connect the outputs to some circuit (maybe LED + resistor) and then to an output jack.

The midiinterface is a simple thing based on 6N138 but any variation will do.

The sketch

large_Spiderbaby V2-2_bb.jpg

If any help is needed, just contact me.

Caution: When uploading the sketch, disconnect the RX. RX is used to upload the sketch and this will fail if connected during uploading.

Loose alternator nut on ye olde Gixxer

This only happens to me.

Riding my old Gixxer (Suzuki GSX-R 750 1985) it suddenly started to sound really bad. Bad in the way of total engine failure. Shut down and transport home on a trailer. The noise seemed to be from the clutch. After draining the oil, the clutch cover was removed. Picture below is of the clutch. Notice something on the top behind the clutch itself?

GSXR 1985 750 clutch.jpg

Aha! Something is not okay.. let us take a closer look. See picture below.

GSXR 750 1985 error clutch.jpg

No, that doesn´t seem right. After some removal (including taking apart almost the whole engine in the frame) the alternator was pulled out. The alternator nut was loose and the washer (27 mm diameter and 2 mm thick steel) was gone. You can also see that the threads on the shaft was dented.

GSXR 1985 alternator bolt loose.jpg

A new bolt and washer was fastened in every way possible with a help from a friend. Loctite, locking bolt and so on. The nut was actually sanded down for the lock to engage securily on the damaged shaft. It will hold. I also had to take of the oil pan to find the remaining parts of the old washer. The washer just fell down to the bottom of the oil pan.. luckily..and was found.

GSXR 750 1985 new alternator bolt.jpg

After mounting it all together with new gaskets and some gasket glue.. it run´s fine again! Yeah!

Bleep Drum - now with midi

I got hold of a Arduino Uno R3, with a Atmega328 (picopower) mounted. So, what to do with it?

A drummachine!

The Bleep Drum looked nice. The schematics and the code is on the site. The kids loves it!



When I actually got around to making a more sturdy front panel, I noticed it had a midi-update! Soon enough, I managed to get the code working (with help from Dr. Bleep and a zipped MIDI-library for the Arduino). Midi input was realized using 6N138, 1N4148, 220Ohm, 270Ohm classic circuit. Works like a charm! Just remember no implementation of midiclock, sync is done in another way which works fine.


The new front panel. The kids choose some of their favourite pictures for the panel.