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 [2019/09/16 15:40]
golikov
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 + 
 +Virtual ​power draw: 200 mA
  
 {{ :​ru:​камера.png?​direct&​200| Камера}} {{ :​ru:​камера.png?​direct&​200| Камера}}
-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 setthe 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: +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. 
-  int32_t ​take_photo(uint16_t num)+ 
 +In the experiments ​involving ​the construction set the camera will serve as the orbiter payload and the mission objective would be to transfer ​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): 
 + 
 +<code c>​int32_t take_photo(uint16_t num)</​code>​ 
 +   
 +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: 
 + 
 +<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>​
  
-After filling in a memory sector, the photo remains there until it is overwritten with a new photo. Also, at any time, photos can be transmitted ​to Earth via a high-speed radio channel using the following function:+<note important>​ 
 +**//The camera may only be connected ​to the immediate camera connector at the central computer.//​** 
 +</​note>​
  
-  int32_t transmit_photo(uint16_t num) //Changed in version 1.0+Consult the Using the Earth Observation Camera section for guidance on using the camera.
  
-**Important notes** \\  +==== Sample C Test Code for the Camera and HF Transmitter ====
-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.+
  
-You can connect the camera directly to the camera connector only on the central computer.+<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.txt · Last modified: 2020/03/25 16:28 (external edit)