[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/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 - devel Graupner hott SUMD receiver connection

devel Graupner hott SUMD receiver connection

Radio, Telemetry, FTDI/USB, ESCs, Motors, etc.

devel Graupner hott SUMD receiver connection

Postby fred_fr » Thu Jan 03, 2013 9:14 pm

Hi

I would like to build connection of receiver Graupner hott with SUMD mode

SUMD the protocol is a serial link at 115200 bps

- 2 bytes starting : A8 01
- 1 byte number of channels ex: 08
- 2 bytes * 8 channels = value ...
- 2 bytes CRC-CCITT Xmodem

example: A8 01 08 22 60 2E D8 2E D8 2E D8 2E E0 2E E0 2E E0 2E E0 6B E7

I think I will copy and modify the SBUS implémantation already done.

Questions :

- To calculate the CRC, it's best to use
- less memory and more CPU
- less CPU and more memory ( 512 Bytes )

- how to display somme debug value : debug_printf("Mission leg loaded no#: %x\n", leg); ?

- Some recommendations?

fred
fred
fred_fr
 
Posts: 75
Joined: Tue Aug 28, 2012 10:13 am
Location: france, Caluire et Cuire

Re: devel Graupner hott SUMD receiver connection

Postby fred_fr » Thu Feb 14, 2013 9:44 pm

hi

It's done


Modifications apply in source autoquad r75 are the following ones:
- Add 2 files for protocol SUMD: grhott.c and grhott.h (base on files " futaba.c " and " futaba.h ")
- Add declaration of "GRHOTT_UART" in files board_6_1.h and board_6_1a.h
- Add inlude of grhott.h in the radio.h file
- Modify file radio.c: add case 4 for SUMD

more detail in french http://autoquad6.free.fr/grhott-sumd...ad-grhott.html
fred
fred_fr
 
Posts: 75
Joined: Tue Aug 28, 2012 10:13 am
Location: france, Caluire et Cuire

Re: devel Graupner hott SUMD receiver connection

Postby vonsy » Sat Feb 16, 2013 1:39 pm

Bonjour Fred,

I'm a little bit lost :) I also have an Graupner GR-16 receiver. Can i use the standard connection on M14 using the default firmware ? with SUMO8 set on the receiver ?

If i understand you use the S-BUS connector to connect to your receiver ? with SUMDOF08 set on your receiver and also with your modify firmware right ?

The link h**p://autoquad6.free.fr/grhott-sumd/aqv6.6_sumd.hex it is base on the lastest firmware R76 ?

Thank's for letting me know.

Regards.

Pascal.
vonsy
 
Posts: 26
Joined: Mon Jan 21, 2013 1:15 pm

Re: devel Graupner hott SUMD receiver connection

Postby fred_fr » Mon Feb 18, 2013 8:47 pm

fred
fred_fr
 
Posts: 75
Joined: Tue Aug 28, 2012 10:13 am
Location: france, Caluire et Cuire

Re: devel Graupner hott SUMD receiver connection

Postby vonsy » Tue Feb 19, 2013 10:42 am

Bonjour Fred,

Thank's for all your explanation :)

By the way is there a reason to go with SUMDOF08 ? it is more stable then SUMO8 ?

I have try your firmware and each time i connect with Qgroundcontrol it give me each time a different firmware version .... bug ?

Merci

Amicalement.

Pascal.
vonsy
 
Posts: 26
Joined: Mon Jan 21, 2013 1:15 pm

Re: devel Graupner hott SUMD receiver connection

Postby fred_fr » Tue Feb 19, 2013 12:09 pm

fred
fred_fr
 
Posts: 75
Joined: Tue Aug 28, 2012 10:13 am
Location: france, Caluire et Cuire

Re: devel Graupner hott SUMD receiver connection

Postby fred_fr » Tue Feb 19, 2013 11:56 pm

hi

I found the version number on Qgroundcontrol.

I fixed at 211 in the code.

Anyone know how to determine this value? when compiling?

I have also remove a debug message.

We have update the firmware link :
fred
fred_fr
 
Posts: 75
Joined: Tue Aug 28, 2012 10:13 am
Location: france, Caluire et Cuire

Re: devel Graupner hott SUMD receiver connection

Postby Max » Thu Feb 28, 2013 6:18 am

Bonjour Frédéric,

Thanks for your efforts! I think SUMD support would be a great addition to AQ. Can you confirm that the RADIO_QUALITY issue is fixed in your published source code files?

For anyone looking for a working link to the code/details, see http://autoquad6.free.fr/grhott-sumd/au ... rhott.html

-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Re: devel Graupner hott SUMD receiver connection

Postby fred_fr » Thu Feb 28, 2013 7:45 pm

hello

In my last firmware RADIO_QUALITY issue is fixe :D .

Image

fred
fred
fred_fr
 
Posts: 75
Joined: Tue Aug 28, 2012 10:13 am
Location: france, Caluire et Cuire

Re: devel Graupner hott SUMD receiver connection

Postby Max » Thu Feb 28, 2013 10:36 pm

Yes, thanks, but I was asking specifically about the source files (grhott.c/h) which are available from the URL I posted. Just wanted to make sure those were the latest versions.

-Max
Max
 
Posts: 2814
Joined: Mon Aug 13, 2012 9:45 pm
Location: Near Ithaca, NY, USA

Next

Return to Connections

Who is online

Users browsing this forum: No registered users and 16 guests

cron