Sending Data Over UART1 or UART 2: Stuck on URI
Posted: Thu Aug 22, 2019 6:17 pm
Hello All,
I am trying to communicate between my Crazyflie and a Raspberry Pi Zero W over UART. I have an attached Flow deck which, to my understanding, uses I2C and SPI. The USB is not an option because it's being used by another component on my Pi. What I'm stuck on is opening a connection between the Pi and drone over UART, specifically how to set the URI. I know I need to use the serial://InterfaceID/InterfaceChannel/Speed format, but I'm new to this and don't quite know what to specify for InterfaceId or InterfaceChannel when using UART. Speed should be the baud rate, either 9600 for UART1 or 115200 for UART2, if I understand it correctly. Anyone able to help me with this URI issue?
Thanks
I am trying to communicate between my Crazyflie and a Raspberry Pi Zero W over UART. I have an attached Flow deck which, to my understanding, uses I2C and SPI. The USB is not an option because it's being used by another component on my Pi. What I'm stuck on is opening a connection between the Pi and drone over UART, specifically how to set the URI. I know I need to use the serial://InterfaceID/InterfaceChannel/Speed format, but I'm new to this and don't quite know what to specify for InterfaceId or InterfaceChannel when using UART. Speed should be the baud rate, either 9600 for UART1 or 115200 for UART2, if I understand it correctly. Anyone able to help me with this URI issue?
Thanks