Showing posts with label simple hacks. Show all posts
Showing posts with label simple hacks. Show all posts

Monday, April 30, 2012

TimeLapse Camera hack


For building my 3D printer I was thinking of setting up a my Canon to capture a time lapse of the whole build over the course of however many nights it takes me to build the whole thing.  I found this guide for building a super simple camera trigger and using a firmware upgrade called CHDK.  I've used CHDK before on my camera, but it was a few years ago.  This might just be the perfect use of an arduino nano, 16x2 LCD screen and a few TACT buttons to navigate a simple menu system.  Ideally I'd like to set this whole thing up to tie into a 3D scanner I've been looking at building.  For the short term I'd be happy if I could have it take a picture every one or two minutes during the build.  I have an 8GB SD card so it can hold thousands of pics so storage for all the shots shouldn't be an issue.  If I don't get around to doing that I do have a 720p webcam that I've used in the past.  Still not entirely sure I want a video of me beating my head against the wall as I run into problems that I'm just going to assume will happen as there are so many different things that can go wrong while building a 3D printer.

DIY Shutter Release Cable for Canon Cameras


CHDK Wiki


Thursday, April 26, 2012

Oscilloscopes and Arduino's

ARM Oscilloscope DSO-201 Nano (Mini 2.8in) Digital Oscilloscope
I was looking at digital oscilloscopes and kept seeing these really inexpensive (around $70) DSO-201 units showing up all over ebay.  I've only run into one problem so far in the last year where an oscilloscope would have helped me and it was a simple beginner mistake of not taking a tact switch's debounce into account while setting up the sampling rate.  A quick google search of my problem brought up tons of pages of people running into the same problem and their solutions so it was easy enough to fix.  Still, as I get deeper into building electronics it might be another helpful skill to have.  I tried doing a google search for oscilloscope arduino and found Accrochages webpage about using an Arduino to create a very limited, low end oscilloscope with similar capabilities as the DSO-201.  So I guess I have another project to build one of these evenings.  Good thing I just bought a bunch of super cheap Chinese Arduino UNO's.

I figure building a really simple oscilloscope with an Arduino will let me learn the basics of how to use one.  Plus if it does turn out to be useful I'll probably have a better idea of what kind of specs I'll need as there seems to be a big price difference depending on the sampling rate and number of inputs it has.  Although in the $400 price range they start to come with a few more bells and whistles.  Seems like that might be around the price range if I wanted one that would give me a little room to grow into it as I keep building bigger and ever more complicated circuits.

OWON SDS7102 100Mhz Oscilloscope 1GS/s 8" Color LCD USB FFT 2 + 1 Channel

Friday, October 14, 2011

Cheap Touch Interface for anything (A.K.A. Johnny Lee is too smart)

I've been working on a pretty simple touch interface using an irLED (infrared LED)pen, a Wiimote from the Nintendo Wii and a cheap USB blue tooth dongle to turn my projector into a really big kick ass touch screen.  This is all based around the YouTube video at the top of this post by Johnny Chung Lee showing off the whole idea and offering  up some basic code and instructions on how to do it all at this website http://johnnylee.net/projects/wii/    He's got a few other really cool hacks you can do with a Wiimote as well that are really worth checking out.  The 3D head tracking display that converts any video source into this crazy quasi 3D effect is pretty amazing.

My hope is that I could temporarily hang my projector from the ceiling with a Wiimote and project an image onto my white kitchen table to play board games and such.  While it sounds like great fun I think it would require a lot of programming to get to that point as well as a few other technological hurdles to get around.  Building the irLED pens I was thinking what it might take to get a second button and irLED light on the pen to create a modified right click ability with the pen.  That's pretty much my weekend project, if I can get it working I have a handfull of friends that are teachers that might be interested in turning their projector into a touch system for under $50 dollars.

Friday, June 3, 2011

I swapped out some components on my Cygolite bike headlamp

I bought a nice front facing bike light a few years ago from a local bike shop, it was the Cygolite Rover LED II.  It was super bright had 3 brightness settings and a flash option.  Living in Alaska I used it all the time in the fall and spring when the days are short, but rarely in the summer since it stays light out for so long.  So this spring when I went to use the light I got about 10 minutes into my ride when the LED switch on top of it started flashing and it shut off.  Since I still hadn't gotten out of the downtown area I was easily able to ride back to my apartment since there were street lights everywhere.

When I got back home I grabbed the battery pack that is shaped like a water bottle that fits in my bikes holder.  Doing a quick search online I found the replacement was going to cost $40 plus about $12 in shipping to Alaska.  There were a few things I didn't like about this battery pack though.  First of all the charger for it had no auto shut off so the manual tells you to remember to unplug it after charging it for 4 hours so you don't overload the batteries.  This was always a big pain in my arse as I used it in the evenings for rides so if I plugged it in after the ride I'd be expected to unplug the charger sometime in the middle of the night.  The other issue was not using it in the dead of winter or most all summer I would forget to plug it in every few weeks to charge it which probably led the batteries to an early death since recharables don't like being drawn down to 0 power and staying that way for months as it prevents them from being able to fully charge.  Plus once the batteries died while I was on a ride I was SOL unless I wanted to pick up a second one.

My solution was to crack the thing open and see if I could replace the batteries in it with a 4 AA battery cage.  The batteries they were currently using were NiMH 1.2volt (2500mA) wired in series to get the 4.8 volts.  They were the same circumference as a standard AA battery but were about a half inch longer.  I have packs of Sanyo Eneloop (NiMH 1.2V 2000mA) rechargeable I use for almost everything (another post where I can gush about how much I love eneloop batteries sometime).   They had a little less capacity then the ones that came with it, but if the light died while I was on a trail I could easily swap out the batteries with some others.  When I go for bike rides I usually have a back pack I take with that has my Cannon camera that uses 4xAA batteries.  I also usually carry 4 extra batteries on top of that.  So extra batteries to swap out isn't that big of a deal.  After hooking up my new battery cage and testing it last night I found on the brightest setting I could get exactly 2 hours of light from my eneloop batteries which is long enough for most of my late night bike rides especially since when I'm riding through populated areas with street lamps I usually turn the brightness down to the lowest setting as I only need the light to help cars see me when riding in and out of the city so one set of batteries should last 2 - 3 hours depending on brightness settings.

Total cost to fix my battery pack was about $2 for the battery cage (plus the rechargeable batteries that I already had plenty of).  Now it's far more versatile for me since I can swap out rechargeables in it when I need.  I took pictures and documented the process since it was a really simple fix.  I might post it up on Instructables.com as my first post.  Seems like the same could be done for a lot of remote control toys or possibly even power tools that use 4.8 or 9.6 volt battery packs as well.