NanoWii atmega32u4 (leonardo) FC

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

NanoWii atmega32u4 (leonardo) FC

Post by ronco »

I just wana look how small i can build one with only one layer :D
Attachments
NanoWiiInfo.jpg
nanoWiiPrint.png
NanoWiiSize.jpg
Last edited by ronco on Mon Jun 25, 2012 10:58 am, edited 2 times in total.

User avatar
Hamburger
Posts: 2560
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: NanoWii FC prototype :D

Post by Hamburger »

ok, so that is 2x2cm^2? Small form factor would help for my small 250 heli.

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii FC prototype :D

Post by ronco »

Hi,

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

regards Felix

Alexinparis
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: NanoWii FC prototype :D

Post by Alexinparis »

how do you fix it to the frame ;)
with foam tape ?

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii FC prototype :D

Post 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

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii FC prototype :D

Post 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
Attachments
NanoWii2.0Print.png
(8.27 KiB) Not downloaded yet

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii FC prototype :D

Post by ronco »

The first one is complete :)
Attachments
NanoWii_Bild.jpg

miniquad
Posts: 65
Joined: Wed Mar 23, 2011 8:17 pm

Re: NanoWii FC prototype :D

Post by miniquad »

Looks really nice. I do not see any level converters in your design. Is MPU6050's i2c pins 5v tolerant?

User avatar
Hamburger
Posts: 2560
Joined: Tue Mar 01, 2011 2:14 pm
Location: air
Contact:

Re: NanoWii FC prototype :D

Post by Hamburger »

want one.

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii FC prototype :D

Post 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

ABC
Posts: 2
Joined: Fri Mar 23, 2012 6:30 pm

Re: NanoWii FC prototype :D

Post 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?

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii FC prototype :D

Post 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

x8r
Posts: 5
Joined: Tue Oct 18, 2011 4:52 pm

Re: NanoWii FC prototype :D

Post 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

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii FC prototype :D

Post 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

LenzGr
Posts: 166
Joined: Wed Nov 23, 2011 10:50 am
Location: Hamburg, Germany
Contact:

Re: NanoWii FC prototype :D

Post by LenzGr »

Nice job! Keep us posted on your progress :)

ABC
Posts: 2
Joined: Fri Mar 23, 2012 6:30 pm

Re: NanoWii FC prototype :D

Post 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
Attachments
Leonardo.jpg

User avatar
aBUGSworstnightmare
Posts: 115
Joined: Mon Jun 27, 2011 8:31 pm
Location: Munich, Germany

Re: NanoWii FC prototype :D

Post 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

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii FC prototype :D

Post by ronco »

Hi,

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

look at "Loading the Bootloader using ArduinoISP" ;)

regards felix

thebgrian
Posts: 47
Joined: Sun Mar 27, 2011 4:46 am

Re: NanoWii FC prototype :D

Post by thebgrian »

Hi, ronco
This is a great little DIY board. Did you use the laser printer transfer method to print the board?

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii DIY FC

Post 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
Attachments
CIMG3860.jpg
nanoWii_0.3_info.jpg
nanoWii_0.3_print.png
(9.79 KiB) Not downloaded yet
nanoWii (2).zip
(11.82 KiB) Downloaded 379 times

thebgrian
Posts: 47
Joined: Sun Mar 27, 2011 4:46 am

Re: NanoWii DIY FC

Post 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.

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii DIY FC

Post 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
Attachments
nanoplan.zip
(36.63 KiB) Downloaded 581 times

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii DIY FC

Post by ronco »


LenzGr
Posts: 166
Joined: Wed Nov 23, 2011 10:50 am
Location: Hamburg, Germany
Contact:

Re: NanoWii DIY FC

Post 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.

adam
Posts: 15
Joined: Sun Oct 02, 2011 4:26 pm
Location: Taiwan

Re: NanoWii DIY FC

Post 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.

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii DIY FC

Post 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

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii DIY FC

Post 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

LenzGr
Posts: 166
Joined: Wed Nov 23, 2011 10:50 am
Location: Hamburg, Germany
Contact:

Re: NanoWii DIY FC

Post 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".

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii DIY FC

Post 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

Alexinparis
Posts: 1630
Joined: Wed Jan 19, 2011 9:07 pm

Re: NanoWii DIY FC

Post 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.

mon_lolo_fr
Posts: 40
Joined: Tue Nov 15, 2011 9:50 am

Re: NanoWii DIY FC

Post 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

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii DIY FC

Post by ronco »

thanks Laurent,

it should be ok now :)

regards felix

forsakenrider
Posts: 23
Joined: Thu May 10, 2012 2:08 am
Location: Montreal, QC, Canada

Re: NanoWii DIY FC

Post 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!

bendh
Posts: 1
Joined: Mon May 28, 2012 6:35 pm

Re: NanoWii DIY FC

Post by bendh »

WiiKopter_MPU6050_brush.tar.gz
(62.8 KiB) Downloaded 475 times

forsakenrider
Posts: 23
Joined: Thu May 10, 2012 2:08 am
Location: Montreal, QC, Canada

Re: NanoWii DIY FC

Post 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 ;)

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii DIY FC

Post by ronco »

hi,


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


regards felix

BasTijs
Posts: 5
Joined: Thu Jun 21, 2012 7:39 pm

Re: NanoWii DIY FC

Post 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)

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii DIY FC

Post 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
Attachments
nanoDL7.zip
(39.45 KiB) Downloaded 1042 times

Wiidewd
Posts: 6
Joined: Sat Jun 23, 2012 5:36 pm

Re: NanoWii DIY FC

Post by Wiidewd »

Super cool!

Nice job :mrgreen:

-wiidewd

hoppel
Posts: 2
Joined: Sat Jun 30, 2012 1:27 pm

Re: NanoWii atmega32u4 (leonardo) FC

Post 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

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii atmega32u4 (leonardo) FC

Post by ronco »

Hi,

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

regards felix

hoppel
Posts: 2
Joined: Sat Jun 30, 2012 1:27 pm

Re: NanoWii atmega32u4 (leonardo) FC

Post 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

ronco
Posts: 317
Joined: Thu Aug 18, 2011 2:58 pm

Re: NanoWii atmega32u4 (leonardo) FC

Post 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

JFSebastian
Posts: 7
Joined: Sat Mar 10, 2012 7:26 pm

Re: NanoWii atmega32u4 (leonardo) FC

Post 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***

Goetz
Posts: 82
Joined: Sun Mar 04, 2012 3:40 pm

Re: NanoWii atmega32u4 (leonardo) FC

Post 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?

LenzGr
Posts: 166
Joined: Wed Nov 23, 2011 10:50 am
Location: Hamburg, Germany
Contact:

Re: NanoWii atmega32u4 (leonardo) FC

Post 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.

Goetz
Posts: 82
Joined: Sun Mar 04, 2012 3:40 pm

Re: NanoWii atmega32u4 (leonardo) FC

Post 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)

LenzGr
Posts: 166
Joined: Wed Nov 23, 2011 10:50 am
Location: Hamburg, Germany
Contact:

Re: NanoWii atmega32u4 (leonardo) FC

Post 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.

mistaheat
Posts: 8
Joined: Thu Jun 28, 2012 3:55 pm
Location: Eggenfelden / South Germany

Re: NanoWii atmega32u4 (leonardo) FC

Post 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...

Goetz
Posts: 82
Joined: Sun Mar 04, 2012 3:40 pm

Re: NanoWii atmega32u4 (leonardo) FC

Post 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...

Post Reply