Bake your Macbook Pro Back to Life

A little over a month ago I put my Spring 2008 Macbook Pro to sleep and it never woke up.  For anyone that works with computers for a living this is quite devastating.  This standard level of devastation was amplified by the loss of my Saturday afternoon habitat of streaming tennis matches on the Macbook.  About 4 hours later my girlfriend broke up with me over text message, which really threw salt in the wound.  Tough day.

I did some troubleshooting and quickly realized the logic board was toast.  The tell tale sign here is that if you remove the RAM, the firmware will beep at you on start up.  No beeps, no firmware, your logic board is in trouble.  Note this is not the first time my Macbook has had issues.  Check out this trackpad failure post which includes *more ranting*.

Relationships can be fixed and so can your Macbook.  There are a few things that may have happened to your board, most of which involve solder cracking due to high temperatures.  If you believe this to be the case and you have a Macbook Pro from the Spring 2008 era, you might try bringing your board to an even *higher* temperature to re-solder everything back into place.

Here’s HOWTO:

1.  Remove the logic board from your Macbook Pro.  The instructions vary by model and can be found on ifixit.  Make sure to peel off any stickers, those little plastic screw guides, the bumpers on the ports, and clean the thermal paste off of the chips.

NOTE:  I tend to use whatever I can to get a job done.  In this case that meant using incorrectly sized screwdrivers.  This is one situation where being a hack caused me some real trouble, and I highly recommend you buy exactly the sizes you need.  Ifixit lists the tools you require and these can probably be obtained at your local Home Depot.

2.  Inspect your oven for cakes, pies, and roasts.  Remove these.

3.  Mount your logic board on some aluminum foil elevated above a baking sheet to avoid direct contact.  I made a few half inch balls of foil, placed them on the baking sheet, and then put a sheet of foil on top.  This ensures the logic board does not touch the (soon to be) very hot baking sheet.  Also consider making a little cup of foil and dropping some solder in.  This will act as your “canary”.

Logic Board

4.  Preheat your oven to 375 degrees F.

NOTE:  My oven is a very non-digital natural gas based device, so your crappy oven will probably work too.

5.  Set a timer for 7 minutes and 30 seconds.  Place the logic board on the middle rack and start the timer.

6.  When time is up remove the logic board.  If the solder in the cup has melted, you’re probably good to go.  If the board is on fire you can skip to step 12.

7.  Let the board cool off for 10 minutes.  Have a beer.

8.  Put your Macbook back together, making sure not to forget the thermal paste.

9.  Take your Macbook back apart and put the little plastic screw guides that you forgot back on the logic board.

10.  Put the Macbook back together.  Really you can leave the topcase off with just the ribbon cable connected if you like.  Probably not a bad time to ensure the fans still work.

11.  Press power.  Hopefully everything will start up!

12.  Begin researching new laptops as this fix has been reported to only last ~4 months and Apple isn’t cool anymore anyway.  I recommend the Lenovo W530 with Arch Linux.


Interfacing the Crazyflie With a Proximity Sensor

This article will teach you how to interface your Crazyflie with a proximity sensor.  It would be wise to test your Crazyflie and the proximity sensor before soldering everything together.  A detailed account of my experience can be found here.

Bill of Materials

  1. Crazyflie nano quadcopter (you can also use the 6-DOF version)
  2. LV-MaxSonar-EZ0 ultrasonic proximity sensor
  3. Solid wire capable of supporting a 5 gram sensor
  4. Soldering equipment

Methods

1.  Solder the proximity sensor pins  ->  to the Crazyflie expansion header (check out the reference):

+5  ->  pin 20
GND  -> pin 19
AN ->  pin 14

2.  Position the wire so the proximity sensor stands straight up, and the eye points towards the front of the copter as shown in the photo.

3.  Download the firmware binary.

OR

Clone my fork of the crazyflie-firmware and make the project if you have your development environment setup:

hg clone https://cfusting@bitbucket.org/cfusting/crazyflie-firmware-proximity-sensor

4.  Flash the Crazyflie firmware over the radio.  Instructions can be found here.

5.  Add the vProx logging parameter to your selecting logging parameters and restart the Crazyfly Client

6.  Fly around and watch as the Crazyflie detects objects in the Plotter tab!