Hi, I'm Fuzzy.

This site, Fuzzy's Logic, is a dumping ground for things I find interesting. If you're looking for content I've personally generated you might want to head directly to one of my other sites:

Hi, I'm Fuzzy.

Swipe Card Jukebox

I think I've finally come up with a decent name for one of the projects I've tinkered with for a long time now. Previous I'd referred to it as RFID Music, but that doesn't help explain it to anyone who isn't a geek. Even if you know what RFID is then the you may be left pondering if you're swiping cards to actually make music.... a card for each note?

Swipe Card Jukebox does a better job.

I won't be renaming the github repo which is home to the underlying code, since I just see that mplayer-web-rfid-control is a fair explanation of what is going on under the covers.

I have been able to get my Swipe Card Jukebox set up as a stand alone system (which no longer relies on XBMC / Kodi). I'm able to trigger playback of music via either swiping an RFID card or via the system's website. My next bit of work will be in converting the old flat file database of card associations over to the new SQLite based database, as I don't really want to have to go through the steps of manually assigning the cards from scratch again.

R-Pi 2 Media Player

My Raspberry Pi 2 model B arrived and I've got OSMC Alpha 4 installed on a micro SD card. I was very impressed by the installation process, their installer is very slick. I didn't have any time to tinker with anything beyond getting it booted for the first time.

Here's my todo list:

  • switch to the default kodi skin; confluence (eases the change from XBian to OSMC)
  • I couldn't connect via ssh when I tried, I suspect the wifi device hasn't been detected
  • get the remote control working
  • plug the external drives which contain all our media into it
  • export the library from the old XBian setup (including watched status)
  • import library into OSMC setup
  • install and configure transmission
  • install and configure sickbeard
  • install and configure samba, so I can access the media files from my PC

Once I've switched us over to using this new OSMC system on the R-Pi 2 I can redeploy the old R-Pi as the base of my refactored RFID music triggering system. I've got a pair of speakers, another wifi dongle and external drive all ready to get that up and running. More on that as I get to it.

18 One Pan Breakfast Recipes

These 18 eggy, cheesy and sometimes meaty bread puddings stir together all of the usual breakfast table suspects into one stress-free casserole. (Of course, we scoured the Internet to uncover a couple just-as-delicious options for special diets.) And since each can easily be made ahead of time, they also make for the most hassle-free AM entertaining EVER. Get ready for some mouth-watering goodness ahead.

18 One Pan Breakfast Recipes

Raspberry Pi 2

I've placed an order for a Raspberry Pi 2. Alas I didn't get in quick enough when they were first announced and I'm now waiting on a back order being filled. It'll probably arrive in my hot little hands in 2 to 3 weeks. The wait isn't going to kill me, due to what I'm planning on using it for.

I'll be using it to replace the current first gen R-Pi I've been using as a media player, running XBian. I've been pretty happy with the performance of it; as I was able to use xbmc, sickbeard and transmission on it and have 3 external USB drives connected via USB hub. But lately we've noticed that it can get a little slow to respond and update the file listings in menus.

I'm looking towards switching the system over to use OSMC rather than XBian, they already have a build specifically for the R-Pi 2 and I like the approach they're taking. I suspect it'll be nice and speedy.

This will then free up the old R-Pi to take on the work of being the guts of my revamped RFID Music setup.

2014

Already a month into 2015 and I haven't really found the time or inclination to do any kind of 2014 wrap up post. I think mostly this is because last year was epic for a whole bunch of reasons which are completely unlike any I've included in a previous year wrap post. Normally I talk about games, movies and tv shows. I sprinkle in some stuff about technology and news.

Last year I became a Dad.

Games, movies, tv shows and technology all seem a little less important now.

I don't really want to post about all the amazing things, lessons and hurdles we faced as new parents; as proven by the fact that I set up daddyslogic.com and posted to it a total of about thrice before realizing that I was better off spending the energy being a Dad than posting about being a Dad.

The people who care about my trials and tribulations as a new Dad are on Facebook, where I've spammed a near continuous stream of photos and quips about the whole ordeal.

The one thing I will say is that I have found time to get deeply addicted to online sim racing, specifically iRacing. I started a blog for that too; fuzzysracing.blogspot.com. My interest in sharing thoughts and information about that topic hasn't waned yet.

iRobot Create 2

From beginner programmers to advanced robotics students, Create 2 allows for a variety of programming methods. Use it connected to your laptop, with a microcontroller or come up with your own solutions. You can also go beyond programming and build on to your robot, attaching sensors, electronics, grippers and other cool things.

iRobot Create 2

Juggle Music

I've made some progress with my Juggle Music project, there is a public repo over on github where I'm managing the code.

After more research I decided to skip SimpleCV and just dive directly into learning OpenCV.

I made this call due to the lessons I learned while coming to grips with developing the GUI for my python powered iRacing Stats project. Initially I used GUI2Py which wraps around the WXPython library, because WX looked very scary to begin with. As I progressed and my GUI became more complex I started hitting issues with GUI2Py and rather than hack on it to get it to interface how I wanted with WX I realized I was better off just doing it all in WX directly.

I've got the basics of the object tracking completed. It is color based and works nice and simply. You fire up the app and it prompts you to select the 3 colored objects. I do this rather than hard coding the color ranges because this method handles different lighting conditions and allows me to change props.

For the music playback I'm using the Mingus library along with Fluidsynth. I've got a lot of learning to do on this side of things, my knowledge of all things midi is very basic at this stage. Currently I've got it rigged up to simply playback notes based on how high the objects are thrown. At this stage it really is just a proof of concept.

I'll be working on configuring the "juggle space"; working out how many segments I can cut the webcam image up into so I'm able to accurately trigger samples. I can also see that drawing these segments on the output window would be helpful.

SimpleCV Object Tracking

I've had an "on-again off-again" project kicking around for a long time which I want to dive back into and dedicate some more time and effort into.

The idea is simple enough; I want to be able to trigger the playback of music and samples by juggling.

The best method I've come up with is using a webcam and some computer vision code. Since my skills in python have been progressing quite well I feel that I can finally produce something solid based on the SimpleCV library.

Here's a few projects which I can learn from:

The Shape of Rome

We all know the long, rich history of the Roman people, and the city's importance as the center of an empire, and thereafter as the center of the memory of that empire, whose echo, long after its end, still so defines Western concepts of power, authority and peace. What I intend to discuss instead is the geographic city, and how its shape and layers grew gradually and constantly, shaped by famous events, but also by the centuries you won't hear much about in a traditional history of the city. The different parts of Rome's past left their fingerprints on the city's shape in far more direct ways than one tends to realize, even from visiting and walking through the city. Rome's past shows not only in her monuments and ruins, but in the very layout of the streets themselves. Going age by age, I will attempt to show how the city's history and structure are one and the same, and how this real ancient city shows her past in a far more organic and structural way than what we tend invent when we concoct fictitious ancient capitals to populate fantasy worlds or imagined futures.

The Shape of Rome