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
Spiderbaby V2 (Arduino version) | Dittegetnamn

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).
  • 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).

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.