STorM32 FAQ: Difference between revisions
Line 26: | Line 26: | ||
==== Where should the main board be mounted for correct use of the second IMU? ==== | ==== Where should the main board be mounted for correct use of the second IMU? ==== | ||
The second imu must be mounted on the "gimbal support" above the yaw motor so it is not moved by any of the motors. It must not be mounted on one of the axis's. So you can either mount the gimbal mainboard above the yaw motor using the onboard imu, or put the mainboard somewhere else (on yaw axis for example) and mount an external imu2 above the yaw motor. | |||
The onboard mpu6050 imu is connected to the imu2 connector internally and is set to a non default i2c adress. If you connect an external imu to imu2 connector it can be recognised by its default i2c adress. So you don't have to change anything in gui, external imu is used automatically. | |||
Activate imu2 in Gimbal Setup -> Imu2 configuration: | |||
"gimbal support": activate imu2 above the yaw motor. | |||
"gimbal support xy": activate imu2 above the yaw motor rotated by 45°. | |||
"yaw bracket", "yaw bracket xy": do not use it, it iy buggy. | |||
The calibration of imu2 works similar to the main imu. | |||
http://static.rcgroups.net/forums/attachments/1/4/2/1/a7119019-20-stom32-bgc-2nd-imu-configurations-01.jpg | http://static.rcgroups.net/forums/attachments/1/4/2/1/a7119019-20-stom32-bgc-2nd-imu-configurations-01.jpg |
Revision as of 22:24, 9 October 2014
Electronics
What connectors are used for connecting the MPU modules to the board?
The connectors for the MPU modules on the STorM32bgc board are Molex picoblade types with 1.25 mm pitch (for a comparison of various connectors see here). They are also known as micro JST 1.25 mm, and it is in fact best to search for this, e.g. on ebay: micro jst 1.25.
Software and GUI
Storing the parameter values to the EEPROM doesn't seem to work
Please double-check that the correct firmware for your board has been flashed. The problem typically happens then e.g. the firmware for a F103RB is flashed onto a board with a F103RC.
Which drivers are needed for the USB?
On Win7 the driver is usually installed automatically (this may take few minutes, be patient). The driver, usable also for WinXP, can also be obtained from here.
Flashing with the usb-ttl adapter produces Windows error messages
If upon flashing you get Windows errors such as mfc110.dll is missing, msvcr110.dll is missing, or application was unable to start correctly (0xc000007b), then first check that you're not using an outdated GUI version. Otherwise, you need to install the VC++ runtime libraries. Download vcredist_x64.exe or vcredist_x86.exe depending on your Win system from here, and run the exe file.
Gimbal Construction
Does it matter where to install the camera IMU sensor?
In principle no, one can mount it wherever it is most convenient (of course as long as it tracks the camera motion). Some folks have however reported that the performance can depend on where the IMU sensor is mounted, depending on the specific gimbal some places seem to be better, i.e. allow e.g high PID values, than others. So, it may need experimenting.
Where should the main board be mounted for correct use of the second IMU?
The second imu must be mounted on the "gimbal support" above the yaw motor so it is not moved by any of the motors. It must not be mounted on one of the axis's. So you can either mount the gimbal mainboard above the yaw motor using the onboard imu, or put the mainboard somewhere else (on yaw axis for example) and mount an external imu2 above the yaw motor.
The onboard mpu6050 imu is connected to the imu2 connector internally and is set to a non default i2c adress. If you connect an external imu to imu2 connector it can be recognised by its default i2c adress. So you don't have to change anything in gui, external imu is used automatically.
Activate imu2 in Gimbal Setup -> Imu2 configuration: "gimbal support": activate imu2 above the yaw motor. "gimbal support xy": activate imu2 above the yaw motor rotated by 45°. "yaw bracket", "yaw bracket xy": do not use it, it iy buggy.
The calibration of imu2 works similar to the main imu.