Introduction: TimeRuler

Picture of TimeRuler

TimeRuler is a time-space measuring tool, using light-painting technique. It can be used for fun, for measuring high speed movement in different sports or as an educational device for schools.

What you need:

  • Arduino UNO, or similar
  • 13 pcs. 3V ultra bright dome LED
  • jump wire
  • mini breadboard
  • 9V battery
  • plywood
  • wood adhesive
  • glue gun
  • tracing paper, black cardboard, carbon paper
  • silver paint or mirror sheets
  • fretsaw
  • Camera with long exposure function

Step 1: Wiring, Testing

Picture of Wiring, Testing
  1. insert 11 LEDs into the breadboard
  2. connect the LEDs anode/longer pins (+) with pin 3-13
  3. connect the cathode/shorter (-) pins to GND.
  4. open Arduino and open the attached code file. If you don't have the software, than download it here.
  5. disconnect the battery, connect the Arduino with your computer via USB cable provided.
  6. take a look at the code to see what it does. When you are testing you can set longer times so you can check if the LEDs are lit up correctly at a perceivable speed.

    int delt=9; //delay time 9 ms - set this to 99
    int blit=0.1; //delay time 0.1 ms - set this to 1

  7. upload the code to Arduino and see the result

Step 2: Making the Box

Picture of Making the Box

Build a box from plywood. The assembled box size is 62*85*77 mm (2.44*3.34*3.03 inch)

  1. print the attached PDF file
  2. copy with the help of a carbon paper the red outline on the plywood lid.
  3. copy with the help of a carbon paper the blue outline on the black cardboard and cut out the shapes carefully. Stick tracing paper on the back of the cardboard - this will diffuse the light. These blue lines are inset 1 mm, because it is hard to make precise holes in the plywood.

  4. Cut 15 mm (0.59 inch) wide plywood strips than glue strips around the holes. You can paint reflective silver later or stick mirror sheets - this process helps bounce more light out through the holes.

Step 3: Solder, Mount

Picture of Solder, Mount
  1. Solder the wires to the LEDs, than insulate
  2. Test LEDs by mounting all of them in the right hole. If right, than fix them with hot glue.
  3. glue some black hobby foam strips on the back of the lid, so when you close no light could escape on the edges.
  4. mount a colored piece of plastic sheet inside the longest slit.

Step 4: On-Off

Picture of On-Off

Make a hole, where the Arduino has it's power socket, insert the plug, than mount the battery outside the box with a velcro. I used this this improvised ON-OFF system instead of buttons. to have smoother and faster start. When i push the cable to the plus end, than the animation starts automatically.

Set your camera to a few seconds long exposure with self timer, than paint some light in a dark space. Adjust ISO and aperture until you got the desired quality. Additionally if you want the painter to be visible in the picture you can give him/her a radio trigger, which is triggering a flashlight.

Play, Measure, Enjoy

Thanks for Midlands Makerspace Athlone for the helping me with Arduino.

Comments

SteveMann (author)2016-09-08

Looks great. This is kind of like the axis labeling function we had on some of the S.W.I.M.s where the tick-marks are included on the across axis (with also bars across the up-down axes). I'm at Instructables P9; are you ever in the city; if so it would be fun to meet and collaborate on this if you happen to visit the city in the next couple of months or so....

glazur (author)SteveMann2016-09-08

Thanks
I just checked the gifs from S.W.I.M, they are really good and funny, I can imagine even a video where the song is playing and the waves are dancing accordingly to the song.

If I will be in US, I will write you.

glazur (author)2016-09-08

Thanks, I will

deluges (author)2016-09-08

Very interesting concept. Looks great - I'm sure Steve Mann would be interested in discussing with you

glazur (author)2015-05-03

Hi Nikola

If you open the "_01_deci_seconds.ino" file from this instructables, than in the first lines you can see as comments the LED positioning as pin numbers. For example pin 13 is the top part of the 7 element number. To blink the number 3 the following pins has to be blinked: 13,8,12,7,11.

Let me know if this helps you.

// 13
// 9/ /8
// 12
// -----
// 10/ /7
// -----
// 11
// led 3 static/colored
// led 4 0.1 time unit
// led 5 0.5 time unit
// led 6 1 time unit

nikola501 (author)2015-05-03

Can you draw witch hole on wood board is meant for witch led diode, by numbers 1-13? I cannot figure it out :\

Bella99 (author)2014-12-31

I reacted to the word time.... ;)

ThirdDimensionJ (author)Bella992015-01-05

Bella, stop playing with that Sonic Screwdriver! :)

wsecomp (author)ThirdDimensionJ2015-01-06

I love the word time, as well. People assume that time is a strict progression of cause to effect, but
*actually* from a non-linear, non-subjective viewpoint - it's more like a
big ball of wibbly wobbly... timey wimey... stuff.

-- MS

PhilieBlunt (author)wsecomp2015-01-07

*slow clap* :-)

Jack Rodgers (author)2015-01-06

A great step forward in time lapse photography! Back in the manual days when there were no automatic cameras or light meters, putting a light bulb on a helicopter rotor was the optimum. Now you have added some computerized icing on the cake.

The police could use this idea for catching speeders. No longer need the white line on the highway for the airplane. Do away with radar!

Bella99 (author)2015-01-06

Never.

dkkim (author)2015-01-06

Very nice! And a great hardware project. You could also implement this on a smartphone, if you liked.

glazur (author)dkkim2015-01-06

I made some smartphone simulation on the start of this project. You can see one image down in the comments and I attached another one here in which I tried a wave-like display. As you can see there are two cons: phones display refreshing rate is small so only small speed (approx 20cm/sec or smaller) can be used, else you see those dots or blurred elements, the other is that screens black background is not realy black, so that's why you see that purplish background...but definetly will make a small app or something.

dkkim (author)glazur2015-01-06

Thanks for the info. That makes sense. Your hardware approach is definitely better, I was just throwing the phone idea out there in case some wanted to try (and you already have!).

millmore (author)2015-01-06

Nice. At the moment you actually have a speed measuring device (the camera kind of measures distance and the device marks out time). You could turn it in to a true distance measuring device by connecting a motion sensor to your Arduino to detect the speed that you are moving at, then make the delay in your .ino file inversely proportional to the accelerometer speed to allow you to actually mark out real distances. I did an instructable (https://www.instructables.com/id/Head-Mouse-Game-controller-or-disability-aid/) which links a 9-axis sensor to an ardiono for turning motion in to mouse movements - it would be pretty easy to adapt to turn motion in to delay times.

glazur (author)millmore2015-01-06

Thanks for your comment. I will research to see how accurate is
gyroscope in measuring small or bigger distances. I was thinking to
combine time and distance measuring in one lightpainting device, but was
sceptical about accuracy of space measurments possibilities in this
case, but I am amateur in electronics, so probably I will make open
source this project if there will be some interests in practical use of this tool. The image below can be made with a simple video played on smartphone, or a rotating a bar, which have 7 segment display on the top and bottom.

millmore (author)glazur2015-01-06

Yea, the accuracy isn't ever going to be something you would rely on - I wouldn't cut some timber based on this for example! But I assume you are doing this for fun and because it's cool, so it's more about opening up new opportunities than anything else. Anyway, thanks for sharing your ible - it's a great concept and very nice build work. Definitely given me some ideas :).

Spindoctor (author)2015-01-06

Very cool project!

You could also consider a magic shifter for that (http://magicshifter.net/) - as far as I know they are Arduino compatible

glazur (author)Spindoctor2015-01-06

I don't know if you can setup exact time for magicshifeter, plus you have LED dots forming letters and lines, which is lower quality. But probably for lower speed it works. There is also this pixelstick (

https://www.kickstarter.com/projects/bitbangerlabs/pixelstick-light-painting-evolved

), which is similar to magicshifter.

Spindoctor (author)glazur2015-01-06

Thanks for your reply!

I don't know much about the magic shifter (I don't own one) but I think exact timing should be possible (as it has an Atmega32U4-MU and a MCP79410-I/MS real time clock onboard). It also features a 3-axis-accelerometer so even measuring distances might be possible.

You are most certainly right about lower quality.

I didn't know the pixelstick yet. Cool project!

deba168 (author)2015-01-02

It is really cool.

Love the pictures :)

rimar2000 (author)2015-01-01

Very interesting.

NRG4UandMe (author)2014-12-31

that is truely something unique - not to say it hasnt been done before somewhere for something but it's the first time i've seen it ..

andrea biffi (author)2014-12-31

cool! it's useful to add time info to a picture, i.e. following an object which has variable speed, verifying the gravitational acceleration... etc.

if someone is good in programming he could obtain the same effect with a tablet, but your device is much more fun ;-)

glazur (author)andrea biffi2014-12-31

I've made a video for tablets/phone already which does the similar task, just on a smaller speed, because of the small refresh rate of screens

SphereX (author)2014-12-31

Fantastic stuff!

bterry01 (author)2014-12-31

What a cool idea!

Well done!

BT

cyrille769 (author)2014-12-31

i'm starting the build right now !!!
i Just have to wait 3 weeks for the leds....

glazur (author)cyrille7692014-12-31

I couldn't wait 3 weeks, so I bought from a Chinese shop 2 bike lamps with 6 euro and used it's LEDs. Later I will buy new LEDs and mount back.

cyrille769 (author)glazur2014-12-31

This is a great idea !

Tarun Upadhyaya (author)2014-12-30

Great Idea :). Loved it.

ZombTech (author)2014-12-30

THIS IS SO COOL!

loompiggytutorials (author)2014-12-30

This looks so cool! If I were into arduino and electronics (which I am but have no clue how to do) I would totally make this! Great images and directions=P!

adamwatters (author)2014-12-30

Wow! Love it. Idea, project, pictures, instructable - all of it is wonderful.

Constructed (author)2014-12-30

Wow! This is such a good idea!

Orngrimm (author)2014-12-30

The idea is just... Bazonkers! Weird, Cool, funny, interesting, genious and ... smells like raspberry?

First, i didnt understand whats it about, but then it dawned on me and i was just WOW!
A completely new way to look at time as a concept in space and movement. VERY well done, Sir!

seamster (author)2014-12-30

Oh my, those main images are so cool! Love this!

About This Instructable

45,700views

721favorites

License:

More by glazur:TimeRulerStore cablesHeartSwap - I feel what you feel
Add instructable to: