Diffuse Lighting (Direct3D 9) - Win32 apps - diffuse lighting example
Power LEDMonitor
This table shows how the pinout on LED Flash click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
For an interchangeable lens camera, the flange focal distance (FFD) (also known as the flange-to-film distance, flange focal depth, flange back distance (FBD), flange focal length (FFL), back focus or register, depending on the usage and source) of a lens mount system is the distance from the mounting flange (the interlocking metal rings on the camera and the rear of the lens) to the film or image sensor plane. This value is different for different camera systems. The range of this distance, which will render an image clearly in focus within all focal lengths, is usually measured to a precision of hundredths of millimetres, and is not to be confused with depth of field.
Power LedPro
The click is designed to run on a 5V power supply. It communicates with the target microcontroller over the following pins on the mikroBUS™ line: AN, RST, PWM, and INT.
The CAT3224 is a very high−current integrated flash LED driver which also supports the charging function for a dual−cell supercapacitor applications. Ideal for Li−ion battery−powered systems, it delivers up to 4A LED flash pulses, far beyond the peak current capability of the battery.Dual−mode 1x/2x charge pump charges the stacked supercapacitor to a nominal voltage of 5.4 V, while an active balance control circuit ensures that both capacitor cell voltages remain matched.The driver also features two matched current sources. External resistors provide the adjustment for the maximum flash mode current (up to 4 A) and the torch mode current (up to 400 mA). A built−in safety timer automatically terminates the flash pulse beyond a maximum duration of 300 ms. The CAT3224 has a shutdown mode that is so low that ON Semiconductor can safely call it "zero" mode. In this mode, it typically uses only 1μA.
Power LEDDriver
NOTE: Please be advised that any peripheral devices or accessories shown connected to the Click board™ are not included in the package. Check their availability in our shop or in the YMAN section below.
The demo is realised as FSM (Finite State Machine). It has four states for contolling output signals (TORCH, FLASH, CHRG).
Power LEDStrip
FLASH is the flash mode enable pin. When high, the LED current sources are enabled in flash mode. If FLASH is kept high for longer than 300 ms typical, the LED channels are automatically disabled.
Power LEDsoftware
Type LED Segment Applications Applications that require a high power LED flash On-board modules CAT3224 flash LED driver Key Features high−current integrated flash LED which delivers up to 4A LED flash pulses, dual−mode 1x/2x charge Interface GPIO Feature No ClickID Compatibility mikroBUS™ Click board size M (42.9 x 25.4 mm) Input Voltage 5V
LEDA, LEDB are connected internally to the current sources and must be connected to the LED anodes. Each output is independently current regulated. These pins enter a high−impedance ‘zero’ current state whenever the device is placed in shutdown mode or FLASH and TORCH are low.
FLAG is an active−low open−drain output that notifies the microcontroller that the supercapacitor is fully charged by pulling the output low (pin 15 in the mikroBUS). When using FLAG, this pin should be connected to a positive rail via an external pull−up resistor.
LED Flash click functions as a high power LED flash, and carries the CAT3224 flash LED driver. The click is designed to run on a 5V power supply. It communicates with the target microcontroller over the following pins on the mikroBUS™ line: AN, RST, PWM, and INT.
The demo starts in charge state which enables charge mode. It waits for FLAG signal (active low) from LED driver to switch to ready state. When in ready state, user can press specified button to drive LEDs in flash mode, burst current for short duration of time. After flash state is over (300 ms), it returns to charge state. User, aslo can press specified button to switch between torch or flash states. When in torch state, the program puts LED driver in torch mode, which allows the LEDs to run for extended time.