Small Aircraft; Low Wing; 1 Eng; Fixed Gear
Flight Crew Air Transport Pilot (ATP); Flight Crew Instrument; Flight Crew Multiengine
Flight Crew Last 90 Days 21; Flight Crew Total 23500; Flight Crew Type 1700
Workload; Time Pressure; Distraction; Situational Awareness; Communication Breakdown
Aircraft Equipment Problem Less Severe; Conflict NMAC
Flight Crew Became Reoriented; Flight Crew Overcame Equipment Problem; Flight Crew Took Evasive Action
Aircraft; Human Factors
Departing Runway XX at ZZZ.  Had approaching Aircraft Y on ADS-B while they were executing a practice approach to Runway XY.  Pattern traffic was using Runway YY.  After rotation; I had a visual on the other aircraft and started an early turn to pass behind.  At that point; my glare shield mount for my GPS moving map came loose and dropped into the control stick arc dangling by the data/power cord.  I grabbed it with my right (stick) hand and began controlling the aircraft with my left hand.  I was holding the stick below the grip and unable to reach the push-to-talk trigger.  If I had turned left to runway heading; I would have gone wing up to the other aircraft and lost sight. I focused on flying the airplane first and after passing the aircraft was able to move my left hand into position on the grip to reach the push to talk trigger.  By this time the pilot in Aircraft Y was calling me and expressed; understandably; his alarm. The early turn was an effort to clear the pattern quickly for the training aircraft that use this field.  However; I believe continuing the upwind further would have minimized the conflict that is a part of practice approaches opposite to the traffic patterns in use. Opposite direction approaches are common at this airport and other uncontrolled fields in the area. Secondly; I am re-engineering the bracket for my GPS moving map to preclude a recurrence.  I will also add a 'bracket secure' check to my pre-takeoff flow.
Single Pilot reported after takeoff the mounting bracket for the GPS device broke. The GPS device fell onto the control stick and was dangling by its cord. During this time the pilot reported deviating off course and creating a NMAC with an arriving aircraft.