论坛风格切换切换到宽版
  • 30994阅读
  • 144回复

小 TNC 是做好了,可没有找到 AX.25 信号 [复制链接]

上一主题 下一主题
离线BD6CR
发帖
5950
只看该作者 80楼 发表于: 2005-11-30
我的样片已经收到了,已经用公司的hi-lo all-11编程器写好,回家就可以测试了,哈哈
离线BD6CR
发帖
5950
只看该作者 81楼 发表于: 2005-11-30
仔细读了源程序,应该只支持9600波特,而不支持4800波特。正在跟作者进一步确认,如果这样,nmea0183的gps肯定是不支持的。已经知道怎么修改波特率了,希望这个修改能起作用。
离线BD6CR
发帖
5950
只看该作者 82楼 发表于: 2005-11-30
类似于tt的模式还是不行,表现在发射led没有周期闪烁。设置我已经能在4800和9600两种速率下通过超级终端做了。正常的模式下beacon也能周期的发了,别的还没有试,跟大家的情况都差不多。
离线BD1LI
发帖
92
只看该作者 83楼 发表于: 2005-11-30
'
类似于tt的模式还是不行,表现在发射led没有周期闪烁。设置我已经能在4800和9600两种速率下通过超级终端做了。正常的模式下beacon也能周期的发了,别的还没有试,跟大家的情况都差不多。
'
 
  我的测试结果也基本是这样,也没有什么进展.
  
  
  
  
  
离线BD6CR
发帖
5950
只看该作者 84楼 发表于: 2005-12-01
这个机器的主要功能是digipeater,可以通过如下方式设置测试环境:

tt作为发射,88 tnc作为digi,再找个agwpe作为接收,用uiview等软件查看。如果没有无线条件,甚至可以用有线进行测试。
离线bv2ac
发帖
14169
只看该作者 85楼 发表于: 2005-12-02
送上 iss 的數據中繼音檔 afsk1200...
附件: Digi-ISS-1.zip (0 K) 下载次数:107
离线bv2ac
发帖
14169
只看该作者 86楼 发表于: 2005-12-02
和平號電子油箱音檔....
附件: MIR-PMS-1.zip (0 K) 下载次数:68
离线bd8te
发帖
4255
只看该作者 87楼 发表于: 2005-12-02
bv2ac看我的解码对吗和平號電子油箱音檔
2132r r0mir>beacon port=1 <ui len=18>:
mir space station
2132r r0mir>beacon port=2 <ui len=18>:
mir space station
2135r r0mir>qst port=1 <ui len=47>:
:blna   :hello from the derbent mir 27 crew!
2135r r0mir>qst port=2 <ui len=47>:
:blna   :hello from the derbent mir 27 crew!
2138r r0mir>qst port=1 <ui len=75>:
:blnb   :do not digipeat while someone is connected to the pms r0mir-1{0
2138r r0mir>qst port=2 <ui len=75>:
:blnb   :do not digipeat while someone is connected to the pms r0mir-1{0
2140r r0mir-1>bv1af port=1 <ua r f>
2140r r0mir-1>bv1af port=2 <ua r f>
2141r r0mir-1>bv1af port=1 <i c s0 r0 len=121>:
[kpc9612p-8.1-hm$]
43290 bytes available
there are 40 messages numbered 1429-1698
enter command: b,j,k,l,r,s, or help >
2141r r0mir-1>bv1af port=2 <i c s0 r0 len=121>:
[kpc9612p-8.1-hm$]
43290 bytes available
there are 40 messages numbered 1429-1698
enter command: b,j,k,l,r,s, or help >
2143r r0mir-1>bv1af port=1 <rr r f r1>
2143r r0mir-1>bv1af port=2 <rr r f r1>
2145r r0mir-1>bv1af port=1 <i c s1 r1 len=231>:
msg# st size to   from   date           subject
1698 b 183   r0mir lu6dcz 03/13/99 1629 good luck mir-fans
1691 b 165   all   n6co   03/13/99 0858 2 line mir keps 3-12
enter command: b,j,k,l,r,s, or help >
2145r r0mir-1>bv1af port=2 <i c s1 r1 len=231>:
msg# st size to   from   date           subject
1698 b 183   r0mir lu6dcz 03/13/99 1629 good luck mir-fans
1691 b 165   all   n6co   03/13/99 0858 2 line mir keps 3-12
enter command: b,j,k,l,r,s, or help >
2147r r0mir-1>bv1af port=1 <rr r f r1>
2147r r0mir-1>bv1af port=2 <rr r f r1>
2150r r0mir-1>bv1af port=1 <rr r f r1>
2150r r0mir-1>bv1af port=2 <rr r f r1>
2151r r0mir-1>bv1af port=1 <rr r f r2>
2151r r0mir-1>bv1af port=2 <rr r f r2>
2151r r0mir-1>bv1af port=1 <i c s2 r2 len=59>:
message # not found
enter command: b,j,k,l,r,s, or help >
2151r r0mir-1>bv1af port=2 <i c s2 r2 len=59>:
message # not found
enter command: b,j,k,l,r,s, or help >
2154r r0mir-1>bv1af port=1 <rr r f r3>
2154r r0mir-1>bv1af port=2 <rr r f r3>
2156r r0mir-1>bv1af port=1 <i c s3 r3 len=255>:
msg#1691 03/13/99 0858 from n6co to all
subject: 2 line mir keps 3-12
path: r0mir

mir
1 16609u 86017a   99071.78131205 .00031594 00000-0 23423-3 0 3057
2 16609 51.6612 118.0357 0011858 231.8428 128.1507 15.72510617746232

enter command: b,j,k,l
21[s:25]56r r0mir-1>bv1af port=2 <i c s3 r3 len=255>:
msg#1691 03/13/99 08[s:33]58 from n6co to all
subject: 2 line mir keps 3-12
path: r0mir

mir
1 16609u 86017a   99071.78131205 .00031594 00000-0 23423-3 0 3057
2 16609 51.6612 118.0357 0011858 231.8428 128.1507 15.72510617746232

enter command: b,j,k,l
21[s:25]58r r0mir-1>bv1af port=1 <i c s4 r3 len=16>:
,r,s, or help >
21[s:25]58r r0mir-1>bv1af port=2 <i c s4 r3 len=16>:
,r,s, or help >
21[s:26]00r r0mir>beacon port=1 <ui len=18>:
mir space station
21[s:26]00r r0mir>beacon port=2 <ui len=18>:
mir space station
21[s:26]02r r0mir-1>bv1af port=1 <rr r f r3>
21[s:26]02r r0mir-1>bv1af port=2 <rr r f r3>
21[s:26]03r r0mir-1>bv1af port=1 <rr r f r4>
21[s:26]03r r0mir-1>bv1af port=2 <rr r f r4>
21[s:26]05r r0mir-1>bv1af port=1 <i c s5 r4 len=255>:
fm5bw/1     03/13/99 15[s:17]20
py1at/1     03/13/99 15[s:22]18
py2dnr/1   03/13/99 15[s:24]21
aa0kq/1     03/13/99 16[s:34]20
kb8rwi/1   03/13/99 16[s:34]45
n0ytj/1     03/13/99 16[s:34]48
n0vhb-13/1   03/13/99 16[s:36]45
ka5zpn/1   03/13/99 16[s:37]49
k5jw/1
21[s:26]05r r0mir-1>bv1af port=2 <i c s5 r4 len=255>:
fm5bw/1     03/13/99 15[s:17]20
py1at/1     03/13/99 15[s:22]18
py2dnr/1   03/13/99 15[s:24]21
aa0kq/1     03/13/99 16[s:34]20
kb8rwi/1   03/13/99 16[s:34]45
n0ytj/1     03/13/99 16[s:34]48
n0vhb-13/1   03/13/99 16[s:36]45
ka5zpn/1   03/13/99 16[s:37]49
k5jw/1
21[s:26]07r r0mir-1>bv1af port=1 <i c s6 r4 len=44>:
    03/13/99 16[s:37]59
ab7ic/1     03/13/9
21[s:26]07r r0mir-1>bv1af port=2 <i c s6 r4 len=44>:
    03/13/99 16[s:37]59
ab7ic/1     03/13/9
21[s:26]11r r0mir-1>bv1af port=1 <i c s7 r4 len=255>:
9 16[s:39]43
kd9kc/1     03/13/99 16[s:42]42
xe2ur/1     03/13/99 16[s:43]58
hr5hac/1   03/13/99 16[s:45]06
hr1mwm/1   03/13/99 16[s:46]09
lu9mbk/1   03/13/99 16[s:59]03
lu6dcz/1   03/13/99 17[s:03]38
bv1af/1     03/13/99 17[s:46]41
enter command: b,j,k,l,r,s
21[s:26]11r r0mir-1>bv1af port=2 <i c s7 r4 len=255>:
9 16[s:39]43
kd9kc/1     03/13/99 16[s:42]42
xe2ur/1     03/13/99 16[s:43]58
hr5hac/1   03/13/99 16[s:45]06
hr1mwm/1   03/13/99 16[s:46]09
lu9mbk/1   03/13/99 16[s:59]03
lu6dcz/1   03/13/99 17[s:03]38
bv1af/1     03/13/99 17[s:46]41
enter command: b,j,k,l,r,s
21[s:26]13r r0mir-1>bv1af port=1 <i c s0 r4 len=12>:
, or help >
21[s:26]13r r0mir-1>bv1af port=2 <i c s0 r4 len=12>:
, or help >
离线BD6CR
发帖
5950
只看该作者 88楼 发表于: 2005-12-03
8te,你是用88 tnc解的吗?
离线bd8te
发帖
4255
只看该作者 89楼 发表于: 2005-12-03
上面我是用agwe和kiss都可以正确解码,
下面是用16f88解码就不行,出来是乱码
r0mir-1>bv1af:?櫌b2i?勱      剤懺s??!     d@惄bb倞啫blrp@@凘@bpf@@@`殥亐h!?33髵?fфfg&潇韻 劖nl
j[歕?0饭?洔!??h@@倶槇 q22?3?3?'潤?@@d@臆蔃殥柺嗦佁茨i銬u$2粼?銬?"蘑牟履"???p埊唩亖劕b倢@`殥鉗
离线BD6CR
发帖
5950
只看该作者 90楼 发表于: 2005-12-11
看起来这个16f88 tnc的解码能力比较差,我也获得了类似的结果。另外,接gps发送位置数据的类似tt的功能也不正常。不过,我的实验结果表明,这个tnc的digi功能是正常的。实验配置:tt的输出通过有线接16f88 tnc的音频输入,16f88 tnc设置digi on,然后将音频输出接agwpe。

我的结论是:有一定的实验价值,digi部分的源代码可借鉴。
离线bd8te
发帖
4255
只看该作者 91楼 发表于: 2005-12-11
我的今天在6cr的指导下16f88的digi已经可以正常的工作了。
连接如下
tt的输出通过tk208发射,5r接收到的音频接16f88 tnc的音频输入,tnc的输出连接到pc的mic端,启动软件agw和ui32
离线BD6CR
发帖
5950
只看该作者 92楼 发表于: 2005-12-14
GPS问题和调试程序
询问了作者关于无法支持4800波特gps的问题,得到回答如下:

1、本来的程序的确只为9600波特设计,如果使用4800波特gps是不行的。可以修改波特率。

2、如果修改波特率还是不行,请运行附件中的测试程序(请将扩展名从txt改为hex,直接烧写),串口速率已经改为4800了。最有可能的问题是接口线不对,语句设置不对,语句的结束符不对。

使用测试程序,要专门做个调试用的串口线,用两根线从gps送数据到tnc,再用两根线从tnc送数据给pc的终端程序。具体的注意事项和说明如下:

=======================================================================
; having problems getting your gps receiver to interface???
; in tnc version 1.10, code is added to print out some diagnostics to help you figure out what is
; wrong.
; here are the steps:
; 1. build a temporary test cable that splits the serial input and output leads. connect the gps output to the
;"serial in" lead on the tnc (pin 4). run the "serial out" lead to your terminal serial input lead.
; also connect the ground lead (pin 5) to the terminal and gps. this test cable will let you get
;diagnostic messages from the tnc while still sending nmea sentences into the tnc from the gps unit.
; 2. set your unproto and mycall parameters as you normally would. also set your beacon interval
; short (i use 1 min). . set the gps option to match your particular gps receiver and aprs setup.make sure to "perm" these values
; 3. install the gps enable jumper and cycle power.
;
; you should see the following message:
;
; gps mode,waiting for beacon timer..
;
;if you don't see this check out the wiring for pin 4 on the chip, the serial wiring, or
; your terminal configuration.
;
; when the beacon timer expires (ie 1 min) you should get the following message:
;
;
; searching for gps output:
;
; the tnc is now looking for a valid nmea sentence. it should consist of first a '$' character
; followed by a the nmea type (ie gprmc) and a comma. after that is a long ascii string followed by a
; carriage return and lf.
;
; version 1.10 tnc software will send out a '$' when it sees the start of the sentence, a 'f' if the type
; doesn't match the type set in your configuration (ie gprmc), and a timeout message if it stops
; seeing chars from the gps.
;
; thus a normal sequence at each beacon interval will look like this:
;
;
; searching for gps output: $
; ok
;
; the ok indicating that the message was valid and was sent.
;
; if no characters are received from your gps in 5 seconds, this sequence is displayed.

; searching for gps output:
; timeout!
;
;
; some gps units will repeatidly send multiple sentence types (ie gprmc, gpgll). an 'f' will be output to
;indicate each sentence type that has failed. thus you could get a sequence as follows:
;
; searching for gps output: $f$f
; ok
; this indicates that 3 types of sentences were seen and the third matched what was set in the
; configuration setting.
;
; hopes this extra information helps you get the interface debugged with your gps.
附件: Modemless TNC V1.TXT (0 K) 下载次数:111
离线BD6CR
发帖
5950
只看该作者 93楼 发表于: 2005-12-14
关于解码乱码问题,作者说这个tnc只能解最长256字节的数据包(包括包头等在内),所以长数据肯定不行。

他和别人的测试结果表明,解码效果和mx614类似,目前我们的测试还没有达到这个效果,可能还需要调节一下电平或者考虑干扰的问题。
离线bd8te
发帖
4255
只看该作者 94楼 发表于: 2005-12-27
这个是bd6cr送的外壳装的16f88tnc。
离线BD6CR
发帖
5950
只看该作者 95楼 发表于: 2005-12-27
本来感觉这个外壳还不够漂亮,但是跟mfj-259b比起来一点也不差。bd8te做得也很漂亮,很好!
离线zsh
发帖
1368
只看该作者 96楼 发表于: 2005-12-27
好漂亮啊 严重羡慕中 啊啊
能问一下两位老师这个电路板和外壳还有吗?我想........嘿~~~
谢谢
离线bd8te
发帖
4255
只看该作者 97楼 发表于: 2005-12-27
外壳是bd6cr提供的,pcb是我自己做的。如果你有16f88
在线BG2YF
发帖
769
只看该作者 98楼 发表于: 2006-01-08
请问这个tnc的音频侧可以接电台的data口吗?还需要转换或隔离吗?
我买了健伍的d700,还想再搞个这样的tnc,把8800r连上,自己就可以测试了。
我申请的16f88样片12月19日已经从泰国仓库发出了,但现在还没收到。
在线BG2YF
发帖
769
只看该作者 99楼 发表于: 2006-01-08
bd1li方便吗?我这周在北京出差,如果方便去欣赏你的作品,顺便学习。