Mustang plane integration
To integrate the sound machine into the Mustang plane we glued an epoxy plate into the cockpit and the exciter was glued on this plate.
The cockpit cover, being as well made with epoxy and fiber glass, acts as a resonating chamber.
Then the sound machine is hidden into the plane and ready to run
And we discovered that the propeller was starting to rotate too quickly before the start sound of the engine was played...
So I made a small modification into the code to handle this behavior :
- start the "start sound" as fast as possible before the propeller is rotating
- start the "stop sound" when the propeller is still rotating
The specification is easy but the implementation needs some tricky modifications into the code...
We have to introduce 2 new thresholds into the code, let these tresholds accessible for tuning and compute the "derivative" of the throttle to know in which direction we move the throttle stick...
the "start" and "stop" thresholds are parameters that you can modify as usual: use a serial link to your ESP32 and type this command:
- STA=20 (or Sta=20 or sta=20) to set the start throttle to 20 (value between 0 and 200)
- STO=80 (or Sto=80 or sto=80) to set the stop throttle to 80 (value between 0 and 200)
And here is the result with the mustang plane :
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.