HobbyKing.com New Products Flash Sale
Reply
Thread Tools
Old Feb 19, 2011, 03:29 PM
Droner
SebastianJ's Avatar
Denmark, Capital Region of Denmark, CPH
Joined Mar 2006
2,410 Posts
New Product
Pipo ISU - a new IMU/MCU board multirotor controller

I found this over at DiyDrones:


Erez R has cooked up what looks to be a quite capable multirotor controller, basically it's an Arduino if you want it to be, with sensors onboard, very small and lightweight:


MCU: 16Mhz Atmel Atmega328p
Gyro: L3G4200D
Accel - ADXL345
Compass - HMC5843
Input voltage - 5v-16v.
Up to 16 I/O ports for PWM (in/out), external modules etc. (8 PWM out?)
I2C header for external I2C units.
1.5"x1.1" (39mm x 28mm).
6 grams.


Porting of Ardupirates code in the works - Pipopirate:

http://code.google.com/p/pipo/

Get your Pipo ISU here: http://www.eraviv.com/store/page2.html

3-axis following (0 min 20 sec)


I really like the escalating rate of development in multirotors.




Sebastian
SebastianJ is offline Find More Posts by SebastianJ
Last edited by SebastianJ; Feb 20, 2011 at 02:01 AM.
Reply With Quote
Sign up now
to remove ads between posts
Old Feb 19, 2011, 03:32 PM
Z06 Tony's Avatar
Rochester NY
Joined Sep 2008
6,989 Posts
Hows that X650 testing coming? Did you put it togeather yet? If so how does it fly?
Z06 Tony is online now Find More Posts by Z06 Tony
Site Sponsor
Old Feb 19, 2011, 03:39 PM
Droner
SebastianJ's Avatar
Denmark, Capital Region of Denmark, CPH
Joined Mar 2006
2,410 Posts
Quote:
Originally Posted by Z06 Tony View Post
Hows that X650 testing coming? Did you put it togeather yet? If so how does it fly?
In my opinion it does not fly at all, perhaps the v1.3 firmware will do better but somehow I doubt it.

Please stay on topic, this thread is about the Pipo ISU, feel free to PM me.



Sebastian
SebastianJ is offline Find More Posts by SebastianJ
Reply With Quote
Old Feb 19, 2011, 03:46 PM
Z06 Tony's Avatar
Rochester NY
Joined Sep 2008
6,989 Posts
Quote:
Originally Posted by bas10an View Post
In my opinion it does not fly at all, perhaps the v1.3 firmware will do better but somehow I doubt it.

Please stay on topic, this thread is about the Pipo ISU, feel free to PM me.



Sebastian
Hmm everyone elses flies fine. No prob though I will not post about it here anymore.
Z06 Tony is online now Find More Posts by Z06 Tony
Site Sponsor
Old Feb 19, 2011, 03:48 PM
Registered User
erazz's Avatar
United States, NJ
Joined Jun 2004
1,746 Posts
Sebastian,
Thanks for posting.


Hi Guys,

Some of you are familiar with another project of mine:
http://code.google.com/p/er9x/


I've just started porting. My main goal is to fit all the code into the 32kb limit of the MCU. Currently it looks completely doable.

One correction though. It's not an Arduino. That is, it can be. I can ship it with the Arduino bootloader on it. If you wish you can certainly program it as Arduino but the code I'm porting is to be c++. I feel it give me better control over the code.

Anyway, the repository holds a Makefile. Requirements in windows is to install Winavr.
On Linux you need to install avrdude, gcc-avr, avr-libc and build-essentials.

To compile: type "make" in the build directory.
To program via avrdude: type "make program"
To write the correct fuses: type "makw write-fuses"

Please notice that as of this writing the code is not really ready. Still lots of work to be done. Should be ok by the end of the week though



Feel free to post questions and suggestions.

Erez



Here's a picture of the v1 board. A plastic card for reference:
erazz is offline Find More Posts by erazz
Reply With Quote
Old Feb 19, 2011, 04:11 PM
working on a DIY Mini Quad!
Edwardo5000's Avatar
Joined Jan 2010
126 Posts
I don't know what to buy!

The Free Flight IMU or this one?

I just got a Arduino Pro Mini, but maybe the Flyduino is better?

Heeelp!
Edwardo5000 is offline Find More Posts by Edwardo5000
Reply With Quote
Old Feb 19, 2011, 06:48 PM
Registered User
ala42's Avatar
Germany
Joined Jan 2011
218 Posts
Isn't the HMC5843 at end of life time and the HMC5883 the HM successor. also hard to get ?
ala42 is offline Find More Posts by ala42
Reply With Quote
Old Feb 19, 2011, 11:51 PM
Registered User
erazz's Avatar
United States, NJ
Joined Jun 2004
1,746 Posts
Yes it is.
However the HMC5883 is not yet available and there's no datasheet.
HMC5843 are still out there and they do a pretty good job.


BTW.
I have managed to actually weigh the board. No wonder I had a tough time. It weighs just 6 grams!
erazz is offline Find More Posts by erazz
Reply With Quote
Old Feb 22, 2011, 02:15 AM
Registered User
erazz's Avatar
United States, NJ
Joined Jun 2004
1,746 Posts
Moving right along.

I've finally solved the HMC5843 issue. Man these things are hard to get a hold of!
I haven't updated the code in the repository but I'm very much ahead.

I hope to have a flight video by the end of the week!


The code so far is only 10K and I got most of the heavy stuff in! I think that stuffing all of the AP stuff into the available pgm space is feasible. Just one tiny board - full fledged AP.

The multiplexer will be instantly recognizable to anyone who has worked with ER9x. Very flexible. I'm also working on a ER9x-FRSKY-PIPO pipeline which will allow you to program PIPO through your radio's menu.

Meanwhile here's an early stabilization/tracking test. This is without the compass so I do get some yaw drift. It's annoying but not terribly problematic.
Pipo Gimbal Stabilisation (0 min 19 sec)


Sorry for the video quality. Need to get a better phone.
erazz is offline Find More Posts by erazz
Reply With Quote
Old Feb 25, 2011, 02:36 AM
Registered User
erazz's Avatar
United States, NJ
Joined Jun 2004
1,746 Posts
Almost ready for flight!




Been working very hard to get the first version of the code ready. It's almost done. Just need to write the part where you can program via the radio and complete the PID programming.

The AHRS is quaternion based and works surprisingly well.
I haven't done the AP section yet but there's still a lot of room left for it (I'm currently using 40% of pgm space).



I've had an email asking what's the difference between Pipo and an IMU unit like this: http://www.sparkfun.com/products/9623
They are almost the same size (Pipo is marginally smaller) and contain almost the same components.

The main difference is that the SF unit is designed to be an IMU. That is it's designed to plug into a host and give it the data. Pipo OTOH is designed to be a complete system. Also since the SF unit works on 3.3v it can't drive servos and it must operate at 8Mhz. Pipo works on 5v so it can work at 16Mhz and drive servos/esc directly.

The software allows you to design your system very easily without having to recompile and configure via an external program. That makes Pipo very flexible. It can be used in a Quad, a heli, a FPV plane, a camera gimbal... Basically anything that needs to be stabilised with servos.

Anyone familiar with er9x will instantly feel at home with this multiplexer. It's basically the same idea. You have inputs and outputs and you connect them via mixers. Again, anyone familiar with er9x knows how flexible this is.


To all those who ordered a board Thanks!
The boards without the magnetometers will start shipping early March. However, since the HMC5843 are very hard to get a hold of the boards with the magnetometers will ship by late March/Early April. As soon as the HMC5843 arrive.


Erez
erazz is offline Find More Posts by erazz
Reply With Quote
Old Feb 25, 2011, 04:13 AM
Registered User
titou206206's Avatar
Joined Apr 2009
34 Posts
Very impressive.

When do you expect the codes will be able to support the additional sensors?
Is it possible to integrate the aditional sensors (GPS, pressure, sonar) on the V2 board?
titou206206 is offline Find More Posts by titou206206
Reply With Quote
Old Feb 25, 2011, 04:21 AM
Suspended Account
UK, Buckinghamshire, High Wycombe
Joined Feb 2007
4,133 Posts
n3m1s1s is offline Find More Posts by n3m1s1s
Reply With Quote  (Disabled)
Old Feb 25, 2011, 04:31 AM
OS Sponsor
kinderkram's Avatar
Germany, NRW, Dusseldorf
Joined Jun 2010
5,199 Posts
Quote:
Originally Posted by erazz View Post
Almost ready for flight!




Been working very hard to get the first version of the code ready. It's almost done. Just need to write the part where you can program via the radio and complete the PID programming.

Erez
Amazing job, Erez!

I hope you can make use of the Pirates' code - and I can't wait to see it fly!

How the heck did you manage to boil it down to 10k???
kinderkram is offline Find More Posts by kinderkram
RCG Plus Member
Reply With Quote
Old Feb 25, 2011, 11:06 AM
Registered User
erazz's Avatar
United States, NJ
Joined Jun 2004
1,746 Posts
Thanks Guys,

GPS, pressure, sonar etc... will be incorporated in the coming weeks. You would need to either plug them in to a spare port or to the I2C header that I left open. I have a GPS on the way for testing purposes.

I've spent a lot of work optimising the code. Some I borrowed from Ardupirates, some from Ardupilot, some from other sources and a lot I wrote from scratch. Current loop takes just over 2msec to complete and I have a lot of room left over for AP routines

Now just need to find some 8x4 props....
erazz is offline Find More Posts by erazz
Reply With Quote
Old Feb 25, 2011, 11:16 AM
Suspended Account
UK, Buckinghamshire, High Wycombe
Joined Feb 2007
4,133 Posts
how much will the full setup cost when yaready bruv?
n3m1s1s is offline Find More Posts by n3m1s1s
Reply With Quote  (Disabled)
Reply


Thread Tools

Similar Threads
Category Thread Thread Starter Forum Replies Last Post
New Product Navigation Board M3 - Open Source combined IMU and GPS MechatronicsLLC UAV - Unmanned Aerial Vehicles 0 Oct 18, 2010 03:46 PM
Poll New tightly integrated, fast Open Source IMU/Autopilot board pixhawk Multirotor Talk 0 Aug 04, 2010 04:45 AM
Discussion Another(!) new Sparkfun autpilot board: dsPIC + 3-axis IMU zlite UAV - Unmanned Aerial Vehicles 5 Jan 13, 2009 04:54 PM
Discussion New IMU/GPS/Compass/MicroSD board from Pericynthion hg1 UAV - Unmanned Aerial Vehicles 4 Sep 22, 2008 11:48 PM