Controlling the CF using UART #129
Replies: 2 comments 3 replies
-
Hi, Ok, from what I've understood this should work but I haven't tested myself. Can you paste the output from the Raspberry when you try to connect using the UART? Are you sure about the URI? Shouldn't it be |
Beta Was this translation helpful? Give feedback.
-
hi @arunbhaarathi, You should probably update both the crazyflie-firmware and cflib as we removed the old uart connection with this PR and replaced it by pure CPX. Mind that these instructions has some mistakes for the kbuild setup so I have updated them in the following PR. With updating both the cflib and the crazyflie-firmware with the kbuild configs, I'm able to somehow recreate your problem, albeit there are some more errors. I've tried the crazyflie-lib-python example basicSyncLog with changing the following:
And if I don't have an usb but only a ftdi cable to the uart2 connected I see:
and it never connects and if I do connect an usb cable to the micro usb output + a ftdi cable to the uart2, I see:
So there seems to be two bugs: Please keep an eye on those to see if they will be fixed. Marcus is on a holiday for a few more weeks so I'm not sure if we can fix this ourselves until then. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am trying to communicate with the crazyflie using a raspberrypi zero with UART. The pi is able to communicate successfully with the CF in UART but only with the CF connected to a computer via a USB cable. My UART connection test code fails if the USB connection is removed. My UART test code is run on the raspberrypi zero and crazyflie is powered with the battery.
Test Code:
Beta Was this translation helpful? Give feedback.
All reactions