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

Friday,November 15, 2024, 12:03:35

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,488
  • Total Topics: 20,272
  • Online today: 26
  • Online ever: 530
  • (Tuesday,June 26, 2012, 08:34:46 )
Users Online
Users: 1
Guests: 13
Total: 14

Theme Changer





3d - Printworx

newbie alert, please help fitting gps to naze32

Started by steve57925, Wednesday,February 18, 2015, 17:32:45

Previous topic - Next topic

steve57925

Hi guys, just received my gps unit and I read the installation guide on the sticky but it says to solder it to the fc, thing is my gps has a plug on it, do I just plug it into the reciever then configure it on the pc in base control? Many thanks in advance, please see pic attached to see what gps I got


ChavasRegal


ChavasRegal


steve57925

So it';s not as easy as just a plug in lol thanks for that though

ChavasRegal

Quote from: steve57925 on Wednesday,February 18, 2015, 18:50:53
So it';s not as easy as just a plug in lol thanks for that though

Nothing is that simple lol

Obviously there is a lot on that you can dismiss, connecting the gps and getting it to talk to the FC is quite simple, from experience tho you will need to program the GPS module to get it using the right settings and speeds etc.

Here is a good GPS setup guide.
https://github.com/cleanflight/cleanflight/blob/master/docs/Gps.md

Fletch

How are you connecting your transmitter to your naze?

Is it pwm (lots of wires) or sbus/ppm (one servo wire)

steve57925

Haven';t got a clue as it was built for me, I';ll take a picture and upload it in a bit, jees I sound so dumb

ChavasRegal


steve57925

Does this help with my question or shall I remove the top of the frame





quadfather

Could you post a pic of the receiver?  I suspect it';s configured as PWM.
-rw-rw-rw-  –  The Number of the Beast

Fletch

Looks PWM ... Makes it a bit more of a challenge to setup GPS!

Cleanflight or baseflight on the NAZE?

I';m guessing it';ll be baseflight

steve57925


quadfather

Fly Sky... not sure you can set that up to do PPM, which is a prerequisite for GPS.
-rw-rw-rw-  –  The Number of the Beast

ChavasRegal

Set mine up on cleanflight with PWM, you just have to move a few inputs around.

You have to set the channel mapping to "map AE34TR12" so that your receiver outputs to pins 1,2,5,6,7&8 on the Naze instead of 1-6 as pins 3&4 are needed for the GPS.

Naze input pins

1 - A - Ailerons
2 - E - Elevator
3 - GPS Tx
4 - GPS Rx
5 - T - Throttle
6 - R - Rudder
7 - Aux 1
8 - Aux 2


Also need to set these in the CLI.

feature RX_PARALLEL_PWM
set gps_sbas_mode = 1
feature GPS
map AE34TR12
set serial_port_2_scenario = 2


steve57925

Think I may need someone who knows more about these to do it for me lol


quadfather

Quote from: ChavasRegal on Wednesday,February 18, 2015, 21:32:20
You have to set the channel mapping to "map AE34TR12" so that your receiver outputs to pins 1,2,5,6,7&8 on the Naze instead of 1-6 as pins 3&4 are needed for the GPS.

Clever! And shame on me for assuming GPS and PWM are mutually exclusive.  :slap:
-rw-rw-rw-  –  The Number of the Beast

ChavasRegal

Quote from: quadfather on Wednesday,February 18, 2015, 21:47:56
Clever! And shame on me for assuming GPS and PWM are mutually exclusive.  :slap:

I went through all this not long ago myself, HandsOn helped me work it all out  ~~

steve57925

I';ve seen one on ebay for 21 quid, should I go ahead and buy it? After buying it how easy is my installation after that?

ChavasRegal

You wont need one if you use the method I posted above, only a case of moving the channels over a few pins

steve57925

Ok cool, I have a pal that will be able to follow your diagram I think :-) cheers

ChavasRegal

Quote from: steve57925 on Wednesday,February 18, 2015, 22:04:28
Ok cool, I have a pal that will be able to follow your diagram I think :-) cheers

It looks more complicated than it is.
As aside note when you set your GPS up in baseflight the default setting for two modules I';ve had have been set to NMEA and 9600 baud, so you may want to try that combination first. If you have not already reprogrammed the GPS module.

Hands0n

Had a bit of a hands 0n session with Steve';s multi-rotor tonight. Learned some interesting things about the Flip32 FC (clone of Naze32) along the way.

First up, Steve';s 450 was equipped with a Naze32 Acro. A big show stopper because of no Baro or Mag - so the GPS functions would not know which direction it was pointing or what height it was flying at.

Fortunately I just happened to have a Flip32 10DoF that I had recently bought from BangGood UK warehouse for £17 (see: http://eu.banggood.com/Wholesale-Warehouse-Naze32-Flight-Controller-With-32-bit-STM32-for-Multicopter-10Dof-wp-Uk-953849.html ).  So we decided to swap out the Acro Naze32 for that.

All went swimmingly well until time to set up the receiver mapping (CLI map command in Baseflight).  In my own implementation on a Naze32 Full with Cleanflight the map variable is AE34TR12, found by a laborious process of elimination.  So it seemed logical to copy that across to the Flip32. Right? ... Wrong!  It didn';t work, The Receiver channels were completely off ...

After a lot of faffing around I did a quick bit of Internet searching for FlySky channel order and Flip32 GPS and came across a forum thread that gave all the answers, albeit unexpected. I';ve clipped the forum comment below.  It is very odd that for Naze32 and Flip32 the map command string is so different.  I prefer how the Flip32 behaves in that respect.

The rest was plain sailing, testing the gps in the conservatory (it was pi55ing down outside) we got a solid 3D lock according to the Baseflight GUI GPS panel.   

The GPS is a uBlox based Crius CN07v2 so the below was very helpful. I set the serial speed to 37k in the Baseflight GUI which is a suitably fast speed for a 5Hz refresh rate to the FC. Faster speeds are possible but pointless and more susceptible to interference or data drop out.

Looking forward to reading Steve';s feedback on how it operates in GPS.


Quote
You shouldn';t have to use uCenter even with a uBlox set at 36k baud. That';s why all the hullabaloo over baseflight uBlox initialization. If you "set gps_type=1" in the CLI, when you power it up it will do the following:

1) Change Flip32 baud until it can see the GPS talking. It WILL find your uBlox at 36k or other baud for that matter, because it tries all bauds from 9.6k-115k.
2) Send the uBlox a string that tells it to change it';s baud rate to the one you configured in the CLI (usually 115k).
3) Change baud rate of the FC to match (again, 115k). Now both GPS and FC are talking 115k (usually :P).
4) Send the uBlox a binary config string to set no NMEA, 5hz, and the uBlox binary messages POSLLH/STATUS/SOL/VELNED.
4b) I added pedestrian mode to that config string, which is supposed to be all the rage these days when it comes to copters.

You can try my hex with the uBlox fix (in the attached zip, source included) if when you get to that point the latest baseflight hex doesn';t work. Beware my hex is also pre-configured for my rig. That may be fine for your rig, but double check in the CLI. My changes are listed below... rest are default:

map=TAER1234
throttlemax=2000
roll & pitch rate P=45
vbatscale=112
gps_type=1 (aka "UBLOX")
PPM ENABLED
GPS ENABLED


--
Danny
"Its better than bad, its good"

Current FCs: Pixhawk, APM 2.6, Naza M V2, Naze32, Flip32+ CC3D, KK2.1.5
Aircraft: miniMax Hex, DJI 550 (clone) TBS Disco, 450 Firefly, 250 Pro, ZMR250, Hubsan X4, Bixler 2

ChavasRegal

Never know the FC changed the GPS baud and data type, I';d not seen that in any of the documentation I';d read.

Worth knowing tho.

Hands0n

Yeah, it does for uBlox GPS only - this came by way of the APM, then Crius AIOP and into MultiWii as I recall.   I have to say that it worked a treat. I set the GPS speed in the CLI to 38,400 and Baseflight did the rest ~~

Gosh :o  I actually had something nice to say about Baseflight.  Think I';d better go have a lie down for a while :laugh:
--
Danny
"Its better than bad, its good"

Current FCs: Pixhawk, APM 2.6, Naza M V2, Naze32, Flip32+ CC3D, KK2.1.5
Aircraft: miniMax Hex, DJI 550 (clone) TBS Disco, 450 Firefly, 250 Pro, ZMR250, Hubsan X4, Bixler 2

steve57925

sorry for the late reply

still a bit scared with trying the gps out at the moment but i have to say danny is a legend for sorting this out for me, the only thing i am scared about is it flying away and its been fairly windy. ive recently watched videos of the toilet bowl circling the quad will do, 1 video has got me a bit more confident about what to expect. dam i hate being a novice at this stuff lol. As soon as i get the balls to let it go and test the gps properly i will get back to you all.

thanks again danny your a star

quadfather

Quote from: steve57925 on Wednesday,February 25, 2015, 22:30:15
sorry for the late reply

still a bit scared with trying the gps out at the moment but i have to say danny is a legend for sorting this out for me, the only thing i am scared about is it flying away and its been fairly windy. ive recently watched videos of the toilet bowl circling the quad will do, 1 video has got me a bit more confident about what to expect. dam i hate being a novice at this stuff lol. As soon as i get the balls to let it go and test the gps properly i will get back to you all.

thanks again danny your a star

Yeah, he';s a good ';un.  ~~

You could tether the quad if you';re that worried about a flyaway.
-rw-rw-rw-  –  The Number of the Beast

Panther

Flyaways are very real for any quad.
Wind can be a major factor.
Before I flew Naze my son in law and I were flying KK Boards together in a paddock on his property.
Suddenly my quad was thrown sideways and crashed and his was ';sucked'; up by the same wind/vortex and he could not bring it back even by throttling back.
The props obviously freewheeled and acted as wings. I took over but by that time the quad was nearly out of sight and low battery so it was a futile attempt. This was over a thickly forested area unfortunately. It was never recovered.
I was lucky, just a few minor repairs but we were only about 20 - 30 feet apart at the time.
Treat them like a glider, always fly upwind of yourself.