Narrative:

We were cruising at FL280 when I heard a buzzing noise coming from the floor on the captain's side that lasted a couple of seconds. Then my first officer and I smelled smoked in the flight deck. I told the first officer to put on [the] oxygen mask and smoke goggles. We accomplished the QRH checklist and [diverted to an alternate airport].after landing; maintenance told us the #2 avionics fan shorted out and that was what probably caused the smell of smoke and buzzing noise.

Google
 

Original NASA ASRS Text

Title: EMB-145 Captain reported a buzzing noise and smoke in the cockpit that was later traced to a short in the #2 avionics fan.

Narrative: We were cruising at FL280 when I heard a buzzing noise coming from the floor on the Captain's side that lasted a couple of seconds. Then my First Officer and I smelled smoked in the flight deck. I told the First Officer to put on [the] oxygen mask and smoke goggles. We accomplished the QRH checklist and [diverted to an alternate airport].After landing; maintenance told us the #2 avionics fan shorted out and that was what probably caused the smell of smoke and buzzing noise.

Data retrieved from NASA's ASRS site and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.