I did a very little test program to try to use the engine controller "BL-Ctrl" from the Arduino board via the I2C protocol (http://www.arduino.cc/en/Reference/Wire). I made a small program to test the controller with the address 2 (rear engine) of the quadcopter and upload it to the Arduino board. The result is that the engine work for a few seconds and then stop. To go back to work I have to make a reset of the Arduino board. I do not know if the addresses of the controllers (0x29, 0x2A, 0x2B, 0x2C) are correct and I do not know if the code that implements the I2C communication is correct. The information that a I have got was from the file "twimaster.c" from the code of "FlightCtrl", but it is very difficult to find a way to implement the same code on the Arduino platform.
To see if someone could help me find more information about the I2C communication between the "BL-Ctrl" controllers and other devices like Arduino I put this problem in the MikroKopter forum.
No comments:
Post a Comment