Narrative:

Was flying straight and level at 6;000 feet. Layer of clouds 1 mile ahead asked ATC for deviation off course. ATC approved 15 degree left or right of course before I could deviate was in clouds was straight and level for a few minutes then due to turbulence aircraft was banking to left was trying to get back to straight and level but then started losing altitude when that happened I notified ATC 'unable to maintain altitude and was calling out my flight level.'once I got positive control of the airplane again informed ATC and then ATC asked me if I want to return to vrb or fpr so I asked for a return to my home base fpr. Miami center then decided to [advise] for me at fpr and gave me non gyro vectors. Once my heading indicator seemed to be working fine I resumed my own navigation and asked for a low approach over 10R so that the tower could check my landing gear for any damage. Once I was given an all clear from ATC I made right traffic for 10R and landed safely.

Google
 

Original NASA ASRS Text

Title: PA-28 pilot reported loss of inflight control due to entering IMC; turbulence and a heading indicator malfunction.

Narrative: Was flying straight and level at 6;000 feet. layer of clouds 1 mile ahead asked ATC for deviation off course. ATC approved 15 degree left or right of course before I could deviate was in clouds was straight and level for a few minutes then due to turbulence aircraft was banking to left was trying to get back to straight and level but then started losing altitude when that happened I notified ATC 'unable to maintain altitude and was calling out my flight level.'Once I got positive control of the airplane again informed ATC and then ATC asked me if I want to return to VRB or FPR so I asked for a return to my home base FPR. Miami Center then decided to [advise] for me at FPR and gave me non Gyro vectors. Once my Heading indicator seemed to be working fine I resumed my own navigation and asked for a low approach over 10R so that the Tower could check my landing gear for any damage. Once I was given an all clear from ATC I made right traffic for 10R and landed safely.

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.