December 11, 2015

A long story about flashing ESCs

It all started with me deciding that BLHeli with soft damping was a fundamental requirement for my next build. I bought the DYS BL10A for my upcoming 150 size FPV racer build.

From the comments section one can read that this ESC
  • has a tendency to go up in flames
  • is not programmable via the 1-wire interface 
Perfect! Not really, but I tested all the ESCs once I got them to make sure I didn't get one of those that leaks magic smoke, and they are all fine. I also ordered one extra just in case. But it was also about time that I got to re-flash an ESC, something I've considered for a long time but never got to the action.

Hooking up one of the ESCs with the DYS programmer confirmed what I saw in the forum posts, it wasn't programmable via the servo lead.

Alright, lets strip it to see what the 4-wire interface looks like.

IMGP8984
4-wire interface on the DYS BL10A


There are 6 pads, but 2 are 5v and ground and the remaining 4 are for the communication. I found information about how to connect the pads over at Oscar Liangs blog post.

Now that I had all that figured out I made a connector, inspired by David Windeståhls connector, using a clothespin.


IMGP8989
Clothespin connector



My intention was to use this together with a USBAsp to be able to flash a new firmware with bootloader and/or configure the ESC. But my USBAsp is a cheap one from hobbyking and appearently it has an old firmware and can't do this kind of job. So I started preparing to update the firmware of the USBAsp first. This is possible, but requires a lot of figuring out and I decided to ditch that idea.

While trying to figure out how to reflash the USBAsp I prepared one of my arduino boards to act as an ISP. This is really easy. And using the arduino I was able to connect to ESC. But for some reason I cannot get the arduino USB device to bridge into my virtual windows environment (I run Linux). And BlHeliSuite lives in windows.

I decided to use kkmulticopter flash tool to try to put a bootloader onto the chip. But for some reason the kkmulticopter tool refused to flash the chip as the ID was wrong (very little wrong, but still).

The world is against me! At this time I was close to giving up. But as a last resort I pulled out an USB ISP. Could I use this? Yes! Can I get it into windows? YES!

Alright! But this time my super duper clothespin connector failed me. For some reason I could not get a proper connection with the board.

I ended up soldering the cables directly. I wanter to know wheather it was my connector or something else that was wrong. It was fiddly. I have a crappy soldering iron without temperature regulator and I'm not a master solderer when it comes to small things.


IMGP8987
Cables soldered to the 4-wire interface.

But it worked. I could now communicate with the chip using the USB Tiny ISP. What surprised me now was that the chip already had BlHeli v. 14, soft dampening enabled and BOOTLOADER. What? I re-flashed it! Check that everything was OK via the 4-wire interface before de-soldering it.

Didn't help. Still not possible to connect via the servo lead. Strange. So I tested the other 4 ESCs. And guess what? They could all be connected via the servo lead. So much time wasted on the one that wasn't working as it should instead of testing them all first.


December 7, 2015

OpenPilot Revolution! Wait what?!

For my upcoming 150 FPV build I really wanted to try out the Revolution nano, as my first revolution flight controller. However, as we all know, they are not easy to come by. They are always sold out at the OP store.

But wait! Right now the OP store is selling Revo nano, but only in kit form. And what kind of kit? An FPV racer kit! But come on, the kit has RCX motors and ESCs and a cheap buck voltage converter. Thats not premium stuff to go with that premium flight controller, is it? I can't buy that kit, I'm really sorry.

But then I noticed that Banggood is selling the Revo nano now. Or are they? It looks very much like a mini CC3D with different printing on the case to me. And hold on, it says "CC3D Mini Revolution" on the case. That's not even close to "OpenPilot Revolution Nano" that it should say. I'm not paying for that black box!

And what about dear old HobbyKing? Oh yes, they are also carrying the Revolution now, but only the full size version. AND they do not mention any royalties payed to OpenPilot for this flight controller, as they would usually do if they would pay them anything.

I suppose I have to wait for OpenPilot to start selling that Revo nano on its own again...

December 1, 2015

Mini CC3D

I received, among other things, the flight controller for this winter project today. I chose to go with the new mini CC3D. And yes, it is really small and will be perfect in my future 150 FPV racer.

It measures about 20 by 27 cm and to take the next step in size after the CC3D Atom the servo connector pins have been removed and it has small connector for all outputs instead.

Mini CC3D, case to the left, flight controller to the right.
Classic CC3D size in the middle for comparison.

Normally I would have removed the case to save some weight and size but it is a really tight fit and made from thin plastic which probably makes it lighter than wrapping the controller in a heat shrink tube.

I bought my specimen at HobbyKing, but you can get it from Banggood or ebay if you prefer.