Narrative:

I was trying to enter the bravo airspace when my transponder went out and then I lost my radio communication. I turned around to play with my radios but I couldn't get them working. I turned to fly into ZZZ. I turned my transponder to 7600 in case they were getting my transponder code. I couldn't hear any radio transmissions but I did tune ZZZ tower to tell them I was coming. I was getting low on fuel and decided to fly by ZZZ tower and tilt my wings to let them know I was in an emergency.I flew too close to the traffic pattern and in the opposite direction. I saw an airplane in the traffic pattern and had to take evasive action to not hit it. I turned to follow that aircraft into ZZZ after I had cleared the area and made sure no other aircraft were around me. I was able to land safely.however there were a couple of issues and mistakes that I could have handled better this emergency procedure. First I could have flown to the [a different] airport instead. I was unfamiliar though with the area and with low fuel I didn't want to risk flying around trying to find the other airport and run out of fuel. Second I could have flown above the traffic pattern and looked at which way the traffic pattern was and how many aircraft were in the pattern. Then I could have entered the pattern a bit more safely than I did today. I also should have done a better job at scanning the air for traffic.I do realize that I made a mistake and put other aircraft at risk. I should have had better judgment handling this lost communication emergency. I am going to get some ground and flight training on handling a lost communication emergency and learn what to properly do and how to handle it better.

Google
 

Original NASA ASRS Text

Title: C172 pilot experienced radio failure attempting to enter Class B airspace and elected to divert to a smaller airport. A pass was made to alert the Tower but opposite to the current traffic flow and evasive action was required. The pattern was rejoined in the proper direction and a safe landing ensued. A report from the instructor in the other aircraft in the pattern is also included.

Narrative: I was trying to enter the Bravo airspace when my transponder went out and then I lost my radio communication. I turned around to play with my radios but I couldn't get them working. I turned to fly into ZZZ. I turned my transponder to 7600 in case they were getting my transponder code. I couldn't hear any radio transmissions but I did tune ZZZ tower to tell them I was coming. I was getting low on fuel and decided to fly by ZZZ tower and tilt my wings to let them know I was in an emergency.I flew too close to the traffic pattern and in the opposite direction. I saw an airplane in the traffic pattern and had to take evasive action to not hit it. I turned to follow that aircraft into ZZZ after I had cleared the area and made sure no other aircraft were around me. I was able to land safely.However there were a couple of issues and mistakes that I could have handled better this emergency procedure. First I could have flown to the [a different] airport instead. I was unfamiliar though with the area and with low fuel I didn't want to risk flying around trying to find the other airport and run out of fuel. Second I could have flown above the traffic pattern and looked at which way the traffic pattern was and how many aircraft were in the pattern. Then I could have entered the pattern a bit more safely than I did today. I also should have done a better job at scanning the air for traffic.I do realize that I made a mistake and put other aircraft at risk. I should have had better judgment handling this lost communication emergency. I am going to get some ground and flight training on handling a lost communication emergency and learn what to properly do and how to handle it better.

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.