HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Nov 05, 2014, 06:12 AM
Registered User
SeByDocKy's Avatar
France, PACA, La Valette-du-Var
Joined Dec 2012
6,091 Posts
Mini-HowTo
BradWii revolution !! (for toy-quadcopters)

INTRODUCTION

Hi,

First thing, I would like to thanks all Bradwii contributors for this fantastic project: Brad (of course), Victzh, Goebish and the TheLastMutt

Bradwii's goal is to install Multiwii program on dirty cheap FC associated with a lot of toy's quadcoters. For example, a lot of WLtoys and JXD are bradwii compatible. With bradwii, you will be able to tune all flying caracteristics of your quadcopter as well as to be able to add new features since all the sources are available. For less than 7USD, you can transform a cheap FC board into a more Professional one.

Bradwii have been specifically developped to work with the Nuvoton Mini54ZAN, a Cortex-M0 based microcontroller with 16kb of user flash and 2kb of SRAM,, combined gyro/accelerometer InvenSense MPU-6050, and nRF24L01+ clone Beken BK2423. Another variant for the Hubsan X4 is using the Invensense MPU-3050 as gyro, the mCube MC3210 as accelerometer and A7105 as RF.


CAUTION

SINCE WE DON'T HAVE THE ORIGINAL FIRMWARE, IF YOU DECIDE TO INSTALL BRADWII, YOU CAN'T RETURN BACK WITH THE ORIGINAL FIRMWARE !!!

Bradwii tutorial introduction (2 min 25 sec)



REQUIREMENTS

Important links


1) Bradwii installation

a) Flashing tool for bradwii

ST-Link V2 mini
http://www.ebay.com/itm/ST-Link-V2-m...item20ef65de5c

b) Drivers for ST-link V2 mini
http://www.st.com/web/en/catalog/tools/PF258167#

NOT WORKING WITH USB3 port

c) Hooks for an easy wiring

http://www.banggood.com/Test-Clamp-Wire-Hook-Test-Clip-for-Logic-Analyzer-p-936424.html


2) Real time moninoring, parameters settings

a) FTDI to serial converter

http://www.banggood.com/FT232RL-FTDI-USB-To-TTL-Serial-Converter-Adapter-Module-For-Arduino-p-917226.html

http://www.ebay.com/itm/6Pin-CP2102-...item3ce79bff65

Need to be compatible with 3.3V

b) Driver for the FTDI to serial converter

http://www.ftdichip.com/Drivers/VCP.htm

http://www.silabs.com/products/mcu/p...cpdrivers.aspx

c) Mini 1.25mm 4pin connectors (male and female)

http://www.ebay.fr/itm/Micro-Mini-1-...ts_Accessories


3) Keil software/API

a) Main IDE/compiler (mdk512.exe)

https://www.keil.com/demo/eval/arm.htm

b) API for Cortex-M-device

http://www2.keil.com/mdk5/legacy/


4) Bradwii links

a) Last sources of Bradwii

https://github.com/goebish/bradwii-X4

b) Erasing FW tool

https://github.com/hackocopter/JD385_Documentation

iii) Erasing/flashing procedure

https://github.com/hackocopter/JD385...are%20Flashing


5) Multiwii

a) For multiwiiconf (take the last stable V2.3 version)

http://code.google.com/p/multiwii/downloads/list


INSTALLATION VIDEOS


Bradwii tutorial: part-I-software installation (14 min 22 sec)


Bradwii tutorial: part-II-Bradwii installation (13 min 37 sec)


Bradwii tutorial: part-III-Serial configuration and real time monitoring (11 min 27 sec)



More infos can be found at: http://www.rcgroups.com/forums/showthread.php?t=2174365

MINI54ZAN PINOUT & SPECIFIC FC PINOUT

SWD port : Color nomenclature

BLACK = GND, GREY = CLOCK/ICE_CLK, PINK = DATA/ICE_DATA

SERIAL port : Color nomenclature

BLACK = GND, RED = VCC (+3.3V), YELLOW = TX, BLUE = RX

Mini54ZAN pinout

VSS (28) = GND, ICE_DATA (20) = DATA, ICE_CLK(19) = CLOCK




Some FC board have some directly some debug port (at least the SWD one) for an easy connexion (via the 1.25mm JST connector "molex').
If the FC don't have these port but have the correct compatible harware, you need to solder probes directly on the MCI pins.



-V262/V333




-V636




-JXD 392




-SYMA X12




Compatible FC board list

Model name SWD port SERIAL port remark

1) JXD 385 yes yes
2) JXD 388 yes yes
3) JXD 392 yes yes
4) WLtoys V212 yes yes
5) WLtoys V222 yes yes
6) WLtoys V262 yes yes From rev 03
7) WLtoys V272 yes no
8) WLtoys V333 yes yes
ç) SYMA X12 no no
10) UDI U839 no no
11) YI ZHAN X4 no no To be confirmed
12) Hubsan H107 yes no








More videos to come
SeByDocKy is offline Find More Posts by SeByDocKy
Last edited by SeByDocKy; Nov 08, 2014 at 12:55 AM.
Reply With Quote
Sign up now
to remove ads between posts
Old Nov 05, 2014, 06:29 AM
Registered User
SeByDocKy's Avatar
France, PACA, La Valette-du-Var
Joined Dec 2012
6,091 Posts
Reserved for extra videos

DeviationTX Windows toolchain installation tutorial

DeviationTX toolchain installation for Windows system (35 min 40 sec)


If you want to add feature in the current "V2x2" protocol, can be useful


WLtoys V262 w/ bradwii

WLtoys V262 with Bradwii F/W (2 min 33 sec)
SeByDocKy is offline Find More Posts by SeByDocKy
Last edited by SeByDocKy; Nov 14, 2014 at 05:13 AM.
Reply With Quote
Old Nov 05, 2014, 06:35 AM
Registered User
Joined Jan 2014
306 Posts
Thanks. I have all bought for this project, just never had any time to go though of the installation. Maybe your tutorials will give me the final push to do that.
mahagr is offline Find More Posts by mahagr
Reply With Quote
Old Nov 05, 2014, 06:38 AM
Registered User
SeByDocKy's Avatar
France, PACA, La Valette-du-Var
Joined Dec 2012
6,091 Posts
Quote:
Originally Posted by mahagr View Post
Thanks. I have all bought for this project, just never had any time to go though of the installation. Maybe your tutorials will give me the final push to do that.
The main objective.... of this tutorlal
SeByDocKy is offline Find More Posts by SeByDocKy
Reply With Quote
Old Nov 05, 2014, 07:50 AM
Registered User
United States, MD, Annapolis
Joined Jun 2013
2,771 Posts
Nice! Thanks for the post!
Waterbound is online now Find More Posts by Waterbound
RCG Plus Member
Latest blog entry: Hubsan H107D Custom FPV Setup
Reply With Quote
Old Nov 05, 2014, 11:11 AM
I Void Warranties
goebish's Avatar
France, Aquitaine, Bordeaux
Joined Feb 2010
1,925 Posts
Cool, thanks for making a tutorial.

I'll keep this post as a placeholder on page 1 in case I've things to add later
goebish is offline Find More Posts by goebish
Reply With Quote
Old Nov 05, 2014, 11:22 AM
Registered User
SeByDocKy's Avatar
France, PACA, La Valette-du-Var
Joined Dec 2012
6,091 Posts
Quote:
Originally Posted by goebish View Post
Cool, thanks for making a tutorial.

I'll keep this post as a placeholder on page 1 in case I've things to add later
You are the welcome

I will add also many other video/photos, especially the pinout for some bradwii compatible board I have and some demo flights from other bradwii users

You are free to add in your repo and for devationTX my so wanted feature To decrease to 250kbits, the speed rate of the V2x2
SeByDocKy is offline Find More Posts by SeByDocKy
Last edited by SeByDocKy; Nov 05, 2014 at 11:30 AM.
Reply With Quote
Old Nov 06, 2014, 01:16 AM
Registered User
SeByDocKy's Avatar
France, PACA, La Valette-du-Var
Joined Dec 2012
6,091 Posts
Added 4 other bradwii FC compatible pinout in #1
SeByDocKy is offline Find More Posts by SeByDocKy
Reply With Quote
Old Nov 06, 2014, 05:14 AM
Registered User
ONCLEFLY's Avatar
France, IDF, Montlhéry
Joined Jun 2013
79 Posts
Yes, I am going to be able to put myself in it and understand. thank SEBY
ONCLEFLY is offline Find More Posts by ONCLEFLY
Reply With Quote
Old Nov 06, 2014, 06:49 AM
MassiveOverkill's Avatar
United States, FL, Melbourne
Joined Feb 2011
5,467 Posts
Thanks for this tutorial SeBy
MassiveOverkill is online now Find More Posts by MassiveOverkill
Site Sponsor
Old Nov 06, 2014, 07:09 AM
I Void Warranties
goebish's Avatar
France, Aquitaine, Bordeaux
Joined Feb 2010
1,925 Posts
Due to the recent FTDI driver drama, I wouldn't recommend using a ftdi usb to serial dongle (banggood have fake chips on the dongles they sell by the way, I checked myself).
Better use a CP2102 instead, no worry, they are 3.3V TTL level, and they're cheaper ! :
http://www.ebay.com/itm/6Pin-CP2102-...item3ce79bff65
goebish is offline Find More Posts by goebish
Reply With Quote
Old Nov 06, 2014, 07:35 AM
MassiveOverkill's Avatar
United States, FL, Melbourne
Joined Feb 2011
5,467 Posts
Those drivers were actually pulled. I just flashed a GPS unit this weekend using my fake FTDI adapter from Hobby King and it survived without issue.
MassiveOverkill is online now Find More Posts by MassiveOverkill
Site Sponsor
Old Nov 06, 2014, 07:37 AM
Registered User
SeByDocKy's Avatar
France, PACA, La Valette-du-Var
Joined Dec 2012
6,091 Posts
Quote:
Originally Posted by goebish View Post
Due to the recent FTDI driver drama, I wouldn't recommend using a ftdi usb to serial dongle (banggood have fake chips on the dongles they sell by the way, I checked myself).
Better use a CP2102 instead, no worry, they are 3.3V TTL level, and they're cheaper ! :
http://www.ebay.com/itm/6Pin-CP2102-...item3ce79bff65
Thanks for the info . I will update #1 with your link
SeByDocKy is offline Find More Posts by SeByDocKy
Reply With Quote
Old Nov 06, 2014, 07:40 AM
I Void Warranties
goebish's Avatar
France, Aquitaine, Bordeaux
Joined Feb 2010
1,925 Posts
Quote:
Originally Posted by MassiveOverkill View Post
Those drivers were actually pulled. I just flashed a GPS unit this weekend using my fake FTDI adapter from Hobby King and it survived without issue.
You had no issue because an older version of the driver was already installed on your machine. It's still not clear what ftdi will do against fake chips in the next driver update, better safe than sorry and stop using this brand. I've been using CP2102 dongles for years, they are cheap and work very well, they're also win/linux/osx/android compatible...

Are you sure your dongle is using a fake chip ? I checked one that came with the HK Micro-X quad, it's detected as genuine.
I checked almost 10x FT232RL I have at home in various devices, only one has been detected as a fake, but that's enough for me, how can I know if I buy a real or a fake when I buy an end user product ?
goebish is offline Find More Posts by goebish
Last edited by goebish; Nov 06, 2014 at 08:08 AM.
Reply With Quote
Old Nov 06, 2014, 07:57 AM
hopeless newbie
Joined Oct 2014
163 Posts
Quote:
Originally Posted by goebish View Post
You had no issue because an older version of the driver was already installed on your machine. It's still not clear what ftdi will do against fake chips in the next driver update, better safe than sorry and stop using this brand. I've been using CP2102 dongles for years, they are cheap and work very well, they're also win/linux/osx/android compatible...
+1

Since FTDI made it clear they don't want you to use products with fake FTDI chips, and they know how to detect these, you can bet that at some point in the future the fake equipment will again stop working. It may not get bricked next time, and just display a big fat "you have a fake" box on the screen, but you still won't be able to use it, which will be mighty annoying when it happens.

Another alternative is usb/serial dongles based on Prolific PL2303 - though these have been counterfeited as well in the past. Not that familiar with CP2012 but seems like every usb/serial chip has been plagued by fakes..

You can't really do anything to know you aren't buying a product with fake chips (could be a supplier's supplier's problem..) but you can avoid patronizing companies that willfully destroy your property (FTDI).
offbyone is offline Find More Posts by offbyone
Reply With Quote
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Discussion Introducing BradWii - Open Source Multi-Copter Software bradquick Multirotor Electronics 729 Dec 20, 2014 08:54 AM
Discussion Bradwii on V202, V252, JD-385 victzh DIY Electronics 249 Nov 30, 2014 02:16 PM
Discussion Bradwii on Paris Air v2 Jdjuggler Multirotor Electronics 1 Jul 31, 2014 11:39 PM
Discussion Obama’s Forged Birth Certificate Brings Call For Revolution zeroback Life, The Universe, and Politics 97 Dec 30, 2013 10:46 AM
Discussion Stick ranges in BradWii Hooch180 Multirotor Electronics 0 Sep 06, 2013 04:26 AM