Ben Nicholas

Home Archives Projects Career

Arduino Cylon Eye

This is a geeky little project I did while I was kind of bored.  I figured I might as well post it up, since it might be useful to someone.  This just takes an array of LEDs hooked up to the PWM outputs of the arduino and smoothly oscillates along them, similar to the effect of the eyes from the cylons in Battlestar Galactica.  I know it is really geeky, but it was actually more effort than I though it would take.  I'm pretty happy with the version I have posted now.  it works, it looks pretty cool, and  it shouldn't be leaking memory or slow down over time.  

I hope you find some use for it.  At some point, I might consider charlieplexing the LEDs and getting some more resolution, but I just need some more experience and materials.  It's under the cyloneye directory on the github project.

Arduino Morse Code

So I got a little bored today waiting for a repairman to come.  While I was bored I started playing around with my arduino.  This is mostly just learning how the arduino works, but it might come in handy in certain circumstances.  This is under the morse folder on the GitHub project.  

The script reads from serial input and outputs the letters as morse code.  For the most part, it handles everything, but there are a few uncommon characters that it doesn't read right now.  I may update later with more characters.  As a regex it currently handles (a-z0-9.,!?) and spaces.  

EDIT: The newest version also includes audio output.  Ugly square wave output, but it doesn't involve extra hardware.  You can play around with a few of the variables to get the tone to change.

I hope somebody finds a use for this at some point.  Feel free to comment.

Project:CMS

This is the custom CMS that is currently driving this site.  I've gotten it to a point I feel safe in using for my site, but I would not recommend anyone else use it just yet.  By the time I release what I'm going to call version 2.0, it should be ready for anyone to use.  However right now it is far to specific to my requirements for others to use.

Despite the unpolished nature, you are free to take a look at it if you feel like it.  I make no guarantees as to the quality of the code, but if you want to know how I do something, check it out.  Most of the code is well documented, and it will get better as time goes on.  I hope some of it helps you solve any problem you might be having.


External Projects

Me on GitHub

Me on SourceForge