I was recently asked for some help from someone having problems using 2 PING Ultrasonic range sensors. I promised to send some pictures of the setup as I hadn’t provided information on this in my previous post. So just in case anyone else is having problems, here they are. Hope they can help.
I’ve been playing around with the Arduino microcontroller recently and this is my first experiment. It’s a prototype for a future artwork that essentially acts as a primitive touchscreen device. I’ve used 2 PING))) Ultrasonic Range Sensors positioned at the top of my monitor. These measure the distance of any object placed in front of them. The Arduino board collects this data and passes it on to Flash via SerProxy.
I spent quite a lot of time trying to use Firmata, and AS3Glue but found that Firmata didn’t work with the PING Range Sensor. I’m fairly sure that AS3Glue requires the Board to be running Firmata so, as mentioned above, I settled for Arduino code from David Cuartielles. I wrote my own Actionscript to deal with the incoming data using the Socket and ByteArray classes. You can find an early rough version of this code here.
I'm a MAC and Windows 7 was my idea - taken from some random forum post on @meerface's monitor about Simon Aldous - Apple should employ him. - 3 days ago
RT @googlemar Mexico decriminalized possession of small amounts of drugs. New law allows five joints of marijuana or four lines of cocaine. - 3 days ago
Trying unsuccessfully to get to work. Train drivers don't want to work overtime? Hire more train drivers. - 3 days ago