This is a quick tutorial on how to log messages coming from your Arduino into your OSX box and save them in a file. I found this while debugging an Arduino//Ethernet project that had verbose server response that I needed to save. I passed Serial.print() and Serial.println() messages from Arduino into a terminal screen and recorded them into a text file with script. (The sequence for exiting script and leaving you with a readable file is important so read to bottom).
Read the rest of this entry »
arduino
Logging Serial Communication to a Text File (Arduino and OSX)
Processing – MIDI — GarageBand
Processing can be used as a MIDI controller with Garage Band — this brief tutorial will get you started. There are limitations to this system — but it is enough to do some simple sound experiments. This is a basic introduction only.
Read the rest of this entry »
Servo Control with an Arduino
Servos are a class of actuator that have built-in positioning feedback. They are composed of a motor and a circuit with a potentiometer (variable resister) and time decoders that are used for feedback and positioning. They are controlled with time-based commands known as pulse-width-control. Pulse-width-control is a cousin of PWM (pulse width modulation).
Read the rest of this entry »