Building a connected nesting box network. Part 2

Finding a camera module that would work with Arduino pro mini was at first sight the hardest part of the project, but after a little bit of search we found the TTL Serial JPEG Camera on Adafruit.

TTL Serial JPEG Camera

Serial TTL CameraThe “TTL Serial JPEG Camera” is, as the name suggests, a Camera which can take and transmit jpeg pictures over UART. We ordered a camera module from AliExpress, the SCB-1.

 

 

Relevant Specifications

  • Image size: VGA(640*480), QVGA(320*240), QQVGA(160*120)
  • Interface: UART
  • Interface speed: Default 38400, Maximum 115200 Baudrate
  • Operation Voltage: 3.3V-5V
  • TTL-Level: 3.3-5V
  • Current Draw: 90mA
  • Price: 15-16€

One of my first code examples for the TTL Serial Camera in combination with the MySensors library is documented in the MySensors forum on 30. Juli 2015.

But shortly after we got the TTL Serial JPEG Camera up and running we discovered the Arducam Mini, which looked promising and more powerful, so we also ordered it.

Arducam Mini

Arducam-MiniThe Arducam Mini is a Arduino Camera module consisting of the OV2640 2MP, the FPGA ALTERA MAX II and an SPI FIFO Buffer. Basicly the FPGA reads out the OV2640 pushes the Data to the FIFO Buffer from which the Arduino can read read the data byte by byte. The registers on the OV2640 can be directly controlled through the I²C interface.

 

Relevant Specifications

  • Image size: 1600*1200, 1280*1024, 1024*768, 800*600, 640*480, 320*240, 160*120
  • Interface: I²C & SPI
  • Interface speed: 8MHz
  • Operation Voltage: 3.3V-5V
  • TTL-Level: 3.3-5V
  • Current Draw: 90mA
  • Price: 23-24€

The code for the Arducam mini is similar to the code for the Serial Camera, expect the camera parts. This can be simply derived from the ArduCam Mini code examples.

Conclusion

We decided to go with the ArduCam Mini. The little bit higher price is justified by the far better image resolution and faster image transfer rate.

This entry was posted in Nesting box. Bookmark the permalink.

5 Responses to Building a connected nesting box network. Part 2

  1. Anonymous says:

    Which lens did you use with the Arducam?

    • Oitzu says:

      It’s called “LS-27227 NOIR lens” in the recipe from uctronics (ArduCam supplier).
      If you are unsure which lens to choose I recommend to speak directly with uctronics or admin@arducam.com.

  2. jmkhael says:

    Hello,

    Great write up and project. really inspiring!
    I am curious about the wiring you did for Arducam, nrf24l01 and the pro mini. Can you please post a diagram/schematic?

    • Oitzu says:

      Hello,
      well i would need to first create one.
      But i can give you point-to-point wiring:

      Arducam | Pro mini
      SDA | SDA (A5)
      SCL | SCL (A4)
      VCC | -
      GND | -
      SCK | SCK (D13)
      MISO | MISO (D12)
      MOSI | MOSI (D11)
      CS | D10

      nrf24l01+ | pro mini
      VCC | -
      GND | -
      MOSI | MOSI (D11)
      MISO | MISO (D12)
      SCK | SCK (D13)
      CE | D9
      CS | D8
      IRQ | Not connected

      I hope this helps, if not write me again. :)

Leave a Reply to jmkhael Cancel reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>