jpenner64
Published © GPL3+

Sony Spresense Camera Basics

So you have the Sony Spresense and you just got the camera module; now what? Let's hook it up and explore!

IntermediateProtip2 hours5,367
Sony Spresense Camera Basics

Things used in this project

Hardware components

Spresense boards (main & extension)
Sony Spresense boards (main & extension)
×1
Sony Spresense (Camera module)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Story

Read more

Code

Example of testing library options

Arduino
This is the approach I took to exercise library options against the same scene.
// -- Try different White Balences ----------------------------------------
    switch (take_picture_count){
      case 0:   theCamera.setAutoWhiteBalanceMode(CAM_WHITE_BALANCE_INCANDESCENT); Serial.println("WB for Incondesent light");break;
      case 1:   theCamera.setAutoWhiteBalanceMode(CAM_WHITE_BALANCE_FLUORESCENT); Serial.println("WB for Florecent light");break;
      case 2:   theCamera.setAutoWhiteBalanceMode(CAM_WHITE_BALANCE_DAYLIGHT); Serial.println("WB for Daylight");break;
      case 3:   theCamera.setAutoWhiteBalanceMode(CAM_WHITE_BALANCE_FLASH); Serial.println("WB for Flash");break;
      case 4:   theCamera.setAutoWhiteBalanceMode(CAM_WHITE_BALANCE_CLOUDY); Serial.println("WB for Cloudy");break;
      case 5:   theCamera.setAutoWhiteBalanceMode(CAM_WHITE_BALANCE_SHADE); Serial.println("WB for Shade");break;
    }

Credits

jpenner64

jpenner64

3 projects • 6 followers

Comments