NT Camera: Difference between revisions
No edit summary |
|||
Line 23: | Line 23: | ||
== NT Camera Support by NT IMU Modules == | == NT Camera Support by NT IMU Modules == | ||
Three NT Camera related signals are available at the EXT port pins of NT IMU modules, namely: | |||
* pin EXT-3: | * pin EXT-3: Camera servo PWM signal (with ca. 60 Hz frequency) | ||
* pin EXT-2: | * pin EXT-2: Camera pulse signal, 50 ms off/on/off | ||
* pin EXT-1: Pwm Out servo PWM signal (with ca. 60 Hz frequency) | * pin EXT-1: Pwm Out servo PWM signal (with ca. 60 Hz frequency) | ||
The two " | The two "Camera" signals are determined by the settings related to the {{PARAMNAME|Camera Control}} function; see also [[Advanced_Functions#Camera_Remote_Control|Advanced Functions: Camera Remote Control]]. The "Pwm Out" signal is affected by the settings for the {{PARAMNAME|Pwm Out Control}} function, see [[Advanced_Functions#Pwm_Out|Advanced Functions: Pwm Out]]. For hardware reasons the NT IMU modules cannot drive IR LEDs, and the IR LED remote control option is thus not available with them. | ||
The | The Camera PWM signal could directly feed cameras, which can be triggered by such signals, such as the Gitup Git2 or Foxeer Legend, or could be connected to a standard RC camera remote control module, such as those mentioned in the introduction. | ||
The | The Camera pulse signal can be used for all sorts of purposes. For instance, it could be connected to a [http://www.rcgroups.com/forums/showpost.php?p=30034371&postcount=2437 semiconductor relais] to drive an IR LED or shorten some pins on a USB remote. | ||
=== Pin Assignment on the v1.x and v2.x NT IMU Modules === | === Pin Assignment on the v1.x and v2.x NT IMU Modules === | ||
The "big" v1.x and the v2.x NT IMU | The "big" v1.x and the v2.x NT IMU Modules have additional pins available, which are assigned as follows to the NT Camera outputs: | ||
:[[File:Storm32-nt-imu-v10-docu-02.jpg|320px]] [[File:Storm32-nt-imu-v21-docu.jpg|420px]] | :[[File:Storm32-nt-imu-v10-docu-02.jpg|320px]] [[File:Storm32-nt-imu-v21-docu.jpg|420px]] | ||
Line 43: | Line 43: | ||
=== Pin Assignment for the CC3D Atom and Atom Mini === | === Pin Assignment for the CC3D Atom and Atom Mini === | ||
Both the CC3D Atom and Atom Mini have six servo outputs | Both the CC3D Atom and Atom Mini have six servo outputs labeled PWM1 to PWM6. They are assigned as follows to the NT Camera outputs: | ||
* PWM2 = EXT-1 = Pwm Out servo PWM signal | * PWM2 = EXT-1 = Pwm Out servo PWM signal | ||
* PWM3 = EXT-3 = | * PWM3 = EXT-3 = Camera servo PWM signal | ||
* PWM4 = EXT-2 = | * PWM4 = EXT-2 = Camera pulse signal, 50 ms off/on/off | ||
:[[File:Storm32-nt-imu-cc3datom-docu-03.jpg|480px]] [[File:CC3D_Case_Label.jpg|240px]] | :[[File:Storm32-nt-imu-cc3datom-docu-03.jpg|480px]] [[File:CC3D_Case_Label.jpg|240px]] |
Revision as of 06:39, 25 June 2019
The information on this page refers to firmware v2.43 and higher.
Since firmware version v2.04e, NT Camera modules are supported, and since firmware version v2.42 the MAVLink Camera component is available.
The NT Camera module allows us to remote control a camera.
It thus serves a similar purpose as the various RC camera remote control modules, such as CAMremote, CamCntrl, IR Remote Shutter Controller, and all the other commercially available or DIY solutions. However, instead of listening to a servo PWM or other input signals, the NT Camera module listens to the data on the NT bus. It is thus usually connected to the NT bus near the camera NT IMU module, which results in extremely clean wiring schemes (see here).
In fact, dedicated NT Camera modules have not yet emerged, but the NT Camera function is integrated into the NT IMU firmware. That is, the NT IMU module itself can be used as NT Camera module - if it exposes the respective pins to the user (which many of the available NT IMU modules do).
In addition, the NT Camera module also serves as a "PWM out" module. That is, it outputs an additional servo PWM signal, which is an exact mirror of the PWM output signal available on the main STorM32 board, when the Pwm Out Control parameter is configured accordingly. This can come in very handy and enables all sorts of fancy things (e.g. motor zoom).
Historically, the STorM32's remote camera control started with an IR LED controller on the v1.x main STorM32 board, and many of the camera models supported by the STorM32, such as the Sony Nex or Nikon, are related to this. The NT Camera concept was introduced later, and extended to provide specific PWM output signals to control cameras such as the Gitup Git2 or Foxeer Legend. The introduction of the MAVLink Camera component has brought unprecedented cool camera control features to the user, but also made things substantially more complicated to understand. This article may thus not answer all questions, and the reader is welcomed to the rcgroups discussion threads.
Concept and Overview
The camera remote control is associated with the IR Camera Control function in the [Functions] tab.
this are the "big" v1.x NT IMU module and the CC3D Atom based modules
NT Camera Support by NT IMU Modules
Three NT Camera related signals are available at the EXT port pins of NT IMU modules, namely:
- pin EXT-3: Camera servo PWM signal (with ca. 60 Hz frequency)
- pin EXT-2: Camera pulse signal, 50 ms off/on/off
- pin EXT-1: Pwm Out servo PWM signal (with ca. 60 Hz frequency)
The two "Camera" signals are determined by the settings related to the Camera Control function; see also Advanced Functions: Camera Remote Control. The "Pwm Out" signal is affected by the settings for the Pwm Out Control function, see Advanced Functions: Pwm Out. For hardware reasons the NT IMU modules cannot drive IR LEDs, and the IR LED remote control option is thus not available with them.
The Camera PWM signal could directly feed cameras, which can be triggered by such signals, such as the Gitup Git2 or Foxeer Legend, or could be connected to a standard RC camera remote control module, such as those mentioned in the introduction.
The Camera pulse signal can be used for all sorts of purposes. For instance, it could be connected to a semiconductor relais to drive an IR LED or shorten some pins on a USB remote.
Pin Assignment on the v1.x and v2.x NT IMU Modules
The "big" v1.x and the v2.x NT IMU Modules have additional pins available, which are assigned as follows to the NT Camera outputs:
Pin Assignment for the CC3D Atom and Atom Mini
Both the CC3D Atom and Atom Mini have six servo outputs labeled PWM1 to PWM6. They are assigned as follows to the NT Camera outputs:
- PWM2 = EXT-1 = Pwm Out servo PWM signal
- PWM3 = EXT-3 = Camera servo PWM signal
- PWM4 = EXT-2 = Camera pulse signal, 50 ms off/on/off
Gitup Git2
General Camera Remote Operation
The Git2 has the ability to receive a PWM signal via its Micro HDMI port from your receiver to control video recording and photo triggering. As to the specifics they can be found on the Gitup Site but in general a 3 position switch will be used on your transmitter. The middle position will be setup up as 1500µs and will do nothing. Low position, < 1250µs, will start recording video when switched. High position, > 1800µs, will take one photo when switched. If your transmitter channel is setup as 0%, 50%, 100% (or -100,0,100) for Low, Mid, and High you should be fine.
Links:
- http://www.gitup.com/blog/22_Git2-Remote-Shutter-for-FPV.html
- http://www.rcgroups.com/forums/showpost.php?p=34538383&postcount=3443
Cable Information
Gitup does have a Remote Shutter cable available. If you choose to make your own please follow the pinouts for the Micro HDMI (type D), not Mini or full size because they are different (see here).
- Signal In: Micro HDMI Pin 2 (Usually marked as Utility or Reserved on a pin out)
- Signal Gnd: Micro HDMI Pin 4 (Marked as TMDS Data2 Shield, or any other shield pin. Even the connector case works)
Just as a note, the Git2 uses its Mini USB port for both Video Out and Power In to charge or power the camera. While Gitup also provides this cable the FPV Cable made for the GoPro works as well. At the time of this writing Gitup is working on a combo board / cable, which will contain both the HDMI and USB connectors.
Cable and Camera Function Test
Once you have your cable and transmitter configured as above connect your receiver, or flight controller, and test it out. It should work before moving onto the next section.
Comment: Leave your transmitter as configured for the duration of this instruction. If it passes function test of the above it will work as described below.
CC3D NT IMU, STorM32 and Git2 Camera Integration
Notes:
- This section will be based on the use of the Mini CC3D Atom and has been tested. Other NT IMU modules with integrated NT camera function should be similar.
- This is only one example of the many available options from the STorM32.
- Your STorM32 and NT IMU need to be correctly communicating. Gimbal not necessarily needs to be configured or "tuned".
Control Overview
The STorM32 and NT IMU firmware makes use of two functions found in the [GUI:Functions] tab of the o323BGCTool GUI:
- IR Camera Control: We will use this.
- Pwm Out Control: Future / other use.
Wiring
- Connect your receiver, or flight controller, to one of the seven STorM32 RC ports (RC-0 through RC2-3), or any other input channel (see Inputs and Functions).
- Connect the Git2 "Remote Shutter" cable to the EXT-3 (= PWM3) and Gnd pins on the Mini CC3D Atom (see Pin Assignment for the CC3D Atom and Atom Mini).
o323BGCTool GUI Setup
Under the [GUI:Functions] tab use the column for IR Camera Control and set as follows:
- IR Camera Control = “Rc-0” (Or whatever port you connect up to the STorM32 above)
- Camera Model = “Git2RC”
- IR Camera Setting #1 = “shutter”
- IR Camera Setting #2 = “video on/off”
- Time Interval: Setting this to 0 (off) will result in one photo taken when switched from Mid to High. If set to other than 0 continuous photos will be taken. The time period is from the start of the first photo to the start of the second photo, etc.
Foxeer Legend 1
This should work as for the Gitup Git2, with identical settings. This has not yet been tested though.
CAMremote
The CAMremote from VP-Systems provides several settings where the shutter and video on/off can be controlled via a PWM signal on the CAMremote's CH0 input. In combination with the NT camera module several configurations are possible, the most generic one would be to use either of these:
- CH0 = Record/AF/Shoot
- CH0 = Record/Shoot
The pin EXT-3 on the NT camera module should then be connected to the CH0 input on the CAMremote.
The PWM passthrough output on the NT camera module, or pin EXT-1, can then be connected the CAMremote's CH1 to invoke additional features, such a manual focus, zoom in/out, and so on.
Note: This has been tested using NT IMU firmware v0.28 and "RC receiver (CH0=Record/AF/Shoot, CH1=SmoothZoom, CH2=Alt)"-mode on CAMremote 3.0.9. In case shutter does not trigger a photo on the camera it might be necessary to increase the focus time to give the camera time to focus.
Links:
RunCam 2
To be filled.