en:les_01_04_01 [ОрбиКрафт 3D]

Sidebar

What is Orbicraft for?

Assembling the OrbiCraft 3D

OrbiCraft 3D interfaces

Work with earth-based VHF

Work with Wifi

Work through the WEB interface

Houston Control Center Software

Arduino-Based payload

Laboratory equipment

Feedback

en:les_01_04_01

File transfer via HF

File transfer scheme via HF

The command for transferring photos via the HF communication channel is sent to the Houston App and via the Houston Server and the ground UHF transceiver is transmitted to the board of the functional kit using the AX.25 protocol. The onboard UHF transceiver sends a command via the CAN bus to the onboard Houston Server running on the Raspberry Pi. When a Ground IR transceiver is connected to the computer and the virtual COM port of the transceiver is connected to the IR Receiver program, the command received starts a script that transfers photos between IR transceivers at a rate of 9600 baud. The image received by the ground IR receiver using the IR Receiver is saved in its folder with a file name consisting of the current date and time.

Installing the IR Receiver

Assemble the RF ground transceiver according to the instructions. инструкцией.

Install the ground RF transceiver driver from the page Required software

Connect the ground RF transceiver to your computer via USB, open the Windows Device Manager and make sure that the new device appears in the COM and LPT ports section.

The IR Receiver Software required to work with a ground HF transceiver can be downloaded from the page Required software

The ground RF transceiver is not a radio transmitter, as on a real spacecraft, it transmits data via the IR channel at a speed of 9600 bits per second.

The procedure for transferring files using an HF transceiver

1. Connect a ground UHF transceiver to a computer

2. Launch Houston Server and Houston App

3. Enable OrbiCraft 3D

4. Connect a ground HF transceiver to the computer via USB

5. Open Windows Device Manager and make sure that new the device appeared in the COM and LPT ports section

6. Launch IR Receiver - select the COM port of the ground RF and press the Connect button

7. Take a photo using the OrbiCraft 3D camera or select an existing photo.

8. To transfer a compressed photo, open the Houston App and send the 0x1 execute_script command to address F (RPi) with the following parameters: id 14 arg Nphoto. For example, to send a preview of a photo 2.jpg, you need to set the parameters 14 and the photo number 2. You must wait until the download is complete, the downloaded photo will be in the folder of the IR Receiver program.

At the beginning of the download, the IR Receiver will look like this.

If the download is successful, the message CRC Correct will appear. Successful receive., And an image file will appear in the IR Receiver program folder.

If the transfer is unsuccessful, the IR Receiver window will look like this, and the file will not appear in the IR Receiver program folder.

9. To transfer an uncompressed photo, open the Houston App and send the 0x1 execute_script command to address F (RPi) with the following parameters: id 13 arg Nphoto. For example, to transfer a full-size photo 3.jpg, you need to set the parameters 13 and the photo number 3. You must wait until the download is complete, the downloaded photo will be in the IR Receiver program folder.

To increase the speed of downloading photos, you can pre-compress the images to the desired quality with the command 0x1 execute_script to the address F (RPi) with the following parameters:

  • id 15 arg Nphoto - compress the photo, min quality
  • id 16 arg Nphoto - compress the photo, average quality
  • id 17 arg Nphoto - compress photo, max quality

After successful completion of compression, an ~ ACK response will be received.

The compressed file is downloaded using a 0x1 execute_script comand to address F (RPi) with the parameter id 14.

en/les_01_04_01.txt · Last modified: 2021/09/20 16:24 by golikov