Hello, I am working on a mobile robot with a Cube+ flight controller, HerePro GPS, and an L298N motor driver. I initially started with Arduino, then switched to Raspberry Pi 4, and later transitioned to the Cube+ with HerePro GPS for more accurate GPS data. I want to test the L298N motor driver with Pixhawk Orange Cube+ instead of an ESC, and I connected the Flysky FS-i6X RC transmitter to the Pixhawk using iBus. The issue I’m facing is that the rcmap_throttle
parameter remains at 0. I can calibrate the radio in QGroundControl, and I can see it directly in Mission Planner, but after closing and reopening Mission Planner, my calibration settings are lost. Can you help me with this?
If you change settings in QGroundControl but they don’t appear on MissionPlanner than they either not stored to the Cube+ or your Cube+ is not correct connected to MissonPlanner.
If everything is fine it will work with MissionPlanner so it might be better to concentrat to only one GCS and find out the error.
In the first stage keep the rcmapping as default, connect the RC receiver to the FC. Take care that the receiver is correct bind to the transmitter and transmitter is switched on. Than om Mission Planner RC configuration page some green displays on the channels must appear.
And for all further questions show your PARAMs and or .bin log files.
Here are my parameter settings. If I don’t restart, I can perform radio calibration with these settings. However, when I power off and on, the parameter settings I made are lost.
mspserkan.param (16.2 KB)
Which parameter settings are lost if you power cycle your FC.
All parameters or only the radio calibration?
Hello Juergen, thank you for your reply. I was having issues with the radio calibration, as I did too many reboots and the parameter changes were not being accepted. Also, I initially downloaded Mission Planner as a file, then later as an MSI, and first installed it as Planner. After that, when I couldn’t find the settings for the L298N, I reinstalled it as Rover. I completed the radio calibration. I also ordered a new ESC. Currently, I have an SG90 servo motor; I can control it via the radio receiver, but I haven’t been able to control it through Pixhawk yet.
uergen, I want to build an agricultural robot. Initially, I just want to focus on motor movement. I have two DC motors, and I couldn’t get them to work with the L298N. I tried all the settings, but the motors barely turn. I tried everything with speed control, but it didn’t work. I managed to move the motors with L298N using Arduino and Raspberry Pi 4. For the agricultural robot, I need precise GPS, so I purchased a Cube+ control board and a HerePro GPS. However, the GPS signal still seems very unstable. Do I need to set up an RTK base station for this?
Or should I connect an external BEC power source for the SG90 servo?
Your writing is little cryptic for me.
I am not getting what you did at all.
Again describe detailed your setup and show Log and Parameter files.
“Hello Juergen, I tried connecting the L298N to Pixhawk for a motor test, but I couldn’t get it to work. I tried many different parameter settings, but still no success. I was able to get the SG90 servo to work using the BEC. Now I will try to get it working with the ESC. If I can’t, I will send the log and parameter list.”
See here:
Yuri, you are an amazing detail, it worked. However, the right motor worked, and now I’m checking the left motor. Thank you very much!