News of The Wolf

Random, hopefully interesting technical ramblings

Posts Tagged ‘interactive’

Twitter Popularity Meter – Code

Posted by chemicaloliver on 06/10/2009

Recently I’ve been working on a popularity meter which searches twitter and displays a bar graph of the popularity of the search term on an LED Matrix driven by an Arduino. It currently relies on a PHP script on my webserver to do the actual twitter search and the arduino reads the page via ethernet and then displays the number on it bar graph.

Arduino Twitter Meter

Arduino Twitter Meter

Read the rest of this entry »

Posted in Electronics, Internet, Programming, Software | Tagged: , , , , , , , | Leave a Comment »

Powershell and arduino serial communication

Posted by chemicaloliver on 25/09/2009

After struggling to get a bash script to send data from curl correctly to my arduino over serial I resorted to windows and found that communication over serial can be quickly achieved using the Powershell (the new cmd). I naively assumed it would be easier in linux than windows however the Powershell does seem to be quite a match for bash. I achieved what had taken me hours in Linux in about 10 minutes. The following example code shows the connection to the arduino and how to send data to any serial device This can of course be formed into a more sophisticated script or just run line by line:

$port= new-Object System.IO.Ports.SerialPort COM3,9600,None,8,one #opens serial port - adjust parameters accordingly
$ #opens serial connection
$port.Write("Hello World") #writes your content to the serial connection
$port.Close() #closes serial connection

If you are not sure of the name of your serial ports then you can list them in the powershell:


Posted in Programming, Software | Tagged: , , , , , , , , , , , | Leave a Comment »

Writing a GUI in Processing

Posted by chemicaloliver on 15/05/2009

When I first started looking into the Processing language it is quickly apparent that out of the box there is very little in the way of handling user input by way of GUIs. This has been rectified in a very nice way by the team who developed controlP5 this is in my opinion the easiest GUI library I’ve ever used enabling me to create sliders and knobs in a matter of minutes, having programmed very little in processing before. What I came up with is the start of the interface for my planned ardunio controlled synth system:

My controlP5 GUI example

My controlP5 GUI example

Read the rest of this entry »

Posted in Internet, Programming, Synthesis | Tagged: , , , , , , , | Leave a Comment »

My First Synthesizer

Posted by chemicaloliver on 14/05/2009

Today I started the first stage in what may become online collaborative synth music performance system, I built a very basic synthesizer.

My design is based on one kindly posted on hackaday which I built on stripboard (very badly). It produces a simple square wave using a hex inverter IC and a capacitor and resistor, the hackaday article also details how to build in an LFO and other bits and pieces however I’ve saved for the next version which intend to package in a nice box al la amazing rolo.

I have often noted people having difficultly locating reasonably priced parts for this type of project online, all parts for this project were sourced in the UK from who I found to provide exemplary service for a very good price, especially if you order only a small number of items.

The next version will have more controls and in parallel to this I’ve just received an arduino, this will be used with a digital potentiometer to control the synth parameters in the first instance via a GUI probably written in java or processing and then eventually PHP.

Posted in Electronics, Synthesis | Tagged: , , , , , | Leave a Comment »