Let me warn you. This post is less about writing and more about me being a geek. Sure, it starts out writing related, but don’t say I didn’t warn you.
So I sat down last night to start editing the first draft my novel, which I actually finished a couple years ago. I printed out the first two chapters and started marking them up with a red pen. When I got to the top of the third page I realized that editing that page was pointless because that part of the story had no business being there are all. It was pointless and boring. I ended up completely removing the first seven pages (except the first sentence) and replacing them with a single paragraph. After that I had to stop editing for the night. Do you have any idea how draining it is to sit down to edit only to completely remove the first seven pages of your manuscript. I credit that to being a better writer now than I was when I originally wrote it, but it’s still a bit unsettling to remove such a large chunk at the very beginning. Overall I like the story, but getting it presentable is going to take a lot of work. Although if I keep this rate up of hacking bits out, the 76000 words I previously wrote will turn into a short story by the time I’m done, but if it needs to come out it’s going to come out.
After I sacrificed those first seven pages to the gods I was emotionally drained so I had to quit editing for the night. That’s when I turned my attention to one of my non-writing projects.
I call it my Holiday Pi. I call it that because the brain of the thing is a Raspberry Pi (a mini computer, about the size of a computer mouse) and it will be used to augment my holiday decorating, namely Christmas and Halloween.

This is what a Raspberry Pi looks like. I would have taken a photo of mine but I didn’t feel like unhooking all of the wires.
What is this Holiday Pi, you ask? Well, it’s a box. Oh, you wanted more than that? Ok, allow me to explain.
I built this box. Then I cut a couple holes in it and put a few power receptacles in the side of it. I then hooked the RPi up to an 8 channel solid state relay board that switches the power outlets on/off on an individual basis when the RPi sends the necessary signal. I know I probably lost you already, but stay with me. It’ll make enough sense to understand what it’s for after I finish explaining… I hope.
Okay, so we’ve got a Raspberry Pi, a solid state relay board, and some power receptacles. The programming in the Rpi turns the receptacles on and off. You’re probably asking yourself, “what is the purpose of this whole setup?” I’ll get to that.

The infamous black box that houses all sorts of strange and unusual things. It’s twice as big as it needed to be because half of it is for storage of various other unstrange and usual things used in conjunction.
Well I then hooked up a mini amplifier and a set of outdoor speakers. This is where the programming of the RPi comes in. When I send a song through the speakers, it also sends that song through a special program (I didn’t write the original program, but I did some modifications on it to suit my needs) that switches the receptacles on and off, effectively synching them to the song. This means that anything plugged in will turn on and off. If you don’t see where I’m going with this, let me spell it out for you: next year’s Christmas lights will be synced to music, thus making me king of the neighborhood.
As for Halloween I have a couple other programs I wrote: Flicker, Lightning, and Howloween.

I know it’s not the prettiest thing in the world with all those wires running about, but I assure you it’s perfectly safe. Amp is at the top, Relay board is at the bottom. RPi is on the right.
Flicker just sets one of the receptacles to be always on, but randomly flicker. This will be used to add lighting to my graveyard setup, lighting that flickers (obviously). Specifically, the plan is to use it with a couple colored lights buried in a bed of fog.
Lightning flickers another receptacle, but starts and ends in the off position and sends a thunder sound clip through the speakers. The combination of the two should produce a decent lightning effect. Good enough for the graveyard in my front yard anyway.
Howloween plays a random sound effect at a random interval. It has nothing to do with the receptacles.
I’m still trying to think of uses for the 6 other receptacles available with the current Halloween setup. If you have any ideas, give them to me in the comments below. I have a plan to make “dancing graves”, which in essence is just like the Christmas display except with lighted tombstones synced to the music, but I’d have to build the tombstones for that one and I’m not sure I want to take on that project quite yet. I’ve got a lot of time until Halloween though, so it might happen.
All 8 are used with the Christmas synchronization so I’d have to expand my box to add anything to that one, and I don’t plan on doing that anytime soon.
Now, I just have to finish my testing and find some music worthy of syncing to lights.
If you’re interested in building your own:
Basics of building the box can be found here.
My program files can be found here.
I tried to warn you…
January 22nd, 2014 at 8:43 PM
oh.my.word.
January 22nd, 2014 at 8:51 PM
You sound like my wife. She doesn’t understand my evil genius tendencies either.
January 22nd, 2014 at 8:53 PM
I saw “pi” and was like YAY numbers….then I was like…..huh? lol I am a lover of numbers not math then top that with ADHD and…what was I saying?
January 22nd, 2014 at 9:22 PM
You completely lost me. But I’m proud of you.
January 22nd, 2014 at 9:27 PM
Short version: I made a fancy little box that I will plug my Christmas lights into and it will turn them on and off to music.
January 22nd, 2014 at 11:07 PM
way cool!
January 23rd, 2014 at 8:57 AM
I knew there had to be another geek out there who would appreciate this. I’m quite proud of myself with this one. My wife just looked at me like I was weird when I told her I could control it with my cell phone.
January 23rd, 2014 at 12:17 PM
Good lad!
January 23rd, 2014 at 3:06 PM
Can’t wait to try it out. It’s going to kill me having to wait 8 months to fully set it up.
January 23rd, 2014 at 4:21 PM
But that’s nearly Christmas
January 23rd, 2014 at 5:02 PM
Halloween gets setup at the beginning of october. Christmas at the end of november.
January 23rd, 2014 at 5:59 PM
You know, where I used to live, there was these people who would load up loads of lights and stuff around their house for Christmas. They were not necessarily pleasant to look at because they were all higgledy piggledy and no uniformity to them, but he would start setting up in September. It would be embarrassing if friends came round and asked what they were doing. The problem was, the bloke and his wife were both brain damaged. Ideally, they should have been in a sheltered housing place, especially as they had kids. Their eldest is the same age as my daughter and she had to look after the parents and her two siblings. As my son has an ASD, my daughter used to go to Young Carers, and so did this girl. When it came for the Carer of the Year award, it was unanimous that this kid should get it. She never complained once. To me, that is a true angel. 10-11 years old and not complaining about doing nappies and things like that.
January 23rd, 2014 at 2:18 PM
Yeah, king of the neighbourhood! Do we have to wait until October to see your home video of this in action, or are you doing a test run?
January 23rd, 2014 at 3:05 PM
I’ll probably video a test run within the next week or so. It won’t be the full setup though, just lights plugged in to give the general effect. Full setup video will have to wait until Oct for Halloween and Dec for Christmas.
January 23rd, 2014 at 4:09 PM
Sounds like it’s gonna be really cool!
January 23rd, 2014 at 7:21 PM
This sounds too complicated for me. But – I know it deserves a YAY! 🙂
January 23rd, 2014 at 8:10 PM
haha Thanks, Rosy. A YAY is always welcome.