Lauszus 16 Posted March 20, 2015 Share Posted March 20, 2015 (edited) Hi everyone, Just wanted to share my flight controller I wrote some time ago Here is a video of it: The code is available here: https://github.com/Lauszus/LaunchPadFlightController. You can read more about it at my blog: http://blog.tkjelectronics.dk/2015/01/launchpad-flight-controller/. Regards Kristian Sloth Lauszus Edited March 20, 2015 by bluehash Added image bluehash, abecedarian, tripwire and 6 others 9 Quote Link to post Share on other sites
spirilis 1,265 Posted March 20, 2015 Share Posted March 20, 2015 Awesome! Quote Link to post Share on other sites
bluehash 1,581 Posted March 20, 2015 Share Posted March 20, 2015 Hi everyone, Just wanted to share my flight controller I wrote some time ago Regards Kristian Sloth Lauszus This is so cool! Thanks for posting. Is your flight control code custom or ported over from any of the other open source projects? Quote Link to post Share on other sites
Lauszus 16 Posted March 20, 2015 Author Share Posted March 20, 2015 This is so cool! Thanks for posting. Is your flight control code custom or ported over from any of the other open source projects? It's totally custom, but of course I got some inspiration from other open source projects like MultiWii and Cleanflight spirilis and bluehash 2 Quote Link to post Share on other sites
timotet 44 Posted March 20, 2015 Share Posted March 20, 2015 Very Nice! I'm right on the verge of building a quadcopter. Need to keep it low budget though. Quote Link to post Share on other sites
Lauszus 16 Posted March 22, 2015 Author Share Posted March 22, 2015 Very Nice! I'm right on the verge of building a quadcopter. Need to keep it low budget though. Okay cool. Just let me know if you need some advice abecedarian 1 Quote Link to post Share on other sites
GrumpyOldPizza 15 Posted July 27, 2015 Share Posted July 27, 2015 Thanx for posting this. Lot's of inspiration. Couple of questions. The ESCs and the protocol used via PWM does not seem to be the normal RC servo pulse protocol. Is there any documentation for the modified variant ? Did you run accross some simpler code for handling a HC-06 on Android (haven't programmed too much in Java, so a simple starter would be nice) ? - Thomas Hi everyone, Just wanted to share my flight controller I wrote some time ago Here is a video of it: The code is available here: https://github.com/Lauszus/LaunchPadFlightController. You can read more about it at my blog: http://blog.tkjelectronics.dk/2015/01/launchpad-flight-controller/. Regards Kristian Sloth Lauszus Quote Link to post Share on other sites
Lauszus 16 Posted July 27, 2015 Author Share Posted July 27, 2015 It is sort of a standard. It's pretty much just as the standard PPM signal, but just with shorter pulse durations and synchronised with the main loop. The thing is that normally a period of 2.5 ms (400 Hz) is used if "ONESHOT125" is set to 0 in the driver: https://github.com/Lauszus/LaunchPadFlightController/blob/master/src/PPM.c, but I am using what is known at OneShot125 where the maximum pulse duration is between 125 and 250 us. The OneShot part of the name refer to the fact that the output to the motors are send out immediately once new motor output are available and is synchronised with the main loop. You can read more about it here: https://wiki.openpilot.org/display/WIKI/Using+OneShot125+or+PWMSyncand http://blog.oscarliang.net/oneshot125-esc-quadcopter-fpv. With respect to the Bluetooth for Android you can just use the code I have already written: https://github.com/Lauszus/LaunchPadFlightControllerAndroid. The relevant files are these: https://github.com/Lauszus/LaunchPadFlightControllerAndroid/blob/master/app/src/main/java/com/lauszus/launchpadflightcontrollerandroid/app/BluetoothChatService.java, https://github.com/Lauszus/LaunchPadFlightControllerAndroid/blob/master/app/src/main/java/com/lauszus/launchpadflightcontrollerandroid/app/BluetoothProtocol.java, and https://github.com/Lauszus/LaunchPadFlightControllerAndroid/blob/master/app/src/main/java/com/lauszus/launchpadflightcontrollerandroid/app/DeviceListActivity.java. Hope this answer your questions Regards Lauszus Quote Link to post Share on other sites
Lauszus 16 Posted August 24, 2015 Author Share Posted August 24, 2015 I just created a new topic: http://forum.43oh.com/topic/8840-flight-controller-update, as I have written a new blog post about this project: http://blog.tkjelectronics.dk/2015/08/bachelors-thesis-launchpad-flight-controller Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.