HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old May 19, 2010, 07:21 AM
Registered User
Ciskje's Avatar
North Italy
Joined Feb 2009
308 Posts
Discussion
BaronPilot

Hello to all, I'm working hard on a stabilizing platform for multicopters (tricopter is preferred) that is very very cheap.
It works with arduino, wii motion plus and a nunchuck.
Software is currently in the alpha stage, hardware is so simple that you can build it on a breadboard:

This is the site:
http://www.elenafrancesco.org/arduino/baronpilot/

And this is one of the first test:
BaronPilot - Near perfect setup of this wii motion controlled tricopter (0 min 33 sec)


Photo of the "board":


If you want to discuss with me... and build one.
Ciskje is offline Find More Posts by Ciskje
Reply With Quote
Sign up now
to remove ads between posts
Old May 19, 2010, 07:40 AM
Registered User
Near Austin
Joined Dec 2001
5,399 Posts
I think the "McGyver" feel of this project is great! Using odd bits to produce something like this is going to appeal to lots of folks!

As a suggestion, you might want to post a bill of materials, and maybe highlight a build of the main unit. It is unclear how each component is mounted to your tri-copter so a simple diagram might help there. With lots of folks contributing to the simple code you've posted, this could become a very nice stabilization system.

Thanks!

Gene
CenTexFlyer is online now Find More Posts by CenTexFlyer
Reply With Quote
Old May 19, 2010, 08:02 AM
Registered User
Ciskje's Avatar
North Italy
Joined Feb 2009
308 Posts
It is not clear on the www site?
Ciskje is offline Find More Posts by Ciskje
Reply With Quote
Old May 19, 2010, 08:08 AM
Registered User
rimshotcopter's Avatar
United States, CA, Los Angeles
Joined Aug 2009
11,700 Posts
Quote:
Originally Posted by Ciskje View Post
It is not clear on the www site?
Just as a suggestion, maybe it would be a good idea to copy and paste the content of the website here. MAY Save some confuse in the future.
rimshotcopter is online now Find More Posts by rimshotcopter
Reply With Quote
Old May 19, 2010, 08:09 AM
Registered User
signguy's Avatar
Swansea, Massachusetts
Joined Dec 2004
2,088 Posts
Quote:
Originally Posted by Ciskje View Post
Hello to all, I'm working hard on a stabilizing platform for multicopters (tricopter is preferred) that is very very cheap.
It works with arduino, wii motion plus and a nunchuck.
Software is currently in the alpha stage, hardware is so simple that you can build it on a breadboard:

This is the site:
http://www.elenafrancesco.org/arduino/baronpilot/

And this is one of the first test:
http://www.youtube.com/watch?v=xpxhQBNW8GI

Photo of the "board":


If you want to discuss with me... and build one.
I agree, MUCH more info needed. A download for the code, a wiring diagram, close up pictures of the nunchuk/motion + hookup.And maybe a short tutorial on how to program the board. This is very foriegn to me, and probably most others.

Do I need a programmer for the board, or does it hook to the usb port?
What programs do I need to load the code?
Is there a way to add potentiometers to adjust gain?
Can I use Freeduino boards?
Any mods to the speed controls?
I probably have another 20-30 questions, but I'll leave it at 5 for now.

My buddy writes code, hope he'll be able to make something of this.

signguy
BobD
signguy is offline Find More Posts by signguy
Reply With Quote
Old May 19, 2010, 08:13 AM
Tri-Quad-Hexa-Octo-copters!!
United States, TX, San Antonio
Joined Feb 2007
14,615 Posts
Very nice. Thanks for sharing! I added your thread to Quadrocopter and Tricopter Mega Link Index
It is a nice DIY project but you might consider moving it from the DIY forums to the Multi rotor Heli forum. You can do that by clicking on the "report this thread" and selecting the pull down menus to move it there.
Cheers,
Jim
jesolins is offline Find More Posts by jesolins
Last edited by jesolins; May 19, 2010 at 08:31 AM.
Reply With Quote
Old May 19, 2010, 08:17 AM
Registered User
Joined Jan 2005
413 Posts
I have looked at your web page and have absolutely no idea how to do what you said that should be done.

I guess the problem is that I don't know what an Arduino, a nunchuck and a wii motion plus component are. Even if I knew, I guess a picture or two will beat a 1000 words. Especially when it come to the schematic or the connections. A few little changes, my friend, and you will have a winner. But don't worry, as we go along in this thread, once the questions will be answered it will all be more clear to everybody, even to clueless people like me!

Yoram
TigerPilot is offline Find More Posts by TigerPilot
Reply With Quote
Old May 19, 2010, 08:36 AM
Registered User
CrashingDutchman's Avatar
The Netherlands, Utrecht, Amersfoort
Joined Oct 2004
2,192 Posts
I will try to answer some of the questions about Arduino.
Quote:
Originally Posted by signguy View Post
Do I need a programmer for the board, or does it hook to the usb port?
No, you don't need a programmer. You load the code into the Arduino IDE (Integrated Development Environment) and burn it through an USB connection on the Atmega328 processor on the Arduino PCB

Quote:
Originally Posted by signguy View Post
What programs do I need to load the code?
Just download the Arduino IDE athttp://arduino.cc/en/Main/Software


Quote:
Originally Posted by signguy View Post
Can I use Freeduino boards?
As long as the processor on the Freeduino is an Atmega328, you can. I do know that Freeduino's with Atmega328 exist.
Edit: Just noticed that you need an Arduino that has a 3.3V pin. Not all have this.
CrashingDutchman is offline Find More Posts by CrashingDutchman
Last edited by CrashingDutchman; May 19, 2010 at 08:43 AM.
Reply With Quote
Old May 19, 2010, 08:40 AM
Registered User
CrashingDutchman's Avatar
The Netherlands, Utrecht, Amersfoort
Joined Oct 2004
2,192 Posts
I will probably follow what you have done Ciskje. That was a really nice video. Some more details are needed and it seems that the page is made with a little hurry (not trying to offend you).

I think if you elaborate a little more about the connections you made, esc and motors you used, etc... you will get a lot of followers. Also, close-up pictures would be nice to have.

Can you estimate the cost of this tricopter? Would it be easy to make it a quadcopter instead?
CrashingDutchman is offline Find More Posts by CrashingDutchman
Reply With Quote
Old May 19, 2010, 08:43 AM
xxxxxxxxxxxxx
JUERGEN_'s Avatar
Deutschland
Joined Nov 2009
660 Posts
instead of nunchuck,

this would also be conceivable - http://www.elv.de/output/controller....&detail2=28515
?


for, ... EUR 5,95

dismantled the WMP-Controller, ...


jürgen
JUERGEN_ is offline Find More Posts by JUERGEN_
Last edited by JUERGEN_; May 19, 2010 at 09:33 AM.
Reply With Quote
Old May 19, 2010, 10:27 AM
Friend is a 4 letter word...
JussiH's Avatar
3rd stone from the sun
Joined May 2007
2,672 Posts
Ciskje, guess you showed us all....Nice work!

I completely agree with Bob and the other voices here - Let´s see some more documentation about this controller. You state 7 input channels - does that mean remote gain control for gyros?

Tell us more about it...a shcematic would be nice as well!
JussiH is offline Find More Posts by JussiH
RCG Plus Member
Old May 19, 2010, 12:14 PM
Registered User
signguy's Avatar
Swansea, Massachusetts
Joined Dec 2004
2,088 Posts
Quote:
Originally Posted by 420RcPilot View Post
Ciskje, guess you showed us all....Nice work!

I completely agree with Bob and the other voices here - Let´s see some more documentation about this controller. You state 7 input channels - does that mean remote gain control for gyros?

Tell us more about it...a shcematic would be nice as well!
Hi Jussi

Got the board yesterday, thanks. Now I'm waiting to see if this would be an easier route than building the board myself.

BobD
signguy is offline Find More Posts by signguy
Reply With Quote
Old May 19, 2010, 01:49 PM
Friend is a 4 letter word...
JussiH's Avatar
3rd stone from the sun
Joined May 2007
2,672 Posts
Quote:
Originally Posted by signguy View Post
Hi Jussi

Got the board yesterday, thanks. Now I'm waiting to see if this would be an easier route than building the board myself.

BobD
Makes sense, though I´m sure you won´t have a problem building it, and you certainly won´t regret it! But this looks promising as well. But still very much in "Alpha" stage right now....let me know if you need help with the other.

Cisjke, I Looked closer at BaronPilot site - I found this:

Connect signal channel from a receiver on pin D2 D4 D5 D6 to chan1 chan3 chan5 chan7 of your receiver
Chan2,chan4,chan6 are derived from difference with the other channels.


I gather that means you are using channel substitution method like in first versions of KK controller. As far as I can see from video you are using Futaba radio...

Does that mean that the controller can only be used with 7-channel Futaba or other TX with same channel sequence?

Might be an idea then to make 4-channel version for a wider range of usable radio gear (People with 6 or 4-channel radios and Spektrum owners could play as well....)

Keep up the good work ....and remember to tell us all about it.....
JussiH is offline Find More Posts by JussiH
RCG Plus Member
Old May 19, 2010, 02:25 PM
Registered User
Ciskje's Avatar
North Italy
Joined Feb 2009
308 Posts
Quote:
Originally Posted by 420RcPilot View Post

Does that mean that the controller can only be used with 7-channel Futaba or other TX with same channel sequence?
I'm using a Multiplex IPD RX7 and a Futaba RX 7 chan, very little differences, you can use ALL receivers.
I think modify the code is very very simple, and a lot of the parameters are avaiable with the CLI (command line interface) with serial port support.
Ciskje is offline Find More Posts by Ciskje
Reply With Quote
Old May 20, 2010, 08:21 AM
Registered User
CrashingDutchman's Avatar
The Netherlands, Utrecht, Amersfoort
Joined Oct 2004
2,192 Posts
I have made a start with writing out the connections between Arduino Nano and Wii Motion+ and Wii Nunchuck.

For those that are confused:
- Wii Motion plus is the extension that you can put on the wireless remote (aka Wiimote) that the Wii uses
- Wii Nunchuck is the wired remote (with joystick on it) that you can connect to the Wiimote.


Code:
* WM+ = Wii Motion Plus
* Where 3V3 is used, this means 3.3V. Also 5V can be used instead

Drawing WM+
+---       ---+  
|   |_____|   |  1 = VCC
| 2    4    6 |  2 = SCL (clock)
| -    -    - |  3 = Device Detect (DD)
|             |  4 = NC (not connected)
| -    -    - |  5 = SDA (data)
| 1    3    5 |  6 = GND
+-------------+


Drawing Wii Nunchuck
+---       ---+  
|   |_____|   |  1 = VCC
| 2    4    6 |  2 = SCL (clock)
| -    -    - |  3 = Device Detect (DD)
|             |  4 = NC (not connected)
| -    -    - |  5 = SDA (data)
| 1    3    5 |  6 = GND
+-------------+



Pins Wii                        Arduino		Any receiver (7 ch)
Motion+                         Nano V3            Rx-signal-pins
-------------------------------------------------------------------
                                D2                 Ch-1
                                D4                 Ch-3
                                D5                 Ch-5
                                D6                 Ch-7
1 (Vcc)                         +3V3 (or +5V)
2 (SCL)                         AN5  (A5)
3 (DD) to WM+ pin 1 (VCC)
4 not connected
5 (SDA)                         AN4  (A4)
6 (GND)                         GND
-------------------------------------------------------------------
Now the part that I am not sure about is the connection between WM+ and Wii Nunchuck.
Code:
Pins Wii                                Pins Wii
Nunchuck                                Motion plus
----------------------------------------------------
1 (+3V3)				1 (+3V3)
3 Device Detect                         2 SCL
4 NC                                    5 SDA (data)
5 SDA                                   6 GND
----------------------------------------------------
I hope Ciskje can elaborate? For me, the last 2 connections sound strange.
CrashingDutchman is offline Find More Posts by CrashingDutchman
Reply With Quote
Reply


Thread Tools