All flight control information is provided to buyers in the form of data packages, providing flight control development environment, various drivers, various STM32 chip information, all sensor information, flight control related knowledge information, etc., as well as anonymous flight control source code, communication Board source code, etc., the open source code is a complete set of projects, and buyers can directly compile and download it after getting it. Using our materials, you can easily get started with flight control learning and learn the structure and ideas of flight control engineering. After having a certain understanding of flight control, buyers can easily transplant the flight control program into their own system, or add the functions you need.
You can learn directly from the open source code and get all the following source codes
◆ Quaternion attitude calculation source code, using quaternion to calculate the flight control attitude angle, with small calculation amount and fast update speed
◆ Sliding window filtering source code, which performs sliding window filtering on noisy accelerations, and the effect is remarkable
◆ Cascade PID control source code uses cascade PID to reasonably control multiple flight control status quantities to obtain more stable flight effects and faster attitude response.
◆ STM32 hardware acquisition receiver source code, using timer level trigger, one timer can collect 4 channels of PWM, low CPU usage, and accurate acquisition.
◆STM32 hardware ESC control source code, using hardware ESC control source code, using timer's PWM output function, one output function, one timer can control 44 ESCs, 44 ESCs, low CPU usage, accurate control, and It has low occupancy, accurate control, and simple operation. One assignment statement can realize simple operation, and one assignment statement can realize the adjustment of PWM duty cycle. .
◆STM32 hardware interrupt serial port driver hardware interrupt serial port driver++ super large buffer source code, the default buffer reaches the super large buffer source code, the default buffer reaches 256 bytes, directly operate the buffer, send the function to return, and then string the words Section, directly operate the buffer, send the function to return, and then the serial port will automatically send the data in the buffer. Compared with the serial port operation mode of waiting for the transmission to be completed, it saves a lot of data. The serial port will automatically send the data in the buffer. Compared with waiting to be sent, Complete serial port operation mode, saving a lot of CPU time.
◆NRF24L01+NRF24L01+ pseudo-duplex two-way communication source code, ordinary pseudo-duplex two-way communication source code, ordinary NRF20L01NRF20L01 information and open source code, all use the information and open source code, all use the one-way communication method of NRF24L01NRF24L01, two NRFNRF modules , send one piece and receive one piece. If you want two-way communication, you have to switch the transceiver status of the two modules. However, because the module sends one piece and the other receives it, if you want two-way communication, you need to switch the transceiver status of the two modules, but Since it takes time to switch modules, and it takes time to switch between two modules, and the switching of the two modules must be done at the same time, it is very difficult to write the driver. We have to use swapping at the same time, so it is very difficult to write the driver. We use the advanced function of NRF24L01+NRF24L01+ - Ack with payload, use the response packet to carry the user number, and use the response packet to carry user data, which can realize two-way communication without switching the sending and receiving state, and the source code Open source, everyone can transplant it and use it. Note that it must be authentic. It can realize two-way communication without switching the sending and receiving state. The source code is open source, everyone can transplant it and use it. Please note that it must be an authentic NRF24L01+ chip. Without a chip, no With a + sign and the so-called Taiwanese chip, you cannot use this method of communication and the so-called Taiwanese chip, you cannot use this method of communication.
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet