Sunday 24 July 2011

Lasers fixed !

I finally managed to get a proper solution for fixing the lasers... I used a method I've seen on nuigroup.com, from AdrianH, which is very clever and also simple. As he says, "Basically, it is a piece of metal resting on 4 screw-nuts, so that it is possible to adjust height/roll easily and precisely" I couldn't explain it myself better :).




 I'll try to calibrate and make some resistance tests later, but the result feels pretty strong right now.

Sunday 17 July 2011

Design = OK

Since the beginning of this project, I wanted to create a stylish table, not an ugly massive wooden box like 1m*1m*1m with all the fans letting people see through it and all the lasers & wires poping out randomly. This is to be a real coffee table, on which you can put your glasses (I'll talk about that later), plates, dishes, but still be able at the top of your finger to change the music, or to launch a movie on the videoprojector.

I just finished the design part, and I think the result is quite nice :



On plain daylight, you can't almost see that there's a screen in it.





I still need to add some aluminium foil to even the lighting in it (I had to remove two of these panels to be able to plug all the wires in it : I'll put them back when I have the last cables I need, i.e. the Mini-DVI -> HDMI adaptator for MacBook).

That's pretty it ! I now going to find a way to have a steadier camera display, as it causes the blobs to be falsly detected...

Saturday 16 July 2011

A bit of calibration...

Since my previous tests, I've been able to work on the blob detection a bit, and try to begin a calibration. That's quite hard actually, I litteraly spent hours on all the blob detection.

My first calibration was ok, but not as good as you'd want it to be : it detects blobs but it's not always accurate, and the blobs on the sides easily break, meaning that the computer doesn't detect one blob (with a particular blob ID) and keep with it until my finger leaves the table, but it will detect several following blobs. This would result as, for example, the computer thinking I've spammed the mouse click on a file or a folder, instead of a hold click.

Here's the result :



However, I almost finished the table design, and I just need to hide the white / ugly frame around the LCD matrix. I'll use some black glossy thick paper and that'll do the trick.

Here are some pictures of the modified Ramvik table so far :



First & Second test !

Let's go for the first test !

I wanted to make sure that the camera could correctly see the whole display, so I used for that test only one laser, and didn't add the LCD Matrix.

Of course, as I only have one active laser, we can easily see some occlusion (middle finger not showing at the beginning), and the very bright window at the bottom left corner is obviously polluting the display with a massive IR lighting.

But overall, the test is a success as we can see everything properly. The Ikea Ramvik table seems to be the way to go !



For the second, test, I added the LCD matrix + the backlight. The blobs are obviously very less accurate, but I only used one laser for that test. It works nice, but I still need to find a way to have more accurate blobs.


Here's the result :


I'll try to work a bit on the laser calibration and on the camera aswell.

Lowering the camera

Ok, now that everything's in place and that the lasers can be correctly used, I had a bit of an issue : with its only 20cm high, the 32" screen couldn't be entirely seen by the camera, even with a fish eye lense...

I thought about adding another camera, but I'm getting short on money, and another camera would mean : the actual camera + IR filter + lense mount + lense.

As the Ikea Ramvik coffee table is roughly 40cm high, which is actually enough for my camera. I then cut a hole inside the table and placed the camera on the ground plank, like this :


To fix the camera, I used an empty DVD box, in which I've cut a hole for the lense : it works quite well !
I can now see the whole display, and can get started for the real stuff...

How to hide the lasers?

I've been searching for quite a long time how to hide the lasers ontop the table, and - of course - how to make them look nice.

I can't remember where, but I saw some months ago a table with some kind of silver knobs, one in each corner, and I thought that it looked amazing. I then starting to look for some empty silver knobs, thin enough to be able to cut a hole in it (for the lasers).

By chance, at work, we received as a gift from some Advertising Network some very fine French tea from Mariage Frères, a famous tea house. And the tops were exactly what I needed....


After gathering four of them, I needed to find a way to place them into the table, so "through" the tempered glass pane. As tempered glass can't be cut, I had to order another pane, just 20cm less long than the original, and I ordered two black glossy acrylic straps, 10cm wide, 5mm thick.

By that time I didn't know that cutting acrylic was a bit complicated, because it actually melts a lot, creating a lot of plastic threads all over.

I then used two wood planks, one on each side of the acrylic, then used a special saw I bought (can't find the English name, a "Bell saw" ?).

Here are some pictures I took of the whole procedure :




Some polishing and cleaning later, here's the result :

I've go to say that the result is very smart : I wouldn't have thought it would be that clean and nice looking. I just added a hole in each silver knob and that's it !

Some fans to make my table even cooler.

An issue I've been struggling with since the beginning of this project was - of course - the heat. But some fans can be very :
  1. Ugly
  2. Noisy
  3. Unhandy
I've been looking for some nice quiet fans and I just got 2 of some random computer fans from an old PC. They were exactly what I needed. A few shopping hours later, I've bought some stuff to make them nice looking...


 Everything seems ok, the two pieces have exactly the same size.



A couple of cutting later....

 Painted in black it's even nicer


I've bought a noname universal power adaptator which I used with the 9V out, the 12V being too noisy with the two fans.


Here's the powered result on one side.

Friday 8 July 2011

Multimedia & Wires

Ok, the tempered glass pane is ready, I got it earlier yesterday. That's definitely a good thing : I went to a little glass-house near Paris a friend of mine told me about, and it was 40€ cheaper than everything I had found on the internet, and the guy could have it done in 3-4 days. Definitely a nice place to go ! Bringing it back home on my bike was quite a pain in the bum though ('should have taken a picture)... !


Anyway, I've been thinking a lot about "how is the table going to interract with all the stuff I've got in my living room" and I've managed to find (after like litteraly hours of reflexion) a good setup for using the projector + the home theater, all from the table only.


Here's a chart I've done to illustrate the set up : it's the simplest way I've could have done it (the macbook 2008 doesn't have the sound going through the miniDVI port, and thus I couldn't just plug the HDMI cable from the Macbook to the Home Theater... Too bad) :



Everything is ordered (mainly on Amazon.co.uk & Amazon.fr) and I've already received almost all of the cables & devices. The HDMI splitters & Switch are active devices, I've checked a lot of forums before buying ;)

With that set up, I'll be able to control all the music from the table (and then with my actual computer switched off), but also play movies & TV Shows directly from the table too, using my NAS as storage (the projector being over the table, in front of the sofa).


I'll be posting this very weekend with the some pictures & movies... If everything goes well !

Thursday 16 June 2011

A couple of sketches

I've been working on my table this weekend and the results are beyond expectations : I was finally able to find what was causing the blobs to be that blurry and almost undetectable. I'll post the explanations later with some videos and pictures.

 Now that the electronic part is complete, and that I can get proper blobs even in plain daylight, I began to think about aesthetics.


After a couple of reflexions, I now know the final design of my table. I've drawn these couple of sketches in order to get a proper idea of the final render (that's not as accurate as a photoshop creation but it's more artistic imo :)


 Main view of the final render.



A cut off view of the table.



All I need now is to find a not-too-expensive tempered glass pane !

Tuesday 31 May 2011

First test running

Ok, now everything's in place, with no - or almost - IR light pollution from the backlight. I've placed only one laser at a corner, the backlight on, and after a short calibration, I've been able to start the first test... And here's the result :



I've got to say that was really neat and accurate : there are 3 difusers + a 4mm thick acrylic sheet + a 4mm tempered glass pane between the fingers and the PS3 Eye camera.


After having put the LCD matrix ontop that set up, I started another test, but the result was really far from the first one... I almost couldn't see the blobs. I'm afraid the LCD matrix is blocking IR light around 780nm... !!

If this is correct, I'll have to switch for some 850nm as I'm sure they'll be ok from another post on nuigroup.com, using the same Samsung LCD TV.

We have this 4-day-long weekend in France this week, I'll try to give it a shot and see if I can manage to improve the lighting, in order to keep this lasers : four 850nm 10mw lasers are worth ~100€ + 20€ for the 850nm IR filter...!

A couple of modifications

Since my last post, I've encountered quite a lot of issues, and I'm afraid my project has been a bit delayed...

The acrylic I've ordered is fine, and everything is properly set up. But I still can't really see any blobs when I add the LCD display ontop of the set up. As I thought this was due to IR light pollution from the Samsung TV backlight (as said on several posts), I've removed it and replaced it with one taken from 17" LG screen I knew suitable. As it's far less birght, I've add with a friend some reflective panels in order to maximize the defused light.

Here are some pictures of the set up :



And here's the set up :




With the difusers the result isn't perfectly even, but i'll see that issue later : I frist need to get everything working properly !

Tuesday 3 May 2011

Acrylic ordered...!

I've been a bit quiet this last month, as I was waiting for the acrylic.

A colleague from work was supposed to help me with some "great friend who works as a machining technician" . I've been asking him every week for a month and a half, after having given him all the sizes and specs, "so when will I have my two acrylic sheets :D ?" but the only answers I had were "I'm on it, don't worry", "My friend's quite busy but I'll have'em by the end of the week"...

As we say in French, "on n'est jamais mieux servi que par soi même" ("if you want something doing, do it yourself"). I eventually ordered from Evonik Acrylics my two sheets : one to support the LCD screen and the difusers, the other one for the main display.

I can't properly test right now as because as the difusers aren't supported, they are dangling down and the blobs are like massively blurry.

The other issue I have is that the backlight is emiting two much IR : I'll try using the backlight from the 17" LCD screen with a lot of reflective areas in order not to loose too much lighting power !


I'll post some pictures of the project soon enough !