Monthly Archives: March 2007

Serial Server for Flash, etc.

I got tired of the problems with the various serial server solutions for Flash, so I wrote this Processing sketch to do the job…. But it will allow you to connect a Flash movie to a serial port by making an XML socket to localhost in order to access the serial port. Continue reading

Posted in Processing | Comments Off

Devantech CMPS03 digital compass reader

This code reads a Devantech CMPS03 digital compass on Wiring or Arduino using the Wire library for I2C. /* CMPS03 compass reader language: Wiring/Arduino Reads data from a Devantech CMP03 compass sensor. Continue reading

Posted in arduino/wiring | Comments Off

Devantech SRF02, 08, 10 Ultrasonic Ranger reader

This code reads a Devantech SRF02 ultrasonic ranger (and probably an SRF08 and SRF10 as well) It uses the Wire library for Wiring and Arduino. /* SRF02 sensor reader language: Wiring/Arduino Reads data from a Devantech SRF02 ultrasonic sensor. Continue reading

Posted in arduino/wiring | Comments Off

Writing Serial Port Data to a Text File

Need to write incoming bytes from a serial port to a text file? Continue reading

Posted in OSX | Comments Off