Here is A link with some pinout info on the pannel connection if you need to pin A S5 pannel to fit the S4.
http://www.rotaryresurrection.com/2n...o_s5_swap.html
Rotaryresurrection page has alot of helpful info and tips listed. Spend some time and just read it all, It explains alot.