
NanoWii atmega32u4 (leonardo) FC
NanoWii atmega32u4 (leonardo) FC
I just wana look how small i can build one with only one layer 

Last edited by ronco on Mon Jun 25, 2012 10:58 am, edited 2 times in total.
Re: NanoWii FC prototype :D
ok, so that is 2x2cm^2? Small form factor would help for my small 250 heli.
Re: NanoWii FC prototype :D
Hi,
it is 2,5x2,7 cm .. with dual layer 2x2 should be possible
regards Felix
it is 2,5x2,7 cm .. with dual layer 2x2 should be possible
regards Felix
-
- Posts: 1630
- Joined: Wed Jan 19, 2011 9:07 pm
Re: NanoWii FC prototype :D
how do you fix it to the frame 
with foam tape ?

with foam tape ?
Re: NanoWii FC prototype :D
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
pin 1 of the MPU should be connected to GND ..
i will fix this soon.
regards felix
Re: NanoWii FC prototype :D
the arduino part if it works 
and the MPU is ordered..
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

and the MPU is ordered..
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
- Attachments
-
- NanoWii2.0Print.png
- (8.27 KiB) Not downloaded yet
Re: NanoWii FC prototype :D
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
want one.
Re: NanoWii FC prototype :D
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
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?
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
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
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
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
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
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
Nice job! Keep us posted on your progress 

Re: NanoWii FC prototype :D
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
- aBUGSworstnightmare
- Posts: 115
- Joined: Mon Jun 27, 2011 8:31 pm
- Location: Munich, Germany
Re: NanoWii FC prototype :D
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
Hi,
maybe this helps: http://translate.google.de/translate?hl ... duino.html
look at "Loading the Bootloader using ArduinoISP"
regards felix
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
Hi, ronco
This is a great little DIY board. Did you use the laser printer transfer method to print the board?
This is a great little DIY board. Did you use the laser printer transfer method to print the board?
Re: NanoWii DIY FC
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
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
- Attachments
-
- nanoWii_0.3_print.png
- (9.79 KiB) Not downloaded yet
-
- nanoWii (2).zip
- (11.82 KiB) Downloaded 587 times
Re: NanoWii DIY FC
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.
I'm thinking of adding a second stacked board for the extra sensors if needed.
Re: NanoWii DIY FC
Hi,
i did a schematic for it now .. it isnt consitent to the bord file but it shows how things are connected
regards
Felix
i did a schematic for it now .. it isnt consitent to the bord file but it shows how things are connected

regards
Felix
- Attachments
-
- nanoplan.zip
- (36.63 KiB) Downloaded 817 times
Re: NanoWii DIY FC
the first one flyes 
->http://www.rc-heli-fan.org/quadrocopter-co-f255/der-wii-copter-selbstbau-projekt-t79362-10710.html#p1378021
regards
Felix

->http://www.rc-heli-fan.org/quadrocopter-co-f255/der-wii-copter-selbstbau-projekt-t79362-10710.html#p1378021
regards
Felix
Re: NanoWii DIY FC
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
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
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
now there will be a pre prefabricated version of it
.. its a little larger to have mounting holes..
here is a prototype .. the real version will be black.
im work atm on the manual .. the english part will be corrected soon
http://i.caendle.de/dev/test/NanoWii_manual.pdf
regrads Felix

here is a prototype .. the real version will be black.
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
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:
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+")
Re: NanoWii DIY FC
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:On page 13, chapter 4.1, the proper term would probably be "LiPo monitoring", not "observation".
- Headline "2.3.3 Spectrum Satellite" (should be "Spektrum")
- In the ESC connection diagram on page 8: "Qaud+" (should be "Quad+")
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
-
- Posts: 1630
- Joined: Wed Jan 19, 2011 9:07 pm
Re: NanoWii DIY FC
ronco wrote:now there will be a pre prefabricated version of it.. its a little larger to have mounting holes..
here is a prototype .. the real version will be black.
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.
-
- Posts: 40
- Joined: Tue Nov 15, 2011 9:50 am
Re: NanoWii DIY FC
Nice job !
Concerning the manual, I also spotted two small typos:
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")
Re: NanoWii DIY FC
thanks Laurent,
it should be ok now
regards felix
it should be ok now

regards felix
-
- Posts: 23
- Joined: Thu May 10, 2012 2:08 am
- Location: Montreal, QC, Canada
Re: NanoWii DIY FC
Very nice little controller! now we just need one with built in Mosfets and we can really start building a swarm of nano copters!
-
- Posts: 23
- Joined: Thu May 10, 2012 2:08 am
- Location: Montreal, QC, Canada
Re: NanoWii DIY FC


Re: NanoWii DIY FC
hi,
the NanoWii is available now http://flyduino.net/NanoWii-ATmega32u4- ... ultiWii-FC
regards felix
the NanoWii is available now http://flyduino.net/NanoWii-ATmega32u4- ... ultiWii-FC

regards felix
Re: NanoWii DIY FC
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
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
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
- Attachments
-
- nanoDL7.zip
- (39.45 KiB) Downloaded 1277 times
Re: NanoWii DIY FC
Super cool!
Nice job
-wiidewd
Nice job

-wiidewd
Re: NanoWii atmega32u4 (leonardo) FC
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
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
Hi,
do you use one of the last devs? if not.. it is needed with the nanowii.
regards felix
do you use one of the last devs? if not.. it is needed with the nanowii.
regards felix
Re: NanoWii atmega32u4 (leonardo) FC
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
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
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
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
.. i have no linux pc .. so i cant help you

regards felix
-
- Posts: 7
- Joined: Sat Mar 10, 2012 7:26 pm
Re: NanoWii atmega32u4 (leonardo) FC
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***
!!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
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?
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
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
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
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
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...
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
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...
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...