User Tools

Site Tools


en:camera_subsys

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:camera_subsys [2018/01/23 18:34]
ashley
en:camera_subsys [2020/03/25 16:28] (current)
Line 1: Line 1:
-**Land Survey ​Camera** \\  +====== Earth Observation ​Camera ​======
-Virtual [[power_subsys|consumption]] - 200 mA +
  
-{{ ru:camera.jpg?​direct&​200|}} +Virtual power draw: 200 mA
-The camera is a useful payload for surveying the Earth from space, for which the spacecraft was designed in our case. In reality, in addition to cameras for surveying the Earth, there is a huge range of possible payloads for space vehicles - scientific, educational,​ military and technological.+
  
-In experiments with the construction set, the camera will be a useful payload as it will transfer high-quality photographs of a given "​Earth"​ surface segment - the target task of the "​launch."​ The camera has 10 memory sectors for photos taken, which are filled using the following function: +{{ :ru:​камера.png?​direct&​200| Камера}}
-  int32_t take_photo(uint16_t num)+
  
-After filling in memory sector, ​the photo remains there until it is overwritten with a new photoAlsoat any timephotos can be transmitted to Earth via a high-speed radio channel using the following function:+The Earth Observation Camera (EOC) is payload for photographing Earth from the space which is the very objective of orbiter design in our caseIn actual spacecraft there are many other types of payload beyond Earth observation cameras including instruments of scientificeducationalmilitary and technology purposes.
  
-  int32_t transmit_photo(uint16_t num) //​Changed ​in version 1.0+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):
  
-**Important notes** \\  +<code c>​int32_t take_photo(uint16_t num)</​code>​ 
-The camera cable should be as short as possible ​(no longer than 40cm). There should not be pieces of unused cable after installing ​the connectors.+   
 +After a sector is filled with an image this image will remain there until being overwritten by a new imageImages can be sent to Earth anytime over a high-speed radio link using the function:
  
-You can connect ​the camera ​directly ​to the camera connector ​only on the central computer.+<code c>​int32_t transmit_photo(uint16_t num) // Revised in version 1.0 </​code>​ 
 + 
 +<note important>​ 
 +**//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.//​** 
 +</​note>​ 
 + 
 +<note important>​ 
 +**//The camera may only be connected ​to the immediate ​camera connector ​at the central computer.//** 
 +</​note>​ 
 + 
 +Consult the Using the Earth Observation Camera section for guidance on using the camera. 
 + 
 +==== Sample C Test Code for the Camera and HF Transmitter ==== 
 + 
 +<code c> 
 + #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!"​);​ 
 +
 +</​code>​
en/camera_subsys.1516721690.txt.gz · Last modified: 2020/03/25 16:29 (external edit)