Thread Tools
Aug 08, 2014, 09:39 AM
RC beginner
Mini-HowTo

DAZE32: tiny quad fc for $5


inspired by tardcops baseflight controller as implemented by e_lm_70 in his diy stm32 thread i came up with this ultra low cost easy to build version. less than 5 dollars including sensors. it has been flight tested now and performs really well. sensors are working as expected and very stable. at least as good as multiwii but without the need to recompile every time you make a change. so far with 6dof gy521 but soon 10dof gy86 and then gps. if there are any questions or notice any bugs dont hesitate..

heres the net list i used to build mine. as you can see there are only 12 wires. but it works!
Code:
; g 8,20,23,35,47
; 3v 9,24,36,48 (.1uf2gnd)
; pwm4 43
; pwm1 29
; pwm2 32
; pwm3 42
; rx 31
; tx 30

; g
; 3v
; ppm 10
; boot0 44 (10k2gnd)

; g
; 3v
; scl 21
; sda 22
heres some links. to keep cost below $5 you might have to buy more than one but still less than what a regular fc will cost. and youll have 9 spares!

imu: http://www.ebay.com/itm/MPU-6050-Mod...item2ecdfcd204

pcb: http://www.ebay.com/itm/231269825816...%3AMEBIDX%3AIT

stm32: http://www.aliexpress.com/item/Free-...942931069.html

crystal: http://www.ebay.com/itm/390858221573...%3AMEBIDX%3AIT




some of the guys getting into this are beginners so it might be helpful to browse the thread that got me hooked. lots of good info on starting out: https://www.rcgroups.com/forums/show....php?t=2154329. beware there is some confusion over boot jumper settings. op is apparently not aware or concerned current boards have boot0/1 swapped so pays to browse photos beyond post #1 and read related posts.

heres a link to tc manual which imo is very well done: http://www.google.com/url?sa=t&rct=j...73231344,d.cWc

for beginners i also recommend buying a bona fide naze32 first (http://www.multirotorsuperstore.com/acro-naze32.html). also available from abusethemarks.com abusemark.com. i like to poke fun at tc (talk about dongs... lol) but hes been a hero of mine ever since jumping on me during my first rcg thread. twenny fi' bucks aint fi' bucks but wont break the bank and can be a real help getting noobs feet on the ground. so if youre a rank beginner its a good idea to pick up one of these. but if experienced or like me have lots of frames and motors kicking around its nice to be able to crank out a half dozen of the cheap tricks for the same price. i kinda did it the other way around though. after seeing how cool diy worked i did order one of the acro version. however not quite ready to shell out fitty for the full since there are a few gy86 sitting here.



photos added showing the actual test quad. hodge-podge 450 glommed together with junk parts from 3 tricopters and a plane. for speed controllers notice one each red brick, turnigy plush, 10a blue, and hobbyking 6a. motors not matched either. in spite of this flies great. multiwii seems to compensate. why risk the good stuff for experiments like this. but even so brand new parts would total less than $45 shipped including carbon fiber frame and glow-in-the-dark props.



photos:
Last edited by dave1993; Aug 29, 2014 at 08:10 AM. Reason: links and wiring
Sign up now
to remove ads between posts
Aug 08, 2014, 10:27 AM
Registered User
ttabbal's Avatar
I'm interested. Nicely done! Out of curiosity, do you use the solderable enameled wire or do you just remove the enamel before soldering? With these STM32 boards getting cheaper, I'm thinking they are going to be my go-to MCU.
Aug 08, 2014, 01:30 PM
Registered User
Quote:
Originally Posted by dave1993
if theres interest i can post wiring diagrams and links to parts sources.
Hmmm... I wonder if there will be interest?

Yes, please.
Aug 08, 2014, 03:03 PM
Registered User
I'm subscribed but I'd like to see the parts sources. Also which STM32 board are your using? Thanks.
Aug 08, 2014, 06:55 PM
RC beginner
ive added some links and a wiring list. as you can see those are general purpose qfp48 proto boards that ive soldered the stm32 chip to. if theres time this weekend ill make a real schematic diagram and put it up here when i get back monday. hopefully ill get a chance to test fly this on a full size quad before then too.
Aug 09, 2014, 05:43 AM
Registered User
I would love to see a schematic diagram, i'd love to give this a go given that it is so cheap!
Aug 09, 2014, 11:56 AM
Registered User
ttabbal's Avatar
I didn't know you could get the mcu that cheap. Well worth it, even if you have to solder them to the breakout board. What crystal are you using for the main clock?
Aug 11, 2014, 01:09 AM
Registered User
Quote:
Originally Posted by ttabbal
I didn't know you could get the mcu that cheap. Well worth it, even if you have to solder them to the breakout board. What crystal are you using for the main clock?
I think it got a internal RC oscillator.

Come to think of it, how well does it handle temperature changes? Does it drift a lot?
Aug 11, 2014, 11:55 AM
RC beginner
it does have an internal oscillator and its one of the most accurate and stable in the industry. much better than pic or avr. but flight controllers require an external crystal. even slight variation will wreak havoc with ppm and pwm timing. the one i used is very small. if you drop it on the floor dont bother looking. just pull out another one because youll never find it. ive added a link to the crystal seller. they only cost 28 cents so easy to stay under the $5 limit.

ttabbal, regarding your question about magnet wire. in reality all magnet wire is no-strip solderable. the question is at what temperature. most needs a very hot iron to melt the coating. i use a very low temperature type that vaporizes almost instantly. its great stuff. i can move from one connection to the other in 2-3 sec each. no snipping either, just wiggle and break. i wasnt exaggerating when i said this board only took a few minutes.

not realizing how much is on a roll i stupidly bought 20,000'. lol. if you would like to try it let me know. ill send you enough for many projects like this at no cost.
Aug 11, 2014, 02:08 PM
Registered User
Deadbug version or it didn't happen dave.

PS. Also be aware that the STM32F103C8T6 has 64kb of flash and the STM32F103CBT6 has 128kb. The real naze uses the STM32F103CBT6 so I would get one of those if possible to keep future compatibility with firmware upgrades.
Last edited by Curtisbeef; Aug 11, 2014 at 02:46 PM.
Aug 11, 2014, 04:54 PM
RC beginner
Quote:
Originally Posted by Curtisbeef
Deadbug version or it didn't happen dave.
lol. hello again curtisbeef. 0.5mm! im still blind in one eye and cant see out of the other from deadbug mega2560. i think ill stick with the 50 cent protoboard for now.

as for 64k vs 128k ive got a secret. both 8 and B are the same die and both have 128k. in order to keep my own cost below $4 (dont ask) 100 of these were purchased. then e_lm_70 mentioned the cheapies had 128k too so i decided to test all of mine using the st flash utility. guess what... he was right.

atmel does a similar thing with the "brain dead" t9 and t10. not guaranteed the extra flash will be error free or new variations have it but convincing enough for hobby use.
Aug 11, 2014, 05:05 PM
OlliW
I just checked a STM32 board with an F103C8T6 using the ST Link Utility (v3.1.0), and it reports Device ID 0x410 and Flash size 64kB ...
could you please detail what "st flash utility" you used and how you could identify that there are really 128k physically available
THX!
Aug 11, 2014, 05:12 PM
RC beginner
to all ye of little faith.

in addition to jtag and $5 ebay STink V2 dongles with their various softwares im using the "flash demo" program with serial port. it does report 64k but can be overridden on the next page. after that you will find theres an option to fill and/or erase all pages which is an easy way to tell whats up.
Aug 12, 2014, 08:32 PM
RC beginner
got your pm tt. ill send the wire out tomorrow. i think youll like it.

i also got a message asking for schematic. maybe i should have mentioned but for anybody who missed it one was posted a day or two back. i can understand getting lost in one of the megathreads, but guys, this isnt even ONE PAGE! lol.
Aug 13, 2014, 12:58 AM
Registered User
Quote:
Originally Posted by OlliW
I just checked a STM32 board with an F103C8T6 using the ST Link Utility (v3.1.0), and it reports Device ID 0x410 and Flash size 64kB ...
could you please detail what "st flash utility" you used and how you could identify that there are really 128k physically available
THX!
can confirm this is the case - the original FreeFlight software (board was forerunner of tc's Naze boards) used the hidden flash area to hide it's software protection data !


Quick Reply
Message:

Thread Tools