#acl AdminGroup:read,write,revert EditorsGroup:read,write,revert All:read ||This page as an '''PDF-Document'''? Click on that Symbol and wait a little moment... ---> ||<>|| {{{#!wiki caution '''Info''' This page is currently under revision }}} {{{#!wiki MK_Nav ||'''BL-Ctrl V1.2'''|| }}} {{{#!wiki MK_select1 * {{http://mikrokopter.de/images/deu.gif}} [[BL-Ctrl_V1.2|deutsch]] * {{http://mikrokopter.de/images/fra.gif}} [[fr/BL-Ctrl_V1.2|français]] }}} <
> See also: [[en/BL-Ctrl|BL-Ctrl]] <
><
> <> {{https://www.mikrocontroller.com/images/BL-Ctrl11_unten1.JPG}} = Differences to BL-Ctrl V1.1 = * Visually no difference to BL-Ctrl 1.1 * PCB comes now with '''4-layer ''' * Better heat dissipation of the FET's and the Shunts * Transistors T1, T2, T3 are replaced now by transistors with built-in resistors * Less sensitive to moisture <
> See also the version history [[Ctrl_History]]. = Choosing the address = On the V1.2 the motor address is set by a solder jumper on the board. {{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=73036&g2_serialNumber=4}} It is as follows: {{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=134733&g2_serialNumber=2}} Here you can see the addresses and positions of the motor controls and also the direction of rotation of the assigned propeller: <
> (Click image for high resolution)<
><
> [[http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=97947&g2_serialNumber=1|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=97950&g2_serialNumber=2|http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=97947&g2_serialNumber=1}}]]<
><
> The connection diagram: <
> [[http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=92738&g2_serialNumber=1|{{http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=92741&g2_serialNumber=2|http://gallery.mikrokopter.de/main.php?g2_view=core.DownloadItem&g2_itemId=92738&g2_serialNumber=1}}]] <
> = Software = Depending how many motors you will use on your copter you need for the upper addresses of the BL-Ctrl's a different software. This can be downloaded here: <
><
> BL-Ctrl V1.2 - Adr. 1-4: [[http://svn.mikrokopter.de/filedetails.php?repname=BL-Ctrl&path=%2Ftags%2FV0.42%2FHex-Files%2FBL-Ctrl_V1_1_and_V1_2%2FBrushLess-Ctrl_MEGA8_V0_42_10A.hex|Download]] <
> BL-Ctrl V1.2 - Adr. 5-8: [[http://svn.mikrokopter.de/filedetails.php?repname=BL-Ctrl&path=%2Ftags%2FV0.42%2FHex-Files%2FBL-Ctrl_V1_1_and_V1_2%2FBrushLess-Ctrl_MEGA8_V0_42_10A_ADR5-8.hex|Download]] <
> BL-Ctrl V1.2 - Adr. 9-12: [[http://svn.mikrokopter.de/filedetails.php?repname=BL-Ctrl&path=%2Ftags%2FV0.42%2FHex-Files%2FBL-Ctrl_V1_1_and_V1_2%2FBrushLess-Ctrl_MEGA8_V0_42_10A_ADR8-12.hex|Download]] <
><
> = Assignment of the terminal = On the pre-assembled BL-Ctrl V1.2 you need to solder the enclosed Elko: {{attachment:BL-Ctrl_V1.2/Bl-Ctrl_v1_1.jpg}} It is advisable to bend the capacitor by 90° so that it fit parallel to the outer side of the board. Further you can see on the picture how to connect the I2C-Bus-Wires and the power supply. <
> /!\ The controller is still sensitive to moisture and should be shrink wrapped with shrink tubing! For details see also BrushlessCtrl and water landing. = Flying with 4S LiPo = It is also possible and the same as with the BL-Ctrl V.1.1 to fly the MK with four-cell !Lipo's. See also [[4S-LiPos]]. Here you need to adjust the wirering in that way that the BL-Ctrl are hooked up directly to the power supply and __not__ over the switch of the Flight-Ctrl. That is necessary because the switch is not designed for those current and starting flashes coming with the high voltage. = Schematic = [[ http://gallery3.mikrokopter.de/var/albums/tech/BL_CTRL_1_2.gif?m=1409657727 | {{ http://gallery3.mikrokopter.de/var/resizes/tech/BL_CTRL_1_2.gif?m=1410788320 }} ]] (click for high resolution) Please note: In version 1.2 for T1-3 the part PDTC143 with integrated base resistor is used. The base resistors R3, R6 and R9 need to be changed through a low-resistance resistor, i.e. 100 Ohm. ##= Assembly layout = ##Top-side (Version 1.2): ##{{attachment:BL-Ctrl_V1.2/BL_CtrlV1_2_oben_bearbeitet.JPG}} <
> ##LED1 = Green, LED2 = Red, NA- NB- NC- = IRFR1205 or IPD03N03LB or IRLR7843<
> ##'''__INFO:__''' The resistor '''R11''' is 680 Ohm and not like on the picture 4,7 KOhm! <
> <
> ##Bottom-side (Version 1.2): ##{{attachment:BL-Ctrl_V1.2/BL_CtrlV1_2_unten_korrigiert.JPG}} <
> ##NA+ NB+ NC+ = IRFR5305 or FDD6637 = Troubleshooting = If the BL-Ctrl have a fault, you can see this e.g. on the flashing red LED on the BL-Ctrl.<
><
> How to find and fix a fault on this BL-Ctrl you can see here: [[BL-Ctrl_Fehlerbeseitigung|Troubleshooting]] = Controlling with own Hardware = Controlling the BL-Ctrl with own hardware is easy. == AVR (plain) == A sample code for nearly any AVR is given below. The code will spin up the selected motor with a given speed. This is just to give an idea on how to interface them. {{{#!highlight c #include #include #include // using I²C Master library from // Peter Fleury ( http://jump.to/fleury ) #include "i2cmaster.h" #define TWI_BLCTRL_BASEADDR 0x52 int main(void) { i2c_init(); uint8_t motor = 0; // 0 -> Motor1, 1 -> Motor2 etc... uint8_t speed = 10; uint8_t ret; while (1) { ret = i2c_start(TWI_BLCTRL_BASEADDR + (motor << 1) + I2C_WRITE); if (ret) { // release bus i2c_stop(); // failed... maybe print error or something } else { i2c_write(speed); i2c_stop(); } _delay_ms(50); } } }}} == Arduino == A sample code for Arduino compatible devices is given below. The code will spin up the selected motor with a given speed. This is just to give an idea on how to interface them. {{{#!highlight c #include void setup() { Wire.begin(); } #define TWI_BLCTRL_BASEADDR 0x52 void loop() { int motor = 0; // 0 -> Motor1, 1 -> Motor2 etc... int speed = 10; // The Wire library uses 7 bit addresses throughout. If you have a // datasheet or sample code that uses 8 bit address, you'll want to // drop the low bit (i.e. shift the value one bit to the right), // yielding an address between 0 and 127. Wire.beginTransmission((TWI_BLCTRL_BASEADDR + (motor << 1)) >> 1); Wire.write(speed); Wire.endTransmission(); delay(50); } }}} ---- . KategorieMK-Baugruppe/de