5.4. Battery
We recommend the use of the 6600mAh rechargeable battery model and have an external power source to recharge it in case
Waspmote + Video Camera Sensor Board has to be long time running.
5.5. API
The Video Camera Sensor Board is fully managed by Waspmote 3G/GPRS board. In consequence, Waspmote 3G/GPRS API must
be used. For more information, please refer to the chapter "Camera related functions" in the Waspmote 3G/GPRS Networking
Guide.
5.5.1. Starting the camera
The camera must be started before the use. To start the camera, use the function
Example of use:
{
// Starts the camera:
_3G.startCamera();
}
This function returns:
•
'1' on success
•
'0' if error
•
'-2' if camera not detected
•
'-3' if camera is already started
5.5.2. Stopping the camera
When do not use the camera, the function
Example of use:
{
// Stops the camera:
_3G.stopCamera();
}
This function returns:
•
'1' on success
•
'0' if error
•
'-2' if camera not started
stops and turns off the camera reducing the power consumption.
stopCamera()
-22-
Board configuration and programming
.
startCamera()
v4.3
Need help?
Do you have a question about the Waspmote and is the answer not in the manual?