Deprecated: Array and string offset access syntax with curly braces is deprecated in /var/www/dittegetnamn.se/public_html/misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php on line 479
Dittegetnamn | Page 4 | When electronic stuff makes noise

Error message

  • Warning: ini_set() [function.ini-set]: Headers already sent. You cannot change the session module's ini settings at this time in include_once() (line 290 of /var/www/dittegetnamn.se/public_html/sites/default/settings.php).
  • Warning: ini_set() [function.ini-set]: Headers already sent. You cannot change the session module's ini settings at this time in include_once() (line 291 of /var/www/dittegetnamn.se/public_html/sites/default/settings.php).
  • Warning: ini_set() [function.ini-set]: Headers already sent. You cannot change the session module's ini settings at this time in include_once() (line 299 of /var/www/dittegetnamn.se/public_html/sites/default/settings.php).
  • Warning: ini_set() [function.ini-set]: Headers already sent. You cannot change the session module's ini settings at this time in include_once() (line 306 of /var/www/dittegetnamn.se/public_html/sites/default/settings.php).
  • Warning: ini_set() [function.ini-set]: Headers already sent. You cannot change the session module's ini settings at this time in drupal_settings_initialize() (line 819 of /var/www/dittegetnamn.se/public_html/includes/bootstrap.inc).
  • Warning: session_name() [function.session-name]: Cannot change session name when headers already sent in drupal_settings_initialize() (line 831 of /var/www/dittegetnamn.se/public_html/includes/bootstrap.inc).
  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/dittegetnamn.se/public_html/misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php:479) in _drupal_bootstrap_page_cache() (line 2707 of /var/www/dittegetnamn.se/public_html/includes/bootstrap.inc).
  • Warning: session_set_save_handler() [function.session-set-save-handler]: Cannot change save handler when headers already sent in drupal_session_initialize() (line 242 of /var/www/dittegetnamn.se/public_html/includes/session.inc).
  • Warning: session_id() [function.session-id]: Cannot change session id when headers already sent in drupal_session_initialize() (line 266 of /var/www/dittegetnamn.se/public_html/includes/session.inc).
  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/dittegetnamn.se/public_html/misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php:479) in drupal_send_headers() (line 1503 of /var/www/dittegetnamn.se/public_html/includes/bootstrap.inc).
  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/dittegetnamn.se/public_html/misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php:479) in drupal_send_headers() (line 1503 of /var/www/dittegetnamn.se/public_html/includes/bootstrap.inc).
  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/dittegetnamn.se/public_html/misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php:479) in drupal_send_headers() (line 1503 of /var/www/dittegetnamn.se/public_html/includes/bootstrap.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6659 of /var/www/dittegetnamn.se/public_html/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6659 of /var/www/dittegetnamn.se/public_html/includes/common.inc).
  • Notice: Trying to access array offset on value of type int in element_children() (line 6659 of /var/www/dittegetnamn.se/public_html/includes/common.inc).
  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/dittegetnamn.se/public_html/misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php:479) in drupal_send_headers() (line 1503 of /var/www/dittegetnamn.se/public_html/includes/bootstrap.inc).
  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/dittegetnamn.se/public_html/misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php:479) in drupal_send_headers() (line 1503 of /var/www/dittegetnamn.se/public_html/includes/bootstrap.inc).
  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/dittegetnamn.se/public_html/misc/typo3/phar-stream-wrapper/src/PharStreamWrapper.php:479) in drupal_send_headers() (line 1503 of /var/www/dittegetnamn.se/public_html/includes/bootstrap.inc).
  • Deprecated function: implode() [function.implode]: Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/dittegetnamn.se/public_html/includes/common.inc).

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.

Bleepdrum_arduino_midi.jpg

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

Pages