shutter 2.1.0.0
|
Shutter Click is an adapter Click board™ used to implement an automated capturing feature. This Click board™ features one 3.5mm jack connector suitable for a camera connection with which the frame is captured. By combining two mikroBUS™ pins and the VO617A, a high-reliability phototransistor from Vishay Semiconductors used as a camera activation switch, activating the camera's Auto-Focus and the action of taking pictures is realized. This Click board™ allows you to expressly capture frames in a simple way for various types of photographic and security applications to capture those parts you need.
We provide a library for the Shutter Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
This library contains API for Shutter Click driver.
shutter_cfg_setup
Config Object Initialization function. shutter_init
Initialization function. shutter_set_auto_focus
This function sets the auto focus ON/OFF by setting the AF pin to desired logic state. shutter_set_shutter
This function sets the shutter ON/OFF by setting the SHT pin to desired logic state. shutter_take_picture
This function sets AF and SHT pins to desired states for taking pictures with or without auto focus function. This example demonstrates the use of Shutter click board by taking pictures with and without auto focus function.
The demo application is composed of two sections :
Initializes the driver and logger.
Swithes ON the auto focus function and triggers the shutter to take the picture, then
swithes OFF the auto focus and triggers the shutter. The shutter is triggered every 13 seconds approximately. All data is being logged on the USB UART where you can track the program flow.
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
Additional notes and informations
Depending on the development board you are using, you may need USB UART click, USB UART 2 Click or RS232 Click to connect to your PC, for development systems with no UART to USB interface available on the board. UART terminal is available in all MikroElektronika compilers.