'
2ac大哥:
picpac.zip里面的hex文件可用否?
picpac 和miniature aprs是同类吗?功能哪个强大?
玩aprs时,a君可否调用b君的位置信息,即b君的aprs移动台自动应答、上传信息。
如登山队员身上配备aprs,基地台在他们不便回复时(遇险)也能了解他们的具体位置,
小弟感觉这样更好玩(愚见)。
[表情]
'
picpac 只是用来解开 ax25 格式的数传封包, 能够经由 rs232送出, 也能用 lcd显示封包文字内容, 算是aprs 的收信方工具, tt3 , mim 才是发信方编码工具.
picpac.zip 内有许多 *.hex, 其中有 bootldr.hex 先录进 pic 中, 以后那个 pic 可以简单的抓进其他 *.hex , 完成其他有趣的实验, 详见以下 readme.txt 内容 :
decoder1.hex 才是我们所要的.....
aprs 除了发送b君的位置信号外, 还有高度, 速度, 方向(以上来自b君带的gps nmea 字串, 如果用 mim 还可以附带温度, 湿度, 风速风向, 太阳辐射,(5种模拟信号) , 以及8个开关讯息 ....
aprs 不具有自动应答, 接受遥控功能, 他只能定时报信, 或是智慧报信, 例如速度变快, 方向改变, 可以及时频繁发信, 实用上, aprs 是给基地台的 a 君方便与乐趣, 而 b 君不一定需要这样的装置呢...
** this is a pre-release version off this code ***
www.byonics.com byon@byon.com 2/28/2003
this folder contains sample c and assembly code for the byonics picpac.
this code may not be used for commercial purposes without written permission
from the author.
to activate the picpac bootloader, hold down both black buttons (sw1 & sw2) while
resetting picpac with the white button (sw3). then, connect picpac to the computer
via the serial port (j4), and run a terminal program at 19200 baud, n81, with a
100ms delay between lines for ascii uploads. for hyperterm, this is under
properties, settings, ascii setup, line delay.
once the bootloader is activated pressing enter in the terminal program will make
the bootloader respond with "01>".
to load new code, send the hex file of the program you wish to program.
in hyperterm, this is done with send text file.
after each line is sent, the bootloader responds with a period to show that the
line was received. when the last line of the hex file is received, the bootloader
will respond with "ok". after this, reset the picpac (white switch sw3) and the
new code will start running.
to assemble the asm programs, place the microchip mpasm program in c:/projects/pic/asm
to compile the c programs, place the cc5x compiler in c:/projects/pic/c
the included code is as follows:
beep1 - a simple assembly program to play 2 beeps repeatedly.
beep2 - a simple assembly program to play 3 beeps repeatedly.
pptest1 - a assembly program to test button input, serial, lcd and sound.
when the left button is pressed, the lcd will display a "1", a "1" to
the serial port. and play a tone. when the right button is pressed, it
will display a "2", send a serial "2", and play a different tone. when a
character is received on the serial port, it will display it to the lcd,
echo back to serial, and play a third tone.
pptest2 - a c version of pptest1
decode1 - a program to receive and decode packet to the serial port at
19200 baud.
decode2 - a c version of decode1 - coming soon.