NanoWii atmega32u4 (leonardo) FC

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 634 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 1198 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...

JustinTime
Posts: 10
Joined: Sat Jul 21, 2012 1:30 am

Re: NanoWii atmega32u4 (leonardo) FC

Post by JustinTime »

Goetz wrote: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...


Isn't the bootloader for hex or oct?

Das ist nur nötig wenn ihr einen HEXA oder OCTO habt. und auch nur um auf nummer sicher zu gehen!

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

Re: NanoWii atmega32u4 (leonardo) FC

Post by ronco »

hi,

this bootloader changes two things .. the first is for hexa or octo copters so it keeps pin 13 quite as long as the bootloader is acive. and the second is that it reduces the bootup time fron 8 to 6 seconds.. that may help for some ESC's. the current charge of nanowiis from flyduino has this new bootloader already installed.

the new bootloader fades the status LED on and off as long as it is active.. so you can see if you have one with it.

regards Felix

SergioC
Posts: 19
Joined: Sat Dec 22, 2012 11:33 pm

Re: NanoWii atmega32u4 (leonardo) FC

Post by SergioC »

Hi,

just purchased my first NanoWii, incredible, I love it!
I'm not able to use the GUI. The GUI see the COM interface, I select, wait, then I click start but nothing come. I digged some, I can upload any sketch to the board and they do works, I tried the very simple led blink and so on. The Serial interface, the virtual one into the USB port, doesn't works. Neither the Arduino IDE Serial Monitor does. I tried a very simple sketch but I cannot see any data coming from the board and if I send something (with the Serial Monitor) I get a java exception:

Code: Select all

java.io.IOException: Input/output error in writeArray
   at gnu.io.RXTXPort.writeArray(Native Method)
   at gnu.io.RXTXPort$SerialOutputStream.write(RXTXPort.java:1124)
   at processing.app.Serial.write(Serial.java:517)
   at processing.app.Serial.write(Serial.java:540)
   at processing.app.SerialMonitor.send(SerialMonitor.java:200)
   at processing.app.SerialMonitor.access$100(SerialMonitor.java:32)
   at processing.app.SerialMonitor$4.actionPerformed(SerialMonitor.java:96)
   at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
   at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
   at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
   at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
   at java.awt.Component.processMouseEvent(Component.java:6263)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
   at java.awt.Component.processEvent(Component.java:6028)
   at java.awt.Container.processEvent(Container.java:2041)
   at java.awt.Component.dispatchEventImpl(Component.java:4630)
   at java.awt.Container.dispatchEventImpl(Container.java:2099)
   at java.awt.Component.dispatchEvent(Component.java:4460)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
   at java.awt.Container.dispatchEventImpl(Container.java:2085)
   at java.awt.Window.dispatchEventImpl(Window.java:2475)
   at java.awt.Component.dispatchEvent(Component.java:4460)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


I'm using an old windows XP SP3 and I installed the arduino 1.0.3 drivers as per the guide.

I don't understand where the problem is. I also tried with a linux box, again an old slakware and maybe not properly configured. The GUI doesn't work but I was able to see something: when I plug the board I see the usb device being recognized, but no serial interface come. If I reset the board the bootloader starts, fading the green led, the Linux log says:
- usb disconnect
- usb connect
- ttyACM0 (the serial!!)

after 6-8 seconds the bootloader stops and the log says:
- usb diconnect
- usb connect
-.... no serial comes

Thanks,
Sergio.

Post Reply