Guiding Telescope with a Webcam Setup

I’ve finally gotten jealous enough for the astrophotography subreddit to get back to work on this project. Jess bought me a Meade LX10 8″ diameter telescope several years ago for my birthday. I’ve used it quite a bit to view planets and try to take deep sky astrophotography pictures. This telescope isn’t one of those fancy ones you can type in whatever cool thing you want to see and it’ll drive itself to point right to it, that’s called a “GO TO”. Rather it has a simple “barn door” tracker motor. Basically, if you align to perfect true north, and set the wedge (the thing that mounts the telescope to the tripod) to your latitude, whatever you point the scope it will stay in view for hours in the eyepiece. If I know where to look, I can attach a camera to the scope and leave the shutter open and get some amazing pictures of nebulae and galaxies.

Being that I’m no good at polar alignment, I decided a few years ago to build an arduino interface that will connect my scope to my computer.  The way this works is that I attach a webcam to the spotter scope (the small telescope that helps you find stuff) which looks at a particular star.  The webcam pipe data into a program that sends signals out to the arduino to move the scope to keep the star in the same part of the webcam’s view.  This way, I don’t have to be perfectly polar aligned, the software will help adjust the position of the scope for me.

I went on the hunt for a webcam that would work well with Windows and linux.  This is because a lot of people are buying Raspberry Pi boards,connecting a webcam to them and attaching the whole setup to the telescope. Right now I’m testing on a windows machine so I need a webcam that’ll play well with both.  I looked up the Linux Universal video Class (UVC) drive list to find a good modern camera. This list shows a good number of webcam models and brands that are known to work natively in recent linux distros.

The camera I landed on is the Logitec HD Webcam C270.  It is a very cheap 720p 3 megapixel webcam. That’s overkill for the telescope, but it’s a good general use webcam and we can use it for video chats and such as well.  This means my solution to attaching the camera to the scope can’t be permanent.

I keep a bunch of 3/4″ PVC pipes and connectors in the garage for prototyping, so I grabbed a 3/4-inch T connector.  This connector can easily accommodate my 1″ outer diameter sighting scope.

webcamTele

The scope doesn’t fit perfectly, so I added some 2mm sticky-backed craft foam for a snug pressfit. (On a side note, I can’t tell you how useful it is having this kind of foam in the toolbox for all sorts of random purposes. I use it all the time)  To accommodate the webcam, I used a hacksaw to cut a portion of the PCV connector off as shown.  Then I wrapped a 3/8″ piece of foam on each of the cut edges of the PVC where it will touch the camera. This will help the camera seat well and stay in place when I attach it to the scope.

3webcamTele  4webcamTele

Finally, I used a smooth “ouchless” hair tie to hold the camera to the PVC tightly and aligned the camera with the hole in the PVC T-joint. Again, believe it or not, these hair ties are pretty useful for random jobs.  In fact, I use a 8-inch smooth headband made of the same material to hold on my cheapo dew shield (more on this in another post.)

5webcamTele  6webcamTele

7webcamTele

 

The final product is easy to use and quite robust. I think it’ll work quite well with my the rest of my setup.  Since I’m still working that all out, I’ll post more as I learn more.8webcamTele

Book Review: Ready Player One

Ready Player One came out in 2011. I had heard great things about it and finally decided to check it out. I’m pretty stingy with my book choices and it is a best seller that has 4.5 stars on Amazon with more than 8,500 reviews and 4.31 rating with over 233,000 ratings and 33,000 reviews on goodReads.

Ready Player One starts out very promising with a good post-apocolyptic cyber-punkish feel set in the year 2044. But it quickly turns into an episode of MTV’s “I love the 80s”. You can’t get 3 sentences without the author name-dropping some 80’s cartoon/movie/actor/band/song.

Synopsis (no spoils):

The premise of the story is that there was a game designer from the 1980s who creates the best gaming system in the world over the next few decades. It is an entire virtual universe. People connect to this virtual universe (called the OASIS) using virtual reality goggles and haptic feedback sensors such as gloves or a body suit. Different worlds seem to be massively multiplayer games that have all the best parts of all the popular PC games such as The Sims, Spore, World of Warcraft, etc.

The creator of this system filled it with 1980s memorabilia. Entire planets are designed to look and feel exactly like the player is re-living the 1980s. The creator has died (being 70-something years old in 2044…) but he hid a special easteregg in the OASIS system. All the players are trying to find it because it will give you control of the entire system. The system is worth billions of dollars. As this is a dystopian novel there’s an evil supercorporation also vying for the easter egg.

That’s all I can say without giving too much away, but what I take issue with is the focus on the 1980s. With more focus on the story or the characters, this could be a great book but instead it’s about 50 pages of story and about 320 pages of 80s references.

Do you remember the 80s? It sucked. The music, the clothing styles, the color schemes used on everything… gah. I’m reminded of it every time I see some hipster doofus with skinny jeans or listen to the radio nowadays. I think of the 80s as almost like the dark ages of style… except you can’t call it the dark ages… maybe the NEON ages. This book simply panders to hipsters that like saying “Hey man, remember Cyndi Lauper’s “Time after Time”? Remember Wham and Devo? Remember the TRS-80 computer? Remember Galaga arcade games? Remember the Goonies? Weren’t those things just the best!?” (This is not hyperbole. These are just a few of the hundreds of needless 80s references, practically 2 per page in the 350+ page book!)

Now I’m all for 80s video games. I’m not a gamer but I appreciate the art and the ingenuity of games. In fact, I prefer some of the 80s era video games over games nowadays because of the programming tricks that were involved to get certain features out of the very limited hardware.  The programmers had to be very clever to even get some systems to draw full screen color graphics. Nowadays, no one thinks much about that kind of thing because every system has gigabytes of RAM, GPUs that can handle all sorts of crazy 3D rendering and multicore processors. While there is certainly amazing work done nowadays, I feel that the 80s were a special time in video game history that should be appreciated. Unfortunately the way this was done in Ready Player One left a bad taste in my mouth.

I’ve heard they are making a movie out of this book. I admit while reading it, I could easily see it as a movie, but this is mainly because this movie has already been made. There’s nothing novel here whatsoever. If you take some random distopian/cyber punk 80s movies, add a dash of video game story lines from over the last 30 years, and a pinch of Hackers (from the mid 90s), mix them all together, you get this movie. I was much more interested in the book/movie The Martian by Andy and hopefully they will make a movie of Wool (the Silo Series) by Hugh Howey which came out around the same time but is much better.

All together I give it a 2 out of 5 rating based on the story itself and for wasting my time with all the reminders of a horrible decade for style (since for some reason I did read the whole book).

</rant>

Appendix:

At random, I flipped to a page in the book (page 106). Here are the references for just that one page. Mind you, this book is set in the year 2044:

  • Dungeons of Daggorath
  • Vector-graphics
  • cassette decks (in this case being used to upload a computer game)
  • Conan the Barbarian
  • Ladyhawke
  • Wizards (I’m counting this because of the context and all sorts of games/movies in the 80s had wizards in them)
  • Dot matrix printer
  • WarGames (the movie)

I just bought a GlowForge laser cutter and here’s why

UPDATE 2017: I canceled my order for the Glowforge as life happens and I couldn’t afford to let them earn interest on my money anymore. I just had to get my money back for life reasons. I do still recommend you get one if you can. I’ve seen them in use in person at Charlotte Latin FabLab and it is really awesome!

Original article below:

So for the last 7 years or so, Jess and I have considered purchasing a laser cutter.  My personal goal is to have my own FabLab. I’m partially there with Jess’s KNK Zing vinyl cutter and my Shapeoko/Xcarve CNC machine.  The two main missing components are a 3D printer and a laser cutter.  Being a FabAcademy alum and running a FabLab at work, I am intimately aware that lasers are the most used (and arguably useful) machine. They are definitely the most fun to play with.  They are also the easiest to make money with (It’s always easiest for me to justify big purchases with the expression “hobbies that pay”). For the past several decades, laser cutters or laser engravers have been used in trophy shops and all sorts of companies. You can use a laser cutter to make products to sell on Etsy (as many people do), make the most amazing personalized birthday and holiday gifts, prototypes of ideas you have, or just make cool stuff for yourself.

I recently saw a new laser cutter on the market and I held back for a while before making the decision to buy it. That may have been a mistake.  The GlowForge is shaping up to be a great machine. I’ve followed it since September, when they were offering 50% discounts on all models.  At the time of this article, they have raised the price to 40% off retail price. And, if you use this referral code, both you and I will get $100 off our orders! (In full discretion, I have had no contact with Glowforge, nor have I actually use the machine myself yet. I’m just really stoked with this machine and its potential. I do have a PhD in Computer/Electrical engineering with Computer Science background and I run an official node of the FabLab network that was started at MIT, so hopefully I’m not off base here… )

There are lots of cheap ( <$15k ) 40-watt laser cutters on the market such as some cheap Chinese ones from Alibaba, or Full Spectrum.  So why go in on a Glowforge?  Well quite simply, it is the best designed laser cutter for FabLab/Makerspace/Hackerspace use. Unlike others in the price range, you don’t need a 5 gallon bucket of distilled water and a fish pump to cool the laser tube (yes that’s a real thing some other models at these prices require and it is ridiculous). It breaks the paradigm of how users interact with a laser cutter.  It is following some of the latest research on user interface and user experience in the field of computer science.  Honestly, those are project I wish I could implement myself but didn’t have the time. It brings together lots of great solutions from these projects and crams it all into a single package.

Paradigm shift #1:   Unlike traditional laser cutters, where you print to the machine like a printer on a network or connected to your computer, Glowforge can be printed from practically any location in the world. This is because the software is cloud-based.  I used to be wary of this kinds of thing, but since Glowforge also promises to make a version of the software open source, you can implement it yourself if you want.

Paradigm shift #2: Glowforge allows you to easily position your designs on your material using a live camera view of the material.  This is a godsend for those who are familiar with the waste of laser cutters.  To be able to make sure a design will fit on a scrap piece of material, you have to do some measurements, hold your tongue just write when pushing the cut button, and hope you remembered to reset the origin (0,0 point) on the laser before cutting.  Sometimes this can be very hard depending on what was originally cut out of the scrap you are using, you might have a weird shaped area and it can be very hard to find out if you can use it to cut a new part.  There are some ideas being researched to handle this kind of situation and other tools you can purchase that are very expensive, but Glowforge has it built in. Being able to literally move my design on top of a video camera image of the material allows me to use as much material as possible without the risk of mis-cutting and having to toss that piece of material and grab a new one.

Another great feature is to simply draw on the material you want with a pen. The cameras will read your design, vectorize it, then the laser will frickin’ cut it exactly as you’ve drawn it.   This is worthy of some type of award because it will save a lot of time for people. I constantly have students who would benefit from simply being able to draw their designs by hand and quickly cut a part out. Again, this feature somewhat comes from newer research into user interface design of laser cutters I’ve been keeping my eye on for some time now.

Paradigm shift 3: Glowforge uses dual cameras inside the cabinet to not only allow you to place your design on the material, but it can conform and auto focus even on non-level materials.  The example on their web video mentions etching a design on a macbook, but this is sooo much more powerful and useful than just that.  Many materials you want to laser, such as a 1/8″ piece of plywood, have a warp to them. If you focus your laser on the low part of the warp, then keep that measurement to cut the whole part, you can end up with edges that aren’t exactly as you had designed them, or edges that are weak due to the wood not ablating and instead burning. This is bad for a couple of reasons. One it can start small fires, but more commonly your edge is brittle and ashy. This changes the workable dimensions of your parts and sometimes makes them unusable.

Also, the cameras can detect materials you put in the machine.  There are barcodes on the materials you buy from Glowforge, but you can make them yourself, which tell the machine what settings to use for engraving or cutting the material. Settings are different for plastics versus wood, etc.  Even different densities of wood matter, so this is a great solution to the problem of figuring out what power and speed settings to set the laser to use.

And finally on this point, it seems there’s also some image recognition. Put your laptop in there and you it’ll detect it’s a macbook and know what settings to use to best etch it. It can even bring up possible designed others have submitted online for you to use if you want.

Paradigm shift 4: The firmware as well as a simplified version of the cloud software will be made open source. This is great because I can hack on it (as I would have done anyway, but at least now I have a much better starting point) . I’m certain a community of hackers/makers will be adding features, which is exciting since this machine is already starting with an impressive set of features.

Paradigm shift 4:  On the Pro version of the machine, you can open the front and back to be able to cut material that is 20″wide, but infinitely long.  This comes from two places, the vinyl cutting machines that are in the market (which can cut a certain width, but practically an infinite length of material from a spool), the Shaper and the awesome Shopbot Handibot (Shoutout to our friends and fellow Carolinian’s; thanks again for the help this past summer in Pittsburgh Salley!), which can do large designs piece-wise. The cameras on the Glowforge can help align the previously lasered portion with your design and make adjustments as needed.   This is incredibly helpful for making sure the  finished product comes out correctly.

Glowforge will also host a libray of other peoples’ designs you can choose from if you aren’t the artistic type.   This is similar to Makerbot’s Thingiverse or Ultimaker’s YouMagine for 3D parts and Inventables’s project section for CNC projects and file, which can be imported into Easel (Inventables’s cloud-based CNC CAD/CAM software for their line of Shapeoko, Carvey, or X-carve machines).

Words of Negativity: For the specs of the machine, the 20″ wide cutting area is slightly awkward and a 24″ width seems more practical. Also, since the Glowforge isn’t out yet, I have to wait. I have to wait to see if it lives up to these expectations, and also wait to play with it myself.

All that being said, the Glowforge sale at this point is a presale. I won’t receive my machine until summer 2016 or later, but you have until the time it ships to cancel your order and get a full refund.  I expect any bugs in the system will be worked out before I get mine and if not, then I’ll have a good excuse to play with it in more depth.

Adam-Atom

Disclaimer: The only affiliate link in this post is for the Glowforge. All other links supplied in this post are to simplify your internet browsing adventure.

How to track your family history free and easy

A few years back, I got interested in my family history.  My grandmother had been telling us all stories for years, but at some point, a switch flipped in my mind and suddenly I had an intense interest in stringing these stories together.  I thought I’d write up my method for researching including some of the tools I use. Please excuse the verbose brain dump but I wanted this page as a reference to be a one-stop shop for myself as well as anyone who is interested in genealogy.

Click here to read the whole article

Read more

Installing a Kitchen Backspash

Here is our kitchen before:

sheekgeek-kitchen-backsplash36

And, here is our kitchen after (even more appropriate that it is messier):

sheekgeek-kitchen-backsplash34

As I mentioned in my previous post about this, Jess came home with backsplash materials one day.  We looked at a bunch of online designs and decided to have a go at it ourselves.  In the first installment, we installed the extruded aluminum edging that boarders the tile.  This time we will talk about the tiling itself.
The toughest part of this whole ordeal is figuring out a good pattern for your tiles. We spent hours trying to get a good random look in the tiles we used.  We went with the glass and stone tiles that come on a 12×12 inch netting material.  Most of these pieces are in a nice random pattern, but some are not.  We had to manually cut out some pieces and replace them with other colors to keep the pattern pseudo-random.

sheekgeek-kitchen-backsplash26

Once we had our pattern laid out, we prepared the wall for the tiles. First, turn off all the breakers that power the light switches and outlets in the area you will be working. Remove the light switch and outlet covers and check to make sure the breakers have turned off the power to those areas.  Breakers may be labeled incorrectly as I found out when it shocked the $#!+ out of me… so I highly recommend getting an electronic sensing pen like this one to use to make sure the power has been turned off.  It works without having to be in the circuit. Just place it near the hot wire (black or red wires) on the sides of the outlet or light switch boxes. If an electric charge is detected, it will turn the tip of the pen red and beep at you. Once you’ve ensured the power is off, go ahead and cover these with masking or painters tape.  When we go to grout these areas, we want to make sure they don’t get all clogged up.

It’s important to note that tiling isn’t as hard as it used to be. Instead of having to put layment on the wall to stick the tiles into, we used these sheets that are basically like 2-sided tape.  The flat portion sticks on the wall and the other side had what looks like hot glue in a grid pattern on it.  The hot-glue-looking stuff is a pressure activated adhesive so to place tiles you simply press them into place on this material.

You can see the glue in the background in these pics:

sheekgeek-kitchen-backsplash13sheekgeek-kitchen-backsplash22

We started our tile design at the bottom of the wall, where it meets the counter top.  this is a good place to start because people will see this part more than directly under the cabinet.  In our house, the cabinet and counter are not perfectly parallel.  Starting with a full-sized tile at the bottom where the wall meets the counter will ensure any half-cut tiles or extra space will be hidden under the cabinets.  Also, we have about 1/4 and inch of play since we used the metal edging.  This will allow us to fudge a little if we need to.

We began with the shortest wall we had as a test. We had a 2 x 1.5 foot section of the wall we wanted to test on.  This was critical to the learning process! We learned how to lay the tiles so the ends match up with the corner of the wall well as well as how to hide the edges. We also figured out the best method for cutting the tiles around an outlet in the middle of this small section. I suggest practicing like this on a small area before doing a big area.

sheekgeek-kitchen-backsplash03

For cutting the tiles, we bought a tile cutter. (This little guy looks reliable too. There are lots of $20 options and in our experience, it did the trick. I don’t plan on needing a tile cutter often so I didn’t need a workhorse.) Don’t use a tile nipper if you are using glass tiles because they will shatter or crack unpredictably.  It helped to cut draw out where the outlet met the tile sheet, then laid the entire sheet in the manual tile cutter.  Scoring and snapping each tile separately produces the best results.  We did find that sometimes the natural stone cracks on veins of impurities rather than the scoring line.  In most cases that was OK since it can be filled in with grout later, but sometimes we ended up cutting that tile out and replacing it once the sheet was on the wall.

When using the sheets of tile, you need to make sure you grout it within 24 hours from when you set the tiles.  Otherwise the tiles can fall off the wall due to their own weight.

 

Adam-Atom