News of The Wolf

Random, hopefully interesting technical ramblings

Archive for the ‘Software’ Category

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 »

Advertisements

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
$port.open() #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:

[System.IO.Ports.SerialPort]::getportnames()

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

Fritzing! (A new electronics CAD Program)

Posted by chemicaloliver on 20/05/2009

While I’ve been experimenting with circuits and ardunio stuff recently I’ve been looking for a simple solution for converting a schematic to a breadboard/stripboard design, I’ve explored a few options like stripboard magic and eagle and non seem to be ideal however today I came across a new project via twitter.

Fritzing is an open-source initiative to support designers, artists, researchers and hobbyists to take the step from physical prototyping to actual product”

Available here

It allows the user to create circuits in a simple drag and drop environment on a 3D breadboard complete with arduino template, it can then convert this design into a schematic or etchable pcb and vice versa. It is still very much in development but from my initial playing looks like a very promising project.

fritzing-breadboard

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