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

Thursday,April 25, 2024, 11:34:09

Login with username, password and session length

Shoutbox

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:
Bad Raven:
26 Mar 2024 08:41:05
 :(
Andy7:
25 Mar 2024 14:49:21
An excess of work and rain.  :thumbdown:
Bad Raven:
23 Mar 2024 18:12:38
Almost a personal Blog, it would seem. LOTS of members, but NO posts.  :-/   :shrug:
Gaza07:
06 Mar 2024 16:59:49
Anyone still here  :shrug:
ched:
24 Dec 2023 11:48:48
Hope you all have a Great Christmas and a happy New Year.
Bad Raven:
20 Dec 2023 06:17:47
 ~~   :beer2: 
Gaza07:
19 Dec 2023 22:20:27
Merry Christmas All  :beer2:
Members
  • Total Members: 8,195
  • Latest: lokloks
Stats
  • Total Posts: 201,427
  • Total Topics: 20,261
  • Online today: 31
  • Online ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 0
Guests: 35
Total: 35

Theme Changer





3d - Printworx

Rctimer I2c GPS Converter

Started by Gaza07, Monday,September 10, 2012, 16:03:50

Previous topic - Next topic

Gaza07

I recently bought one of the little cheap rctimer i2c gps converters to try on my paris v3 multi wii controller, you will find them in the link below

http://www.rctimer.com/index.php?gOo=goods_details.dwt&goodsid=762&productname=

[attach=1][attach=2]

They show it being used with the rctimer cn-06 v1 gps module but in fact the combo doesnt work at all with out a little bit of work,

The first thing that needs to be done is solder the FTDI pins in across the edge like in the picture, and then flash the latest multi wii i2c nav code to the converter, heres a copy of the latest code you can use Arduino v1.01 to do the job, there is also a couple of pics to help in the archive

[attachurl=3]

You then need to solder the last 2 pins on the Gps module together this will make the gps default to 38400 instead of 9600,

[attach=4][attach=5]

you can use any serial gps with the converter and will need to edit the config.h in the file to suit the speed of the gps your using, and then flash it to your i2c nav board  ~~
[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]

pheasant_plucker

Cheers Gaz, I bought one of these with my AIO and GPS so I can try the GPS on the Drotek board. I'll have a play with it later in the week.

Gerry
The man serving me in the canteen said "Look, You can see the face of Jesus in the Margarine" The Asian guy next to me replied "I can't believe it's not Budda"
[url="http://www.namfc.co.uk/pictures/fly.gif"]http://www.namfc.co.uk/pictures/fly.gif[/url]

Gaza07

You dont need the converter for the AIOP but I get the feeling you already know that  :rolleyes:
but Im not sure if the soldered legs will affect the normal use on the AIOP  :shrug:

Here's a couple of screen captures using the i2c converter

[attach=1][attach=2]



[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]

teslahed

Nice work!

Do you think there is much different in performance with the GPS when connected straight to the AIOP and when using the i2C converter board with a 'regular' multiwii flight controller?

I will be interested to hear once you've flown with both to compare.
One circlip short of a quadcopter.
 1 lobe short of an antenna.

Gaza07

Good question as the i2c board has the same mcu as the flight controller and actually takes a lot of the navigation processing away from the flight controllers mcu, I suppose it should be better but we will see and it is putting the data on the already over crowded i2c bus  :rolleyes:
[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]

marckatzenmaier

i recently purchased multiwii se board v1 with converter and gps, but i saw that it is now gps v2, do you think modifications is still required?
dynam hawksky, Ripmax MX2 v3, Stm FW190, F16profile EDF, HK parkjet, ASK21, bixler 2, blade MQX, quad SM450v2 multiwii, spider quad apm, wltoys v272

Gaza07

Im not sure it cant hurt to try it as it is first just make sure the right pins are connected  ~~
[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]

marckatzenmaier

ok, ill try as i get the package from rctimer.
dynam hawksky, Ripmax MX2 v3, Stm FW190, F16profile EDF, HK parkjet, ASK21, bixler 2, blade MQX, quad SM450v2 multiwii, spider quad apm, wltoys v272

Gaza07

I tested the i2c on a paris v3 and it didnt work until i soldered the gps to default to 38400bps and then flashed the i2c interface, but I would try it before resorting to those methods  ~~
[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]

marckatzenmaier

ill test it first, but i have to read some more forums, all new to programming and stuff. Is the multiwii se from rctimer ready to fly as it is sold? or do you have to program it to make the quad to be fly?
dynam hawksky, Ripmax MX2 v3, Stm FW190, F16profile EDF, HK parkjet, ASK21, bixler 2, blade MQX, quad SM450v2 multiwii, spider quad apm, wltoys v272

Gaza07

I've not had this board before and it probably come loaded with a version of multi wii, but you would be better off loading the latest 2.1 your self I can help you with the upload process and any questions you might have about editing the firmware,
Have you downloaded the latest version of the arduino app
[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]

marckatzenmaier

i have not downloaded anything yet, i thought i start the fun when i receive my first parts.
so i have to download arduino and wingui?
i'm sorry i this is going to be a bit off topic..... :huh :embarrassed
dynam hawksky, Ripmax MX2 v3, Stm FW190, F16profile EDF, HK parkjet, ASK21, bixler 2, blade MQX, quad SM450v2 multiwii, spider quad apm, wltoys v272

Gaza07

Yea grab a copy of the Arduino app wingui and multi wii 2.1

Look in the downloads section of the arduiono site linked below, there is also some good help pages on there to
http://www.arduino.cc/

Multi wii firmware get v2.1
http://code.google.com/p/multiwii/downloads/list

Win Gui v2.1
http://code.google.com/p/mw-wingui/downloads/list

When you get your bits we can make a new thread in the multi wii section about setting up the multi wii se v1 board  ~~

[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]

teslahed

#13
If you want to look at the code and become familiar with it before your board arrives you could download the software to get a head start;

http://arduino.googlecode.com/files/arduino-1.0.1-windows.zip

( http://arduino.cc/en/Main/Software )

That's the latest (windows) version of arduino 1.01

http://code.google.com/p/multiwii/downloads/detail?name=MultiWii_2_1.zip&can=2&q=

And that's the location of the latest version of the multiwii code. 2.1 is the latest stable version which is what i would recommend you start with.

When you download the multiwii software you'll have a zip file to open - it will make 2 folders - MultiWii_2_1 and MultiWiiConf_2_1. Look in MultiWii_2_1 and right click on the 'MultiWii_2_1' file inside the folder of the same name and open with the arduino program you downloaded and installed.

The program will open up a little notepad type window with lots of text and tabs along the top. The tab along the top you want to look at is the 'Config.h' tab. All the bits you are likely to want to fiddle with  in there, most of it is well commented so scroll through and read the notes and you'll get an idea what it's about and then likely have a bunch more questions.

If you get stuck anywhere following the above let me know.

edit - the winGUI gaza linked you to is nice and easy to use. In the other of the two folders that is created when you extract the multiwii zip file there are some sub folders, have a look in;

MultiWii_2_1\MultiWiiConf_2_1\application.windows32

there is an application you can click on 'MultiWiiConf_2_1' which is the original GUI for multiwii which the winGUI replaces. Worth having a look at both but most people prefer the winGUI.

One circlip short of a quadcopter.
 1 lobe short of an antenna.

Iberian

Does this converter requires a 10Hz or 5Hz  GPS refresh rate? Or does it work with for instance with a 1Hz GPS?
Any code to add to Multiwii 2.1?
Thanks
Tony

Iberian


Gaza07

[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]

2.4g shaun

#17
Hi Gaz,
OK I';m too lazy to figure it out for myself and you';ve already sorted it....
Now the confession is out of the way. I bought one of the  RC timer boards about 6 months ago, so I';m assuming it will need re-flashing with some newer software. Could you point me in the right direction please.

Also using this board does TX go to Tx or is it crossed over to go to Rx on the GPS module?
The GPS module is this one     GY-GPS6MV2  ( UBLOX)

http://www.ebay.co.uk/itm/390631684988?ssPageName=STRK:MEWNX:IT&_trksid=p3984.m1439.l2649

Pretty amazing value for under  £11.00 posted ( I';ve also bought compass modules from here at under £2.00 , they work a treat). It also gives you the opportunity to easily  lengthen the wire for the antenna and leave the electronics close to the FC as it isn';t soldered to it.

I';m using Multiwii 2.2 so do I need to add any further code to the sketch for GPS functionality.

Also, do I need to hardware strap ( as you have done ) the chip for the higher baud rate or is this taken care of in the  2.2 software /updated. I2c converter software?
Not quite 20 questions but your help would be appreciated..

Cheers

Shaun

Gaza07

Hi shaun its been a while since I actually did this but it is easier if your gps has an eeprom which yours appears to have,
you need to download the i2c board firmware and fash the i2c board edit the sketch with the speed you set in your gps config most use 38400,
there is some settings in the wii code you have to select but I think they are clearly marked and should be easy enough  ~~

you can get the code from here https://code.google.com/p/i2c-gps-nav/downloads/list

you will need the ublox software to write to the gps eeprom and set it to 38400 its probably running at 9600 on default you can get the Ublox ucentre from here http://www.u-blox.com/en/evaluation-tools-a-software/u-center/u-center.html

you should be able to connect to the gps with a ftdi rx to tx as per flight controller to set the gps up  ~~

Of course this could of all changed since i did it and there may well be a much easier way  :rolleyes:  ~~

[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]

2.4g shaun

Cheers Gaz,

I';ll keep you appraised of my progress.

Would you suggest hardware strapping the UBlox as you did ?

Cheers

Shaun

Gaza07

I had to do the V1 Gps because it had no eeprom but yours does so i think I would reconfigure it  ~~
[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]

Ground Engineer

That ant is so distracting I cant read the thread
Frames: Blackout Mini H V2, TBS Disco, TBS Caipirinha,Tarot Ironman 650, Q450, Tricopter D.W design.
FC's: Naze 32 GPS, Naza M Lite GPS, APM2.5 GPS, KK2.1, KK
FPV: Skyzone FPV Goggles, GoPro Hero 3+ Black, Sony Super HAD 600 TVL