My Projects

https and express: brought to you by the EFF

Thanks to the helpful folks at Lets Encrypt and the EFF, it is possible for a nobody to at least enable https on their site for free! You could use a self-signed certificate but if you want to access, for instance, Slack’s webhooks, you’ll need a recognized CA behind your certs. As of this writing, […]Read More »

Installing libftdi - Libraries from source

Brief log of installing libftdi: Find the libftdi repository (Thanks intra2net!) git clone git://developer.intra2net.com/libftdi cd libftdi git checkout v1.3 or whichever version you are aiming for. You can cat the README for the install instructions, happily it uses a typical CMAKE structure. mkdir build; cd build cmake -DCMAKE_INSTALL_PREFIX="/usr" ../ to set the install path if […]Read More »

Using Make to Encode the Date and Time in BCD

I tried pretty hard several times over the past day to find a pre-built solution for doing this. This, being, program the “current” (to a few seconds) date and time into my STM32F4’s RTC for initialization, using a couple BCD words. Unable to find it (seriously? Does everyone program it from a user interface? I […]Read More »

Triangulating Camera Position from Known Points

As per my last post on this effort, http://ryan.fish/blog/characterizing-the-ps3-eye/, with the camera field of view parameters determined, and the lensing warp shown to be fairly low, there’s a straightforward path to taking an array of 2D points in the camera view, with known real-world coordinates, and backprojecting them to determine the camera’s position in space. […]Read More »

Characterizing the PS3 Eye

Wikipedia claims that a PS3 Eye zoomed to “blue” has a field of view of 75 degrees. This is presumably the horizontal field of view while I need both angular measures, so I decided to check both out myself. Put PS3 Eye sensor at 4.25″ above flat surface Reinforce 8.5″x11″ sheet of paper with tongue […]Read More »

The MEAN Stack

Because this info is spread all over the web, and because I keep coming back to it after long hiatuses and having /no clue/ what I’m doing, here’s my own quickstart guide. Very much inspired after http://meanjs.org/docs.html but sometimes more or less verbose Install MongoDB: https://docs.mongodb.com/master/tutorial/install-mongodb-on-ubuntu/ sudo apt-get install mongodb may also work, but is […]Read More »

Digikey API and OAuth

OAuth is harder than expected. I’m just going to jot down some notes as I go: node interpreter is very useful for quickly testing out packages! Just run “node” from the command line. “.exit” quits the interpreter. A nice way to keep secrets in a node system is in a file, with good system permissions. […]Read More »

Mouser SOAP

You can buy a lot on Mouser, but unfortunately I don’t think there is soap. You can, however, get SOAP from Mouser; that is, Simple Object Access Protocol, an API standard. Signing up for dev access at http://www.mouser.com/apihome/ lets you use more automated format requests, hopefully faster that using the site. Also, most importantly, gives […]Read More »

2.009 – Product Engineering Process (Part III)

So I realize this has been a long series of posts, but bear with me, here is the good part (previous still-good parts here). Because I’m limited on time and I want to get this out there, below is the ultimate spoiler, the video of the presentation! Though I was working way too hard on […]Read More »

2.009 - Product Engineering Process (Part II)

If you just got here and want to know more about the background of course 2.009 at MIT, check out this post part I! Otherwise, another spoiler is appropriate: But hang on, we haven’t talked at all about the product design process! And what an exciting and challenging process it is. The ideation process taught […]Read More »

2.009 - Product Engineering Process (Part I)

First, the hook. Hopefully now you are wondering, “What is that?”, “Where can I buy one?”, “How did you guys get to test the next [tech company] wearable?”. Tuck yourself in, and I’ll tell you the story of 2.009 One of MIT’s best known courses, 2.009 takes over 150 MechE seniors through the beginning stages […]Read More »

NASA JPL - Human Interfaces

My summer internship was a research position on the Human-Robot System team at NASA’s Jet Propulsion Lab (JPL). Though I am still waiting for some of my work to make it through ITAR checks, here is a video the team made to give an overview of the project!Read More »

MASLAB 2014 - Pt. 2

Make sure to check out MASLAB 2014 – Pt. 1 to see how this all began! So, server-blade inspired design, and rapid prototyped intentions are all well and good, but how did things actually come together? Overall, we came in third place! ROS hard a bit of a hard time localizing on the time scale […]Read More »

Tensegrity Structure

While I’m on a long bus ride from JPL to Goldstone to visit the satellite compound for the Deep Space Network, I figure I should catch up on some blog entries! Itching to make something cheap but visually and physically interesting for MIT CPW 2013, I searched for a solution. I recalled a structure I […]Read More »

MASLAB 2014 - Pt. 1

MASLAB: Mobile Autonomous Systems Lab. A competition class over IAP (MIT’s January term) where crash course is all too literal in meaning. Essentially, you have one month to Design, Manufacture, and Program a robot to execute the following tasks: Navigate a variable playing field Find and sort colored balls Put some in the goal and […]Read More »

Happy Halloween!

Phew it’s been a long time since I posted something, so it seems fitting to post a throwback to Freshman year, on my birthday! I greatly enjoy going overboard on Halloween costumes, and being a Deadmau5 fan it seemed fitting to try and make his infamous mau5 helmet. I made a batch of homemade paper […]Read More »

2.007 Recap (or How My Robot Will Beat Me At Operation)

Another great class. Since a fair number of my fellow MechE’s had robotics experience on their high school’s FIRST robotics teams, I came into this class feeling a little outmatched. I hadn’t had much Solidworks experience beyond making and cutting simple shapes, and I really had no experience building structures, joints, mounts, etc., all the […]Read More »

2.00b is the Best Freshman Course Ever.

Meet us and our final project for 2.00b: 2.00b was an incredible class. Hands down, the best class I have ever taken. The amount of time and attention to detail that the staff put into making it a fantastic experience was obvious, and paid off. There were lectures on design, safety, fun (we literally tried […]Read More »

Electric Keyboard on the Super-Cheap

Each year, MIT has a(n absolutely incredible) weekend of events for prospective freshman (herein referred to as prefrosh). Next Make always has an event to teach prefrosh basic soldering skills, how easy making your own electronic trinkets can be, and of course how awesome Next House and Next Make are! This year, based on some […]Read More »

Blicycle Begins

It’s Boston Blizzard 2.0 outside, so I thought I would take a moment to write another blog post! (Not that the blizzard is stopping me from doing anything, I would be inside anyway) What have I been doing lately? Well, mainly working on my UROP project, the Blicycle. Essentially, I am trying to make a […]Read More »

Hybrid, Regenerative Electric Bike

For MIT’s Techfair this year, I decided I would try and hop on the free-money-for-awesome-projects bandwagon. Over the summer I had been working on devising a simple DIY electric bike conversion (basically strapping on batteries and a motor), but ran out of funds when I discovered that I needed a much lower gear ratio. Since […]Read More »