pyMultiWii
pyMultiWii copied to clipboard
I cannot communicate between my Raspberry pi 4 and the omnibus with MSP.
Hello, I need to communicate between omnibus and raspberry pi 4 in my project. When I use the shared arm-disarm code, the screen show:
Board is armed now! "In 3 seconds it will disarm..." "Disarmed."
However, the motors do not rotate.
Also, when I run the send data file, all values are 0.
I am using Betaflight.
I guess I couldn't set the MSP settings for the omnibus. Am I doing wrong in the ports part in betaflight? I am not getting errors, but the motors do not turn.
ok, if you check in the readme, betaflight is not supported... maybe it works, maybe no. Please follow the instructions on the readme:
1.- in the GUI configuration for your board, activate SERIALRX
2.- try this script first: https://github.com/alduxvm/pyMultiWii/blob/master/demo/show-attitude.py
3.- If you get data then is a progress... if not, then the firmware is not supported and you need to try and use baseflight
ok, if you check in the readme, betaflight is not supported... maybe it works, maybe no. Please follow the instructions on the readme: 1.- in the GUI configuration for your board, activate
SERIALRX
2.- try this script first: https://github.com/alduxvm/pyMultiWii/blob/master/demo/show-attitude.py 3.- If you get data then is a progress... if not, then the firmware is not supported and you need to try and use baseflight
Thank you for your reply. We got data successfully. Also, the data changes when we move the drone. This part is ok. However, the motors still do not rotate when we armed. We have already flown with the Flysky-i6 controller. There is no problem with the motors.
ok, now the next step is configure properly the MSP RX input...
You send me an image before... https://user-images.githubusercontent.com/68384469/95019413-de8e4600-066d-11eb-8611-d6e6e12659ce.jpg
in that interface check that the option is selected for the MSP RX input for the usb port that you're using for reading data (USB VCP, I think...)
you also might need to remove the radiocontrol of your drone for this to work, the firmware only allows ONE method of communication, so either the USB or the radiocontrol... it cannot have both.
ok, now the next step is configure properly the MSP RX input...
You send me an image before... https://user-images.githubusercontent.com/68384469/95019413-de8e4600-066d-11eb-8611-d6e6e12659ce.jpg
in that interface check that the option is selected for the MSP RX input for the usb port that you're using for reading data (USB VCP, I think...)
you also might need to remove the radiocontrol of your drone for this to work, the firmware only allows ONE method of communication, so either the USB or the radiocontrol... it cannot have both.
Hello again, yesterday we tried a lot of things but we still have problems. Betaflight supported our controller, we can get data by using usb port. I already send picture yesterday about this. But we can't arm motors while using usb port. So we are trying to use raspberry pi4 and UART6(on flight controller). We couldn't do it "MSP RX input" configuration. Therefore, when using raspberry, we cannot receive the data like when using the usb port.
Photo 1: Rashberry-UART config
Photo2: Betaflight Status
Photo3: Betaflight Config Tab
Photo4: Betaflight Port Tab - Option 1
Photo5: Betaflight Port Tab - Option 2
Photo6: When we use this code by usb connection, we can get data from computer. But here we couldn't get data from raspberry.
Photo 7:
Also we tried baseflight, but baseflight not supported omnibus.
İs there a solution :( I am still trying to fix.
@UcanYusuf did you figure it out?
@UcanYusuf did you figure it out?
It has been 3 years bro :D I solved but really don't remember
+1 for how to solve this @UcanYusuf