3dr radio wireless to naze32

Post Reply
Fodmod
Posts: 4
Joined: Fri Jul 03, 2015 9:42 pm

3dr radio wireless to naze32

Post by Fodmod »

Ok I give in, I need a Raging Clue here...i have 3dr 433mhz ver2 radio's from 3DR, trying to connect wireless to naze32_v5 via Cleanflight. They work with putty, 3dr config tool, and pixhawk/MP, all confirmed packets sent/rcvd... Pix is fully functional via mavlink. But for the Life of me cannot connect through CF. i have flashed radios with Sik_MW 2.3 and 1.9(stock) both firmwares work with putty... but will not connect to naze via CF or EasyGui from the cell phone, Egui says "connected" but i get No feedback from Acc or compass...an inkling, a hint, a Glimmer of Hope is all i ask... Can it be done? If so How... and if not a few words Why? I really want to use these radios and ive been reading how they are being used... but Geeez it shouldnt be this hard....Pixhawk connected in less than 30secs of reading and connecting, to full out config wirelessly!!! ive spent the better part of three days flashing and configuring to no avail... Somebody Please put me out of my misery!!! lol
Thanks for reading, Help the Hopeless!
Fod

User avatar
stronnag
Posts: 114
Joined: Thu Oct 24, 2013 9:32 pm
Location: New Forest, England
Contact:

Re: 3dr radio wireless to naze32

Post by stronnag »

I use a 3DR to a naze32 on softserial @ 19200 baud. Works as expected for MSP, CLI and telemetry using the CF configurator, picocom and mwp. Flashed with Sik_MW or stock. Air speed 24, serial speed 19 (from memory). Care to share your 3DR config (ATI5, RTI5), the naze2 port being used, and the 'serial' directives from a CLI dump for comparison?

Fodmod
Posts: 4
Joined: Fri Jul 03, 2015 9:42 pm

Re: 3dr radio wireless to naze32

Post by Fodmod »

config is/was default out of the box. They worked on pixhawk and a friends apm without anything but adjusting the baud for the usb. I realize naze is a little more than plug and play device but we are talking about serial/usb connections for the most part..., but unfortunately I am not an Engineer or a Programming Wizard, I will do good to make basic commands in the cli but im working on it! I have tinkered with it enough now I have a better/working understanding of how to make it work Outside of its Default settings , but naze is kicking my arse!
And I would Love to share but I just Defaulted everything and starting over based on your suggestions and realizing a few oversights... So you have given me new Inspiration! I shall Try some More!
I will give this a go and report back with a dump file when I have pulled the remaining hair from my half bald head...

When they said Scratch Build, I thought they meant Build from Scratch! you Know... gather up a few parts and Scratch it together(Work It!) Make it Happen!
but after all the Hair loss and Holes in the seat of all my jeans, im beginning to Wonder!

User avatar
stronnag
Posts: 114
Joined: Thu Oct 24, 2013 9:32 pm
Location: New Forest, England
Contact:

Re: 3dr radio wireless to naze32

Post by stronnag »

For what it's worth, here's my 3DR settings.

Code: Select all

ATI5
S0:FORMAT=25
S1:SERIAL_SPEED=19
S2:AIR_SPEED=24
S3:NETID=69
S4:TXPOWER=20
S5:ECC=1
S6:MAVLINK=1
S7:OPPRESEND=0
S8:MIN_FREQ=433050
S9:MAX_FREQ=434790
S10:NUM_CHANNELS=20
S11:DUTY_CYCLE=100
S12:LBT_RSSI=0
S13:MANCHESTER=0
S14:RTSCTS=0
S15:MAX_WINDOW=131

If your're using MSP polling (e.g. Ezgui) rather than streaming telemetry, then reducing the MAX_WINDOW will greatly reduce latency, and thus increase throughput. The command:

Code: Select all

ATS15=33
sets MAX_WINDOW to 33, and will optimise the polling (vice streamed) use case (I use CF PR1010: LTM, a streaming telemetry), so I leave MAX_WINDOW at 131 in the above example.

My corresponding CLI dump for 'serial' (CF 1.9):

Code: Select all

serial 0 1 115200 57600 57600 57600
serial 1 2 115200 57600 0 115200
serial 30 1 19200 19200 19200 19200
serial 31 0 115200 19200 0 115200
Soft serial 1 (RC5/6) set to 19200 baud, and MSP as the function. Hope this helps, even if it seems 'wizard' spell stuff.

Fodmod
Posts: 4
Joined: Fri Jul 03, 2015 9:42 pm

Re: 3dr radio wireless to naze32

Post by Fodmod »

No it makes a lot of sense its just the lingo, acronyms, and unfamiliar ground has been a challenge. So if I am understanding correctly the serial dump is a report generated by the cli (which I found the command for) after which corrections/adjustments have been made in the "Ports" tab. I also notice you have made adjustments in all the boxes for each port,(something I didn't do) i.e. serial 30 19200 across I only selected the MSP 19200, wait here is what I have, im shooting for Basic setting just trying to get it to work...

Code: Select all

# serial
serial 0 1 115200 57600 0 115200
serial 1 2 115200 57600 0 115200
serial 30 0 19200 115200 0 115200
serial 31 1 19200 115200 0 115200

I finally got gps up and running had to drop the baud to 57600 from 115... had to reset the board a few times...so im starting to get the picture a little better still yet Thanks for Hanging in there with me...Im not sure about the serial settings yet, each box and how they correspond... Every time I try to add the radio it bugs the board and I have to reset it :x but thanks again, off to the mancave with new info :)
Geez Thanks again!
Fod

Fodmod
Posts: 4
Joined: Fri Jul 03, 2015 9:42 pm

Re: 3dr radio wireless to naze32

Post by Fodmod »

finally Success !!! I have BT, GPS, and Mavlink all connecting... WOOOHOOO thanks for the help Stronnag. Seems it was a combination of corrupted flash, and not rebooting the board after each Failed attempt, so the next hurdle is to figure out what the ADC and Serial RX is for...
Thanks again
Fodmod

Post Reply