Xyloduino Prototype

Build Process, Hardware, arduino, prototype, xyloduino — JP @ February 17, 2009


Xyloduino from JP Sykes on Vimeo.

I’ll post some code and details of how it’s setup later tonight when I get home.

Arduino to Servo

Build Process, Software, arduino, servo — JP @ February 14, 2009

Spent a couple of minutes this afternoon playing around with my new SG90 servos I picked up on ebay for a steal. Initially I just wanted to get them talking with an arduino – which although initially looked easy, was a bit of a time vampire. Anyway, trick seems to be code like that attached, and ensuring you have the 5v unplugged until everything has updated and started (no idea why, but seems the loading voltage changes seems to freak the servo out.


int signalPin = 8; //servo signal pin

void setup()
{
pinMode(signalPin, OUTPUT);
}

void loop()
{
for (int i=0; i <= 100; i++) // turn to CCW end, hold 2 seconds
{
digitalWrite(signalPin, HIGH); // control signal high
delayMicroseconds(900); // for 900 uS
digitalWrite(signalPin, LOW); // control signal low
delay(10); // wait 20mS
}

for (int i=0; i <= 50; i++) // turn to CW end, hold 2 seconds
{
digitalWrite(signalPin, HIGH); // control signal high
delayMicroseconds(1100); // for 1500 uS
digitalWrite(signalPin, LOW); // control signal low
delay(1); // wait 20mS
}

}

Some useful reference sites, but be aware that neither of these I could get the code to work, but probably more my issue than the code:

http://principialabs.com/arduino-serial-servo-control/
http://itp.nyu.edu/physcomp/Labs/AnalogIn

Next step, aiming low, I want to get a button in max that will trigger the servo movement:

http://www.cycling74.com/forums/index.php?t=msg&goto=165203

Once I have that, I just need to replicate the action with the 6 other servos, work out how to attach hammers to them all, and then add some sort of step sequencer in max so I can have a 6 note analog drum kit.... that is until my xylophone arrives.

3 new projects in the works

General, Hardware, Music, Others Content, Software — JP @ February 3, 2009

RPM Challenge

10 songs in the month of February, I’m 2 songs in with 3 days down, so I’m ahead of schedule.  The album will be called Binary, and is a mish mash of stuff (so far at least).

Ableton to Max to Arduino to SX-150

I’m working on finding a way to make my sx-150 a black box synth.  The aim is to end up with a box with only a phono out and usb in, no knobs, buttons, or input.  First step will be trying out Mrbooks arduino control setup for the sx-150, the second step will be using a few digital potemtiometers to allow the arduino to control, what used to be controlled by the rotary knobs.  Then all I’ll need is a little max patch with those controls and I’ll have a digitally controllable analog sythn, for less than $50.

Ableton Midi clock to Max to Arduino to Music Box

This ones a little more adventurous.  The aim is to get a punch card music box, with a motor controlling the turning of the handle, this motor would be variable speeds to match a midi clock from abelton.  The music box will use something like guitar pickups to get the sound back into the computer for tweaking.  This project is largely influenced by Mapmaps awesome music box setup – just with an additional twist.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
(c) 2010 Nomeist | powered by WordPress with Barecity