User Tools

Translations of this page:

Site Tools


en:camera_subsys

Earth Observation Camera

Virtual power draw: 200 mA

 Камера

The Earth Observation Camera (EOC) is a payload for photographing Earth from the space which is the very objective of orbiter design in our case. In actual spacecraft there are many other types of payload beyond Earth observation cameras including instruments of scientific, educational, military and technology purposes.

In the experiments involving the construction set the camera will serve as the orbiter payload and the mission objective would be to transfer a high-quality image of a particular surface area on the simulated “Earth”. The camera has 10 memory sectors for images taken with it. The function to fill in these sector is (in C):

int32_t take_photo(uint16_t num)

After a sector is filled with an image this image will remain there until being overwritten by a new image. Images can be sent to Earth anytime over a high-speed radio link using the function:

int32_t transmit_photo(uint16_t num) // Revised in version 1.0 
The ribbon cable for connecting the camera must be as short and neat as possible (no longer than 40 cm), there must be no leftover cable beyond connectors after the cable is terminated.
The camera may only be connected to the immediate camera connector at the central computer.

Consult the Using the Earth Observation Camera section for guidance on using the camera.

Sample C Test Code for the Camera and HF Transmitter

	#include "libschsat.h"
 
	/*
	** Lab 6: Camera capture demo
	*/
	void control(void)
	{
		int i;
 
		if (LSS_OK == camera_turn_on()) {		
			for (i = 1; i < 10; i++) {
				printf("Take photo #%d\n", i);
				if (camera_take_photo(i)) {
					puts("\tFail!");
				}
			}
		}
		else
			puts("\tFail!");
 
		printf("Turn-on transmitter #1\n");
		if (LSS_OK == transmitter_turn_on(1)) {
			for (i = 1; i < 10; i++) {
				printf("Transmit photo #%d\n", i);
				if (transmitter_transmit_photo(1, i)) {
					puts("\tFail!");
				}
			}
		} else {
			puts("\tFail!");
		}
		printf("Turn-off transmitter #1\n");
		if (transmitter_turn_off(1))
			puts("\tFail!");
	}
en/camera_subsys.txt · Last modified: 2020/03/25 16:28 (external edit)