Page 1 of 2

NanoWii atmega32u4 (leonardo) FC

Posted: Sun Mar 11, 2012 2:14 pm
by ronco
I just wana look how small i can build one with only one layer :D

Re: NanoWii FC prototype :D

Posted: Sun Mar 11, 2012 6:01 pm
by Hamburger
ok, so that is 2x2cm^2? Small form factor would help for my small 250 heli.

Re: NanoWii FC prototype :D

Posted: Sun Mar 11, 2012 10:13 pm
by ronco
Hi,

it is 2,5x2,7 cm .. with dual layer 2x2 should be possible

regards Felix

Re: NanoWii FC prototype :D

Posted: Tue Mar 13, 2012 11:26 am
by Alexinparis
how do you fix it to the frame ;)
with foam tape ?

Re: NanoWii FC prototype :D

Posted: Tue Mar 13, 2012 3:48 pm
by ronco
Alexinparis wrote:how do you fix it to the frame ;)
with foam tape ?


yes something like that :)

just if someone want to build it .. i found a small mistake on it
fehler.jpg
(21.21 KiB) Not downloaded yet

pin 1 of the MPU should be connected to GND ..

i will fix this soon.

regards felix

Re: NanoWii FC prototype :D

Posted: Fri Mar 16, 2012 10:23 am
by ronco
the arduino part if it works :D

and the MPU is ordered..
nanowii_w_micro.jpg

there was also a bug with the cristal pins .. so i need to solder it with wire .. in this new version this is fixed

regards

Felix

Re: NanoWii FC prototype :D

Posted: Fri Mar 23, 2012 4:46 pm
by ronco
The first one is complete :)

Re: NanoWii FC prototype :D

Posted: Fri Mar 23, 2012 7:02 pm
by miniquad
Looks really nice. I do not see any level converters in your design. Is MPU6050's i2c pins 5v tolerant?

Re: NanoWii FC prototype :D

Posted: Fri Mar 23, 2012 9:06 pm
by Hamburger
want one.

Re: NanoWii FC prototype :D

Posted: Fri Mar 23, 2012 11:49 pm
by ronco
miniquad wrote:Looks really nice. I do not see any level converters in your design. Is MPU6050's i2c pins 5v tolerant?


Hi,

it works fine in this setup. it is powerd by 3.3v with 2,2k 3,3v pullups.

regards felix

Re: NanoWii FC prototype :D

Posted: Sat Mar 24, 2012 7:30 pm
by ABC
Hello I have a question about this board.
I did the same one, but I can not connect it to my PC.
It is defined as Arduino Leonardo , but it does not work as COM port because I need a special driver for PC to work with Arduino Leonardo (ATmega32u4).
Maybe I did something wrong during installation bootloader for Arduino Leonardo board in Arduino IDE.
Please can you tell me how to get started with this board?

Re: NanoWii FC prototype :D

Posted: Sat Mar 24, 2012 7:55 pm
by ronco
Hi,
you will need to install a driver for it..

one is in arduino/drivers
another is from sparkfun:
http://dlnmh9ip6v2uc.cloudfront.net/dat ... Driver.zip
there is also a tutorial:
http://www.sparkfun.com/tutorials/338

can we see a image of your 32u4 board?

regards

Felix

Re: NanoWii FC prototype :D

Posted: Sun Mar 25, 2012 11:38 am
by x8r
Hi Felix,

the Board looks very nice!
It's the same thing I busy myself the last days. I want to use the pin compatible MPU-9150 which is available next month.
Did you flash the Arduino bootloader over USB with "Flip"?

regards

Jan

Re: NanoWii FC prototype :D

Posted: Sun Mar 25, 2012 1:01 pm
by ronco
x8r wrote:Hi Felix,

the Board looks very nice!
It's the same thing I busy myself the last days. I want to use the pin compatible MPU-9150 which is available next month.
Did you flash the Arduino bootloader over USB with "Flip"?

regards

Jan


Hi Jan,

i did it with a nother arduino over SPI and Arduino 1.0

regards felix

Re: NanoWii FC prototype :D

Posted: Mon Mar 26, 2012 7:53 am
by LenzGr
Nice job! Keep us posted on your progress :)

Re: NanoWii FC prototype :D

Posted: Wed Mar 28, 2012 9:02 pm
by ABC
ronco wrote:Hi,
you will need to install a driver for it..

one is in arduino/drivers
another is from sparkfun:
http://dlnmh9ip6v2uc.cloudfront.net/dat ... Driver.zip
there is also a tutorial:
http://www.sparkfun.com/tutorials/338

can we see a image of your 32u4 board?

regards

Felix


Thanks, I tried to program my ATmega32U4 as Leonardo and Pro Micro and install the appropriate drivers, but the driver is not installed correctly on my PC.
I do not understand what the problem is, I did everything according to instructions on the links.
Here is my image of my board

Re: NanoWii FC prototype :D

Posted: Thu Mar 29, 2012 6:05 am
by aBUGSworstnightmare
ABC wrote:Thanks, I tried to program my ATmega32U4 as Leonardo and Pro Micro and install the appropriate drivers, but the driver is not installed correctly on my PC.
I do not understand what the problem is, I did everything according to instructions on the links.
Here is my image of my board


Hi ABC,

this tutorial (http://www.sparkfun.com/tutorials/338) assumes that your ATmega32U4 is flashed with a Sparkfun Promicro Bootloader already. If you try to do it with a fresh - out of the box - device you will fail (since Atmel uses a different boot loader).

Rgds
aBUGsworstnightmare

Re: NanoWii FC prototype :D

Posted: Thu Mar 29, 2012 8:07 am
by ronco
Hi,

maybe this helps: http://translate.google.de/translate?hl ... duino.html

look at "Loading the Bootloader using ArduinoISP" ;)

regards felix

Re: NanoWii FC prototype :D

Posted: Wed Apr 04, 2012 4:11 pm
by thebgrian
Hi, ronco
This is a great little DIY board. Did you use the laser printer transfer method to print the board?

Re: NanoWii DIY FC

Posted: Wed Apr 04, 2012 5:34 pm
by ronco
Hi,

yes i used the direct toner method ...it works fine for me..

i changed the topic name .. to DIY FC because i dont think thay will be produced..


here are some tips for those who want to build it.

if you just want to build one or two, it may be cheaper to unsolder some sparkfun promicro's because thay have the most of the needed parts on it.
so if you have all parts of a promicro you will just need:

1x MPU-6050
2x 0,1uF
1x 2,2nF
1x10uF
1x10nF
3x 0 Ohm
2x 2k2

i unsolder the promicro on a iron with full power.

you can also solder a ITG3200 or ITG3205 instead of the MPU-6050 .. thay have the same footprint and pin usage.

here is the last version i build. the eagle file is a little different.

regards

felix

Re: NanoWii DIY FC

Posted: Wed Apr 04, 2012 6:52 pm
by thebgrian
Thank you for the additional information. Will add this to the ToDo list with projects:) Need to finish the OSD I'm working on now first and that will test my SMD soldering skills also:)
I'm thinking of adding a second stacked board for the extra sensors if needed.

Re: NanoWii DIY FC

Posted: Thu Apr 12, 2012 4:06 pm
by ronco
Hi,

i did a schematic for it now .. it isnt consitent to the bord file but it shows how things are connected :)
NanoWii_schematic.jpg


regards

Felix

Re: NanoWii DIY FC

Posted: Wed Apr 18, 2012 5:48 pm
by ronco

Re: NanoWii DIY FC

Posted: Wed Apr 18, 2012 10:16 pm
by LenzGr
Congrats! Looking at your layout, I'm just concerned about the fact that you connected the 5V and ground lines from all four ESCs to each other. That may work, but it has high potential to create "ground loops", which can cause really nasty side effects. I'd suggest to only use the 5V and ground line from one ESC, e.g. the one that is connected to D5 in your layout.

Re: NanoWii DIY FC

Posted: Thu Apr 19, 2012 5:58 am
by adam
ronco wrote:Hi,

yes i used the direct toner method ...it works fine for me..

i changed the topic name .. to DIY FC because i dont think thay will be produced..


here are some tips for those who want to build it.

if you just want to build one or two, it may be cheaper to unsolder some sparkfun promicro's because thay have the most of the needed parts on it.
so if you have all parts of a promicro you will just need:

1x MPU-6050
2x 0,1uF
1x 2,2nF
1x10uF
1x10nF
3x 0 Ohm
2x 2k2

i unsolder the promicro on a iron with full power.

you can also solder a ITG3200 or ITG3205 instead of the MPU-6050 .. thay have the same footprint and pin usage.

here is the last version i build. the eagle file is a little different.

regards

felix

Good Job,Thanks.

Re: NanoWii DIY FC

Posted: Thu Apr 19, 2012 2:51 pm
by ronco
LenzGr wrote:Congrats! Looking at your layout, I'm just concerned about the fact that you connected the 5V and ground lines from all four ESCs to each other. That may work, but it has high potential to create "ground loops", which can cause really nasty side effects. I'd suggest to only use the 5V and ground line from one ESC, e.g. the one that is connected to D5 in your layout.


hi,

i cut the + wires of three of my ESC's .. i think its better to have them connected on the pcb for use with servos.. plane mode or bicopter or like.

regards Felix

Re: NanoWii DIY FC

Posted: Mon Jun 04, 2012 9:17 am
by ronco
now there will be a pre prefabricated version of it :P .. its a little larger to have mounting holes..

here is a prototype .. the real version will be black.
mwcnano3.jpg


im work atm on the manual .. the english part will be corrected soon ;)
http://i.caendle.de/dev/test/NanoWii_manual.pdf

regrads Felix

Re: NanoWii DIY FC

Posted: Mon Jun 04, 2012 12:03 pm
by LenzGr
Nice work! Looking forward to seeing this one in Paul's webshop. So this is like the small brother to Joerg's microWii board?

The manual looks good, too. At a cursory glance, I spotted two small typos:
  • Headline "2.3.3 Spectrum Satellite" (should be "Spektrum")
  • In the ESC connection diagram on page 8: "Qaud+" (should be "Quad+")
On page 13, chapter 4.1, the proper term would probably be "LiPo monitoring", not "observation".

Re: NanoWii DIY FC

Posted: Mon Jun 04, 2012 1:52 pm
by ronco
LenzGr wrote:Nice work! Looking forward to seeing this one in Paul's webshop. So this is like the small brother to Joerg's microWii board?

The manual looks good, too. At a cursory glance, I spotted two small typos:
  • Headline "2.3.3 Spectrum Satellite" (should be "Spektrum")
  • In the ESC connection diagram on page 8: "Qaud+" (should be "Quad+")
On page 13, chapter 4.1, the proper term would probably be "LiPo monitoring", not "observation".


Thanks Lenz :)

i changed it now. and yes it will be the small "simple fly and have fun" brother of joergs "advanced copter control" MicroWii :)

regrads felix

Re: NanoWii DIY FC

Posted: Mon Jun 04, 2012 10:13 pm
by Alexinparis
ronco wrote:now there will be a pre prefabricated version of it :P .. its a little larger to have mounting holes..

here is a prototype .. the real version will be black.
mwcnano3.jpg


im work atm on the manual .. the english part will be corrected soon ;)
http://i.caendle.de/dev/test/NanoWii_manual.pdf

regrads Felix


I like this design !
After square, round and hexagonal boards.
This shape should be nice to see in a frame.

The documentation is also very well done.

Re: NanoWii DIY FC

Posted: Tue Jun 05, 2012 11:31 am
by mon_lolo_fr
Nice job !
Concerning the manual, I also spotted two small typos:
  • in the header of the page: "Chose" (should be "Choose")
  • In the Power source connection page (4/13): "ATTANTION" (should be "ATTENTION" or "WARNING")
Laurent

Re: NanoWii DIY FC

Posted: Tue Jun 05, 2012 3:10 pm
by ronco
thanks Laurent,

it should be ok now :)

regards felix

Re: NanoWii DIY FC

Posted: Wed Jun 06, 2012 4:27 am
by forsakenrider
Very nice little controller! now we just need one with built in Mosfets and we can really start building a swarm of nano copters!

Re: NanoWii DIY FC

Posted: Wed Jun 06, 2012 7:30 pm
by bendh
WiiKopter_MPU6050_brush.tar.gz
(62.8 KiB) Downloaded 628 times

Re: NanoWii DIY FC

Posted: Wed Jun 06, 2012 11:59 pm
by forsakenrider
:o have you tested this???? that is EXACTLY what I want! If you would like to make one I would love to buy and test it ;)

Re: NanoWii DIY FC

Posted: Thu Jun 14, 2012 4:41 pm
by ronco
hi,


the NanoWii is available now http://flyduino.net/NanoWii-ATmega32u4- ... ultiWii-FC :mrgreen:


regards felix

Re: NanoWii DIY FC

Posted: Thu Jun 21, 2012 8:05 pm
by BasTijs
great job! I will order one soon to build a nano quad once I found a proper frame :) (like the guys are making here: http://www.rcgroups.com/forums/showthre ... wii&page=7)

Re: NanoWii DIY FC

Posted: Sat Jun 23, 2012 9:58 am
by ronco
Hi,

because of some requests here is the schematic of the current NanoWii .. even if it is almost the same as it was for the DIY Nanowii ;)

regards

felix

Re: NanoWii DIY FC

Posted: Sat Jun 23, 2012 5:57 pm
by Wiidewd
Super cool!

Nice job :mrgreen:

-wiidewd

Re: NanoWii atmega32u4 (leonardo) FC

Posted: Sat Jun 30, 2012 1:41 pm
by hoppel
Hello,

first, the NanoWii is a cool project. I got one this week. Currently, there are some Problems with the Setup.
I use Linux (Mint).
When i plug the board into USB, the serial device is ttyACM0. The firmware upload works fine. The
arduino found this device.
But the GUI for setting up doesn't show this device. Has anyone a hint??

regards,
hoppel

Re: NanoWii atmega32u4 (leonardo) FC

Posted: Sun Jul 01, 2012 6:21 pm
by ronco
Hi,

do you use one of the last devs? if not.. it is needed with the nanowii.

regards felix

Re: NanoWii atmega32u4 (leonardo) FC

Posted: Mon Jul 02, 2012 9:50 am
by hoppel
Hello,

about the problem with the Serial Interface and the GUI under Linux: it is a Bug in Processing, which is fixed in the next Version. The current solution seems to make a link to /dev/ttyACM0

Code: Select all

$>ln -s /dev/ttyACM0 /dev/ttyS80


But i'am not sure, that the board is correctly connected.

What i did: i let the Jumper 1 closed, so that the board is powered via USB only. The green led is on and the red is blinking.
Question: What does the red led indicate??? I dodn't found a description in the pdf file.

If i press at the serial port button in the gui, the red led stops blinking. I press "Stream" nothng happend, i press "Read" nothings is reading.

Yes, i used the dev-Version an uncomment the NanaWii in the code. Is there something else which i had to activate??

Regards,
Hoppel

Re: NanoWii atmega32u4 (leonardo) FC

Posted: Mon Jul 02, 2012 10:12 am
by ronco
the red led is the status led and the TX LED .. it should flicker if you have pressed start in the gui.

.. i have no linux pc .. so i cant help you :(

regards felix

Re: NanoWii atmega32u4 (leonardo) FC

Posted: Thu Jul 05, 2012 11:24 am
by JFSebastian
EDIT:

!!SOLVED!!!

NanoWii + Vista = No driver, it's impossible to install as per the Sparkfun tutorial, I've tried everything.
Does any of you have any ideas?

Thanks

Sebastian

**I manually installed the driver from the .inf file from Sparkfun***

Re: NanoWii atmega32u4 (leonardo) FC

Posted: Mon Jul 16, 2012 5:20 pm
by Goetz
Hello, I had an frustrating Weekend with NanoWii. I tryed so many MINCOMMAND and Minthrottle-Combinations, powered the Board from ESC and tryed from (even seperate) Lipo, first powering FC then ESC'S and the other way round.... always the same: unreproduceable sometimes ESC arm, mostly not.

My setup is 4xsuppo 2212/13, 2xSuppo 25A, 2xSuppo 30A ESC, Frsky ppm, Nanowii.

I tryed the two last 2.1 Releases. (both Releases run perfect on my other Copter with Minniwiiboard) with same setup.

I can upload the code, i can see correct reaktion of sensors and TX in Gui 32bit and wingui.... everything fine; just ESC's are arming only every 100'th try.

yes, ESC's are programmed and calibrated (with software and direkt from Rx manually), yes travel of rx is verifyed in gui from <1000 to>2000.


I've no Idea what else to try.... has Anybody an Idea?

Re: NanoWii atmega32u4 (leonardo) FC

Posted: Mon Jul 16, 2012 10:57 pm
by LenzGr
Hi Goetz - MINTHROTTLE should not matter for this - this value just defines the speed at which the motors will spin when the motors are armed (ready to fly). What levels did you calibrate the ESCs for? Did you try setting MINCOMMAND lower than that? I configured mine to go from 1000-2000 and defined MINCOMMAND as 950.

Re: NanoWii atmega32u4 (leonardo) FC

Posted: Tue Jul 17, 2012 4:14 pm
by Goetz
I tryed every 10 Steps from 920 to 1000. Tx is trimmed from 998 to 2011, calibrated Esc's with this ( when not calibrating with MWCode)

Re: NanoWii atmega32u4 (leonardo) FC

Posted: Tue Jul 17, 2012 4:41 pm
by LenzGr
Very odd. I'm afraid I have no idea what could be wrong in your case. Does the problem apply to all ESCs equally? I noticed you are using two slightly different models of ESCs.

Re: NanoWii atmega32u4 (leonardo) FC

Posted: Wed Jul 18, 2012 12:12 am
by mistaheat
i noticed that on connect lipo it takes long to init maybe 10 secs.

and the init melody of esc´s is definitly not in sync. quad flies great but i always have strange feeling when esc not beeping in sync dont know why...

Re: NanoWii atmega32u4 (leonardo) FC

Posted: Wed Jul 18, 2012 12:45 pm
by Goetz
Hello mistahead,

have a Look at http://www.rc-heli-fan.org/quadrocopter ... 92355.html

There is an new bootloader, reducing time and (perhaps) getting ESC's in sync...