![]() ![]() More information about the wiring can be found from ArduCAM hardware application note. Open one of the examples, wiring SPI and I2C interface especially CS pins to ArduCAM shield according to the examples. Upload the Example SketchĪfter that open the Arduino IDE, the ArduCAM examples can be found from the menu File->Examples->ArduCAM as the Figure 1 shown. #if (defined(ARDUCAM_SHIELD_REVC) || defined(ARDUCAM_SHIELD_V2)) Step 2: Select one of the camera module, only one at a time Step 1: select the hardware platform, only one at a time The following is the piece of memorysaver.h file, which enables Arducam Shield Mini 2MP Plus camera for example. Or if you got a ArduCAM-Shield-V2 and a OV5642 camera module, you should not only uncomment the line ” #define ARDUCAM_SHIELD_V2″, but also uncomment the line ” #define OV5642_CAM” then comment all the other lines. Open the memorysaver.h file in the ArduCAM folder and enable the hardware platform and camera module which matches to your hardware by comment or uncomment the macro definition in the file.įor example, if you got a ArduCAM-Mini-2MP you should uncomment the line ” #define OV2640_MINI_2MP ” and comment all the other lines. The libraries should be configured before running any examples, or else you will get a compilation error message. #define OV5642_MINI_5MP_BIT_ROTATION_FIXED ![]() The following is a list of our SPI cameras: HardwareĪrducam shield mini 5MP (bit rotation bug) Different models has different timing and functions. There are different models of Arducam SPI camera modules. It is the easiest way to prove the hardware is working or not. This Chapter only introduce how to make the camera working on Arduino platform. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |