EAN-Airborne-Innovations-Camera
© SightLine Applications, Inc. 7
Appendix A - Camera Setup Notes
The AGS720p camera setup is done through the InitAR0134CS camera Init code in the SightLine
firmware through Panel Plus. The settings in the camera do not need to be changed.
The following camera setup notes are useful for customers that build custom versions of the 1500-
OEM board. Camera control registers are configurable through the I2C bus.
More information on configuring camera control registers can be found in the IDD under Modules »
Serial Port » SLAI2CCommand_t.
1500-OEM - I2C bus 2:
•i2cdetect -a -r -y 2 (this should show device at bus ID 0x10)
•i2cset -f -y 2 0x10 0x30 0x00 (register address 0x3000)
•i2cget -f -y 2 0x10 (returns 0x24) (high byte)
•i2cget -f -y 2 0x10 (returns 0x06) (low byte)
The chip ID for Aptina AR0134 is 0x2406.
1500-OEM example enabling auto-exposure using I2C bus 2 and Panel Plus:
1. Establish an SSH session to the OEM with Tera Term (recommended) or similar application.
2. From the Tera Term window type:
i2cdetect -a -r -y 2 (this should show device at bus ID 0x10)
3. From the main menu in Panel Plus go to File » Send Command. In the message field enter:
51,AC,0A,94,00,02,10,04,31,00,01,01.
4. Check the Insert Checksum box and click Send.
5. From the Tera Term window type:
a. i2cset -f -y 2 0x10 0x31 0x00 (register address 0x3100 for auto-exposure)
b. i2cget -f -y 2 0x10 (this should show 0x00 for high byte)
c. i2cget -f -y 2 0x10 (this should show 0x01 for low byte indicating the auto-exposure is now
enabled)
The camera suspend-and-reset are controlled through two GPIO lines:
1500-OEM - GPIO174 and GPIO178:
1500-OEM J 4 (50 pin):
•GPIO174 = pin 13
•GPIO178 = pin 19
39-pin in FPC cable (Molex cable, FPC 39 Position 0.3mm pitch):
•GPIO174 = pin 36
•GPIO178 = pin 1