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
Consult the Using the Earth Observation Camera section for guidance on using the camera.
#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!"); }