Author Topic: New IR Pen Concept  (Read 12337 times)

Offline Reezy

  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
on: August 16, 2008, 07:44:48 PM
I think this is a new concept, I searched around and found nothing like it, but I am new to this whole thing, just built my first IR pen last night...

Anyways....

IR Pen with built in Right/L Click mouse buttons

This concept can be easily illustrated by keeping your mouse stationary and clicking the buttons while using the ir pen to navigate. These could easily be relocated as small buttons onto the IR pen itself. You could just hack up a mouse or a number pad. It could also be wireless.

+One big thing I have trouble with it the fact that the IR signal is used to decode position and input, whilst on a mouse there is a wheel for direction and buttons for input.

++Why not have the IR ALWAYS on for location tracking, and a solution similar to above for inputs, (right/left click)

+++ This way it would be more similar to a mouse whilst still fully being a pen

*Obvioussly this IR pen would be more difficult to build, but would be a Great improvement. It would also require an on/off switch.


What do you guys think?



Offline Marttyn

  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Reply #1 on: August 26, 2008, 09:22:44 PM
Hey Reezy!
I saw your post a week ago or so, and i liked your idea. Yesterday had a few hours and built it!!
It has a few changes, but the idea its the same...
My first attempt i made the pen so it activates the IR led when one of the buttons were pressed. But no good results were achived... thats because the mouse click is faster than the bluetooth cursor positioning... and when i place the pen on a place, and make a click, the click was first, and then it came the movement of the cursor. that made me click on where the cursor were at that time, and not where i wanted to be.
so, then i remembered my tip pressure IR pen, and made another... with 3 buttons. so, the cursor positioning was possible by pressing with the pen on the screen (first i had to activate the "motion only" option in the smoothboard, so it just moves the cursor, and no click where pressed). with 3 buttons i can have left, center and right click! (perfect for tab browsing with firefox).
my mouse could be used as normal, but when i plug the pen to it, it also can be controled with the pen.
the led is sourced from the 5v of the mouse, so no batteries or anything else required. the buttons are just extensions made from the mouse to the pen, and both can work at the same time. here i have some pictures and a video.

inside my mouse


find the trace of the buttons to extend them to your pen. also find the positive and negative supply


built the pen and make a cable to plug to the mouse


hole for the plug


almost finished


plugged pen


buttons upclose


position of the fingers

and here you have a video to see how it works:
[youtube]http://www.youtube.com/watch?v=9kG-SzQQcDQ[/youtube]


hope you like it!
any question just ask!  ;D
bye!
« Last Edit: September 12, 2008, 09:22:25 PM by Marttyn »

If its possible its already done, so lets make the impossible!

People see existing things and wonder why...
I preffer to imagine non existing things and wonder why not.


Offline JoriQ

  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Reply #2 on: September 19, 2008, 10:37:11 PM
Well done.  Any way to do it wirelessly? That would be a great accomplishment.  I guess building a bluetooth mouse into the pen would be one way. To do this in a compact way would probably require real production.  Still...

---------------------
JQ


Offline Marttyn

  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Reply #3 on: September 19, 2008, 10:56:15 PM
doing it wirelessly isnt difficult...
the difficult part would be to fit everything inside the pen...
in such a small space it would be difficult to place the electronics plus the batteries...
but if we think of a different approach it could be possible...
think about placeing a IR led somewhere on the mouse... instead of having a IR pen with mouse buttons, you have a mouse with IR  :D
that would be VERY EASY to do!!

If its possible its already done, so lets make the impossible!

People see existing things and wonder why...
I preffer to imagine non existing things and wonder why not.


Offline JoriQ

  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Reply #4 on: September 24, 2008, 09:05:43 PM
Yeah that's what I was thinking too, but the size is an issue.  That's why I figured you could do it with the right production facility.

---------------------
JQ


Offline Marttyn

  • *
  • Posts: 15
  • Karma: +0/-0
    • View Profile
Reply #5 on: September 24, 2008, 09:35:25 PM
yes... with the right production facilities, MANY of my dreams would came true  ;D

If its possible its already done, so lets make the impossible!

People see existing things and wonder why...
I preffer to imagine non existing things and wonder why not.


Offline joshc

  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Reply #6 on: September 25, 2008, 06:43:34 PM
Ok.. Dont get me wrong... I like his idea of using the connection with the mouse as the transfer of clikcs, but I think there's a better way to do it.

As a little background: Im a ham operator. Have been for 4+ years. I dont have my morse code license cause I dont use those frequencies, but I use the computer for translation of morse. I mainly use PSK31, a low bandwidth codec.

Well, I ask the question: Can we simulate "clicks" with ONLY irled, a switch, a few resistors, and a timing chip? I believe so.

Follow me on this:  We dont need computer hardware like a mouse. We already have the wiimote camera that captures at X framerate. What if, instead, we turn the clicks to the computer, rather than the pen? After all, the computer has intelligence while the pen doesnt.

Lets say the FPS is 60, so 1 frame is .0167 seconds. Now, we keep the LED on and when a "button" is clicked, we turn off the led for X time.

Now, if we treat 1 frame off as l-click, we would get spurious l-click input. Instead, we need to do something like .05 s off (3 frames). This brings up a problem...

We either have the wiimote report 2-4 frames. So we could have 2-4 as l-click, 5-7 as r-click, and off-on-off-on-off intermittent pattern as middle. And by my numbers, 7 [email protected] 60 fps is .12 seconds, which is plenty acceptable for lag.

This would require a routine on input to catch on-off patterns with relevant pattern matching code, but this idea would shove the mouse clicking to where it needs to be: The processor.



Offline Smokeduv

  • *
  • Posts: 16
  • Karma: +2/-0
    • View Profile
Reply #7 on: September 27, 2008, 04:43:35 PM
it can be done (as shown by Martyyn, and by the way, very clever idea) but for a good whiteboard it has to be wireless as someone said. The only problem i find is not the size or anything like that, but the price will be a bit high  :( if you want to use a bluetooth mouse, destroy it and then put everthing in a DIY pen, well, unless you find a very cheap bluetooth mouse, hehehehe.



Offline lderooy

  • *
  • Posts: 18
  • Karma: +0/-0
    • View Profile
Reply #8 on: September 30, 2008, 08:04:47 PM
What about just using a "regular" IR pen for writing and holding a wireless mouse in the other hand for the clicking?



Offline freeztech

  • *
  • Posts: 10
  • Karma: +0/-0
  • all of us have nothing with out our soul
    • View Profile
Reply #9 on: October 05, 2008, 12:14:36 PM
thats a really cool pen. do you think you could put up instructions on how to build it?
it would be much appreciated.

Only few of us can see. even less know of that ability and even less than that can actually use what is theirs. Now why is it that those who are blind leading those who can see?