Showing posts with label science. Show all posts
Showing posts with label science. Show all posts

Tuesday, November 18, 2008

new project

Well, it's taking longer than I expected for the parts for my most recent project to come in. I'm waiting for some wireless pigtails (U.FL to RP-SMA) so that my EEE PC has an external antenna (an easy hack, but one I haven't seen any documentation online for).

In the meantime, here's an old video I made a while ago playing with non-Newtonian fluids. This is really easy to make (just saturate water with corn starch) and very fun! Non-Newtonian fluids are fluids whose viscosity is dependant on the applied strain. So, the strain from the speaker constantly hitting the fluid causes it to become much more viscous to the point of appearing solid. This causes all sorts of fun! In this video I played a 100hz sin wave through the speaker. I did this later as a demonstration at the Dragon Academy and I have to say it was a great success, I recommend it for any teachers or demonstrators. Hope everyone enjoys!


Sunday, October 26, 2008

failed telescope night

So, after a while spent getting my telescope aligned (and, of course, staring at M41 and M42 for a while), the clouds came in before I could get the camera ready. When I was done cursing the clouds and the cold I had been sitting in, I decided to take pictures of Toronto to gauge the camera.

I was using my 8" Celestron (f#=10, focal length=2032 mm). It's a great telescope although it takes a magical touch to get aligned.

This is the main picture of interest: the symbol of BMO on top of First Canadian Place (which is 2580m away from my balcony). From my calculations, the symbol is 6m tall which means I'm capturing about .1332° or 2.32e-3rad of the sky! (I got this number by doing [; 2\cdot tan^{-1}(\frac{6/2}{2580}) ;])



By the way, the picture of the moon I took before was with my astroscan (f#=4.1, focal length=445cm). It's a great telescope to bring around and it's really quick to get set up and start observing, although the optics aren't that great which leads to a lot of artifacts. Also, I like the tactility that comes with manually aiming the beast.

While I was first testing the camera I took the following picture from 37m away:
Since my camera is 9.5cm tall and it takes up 46.1% of the height and 34.6% of the width of the image we can get... (5.563e-3, 7.413e-3)radians = (.318,.424)degrees=(height,width) degrees!

So, if we take the differences in f# into account, both measurements agree! *phew*, well at least now I can say tonight wasn't a waste.

Thursday, October 23, 2008

Projects to come

I also want to use this blog as a place to write down the projects I want to try doing on top of talking about the ones I've already completed. So, here's a list of what's coming up and what I would like to come up:

In the works:
  • 3D Whiteboard (almost done!)
  • 3D Volumetric Display (anyone want to donate an optical bench or some mirrors? :) (with help from Darryl)
  • Fusor (anyone know how to make a cheap vacuum chamber?) (together with Darryl)
  • python Hobbyist Observer Tool (phot?, almost done... but not ready for the public yet)
  • pyremote (python tool set for the mac remote... basically done, I'm just making some modules ftw)
To come:
  • Ferrofluid (I'm doing this one for the kids at a local highschool)
  • Hologram of Saturn (well, I have the camera, now I just need some clear nights!) (Helping Darryl)
  • Micron sized tractor beam! (too cool to say no)
  • Tape as an x-ray source (again, vacuum chamber?)

Materials Wishlist:
  • Vacuum Pump
  • Vacuum Chamber! (or at least the materials to make one)
  • NeHe Laser
  • Heavy Water (harder to get in Canada than I thought... united nuclear has some if someone wouldn't mind bringing me some back from the US)
  • Microscope
  • Oscilloscope
  • Wave Generator
  • LCD Projector (3d (whiteboard|display))
  • That paper thing... what's it called?... money?
On top of those personal projects, I'm also working with Chris Matzner on protostellar outflow-driven turbulence. To put shortly, we are basically seeing if jet's shot out by young stars, protostars, can cause a feedback effect and, by the creation of super-sonic turbulence, slow down star formation rates. I'll put a post about that sooner rather than later... I think I will start a one post per day rule to get this thing going.

Wednesday, October 22, 2008

Telescope Camera HOWTO v1



Alright, well... after many failed attempts to start a blog I will, instead of starting and ending with an introductory post, get right into it. This will be kind of odd as I've already completed this project in full, but soon i'm going to be doing it again, so stay tuned for version two of this howto!

Anyways, I've always wanted a camera for my telescope but they were always too damn expensive! So, I did what any hacker would do: made my own. The good thing about something like this is that it can be used for any kind of optical system... in fact I will be making one for a microscope soon (and be using properly milled pieces).

So, for this project you'll need:
  1. A webcam (any kind will do, I got a cheap $8 logitec express from canada computers)
  2. Some sort of metal case. It should have at least an internal volume of 2.5x5x3.5cm (might be different depending on what webcam you get)
  3. Computer fan with heat sink (see image)
  4. Camera film tube.
(Total cost: ~$20)

And now to begin the fun! Find out how to open the webcam and do so. For my webcam there was a screw covered by a small plastic cap that held the whole unit together. You can always just smash it apart, but you don't want to destroy the delicate CCD or the circuitry!

Once open, disconnect the mic (you might want to keep it for later, it became really useful in my assembly) and take the circuitry out of the casing. Make sure the pins on the board for the mic are stowed away, some cameras are already quite compact (in the image below I had to fold the pins down, making sure not to touch anything else). Now take the lens off of the CCD (it unscrews). Be careful because you don't want the CCD to get dirty! You'll see that there is still a plastic piece where the lens used to be that is screwed onto the board (I'll call this the lens holder). Screw this off and break the glass off of it! This glass is an infrared filter and we don't want it. Make sure that everything is clean and screw this piece back on. Now you have a visible+infrared camera, but we want more!

Also, a good tip is to take the lens and glue something long to it... then you can use this as a lens cap so the CCD doesn't get dirty when you store it. Save this step for last so you can see what would best serve your needs.

Now, look at the main cable that connects the USB to the circuit board... you need to identify the ground and power. Voltmeters are useful for this (just plug in the USB cable and check where the voltage flows). Remember where this is for future reference.

Let's take care of the casing for now. First, decide what you are going to use as the front and back of the case. Screw the fan/heat sink securely to the back of the case. You want to make sure that it is secure so that you don't have any excess vibrations. Next, drill a hole in the front the size of the circle of the lens holder from before. This is where the CCD is going! Also, figure out how you want the wires to come out of the case... I drilled a hole in the side and had all the wires (USB+power to the fan) coming out of it. And finally, take that film canister and cut the base off so it becomes just a tube. Glue the lip side down onto the case so that it is centered on the hole for the CCD. I recommend using epoxy or something that gives a bit... more rigid glues (super glue and the like) seem to chip off after extensive use with things like this. And now the case is ready... almost done!

Now you want to get all the wires through the hole in the case you prepared. Solder the wires for the fan onto the correct parts of the USB wire (I found it useful to branch off the wires coming off the CCD board using the wires from the microphone so I had more room to do my work). Before reattaching the USB wires to the CCD board, apply some glue to the outside of the lens holder (being extra careful not to get any on the ccd... this is how i ruined my first CCD) and get it securely fitted into the hole in the case. Now, the final step: attach the usb cable and close the case up!

You are finally ready to take pictures! Use whatever webcam program you prefer. I personally use a script I made in python that uses openCV to control the webcam and find the FWHM (full width half maximum) of a selected region so you know everything is in focus. In a later post I will release this code! For now I'll leave you with a picture of the moon I took while testing this unit. I used gqcam to take the pictures and photoshop to put them together. They were taken off my 4.5" Astroscan telescope (not the best... in fact most distortion comes from the antique optics in the giant red beast, but when it clears up I'll take/post some pictures with my 8" Celestron!).

Hope everyone enjoyed this and please post pictures you take with the camera here! Oh, and if you have any question, just post a comment.