Speaker A
Welcome back to my Betaflight 4.3 Configurator walkthrough. In this video series, I'm going through every single option in Betaflight Configurator so you'll know what it does and how to set it up. This is a video series because it's a lot of content. This is video number two in the series. If you are looking for the series as a whole, there is a link to the playlist down in the video description. And if you stumbled upon this video for some reason, get what you need from this video, but then I highly encourage you to go back to video number one and start from scratch and just learn it all. In this video, we are going to go through the Ports tab. Let's get into it. In order to understand the Ports tab, let's take an example flight controller, like, oh, I don't know, my own JB F7 flight controller. And we're going to look at the wiring diagram for this flight controller. And there's stuff that you got to hook up to a flight controller that has to communicate with the flight controller. Stuff like the DJI video transmitter, which uses serial communication to send information about battery voltage, on-screen display, and other such things. Or like your receiver. Your receiver sends digital data to the flight controller that tells it what you're doing with your sticks. Or your video transmitter. Your video transmitter, yes, it sends video signals through the flight controller, and that's not a digital serial communication, but it also does Smart Audio, which is how the flight controller can tell the video transmitter what channel it should be on or what output power should be on. The point is that there are various peripheral devices that we connect to our flight controller, and the flight controller needs an interface to communicate with those devices. And those interfaces are called UARTs. And you can see a list of the UARTs on this flight controller here in the Ports tab. Now, if we look on Wikipedia, we can see that UART stands for Universal Asynchronous Receiver Transmitter, and you can go read that Wikipedia page if you want to, no more in depth. But the point is a UART on a flight controller is, it's kind of like a USB port. It's something that you attach a peripheral to that the flight controller is going to communicate with. So here in the Ports tab, we see the UARTs that this flight controller has, and they are numbered one, two, three, four, five, six. They are usually, but not always, sequential. Some flight controllers might have a missing UART. It might, they might go one, two, four, five, six, or whatever. That's a decision made by the designer of the flight controller. Don't be surprised or think anything's wrong if you see one is missing. And for each of these UARTs, we are going to tell the flight controller what type of peripheral device is attached to that UART, and we're going to do that by adjusting these options here. Now, when we set up the flight controller, we're going to connect each peripheral to some UART TX and RX pads on the flight controller. So each UART has a TX and an RX pad associated with it. TX is for transmit, RX for receive, and you're going to see those denoted in wiring diagrams or in pin layouts as T2, R2, T1, R1. T2 is UART 2 transmit, R1 is UART 1 receive. So immediately, the UART number that we're working with is designated by that number. And sometimes we'll see that these UARTs are accessed via plugs. In other words, they're sort of mapped by the board designer to a pin inside a plug. And other times we'll see that they are accessed via a solder pad. Here's the solder pad is R1, T1, T2, R2. And if we go down here, we can see T3, UART 4, UART 5, and so forth. The takeaway is that when you've finished building your quadcopter, you should have a mental list or maybe even a physical list that you write down of the UARTs that your flight controller has and what you have attached to that UART. And in fact, if you're starting a new build, it might be a good idea to make this list before you even start building so you can start thinking about where you're going to put all the wires to all the peripherals that you've got. For example, you may go, okay, I'm going to put my receiver here, my video transmitter here, and oh no, I need to put my GPS somewhere, but it doesn't, the flight controller is out of UARTs, and then you got to think about what you do. Better to find those things before you start building than in the middle of a build. So now we're going to go through the Ports tab and talk about the different things that you can put on each UART and how you configure the Ports tab to interface with those things. And the place I like to start is Serial RX. Serial RX refers to your receiver. That's the thing that you bind to your controller, and it receives your stick movements and communicates them to the flight controller. There are different kinds of receivers: FrSky, FlySky, Spektrum, Futaba, Crossfire, Tracer, Ghost, Express LRS. I'm just rattling these off because I wanted to ring a bell with you if you've got one of them. All of those are serial receivers, and you would indicate to the flight controller which UART you put the serial receiver on by enabling the Serial RX toggle for that UART number. So for this setup, I have the receiver on UART 1. It would typically be on RX1, although some receiver types use TX instead, and that would be a topic we're not going to go into in this video. Now, there are a couple limitations here for what you can and can't do in the Ports tab, and the first thing I want to show you is you can only have one thing enabled for each UART at a time. So, for example, UART 4 has MSP enabled, and now I'm going to enable Serial RX. And if I save and reboot, what you'll see is that the Ports tab is going to be completely wiped clean back to defaults. Now, nothing is enabled. It's kind of disappointing that the devs do that. Like, if I create an invalid configuration, could you not just reject it? Could you not just be like, nah, no, and put everything back how it was? Instead, it just completely wipes the whole Ports tab clean. And that's why I told you in video number one to back up your configuration before you start working on this because you could get it back. So you can only have one thing at a time on each UART. You can't do this one thing at a time on each row, on each UART of the Ports tab. There are very few exceptions to this. I want to acknowledge that there are. They do exist, but they're very, very rare, and almost always you'll just wipe your Ports tab if you try to do two things on the same UART. Now, interestingly, if I try and put Serial RX on more than one UART, it does in fact allow me to do that. However, don't get your hopes up. Betaflight only supports one serial receiver at a time. And so in a case like this, if you theoretically did wire up multiple receivers, I'm not actually even sure how you would know which one it would actually listen to. Bottom line is only enable Serial RX on one UART, whichever UART number you hooked your serial receiver to. Next, let's talk about the Configuration MSP column. MSP stands for Multi-Serial Protocol, and it is a protocol that is used to talk to flight controllers going way, way, way back. The key thing you need to know about MSP is that anything that wants to interface with, to read information from the flight controller, about the flight controller, is going to use MSP. Anything that wants to remotely configure the flight controller is probably going to use MSP. So, for example, you'll notice that this USB VCP port, which is not in fact a UART, it is the actual USB interface on the flight controller, and it has MSP enabled on it. And in fact, they won't let you turn it off because in fact I am using MSP right now in the Configurator to talk to the flight controller over USB. And if I were to turn that off, then my whole USB port would stop working, which they used to let you do that, and people get locked out of their flight controllers. It's kind of dumb. I'm glad they stopped that. So why would you enable MSP for anything other than USB? The main way that MSP is used today is if you have DJI or HD0 A...