Tuesday, September 20, 2016

Rain Barrels

Another long thought about project was some rainbarrels. My garage has a downspout that is very conveniently in the middle of my yard and near the garden. I thought it would be great to put some rain barrels there. I got a couple blue plastic barrels from a friend and promptly did nothing with them. I thought about using a diverter from my downspout and then figuring out a way to use the water. Maybe a pump? Maybe just dipping a bucket in? I didn't know where to go with it so the barrels sat in my shed for a couple years.

My wife came across this article from family handy man and I thought that was perfect. Then I realized what the wood and PVC would cost and I let it sit for another couple years. This year I built a fence and my father-in-law built a deck. Now I had some free 4x4's, 2x6's, and fence boards. I say free because I paid for them for the fence, the leftovers were basically garbage.

Two 55 gallon drums full of water is heavy (110 Gallons is about 1000lbs) so don't build a shoddy platform. This is all 2x6 construction and the 4x4's are attached on three sides to the frame. The top is fence boards but doesn't really add any structure.

Originally I didn't want to cut the tops open but I needed a way to get the plumbing in so I had to. I thought I would run the second downspout over to the second barrel but I found out later that wouldn't be required.

Everything is in place

Here is the plumbing. The pipe on the left is the overvlow, you can see it in later pictures. It goes up the inside of the barrel and the water flows into it when the barrel is full. The piping on the right connects the two barrels and also has a 1.5" valve as well as a regular garden hose valve.


This is after one night of light rain! I couldn't believe it. Both barrels almost full and only off of one downspout. Guess I don't need to worry about running the other one over here.


View post on imgur.com

I had a bit of a leak so I had to drain the barrels. It was pretty exciting and my boys loved it.

I've still got to put some screen over the openings but other than that the barrels are done. I'm going to look into watering the garden with it. Lee Valley sells kits that work with rain barrels or I might try to build a solar powered pump.

Compost Bins

Well it's been a long time since I posted. I've been busy with yard projects this summer. I built a fence and then use the old fence to build a compost bin.

I hated throwing out kitchen scraps and the garden always generates a bunch of waste so I thought a compost bin would be a good idea. I'd never built one before and only ever used one of the plastic ones. There are rebates from my city to buy one of the plastic ones but I was still looking at spending $50 and I had all this old wood from my fence sitting around. The more of the wood I can use the less it'll cost me to take the rest to the dump.

I looked at a few sites and kind of just ran with it.

http://www.saskwastereduction.ca/recycle/resources/composting/composting-style/large-compost-bins/three-compartment-compost-bin

http://andrewsigal.blogspot.ca/2013/09/building-2-bin-composter.html

http://www.instructables.com/id/The-Best-Triple-Compost-Bin/

I live in a really dry area so I wasn't worried about a lid and being so dry I thought wood slat sides with a little space would be the best plan. This saved me from having to buy a bunch of hardware cloth. My old fence was made of posts and long 1 x 8 boards with no stringers so I had exactly what I needed to build a bin. I had a few good 10 foot long boards so I thought a three bin composter would work well, 3 feet each.

The rear boards run the full length and give a bit of structure to the whole thing. The other walls are 3 feet long and have 4x4 posts at every corner. None of the wood is treated and it's all very old so I'm expecting this to compost itself in a few years.

The front board at the bottom adds rigidity.

The three boards on the front of each bin are removable.

All setup and in it's final location.



A month in and the compost is coming a long nicely. I didn't expect it to move very quickly but in a month half the volume is gone and it looks dark and smells like dirt. I've been told the more you mix it the faster it goes.


Friday, February 12, 2016

What to do with a Raspberry Pi 2?

I previously turned my raspberry pi B into a Bittorrent Sync server but I wasn't sure what to do with my Pi 2. It has been sitting idle but I heard to you could run a minecraft server on one.

I thought I'd give it a shot on my own first. I know that the official minecraft server recommends 1gb of ram but that's all the raspberry pi 2 has so I figured I should reduce that a bit. First I should free up as much ram as possible. I set the pi to boot straight to a console and I set the memory split at the minimum 16mb. Running "free -m" tells me that there is about 934mb of ram free. I figured I'd leave a bit more for good measure and I'd set the minecraft to use a max of 904mb. Why 904? Well it's evenly divisible by 8. Does that matter? I don't know but that's the way I did it.

Go to minecraft.net and download the jar file. Put that in a folder and make a script to run

"java -Xmx904M -Xms512M -jar minecraft_server.jar nogui"

Replace 'minecraft_server.jar' with the name of the file you downloaded and you should be able to fire up the server. It'll fail and tell you to accept the eula. Open eula.txt and change false to true.

Everything is great, right? No. I kept getting weird glitches in the game and "server can't keep up" errors in the console. More research was needed.

I found a great guide that suggested using the spigot minecraft server. I kind of half followed the guide but basically grab the GUI installer from spigot, run it on a windows machine, and copy the spigot.jar file it creates and put that on your pi. Modify your script to use the spigot.jar instead of the official server jar file and you're good to go. I would do this in a new empty folder since it's going to create a whole bunch of files when you first run it.

On spigot my server seems to be running ok. I edited my server.properties file to limit the users to 3 and shortened the draw distance to 4 from 10. Hopefully that'll save some RAM.

It's kind of a neat use for a pi that was just collecting dust. I'll have to see if I can find someone to try out my server with me. I'm wondering if I leave it exposed to the internet if someone will just find it and come grief it. Everyone I know that's playing minecraft lately is playing it on the console.

Sunday, February 07, 2016

A Space Pen on the Cheap

I haven't been posting as much as I would like so I'm going to try to put more effort into posting more often. I don't always take pictures of stuff I'm doing or even do anything terribly exciting but I'm still doing things that I think are fun.

When I got married I gave my groomsmen space pens as the groomsmen gift and I got one for myself. I hadn't really found a way to move it into my regular pen use so it floated around my house in a sad existence. A while ago I realized that the clip is steel and will stick to a magnet. Since then it's been stuck to the front of my fridge doing grocery list duty. At least it's being used but still not an existence worth of the pen that went to the moon.

A couple weeks ago I discovered that the price of the anti-gravity space pen was up to $90CDN so I felt that the front the fridge was no place for mine. I moved it to my EDC pen and needed a replacement for the fridge. I liked having it there since it would write reliably on all kinds of paper and at any angle. I had heard that you could mod a zebra pen to hold a space pen refill.

Here is a great guide. http://clickypost.com/blog/2015/2/1/how-to-hack-the-zebra-f-701

I was out and about and found myself at a Staples so I grabbed what I needed. A Zebra F-701 and a space pen refill. I was shocked that they had both in stock and then equally shocked that the refill was worth more than the pen. The guide above also adds the step of getting another pen to replace a plastic part in the F701 but I didn't worry about that.

The basic mod is to unscrew the tip of the pen, remove the refill but keep the spring. There is a little clear plastic collar in the pen tip that has to go so take the space pen refill and poke it through the tip backwards. That should pop the clear plastic part out. Now put the spring on the space pen refill and put the refill in the pen as normal. Screw the tip back on and you're done. That's it. When I originally heard mod I was thinking there would be cutting, filing, welding, grinding, etc involved. Nope.

Now the fridge has a nice stainless steel space pen and I've got my pen in a more dignified roll. The total cost of the new pen? About $18 or about 20% of the cost of a space pen.

Thursday, January 21, 2016

BitTorrent Sync Update

I've been running BitTorrent Sync on my Raspberry Pi and my Xubuntu box for almost 2 months and it's been working great except for one issue. The BitTorrent Sync process was hammering my PC. It was using 100% of one core 24/7.


I had finally had enough of it and sent them a support ticket. I figured I'd paid for pro so I might as well use some of the benefits that come with that. Well they were very fast to get back to me and asked me to turn on debug logging and send them the logs.

I discovered that debug logging was already enabled, and when I disabled it my CPU time problem went away. Since they asked for logs I turned it back on and let it log for a bit, sent them the logs, and turned off logging. My machine was finally running normally so I thought I had solved it.

The next morning they emailed pointing out that I had my the program's folder set to sync so basically with logging turned on I was causing a loop. The log would update, so it would try to sync that, and then that would cause the log to change, on and on.

Now that I've got that issue solved I'm hoping it all runs smoothly from here out.