Pixhawk (PX4) Driver Details (0)_Preliminary Preparation (Recruitment Order)

Pixhawk (PX4) Driver Details (0)_Preliminary Preparation (Recruitment Order)

Original 2017-03-01 22:58:39

1. Opening

        The spirit of open source is always there! ! !

        Who says software engineers can't read hardware schematics.

        After a period of consideration and the feedback from students in so many training courses, I decided to study the drive part of the PX4 system in depth.

        That is, how to replace the existing sensor, this will involve the problem of the standard communication interface, so it is necessary to understand the communication interface of the PX4 system, such as the most commonly used serial ports, IIC, SPI, etc.

        This involves a lot of things. Summer intends to dismantle this part and explain it in detail, and write it into a serial chapter: "pixhawk (PX4) Driver Details (X)_XXX", and will authorize serialization on multiple public account platforms.

        I hope that the "geeks" who are studying this part will contact me and solve the problem together.

        Even if this article is a recruitment order, what are the "geeks" waiting for.

        I don't know how many companies at home and abroad have started to buy PX4 now.

        Anyway, this system is too awesome, and it's time to test your abilities.

        summer will keep blowing it up, one has to have a hobby.

2. Experimental platform

        Protocol stack version: PX4

        Compiler software: MAC/UBUNTU/ IAR

        Hardware Platform: Pixhawk (2.4.5)

3. Copyright Statement

        Blogger: summer

        Disclaimer: Do not forget to dig wells when drinking water, please indicate the source for reprinting.

        Original address: http://blog.csdn.net/qq_21842557

        QQ:1073811738(summer)

        QQ group: 226070534 (summer's pixhawk)

        Contact: 138-1483-8574 ( same as WeChat )

4. Text

1. Write in front:

        This article is mainly to prepare for the introduction of the sensor-related part of the PX4 native firmware. This part will not only be able to understand development and programming, but requires some simple hardware knowledge, which is most suitable for embedded engineers. I am a driver engineer, because it involves a lot of embedded and driver knowledge (the simplest 51 single chip microcomputer is generally no problem, although I have not tried the 51, I just played with it back then, I am ashamed), for example, I can understand the principle. Diagram, LAYOUT/PCB (this is not a program control block in the OS), identification chip pin correspondence, etc. Let’s start with a picture that everyone is familiar with, to prevent readers from accepting the follow-up things.


2. Preliminary preparation

        Whether it is the upper layer algorithm, the middle layer, or the bottom driver, you must first have a set of pixhawk flight control boards, and then prepare the following necessary things.

        pixhawk flight control board, official Firmware (GitHub: https://github.com/PX4/Firmware ), schematic diagram (GitHub: https://github.com/PX4/Hardware ).

        Regarding the choice of development environment, you can also see the development and transformation process of summer in the previous series of articles of summer, and finally fell to the MAC. Therefore, it is recommended that you can go directly from the MAC. If you don't have it, don't use Windows. Install a virtual machine and use the Linux system.

5. End

        March 2017 has gone by so fast.

        What small goals do you have for this year?


Copyright statement:. https://blog.csdn.net/qq_21842557/article/details/59170921

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326695569&siteId=291194637