New Products Flash Sale
Thread Tools
Old Apr 26, 2014, 09:45 AM
e_lm_70 is offline
Find More Posts by e_lm_70
Registered User
Austria
Joined Jan 2004
8,806 Posts
Discussion
Cheap DIY control board: Naze32

DIY Naze32 - 32bit State of Art Flight Control Board for 14$ (3 min 9 sec)






Here is what I'm working on:

Ultra cheap DIY Naze32 ... TimeCop stm32 baseflight beast

All what you need is:

STM32 board : 7.4$ : http://www.ebay.com/itm/111297094334
10DOF : 16$ : http://www.ebay.com/itm/NEW-10DOF-IM...-/271037787023

EDIT: 13.7$ 10DOF -> http://www.ebay.com/itm/1PC-10DOF-IM...item4610ee9ab5


Or DIY 10DOF : (6.7$)
2.4$ Baro -> http://www.ebay.com/itm/1PC-BMP180-D...-/251384711149
2.8$ Gyro+Acc -> http://www.ebay.com/itm/MPU-6050-Mod...-/360787042912
1.5$ Mag -> http://www.ebay.com/itm/1X-HMC5883L-...-/181342530884

So ... Naze32 Rev4 fully equipped can be done for just: 6.7$ + 7.4$ = 14$

Only needed equipment is a solder (but also no solder in case of ready made 10DOF) ... and a USB to Serial adapter (better a 3.3v one) ... for flash the board using STM32 tools

USB serial adapter -> http://www.ebay.com/itm/281297404719 (1.99$)

Here is a preview photos ...
e_lm_70 is offline Find More Posts by e_lm_70
Last edited by e_lm_70; Sep 30, 2014 at 08:33 AM.
Reply With Quote
Sign up now
to remove ads between posts
Old Apr 26, 2014, 09:46 AM
e_lm_70 is offline
Find More Posts by e_lm_70
Registered User
Austria
Joined Jan 2004
8,806 Posts


Pin to be connected:

PB10 - SCL
PB11 - SDA

PA9 - TX1 - (Bluetooth-Telemetry)
PA10 - RX1 - (Bluetooth-Telemetry)

PA0 -> CH1 - PPM

PA8 - PWM1 (29)
PA11 - PWM2 (32)
PB6 - PWM3 (42)
PB7 - PWM4 (43)
PB8 - PWM5
PB9 - PWM6

PA2 -> TX2 (3.3v GPS or PWM Input #3)
PA3 -> RX2 (3.3v GPS or PWM Input #4)

------ Untested PIN ---------
PA12 -> Buzzer (tested here)
PA4 -> VBAT (tested here)

Both pins can't be used as it is for both the usage, since for buzzer is needed a transistor for drive the buzzer, and for VBAT it is needed a voltage divider (two resistors) plus a stabilizer (capacitor)

PB4 -> LED0
PB3 -> LED1

Both need a led + a resistor for avoid to overload the ping ... 1k resistor should do the job (even 1 shared between the two led for save few cents)

----------------------------

Since I was asked to support also the sub-optimal RC with independent PWM .. so the traditional 4ch to 8ch TX

Here are the pin to be connected for each PWM input channel (please refer to TimeCop Naze32 manual for know the channel order, I have no idea if he use TAER1234 or AETR1234 ... or else )

PA0 -> Channel 1
PA1 -> Channel 2
PA2 -> Channel 3
PA3 -> Channel 4
PA6 -> Channel 5
PA7 -> Channel 6
PB0 -> Channel 7
PB1 -> Channel 8
----------------------------

CLI Wiki Page (mandatory for advance setting)
https://github.com/multiwii/baseflig.../CLI-Variables

Suggested GUI -> MultiWii 2.3 official Java GUI ... http://code.google.com/p/multiwii/do...3.zip&can=2&q=

Quick Manual -> http://www.abusemark.com/downloads/naze32_rev1.pdf

STM32 flashing software -> http://www.st.com/web/en/catalog/tools/PF257525
(Note: Jumper on BOOT0 need to be moved while on power off ... next power up with BOOT0 in the upper position, allow to flash the firmware with the tool above ... if the HEX file is bigger then 64k code .. then it is needed to specify that flash size is 128k in the chip, instead of the default 64k shown by the STM tool ... for now baseflight is less then 64k)
Baseflight firmware -> https://github.com/multiwii/baseflig...baseflight.hex

Note .. Strange in theory A2-A3 require a 3.3v GPS (per TimeCop manual) ... how it can support normal PWM from a 5V RX ....

----------- EDIT -------------------

Got this piece of info somewhere:

(we use "1", since that is telemetry output over the soft serial rc input pin 6)
So .. soft serial is on Input 6, that should be PA7 ... I will have to check it out

Reference Naze Wiki : http://www.netraam.eu/nazewiki/pmwiki.php

-------------------------------------

EDIT: Contribution from post 414

e_lm_70 is offline Find More Posts by e_lm_70
Last edited by e_lm_70; Oct 21, 2014 at 09:30 AM.
Reply With Quote
Old Apr 26, 2014, 09:55 AM
John michel is offline
Find More Posts by John michel
Registered User
Joined Jun 2013
523 Posts
nice work



have you fly it yet? a some photo program STM32 ?
John michel is offline Find More Posts by John michel
RCG Plus Member
Old Apr 26, 2014, 10:04 AM
e_lm_70 is offline
Find More Posts by e_lm_70
Registered User
Austria
Joined Jan 2004
8,806 Posts
Quote:
Originally Posted by John michel View Post
nice work



have you fly it yet? a some photo program STM32 ?
Just bench test for now ... since months

Naze32 has a GUI that I don't like much ... but ... I will give it a go "soon"

There is no reason why it should not fly ... it is same concept as the DIY MultiWii board .. that the basic one now cost 5.6$

I will need to maiden my DIY Naze with a DIY OpenLRSng RX .. including FrSky telemetry support

Quite some work on studding Naze32 needed ... and mainly I need to ad BMP180 support ... even the sample libraries for these puppy are a bit broken ... but it is looking way better then 085 ... but not as accurate as 5611 . at least from my very preliminary bench test

BTW: I tested my DIY 10DOF giving it as power 3.3v ... the STM32 has just 1 5v pin ... but 4 exposed 3.3v and 4 exposed GND ... the idea is to power directly a DIY FrSky or openLRSng that both works on 3.3v ... so ... perfect match.

The only draw back of this DIY Naze32 .. it is that it is a bit heavy ... possibly the USB plug can be removed, since it is useless ... TimeCop use a FTDI chip on his boards ... he does no bother to code support USB, that anyhow will not help for flash the firmware
e_lm_70 is offline Find More Posts by e_lm_70
Reply With Quote
Old Apr 26, 2014, 10:48 AM
Rcnewbiechris is offline
Find More Posts by Rcnewbiechris
Scratch-Built 250 Quads + 450
United States
Joined Sep 2012
449 Posts
For. Acro naze32 would I just need gyro+acc and stm32 board?
Rcnewbiechris is offline Find More Posts by Rcnewbiechris
Last edited by Rcnewbiechris; Apr 26, 2014 at 10:57 AM.
Reply With Quote
Old Apr 26, 2014, 11:05 AM
e_lm_70 is offline
Find More Posts by e_lm_70
Registered User
Austria
Joined Jan 2004
8,806 Posts
Quote:
Originally Posted by Rcnewbiechris View Post
For. Acro naze32 would I just need gyro+acc and stm32 board?
Yes ... not even 10$

But no mag, no baro .. no fun ... just few extra cents
e_lm_70 is offline Find More Posts by e_lm_70
Reply With Quote
Old Apr 26, 2014, 02:30 PM
Rcnewbiechris is offline
Find More Posts by Rcnewbiechris
Scratch-Built 250 Quads + 450
United States
Joined Sep 2012
449 Posts
Eh I'll be using it for los though can you make a video tutorial pls, I really would like to build one
Rcnewbiechris is offline Find More Posts by Rcnewbiechris
Reply With Quote
Old Apr 26, 2014, 02:42 PM
e_lm_70 is offline
Find More Posts by e_lm_70
Registered User
Austria
Joined Jan 2004
8,806 Posts
Quote:
Originally Posted by Rcnewbiechris View Post
Eh I'll be using it for los though can you make a video tutorial pls, I really would like to build one
Video Tutorial is an idea that I had in mind for "my" DIY projects ... also the only way to collect some few cents from YouTube Ads

I'm not so sure of the format ... I don't want to show me or expose my voice in my video ... so ... I need to think some decent way to build up quickly a video ... possibly just a bunch of still plus a maiden flight ...
e_lm_70 is offline Find More Posts by e_lm_70
Reply With Quote
Old Apr 26, 2014, 03:31 PM
Rcnewbiechris is offline
Find More Posts by Rcnewbiechris
Scratch-Built 250 Quads + 450
United States
Joined Sep 2012
449 Posts
Hmm maybe some charts of where everything (motors, rx, gyro) should be attached and the correct polarity.
Rcnewbiechris is offline Find More Posts by Rcnewbiechris
Reply With Quote
Old Apr 26, 2014, 03:37 PM
e_lm_70 is offline
Find More Posts by e_lm_70
Registered User
Austria
Joined Jan 2004
8,806 Posts
Quote:
Originally Posted by Rcnewbiechris View Post
Hmm maybe some charts of where everything (motors, rx, gyro) should be attached and the correct polarity.
In theory all what you need, assuming you are using a PPM Rx is on post #2

Power ... all you need is 1 5v supply in the only 5v in pin, And power the external sensor from one of the 4 3.3v source on the stm32 board

Easy

If you are not on PPM Rx .. then I did not even took down the different Naze32 pin to be used ... I'm to lazy for connect more then 1 pin.

Also RX need to be power up, better to use a RX that works with 3.3v .. so in theory better to use a openLRSng RX, possibly in DIY format
e_lm_70 is offline Find More Posts by e_lm_70
Reply With Quote
Old Apr 26, 2014, 04:21 PM
Rcnewbiechris is offline
Find More Posts by Rcnewbiechris
Scratch-Built 250 Quads + 450
United States
Joined Sep 2012
449 Posts
So this rx won't work?
http://m.banggood.com/Wholesale-FS-R...FUNo7AodWh4AyQ
Rcnewbiechris is offline Find More Posts by Rcnewbiechris
Reply With Quote
Old Apr 26, 2014, 05:05 PM
e_lm_70 is offline
Find More Posts by e_lm_70
Registered User
Austria
Joined Jan 2004
8,806 Posts
Quote:
Originally Posted by Rcnewbiechris View Post
It could, but I did not check all the PIN for the each input signal, and by default GPS works only with PPM mode .. but I guess you don't care about GPS

I will need to check from open schematic which pin need to be used for each input

Not sure about the 5v tollerance ... again, need to check schematic if original Naze32 has some protection resistor .. using 3.3v rx does make things more easy and safe
e_lm_70 is offline Find More Posts by e_lm_70
Reply With Quote
Old Apr 26, 2014, 05:24 PM
Rcnewbiechris is offline
Find More Posts by Rcnewbiechris
Scratch-Built 250 Quads + 450
United States
Joined Sep 2012
449 Posts
Okay thanks
Rcnewbiechris is offline Find More Posts by Rcnewbiechris
Reply With Quote
Old Apr 27, 2014, 07:36 AM
renatoa is online now
Find More Posts by renatoa
Registered User
Romania, Dolj, Craiova
Joined Sep 2007
16,790 Posts
Why not openpilot instead ? hardware seems pretty same...
renatoa is online now Find More Posts by renatoa
Reply With Quote
Old Apr 27, 2014, 09:29 AM
e_lm_70 is offline
Find More Posts by e_lm_70
Registered User
Austria
Joined Jan 2004
8,806 Posts
Quote:
Originally Posted by renatoa View Post
Why not openpilot instead ? hardware seems pretty same...
I don't know OpenPilot ... but my guess is that probably it will not work in this cheap diy

Naze32 fit in less then 64k ... I can't find cheap stm32 board with the 128k memory, the link above is for stm32 with only 64k ... and even if Naze board have the bigger chip, the hex file from Naze32 works on these board too, it is just 54k of program for now, that can be slim down in case of need.

One thing does scare me a bit ... my atmega mutlwii if get an i2c they still somehow work ... naze32 like some open source gimbal controller, get stuck in case of i2c error

So if one i2c line get disconnected in flight it has terrific end result, and no fail safe can be done ...
e_lm_70 is offline Find More Posts by e_lm_70
Reply With Quote


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
Wanted Flight control board 36x36 (naze32 acro, mwc flip, etc) KevinWC Aircraft - Electric - Multirotor (FS/W) 0 Apr 15, 2014 03:44 PM
Sold Acro Naze32 Flight Control Board - Rev 5 AlienQuads Aircraft - Electric - Multirotor (FS/W) 2 Dec 12, 2013 12:50 PM
Sold Acro Naze32 Flight Control Boards AlienQuads Aircraft - Electric - Multirotor (FS/W) 6 Nov 21, 2013 10:27 AM
Sold Naze32 Control Board for Sale - U.S. Only YouMadeMeDoIt Aircraft - Electric - Multirotor (FS/W) 7 Sep 18, 2012 10:02 PM
Sold NAZE32 Control Board ldm1839 Aircraft - Electric - Multirotor (FS/W) 0 May 19, 2012 08:26 PM