[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4789: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4791: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4792: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4793: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3916)
AutoQuad Forum • View topic - M4r4 Spektrum receiver dropouts

M4r4 Spektrum receiver dropouts

Info and discussion about the autonomous Micro FC, suitable for nanos, micros and mini multirotors

M4r4 Spektrum receiver dropouts

Postby Kisssys » Tue Jul 08, 2014 11:58 pm

The M4 has a onboard Spektrum receiver chip that we purchase flashed with 7 channel DSM2 firmware. This has been available for quite a while as a RX31 receiver and was operated at 3 volts. The chip is rated to operate from 1.8 volts to 3.6 volts. It appears the chip or the code is not happy with the well filtered 2.85 volts that we are supplying it.

I spent a couple of days looking at all sources that could be causing the problem and even flew it with it's own highly filtered 2.85 volt supply off its own battery and I was still having problems with it dropping out. I finally upped the voltage to 3 volts and everything was fine. Most of the M4 runs at 2.85 volts but we have a step/up for CAN bus and the second Spektrum receiver of 3v3 volts. The fix is to jumper that voltage to the receiver. The obvious question is why didn't we do this originally and it's simply because the 2.85 volts is better filtered and well within it's recommended voltage range. This seems to be a good fix but as always be cautious, even these little guys can do harm especially to an unprotected eye.

The fix is three parts, 2 hardware and 1 software all easy to do. At boom 2 their is a jumper J17 which supplies power to the onboard RX. If it has a solder jumper that needs to be removed to take the 2.85vdc supply away from the receiver chip. Then a jumper needs to be installed from the receiver side of J17 to the Spektrum Plus terminal. This provides 3v3 volts to the receiver chip instead of 2.85 vdc. I have included a couple of photo's showing you 2 options. One is from the pad I mentioned to Spektrum plus. A shorter connection would be from C33 to the Spektrum Plus terminal. Which ever is easier seems to work fine.

Caution, make sure you remove the J17 jumper as you would be putting 3v3 volts on the 2.85 volt buss if you leave it jumpered and it may do damage

The increase in voltage causes the baud rate from the receiver to go up to what I measured as 134078 baud. This is changed in spektrum.h from 115200 baud. A compiled hex and bin file will be provided but if you can handle the fine soldering and can recompile you'll be much happier with the receiver's performance.

The performance of an external Spektrum receiver of course is fine, we have 3v3vdc going to those pads which after the mod will power both Spektrum receivers.

After doing a little research it would be wise to use either the onboard RX or the external Spektrum but not both because we could reach the current limit of a regulator. If you are using a external Spektrum then you don't need to put the jumper

Cheers
Steve

M4ReceiverJumper2.JPG
M4ReceiverJumper2.JPG (74.49 KiB) Viewed 15445 times


M4receiverJumper.JPG
M4receiverJumper.JPG (97.25 KiB) Viewed 15445 times
Last edited by Kisssys on Wed Jul 09, 2014 7:31 pm, edited 2 times in total.
Steve
Kisssys
Kisssys
 
Posts: 1340
Joined: Sat Jun 23, 2012 9:23 pm

Re: M4r4 Spektrum receiver dropouts

Postby joebar.rc » Wed Jul 09, 2014 6:23 am

Great great find Steve, but a change in voltage is a change in baud rate? How does that work with the recommended voltage range from the receiver chip? Strange, is the oscillator depending on the voltage?

Oh well, easy fix, great and lengthy investigation, but you've done it. r5 coming up.

Menno
joebar.rc
 
Posts: 1084
Joined: Fri Jun 22, 2012 8:59 am
Location: The netherlands

Re: M4r4 Spektrum receiver dropouts

Postby afernan » Wed Jul 09, 2014 9:33 am

Congratullations Steve for the finding!

So, If I understud well from your description, we have two options for hardware mod:

1.- To open the solder bridge at J17. Then jumper from the receiver side of J17 to the Spektrum Plus terminal
or
2.- Jumper from C33 to the Spektrum Plus terminal

Then, software change: changed in "spektrum.h" from 115200 baud to 134078 baud. Then compile.

Is that all right?

When succeeded, how do we link the Tx Spektrum to the Rx onboard?

Thans again, Jussi !!!
Last edited by afernan on Thu Jul 10, 2014 6:32 am, edited 3 times in total.
afernan
 
Posts: 1214
Joined: Sat Jul 07, 2012 5:24 pm
Location: Madrid, Spain

Re: M4r4 Spektrum receiver dropouts

Postby bn999 » Wed Jul 09, 2014 11:35 am

Angel - Both require the removal of the solder blob on J17. Not removing it may cause damage to the system.
bn999
 
Posts: 1559
Joined: Thu Jun 21, 2012 11:40 pm

Re: M4r4 Spektrum receiver dropouts

Postby JussiH » Wed Jul 09, 2014 12:46 pm

Thanks, Steve - this is a very manageable fix. Will test it today and report back.
JussiH
 
Posts: 2103
Joined: Thu Jun 21, 2012 9:25 pm

Re: M4r4 Spektrum receiver dropouts

Postby Kisssys » Wed Jul 09, 2014 7:34 pm

After doing a little research it would be wise to use either the onboard RX or the external Spektrum but not both because we could reach the current limit of a regulator. If you are using an external Spektrum then you don't need to put the jumper, just remove J17's solder bridge.
Steve
Kisssys
Kisssys
 
Posts: 1340
Joined: Sat Jun 23, 2012 9:23 pm

Re: M4r4 Spektrum receiver dropouts

Postby afernan » Thu Jul 10, 2014 11:01 am

Steve:

I´m using a satellite Spektrum external with RADIO_TYPE = 16
0000 0001 0000 //- spektrum 11bit only - 16

Does it means that internal Rx is off? (no current dropped to it)
afernan
 
Posts: 1214
Joined: Sat Jul 07, 2012 5:24 pm
Location: Madrid, Spain

Re: M4r4 Spektrum receiver dropouts

Postby bluuu » Thu Jul 10, 2014 12:18 pm

yes, last 4 bits sets to 0 disabled internal RX
bluuu
 
Posts: 1339
Joined: Mon Oct 29, 2012 8:02 pm
Location: Poland, Silesia

Re: M4r4 Spektrum receiver dropouts

Postby Kisssys » Thu Jul 10, 2014 1:50 pm

Steve
Kisssys
Kisssys
 
Posts: 1340
Joined: Sat Jun 23, 2012 9:23 pm

Re: M4r4 Spektrum receiver dropouts

Postby bn999 » Fri Jul 11, 2014 6:11 pm

Visual
Attachments
IMG_0941.jpg
bn999
 
Posts: 1559
Joined: Thu Jun 21, 2012 11:40 pm

Next

Return to AutoQuad M4 Micro Controller

Who is online

Users browsing this forum: No registered users and 42 guests

cron