Hi,
After 3 weeks of intensive work to motorize a TQ I finally succeeded.
It's a topic that has been covered by many people but no one has ever posted the solution, I don't know if it's because they didn't succeed or because they kept it to themselves.
I chose to share it.
The main problem was to install the 3 servomotors for the 2 throttles and the BRK SPD inside a FlightSimPM TQ, the second and more difficult step was to connect the servomotors with an Arduino Mega board and configure it with Mobiflight + Prosim738.
It was not easy because there was the problem of blocking the servo as soon as it was connected to the MEGA, so it was necessary to add two relays that through a configuration on Mobiflight as if it was a led and on Prosim as if it was a solenoid you have the disconnection of the servomotor from the 5v or signal, being able to move the throttle lever in manual mode.
Below are the wiring and configuration diagrams.






video
while the configuration for spoilers the solution is to use 2 offsets on mobiflight:
on Mobiflight: Arm 0BCC Byte 4, 4800/16383
on Prosim: FSUIPC 32 bit U 0x0BCC
on Mobiflight: Ground 0366 Byte 2, 0/16383
this way, when the wheels touch, the spoilers rise and the lever moves, the servo remains free to be moved by hand...
to be more precise
0BCC in arm sets to 1
0366 in arm stays at 0
when touching the ground. 0BCC goes to 0 0366 goes to 1