Replies

  • Hello Marco,

    I'm new to Pixhawk and I want to "recycle" my Mikrokopter frame. So I'm trying to enable the mkblctrl option in Pixhawk. I need to understand more in detail the steps to do. I'm not very experienced in managing a linux system by console commands, but I remember stuff from old MD-DOS time.


    Up to the moment, I'm able to connect to the nsh and get a prompt from Pixhawk. I can cd to fs/microsd/APM/ and create a file here. My question is: What kind of file must this be (extension needed?) and what shall it contain?

    After creating this file (mkblctrl_x in my case), what shall I do? Reset the Pixhawk? How can I check if the mkblctrl driver is running?

    Reagards, Frank

    • Hello Frank,

      at first you should to the basic setup of your Pixhawk.
      Frame, Radio Calibration and Sensor calibration.
      Then turn the Pixhawk off, eject the microsd card, and put it in the cardreader and stick it into your computer. Go to the card, and go into the APM directory on it.
      Here you create a empty file named mkblctrl_x (without any file extension). On windows you can open your notepad, and then go to save file as - here you go to the APM directory of your card, and enter mkblctrl_x as filename.
      Nor you are ready. Eject the card from your pc and put it back into the pixhawk.
      After powering on (boot) you should see the green led on all blctrl escs on - then the driver is working and talking to them.
      If you get solid red leds, please check your cables to the escs.

      Cheers
      -Marco
  • Anybody?

    Please, I need information to upgrade my MK into a Arducopter, PX4 or Pixhawk! ?¿

    I want to know if i2c ESC have good performance with this electronics.

    Best Regards,

    Diego.

    • Hi,

      i am using PX4 Flightstack and ArduCopter for almost one year with the Mikrokopter BL-Ctrls (i2c) with absolutely no worries :)

      If you have a PX4 or Pixhawk, then you are on the lucky side. The BL-Ctrl ESCs are supported by ArduCopter in the current Developer Version. You can easy replace the Mikrokopter Flight&NaviCtrl with a Pixhawk or PX4 Board.

      Small short instructions to get this ESCs working:

      Mikrokopter ESCs have to be connected I2C Bus on Pixhawk/FMU.

      Arducopter Mode:
      To enable mkblctrl startup add a /fs/microsd/APM/mkblctrl file
      In this configuration the ESCs must be ordered in the same order as the ArduCopter is numbering them.
      In this Mode all Frametypes of ArduCopter are supported.

      Mikrokopter Mode:
      To enable Mikrokopter native Frame Addressing (Order) support:
      For X Type Frame add:
      /fs/microsd/APM/mkblctrl_x

      For + Type Frame add:
      /fs/microsd/APM/mkblctrl_+

      With Mikrokopter Frame Addressing, it is very easy to convert a Mikrokopter to ArduCopter. Just replacing
      the Flight-CTRL against a Pixhawk, and your are done after initial Setup.

      In Mikrokopter Mode there are only X and + Type Quadro, Hexa and Octo Frames Supported.
      In Mission Planner the right Frame have to be set.

      Attention:
      There can be only one startup File on the SDCard (mkblctrl, mkblctrl_x, mkblctrl_+)

      ====================

      A short video of a Quadrocopter with Pixhawk and ArduCopter Firmware flying, can
      be found here : http://youtu.be/I4osRSitFko

      Cheers
      -Marco
      • Hi Marco.

        With ArduCopter 3.2.1, almost immediately after it boots up, my motors all start running at a medium-low speed, even before arming. They never change speed, and adjusting THR_MIN has no effect (although I'm not sure I successfully adjusted it). Powering down the Pixhawk also stops the motors.

        Any idea what's going on? Thanks!

  • Hi, the MK BLs are not very good with PWM. They use the built-in oscillators in the atmegas and they are not good. For I2C it doesnt matter but for PWM it means inaccurate throttle. You can try calibrate their oscillators and/or put SimonK firm on them, if you know how.
    If you get other ESCs, pay the extra money and get some with chrystal oscs. Regards, Soren
  • Developer
    If you use the PX4 controller, some support for mikrocopter i2c ESCs has been added see https://github.com/diydrones/ardupilot/commit/ae2ee399c2cfe42526f39...

    This will probably work with the new Afro ESC from hobbyking as well, as that also supports i2c (but needs to be verified)

    Though it pretty new stuff and i'm not 100% sure if its end to end yet.
  • 3D Robotics

    I'm not familiar with the MK ESCs, but APM only supports standard (PWM) ESCs. 

This reply was deleted.

Activity

DIY Robocars via Twitter
RT @breadcentric: The handy bit about racing with self-driving cars is that one can type while the car is racing. Report from #AWSDeepRacer…
yesterday
DIY Robocars via Twitter
RT @chr1sa: Our Bay Area @DIYRobocars meetup is now at 2,700 members. Next in-person events (in Oakland) are training day on July 17 and…
yesterday
DIY Robocars via Twitter
Videos from the ICRA autonomous racing workshop are now available: https://linklab-uva.github.io/icra-autonomous-racing/
Jun 10
DIY Robocars via Twitter
RT @SmallpixelCar: Prepared race track for Warm Spring Raceways @wsraceways and looking forward to test my new car at RAMS RC @ramsaicar fa…
Jun 6
DIY Robocars via Twitter
RT @f1tenth: Trying out some nasty blocking maneuvers 🏎️🤖 #f1tenth #autonomousracing https://t.co/nMTstsaogM
Jun 5
DIY Robocars via Twitter
May 27
DIY Robocars via Twitter
RT @araffin2: I will talk this Saturday from 18:00 to 19:00 Paris time for the @diyrobocars community about learning to race in hours using…
May 27
DIY Robocars via Twitter
RT @a1k0n: Luckily the infeasible hairpin problem was easily reproducible in simulation and I could test the fix before bringing the car ba…
May 26
DIY Robocars via Twitter
RT @a1k0n: Another problem was that I was over-constraining the car's allowed accelerations, so it didn't think it could turn as tight as i…
May 26
DIY Robocars via Twitter
RT @a1k0n: Breaking the map up into two halves worked, but I had to be more careful about separating the inner track from outer. There's se…
May 26
DIY Robocars via Twitter
RT @a1k0n: Here's a datalog for my fastest lap of the day. Lap timer is tiny window lower-left. https://t.co/myrlWWrKUY
May 26
DIY Robocars via Twitter
May 26
DIY Robocars via Twitter
RT @a1k0n: Here was my car's POV. Man this track is confusing in first-person! After the incident my camera was all scuffed up and I was af…
May 23
DIY Robocars via Twitter
RT @circuitlaunch: Loved seeing so many familiar (masked) faces at Circuit Launch today for our first in person @diyrobocars in over a year…
May 22
DIY Robocars via Twitter
RT @circuitlaunch: Last but not least, mystery guest @BostonDynamics Spot took to the track @diyrobocars He enjoyed the #brazilianbbq too 😂…
May 22
DIY Robocars via Twitter
RT @SmallpixelCar: Today’s race @circuitlaunch for @diyrobocars with @a1k0n Was busy in the morning and did not get a chance to tune camera…
May 22
More…