Welcome to Multi-Rotor UK. Please login or sign up.

Sunday,June 01, 2025, 08:26:33

Login with username, password and session length

Shoutbox

Bad Raven:
12 May 2024 08:13:51
 I have some F1 Abusemark boards going spare,,,,,,,,,,,,,    ;)    :azn
DarkButterfly:
11 May 2024 22:12:29
And with oldskool parts  :D
DarkButterfly:
11 May 2024 22:11:57
I must be the only one doing tricopters right now  :laugh:
DarkButterfly:
11 May 2024 22:09:30
 :D
Gaza07:
11 May 2024 21:15:16
Domain has been renewed closure has been cancelled  :D
Gaza07:
02 May 2024 08:07:52
Who are most people ??? I think the person you are referring to has put in a lot of effort to keep things moving  :rolleyes:
hoverfly:
01 May 2024 10:16:12
Most people I have spoken to are pizzed off with the yellow peril  flooding the forum,go figure. :whistling:
Gaza07:
23 Apr 2024 08:09:45
The Domain expires for the forum in 60 days, I'm not going to renew it this time unless I see any activity  :beer2:
Gaza07:
20 Apr 2024 18:02:50
Is there anyone who would like to see this forum stay open ? :shrug:
hoverfly:
17 Apr 2024 17:15:13
 :rolleyes:
Members
Stats
  • Total Posts: 201,532
  • Total Topics: 20,277
  • Online today: 91
  • Online ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 1
Guests: 38
Total: 39

Theme Changer





3d - Printworx

editing multiwii 2.1 for the rctimer multiwii SE v2.0 board

Started by philtrum, Wednesday,April 17, 2013, 22:17:05

Previous topic - Next topic

philtrum

open arduino (i used v1.0.4)

board type for upload is Ardino pro mini 5v 16mhz wtih atmega328


navigate and open the multiwii code

to set muliticopter type,
in config.h

remove the // before the type you want

eg //#define qaudx

becomes

#define quadx


next define the board type you have
the rctimer SE V2.0 is not listed

to add it as a board type

in def.h add

find

#if defined(CRIUS_SE)
  #define ITG3200
  #define BMA180
  #define HMC5883
  #define BMP085
  #define ACC_ORIENTATION(X, Y, Z)  {accADC[ROLL]  = -X; accADC[PITCH]  = -Y; accADC[YAW]  =  Z;}
  #define GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] =  Y; gyroADC[PITCH] = -X; gyroADC[YAW] = -Z;}
  #define MAG_ORIENTATION(X, Y, Z)  {magADC[ROLL]  =  X; magADC[PITCH]  =  Y; magADC[YAW]  = -Z;}
#endif


add below a new section

#if defined(CRIUS_SE_V2)
  #define MPU6050
  #define HMC5883
  #define BMP085
  #define ACC_ORIENTATION(X, Y, Z) {accADC[ROLL] = -X; accADC[PITCH] = -Y; accADC[YAW] = Z;}
  #define GYRO_ORIENTATION(X, Y, Z) {gyroADC[ROLL] = Y; gyroADC[PITCH] = -X; gyroADC[YAW] = -Z;}
  #define MAG_ORIENTATION(X, Y, Z) {magADC[ROLL] = X; magADC[PITCH] = Y; magADC[YAW] = -Z;}
  #define MPU6050_EN_I2C_BYPASS // MAG connected to the AUX I2C bus of MPU6050
  #undef INTERNAL_I2C_PULLUPS
#endif



in config.h

find
  //#define CRIUS_SE        // Crius MultiWii SE


add
      #define CRIUS_SE_V2     // Crius MultiWii SE V2

board is now defined
--------------------

to stop roll on transmitter disarming the flight controller

search for
#define ALLOW_ARM_DISARM_VIA_TX_ROLL


comment out by adding // infront to make it read

//#define ALLOW_ARM_DISARM_VIA_TX_ROLL

-----------------



if you have a gps and the ic2-gps nav board (required for the rctimer multiwii se v2 board to use a gps module (you will also need a gps module)

find in config.h
/**************************************************************************************/
  /***********************                  GPS                **************************/
  /**************************************************************************************/

uncomment
//#define I2C_GPS
so it reads
    #define I2C_GPS

---------------

when you arm multi wii the motors start up to min throttle so you know its armed
this can be disabled (lot safer)

search and find
/**************************************************************************************/
  /***********************     motor, servo and other presets     ***********************/
  /**************************************************************************************/

find //#define MOTOR_STOP
uncomment it so it says
#define MOTOR_STOP



this is now complete
click verify (tick button in the top left corner and check it compiles with no errors

Many Thanks
Phil
[url="//www.makeitbuildit.co.uk"]www.makeitbuildit.co.uk[/url]

Gaza07

Multi Wii v2.2 has a define for this board     //#define HK_MultiWii_SE_V2  // Hobbyking board with MPU6050 + HMC5883L + BMP085

But its worth adding the one above if you are using 2.1  ~~
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

philtrum

Topic title updated to reflect multiwii version

Once I';ve sorted out the GPS/navboard, ill post one up.for that
Phil
Many Thanks
Phil
[url="//www.makeitbuildit.co.uk"]www.makeitbuildit.co.uk[/url]

Gaza07

I had a quick play with the nav board and the auto bauding you saw doesnt work you have to set the baud to 38400 and ublox in the nav board sketch and then solder the last two pins on the gps module which forces it into 38400bps, I was hoping there would be a way to get it working with out the soldering but it seems there isnt unless you just want to run it at 9600  :rolleyes:  ~~

[attach=1]
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

philtrum

Thanks Gaza

I';ve done some reading, and it looks like you can set the ublox gps baud rate directly

http://code.google.com/p/ardupirates/wiki/UbloxGPSTutorial

I';ll have a play tonight and see if I can do it
Phil
Many Thanks
Phil
[url="//www.makeitbuildit.co.uk"]www.makeitbuildit.co.uk[/url]

Gaza07

Yea you can use the ucentre to set it up but in my case its a CN-06 V1 so it has no eeprom and using the ucentre is of no use, you should be able to load the config file contained in the nav board archive into the eeprom on your gps if its a v2  ~~
[url="https://www.youtube.com/channel/UCN6zN99iLCIJea5FCQPKf_g"]YouTube[/url]   [url="https://www.printing-3d.co.uk"]printing-3d[/url]  [url="https://www.thingiverse.com/Gaza07/about"]Thingiverse[/url]  [url="https://www.3d-printworx.co.uk"]3d-printworx[/url]

Poppy Ann

Hi philtrum.

it looks like you know what you are doing with this board, i have one on order or at least i think i have i ordered :-

http://www.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=22321

which i think is the same board along with parts to build a quad copter as i have been away from RC for many years, on receipt of the board is there anything i need to do to be able to use it or do i have to program it straight from the box?

having not had hold of any type of flight control board i have no idea what i am getting into but i want to give it a try.

regards Poppy Ann.

philtrum

Hi, sorry I had missed your post, its abdifferent board to the one I have, but its still multiwii, I';d recommend 2.2 as it has most if the boards already in there

Good luck ands if its not working, pop into chat, amazing what can get fixed in there quickly :)
Phil
Many Thanks
Phil
[url="//www.makeitbuildit.co.uk"]www.makeitbuildit.co.uk[/url]