# TTL Serial Camera

## Overview

This tutorial is for our new TTL serial camera module with NTSC video output. These modules are a nice addition to a microcontroller project when you want to take a photo or control a video stream. The modules have a few features built in, such as the ability to change the brightness/saturation/hue of images, auto-contrast and auto-brightness adjustment, and motion detection.

![](https://cdn-learn.adafruit.com/assets/assets/000/000/196/medium800/camera_TTL_Serial_Camera.jpeg?1396759625)

Since it is a little confusing how this is both a snapshot and video camera, we'd like to explain it in detail now. The module was initially designed for surveillance purposes. Its meant to constantly stream TV-resolution video out of the Video pin (this is NTSC monochrome format) and also take commands from the serial port. The serial port commands can request that the module freeze the video and then download a JPEG color image. So for example, normally its just displaying video to a security monitor. When motion is detected, it would take a photo and save it to a disk for later analysis.

The module is admittedly not extremely high resolution - the maximum image size it can take is 640x480 pixels. And it is sensitive to infrared light, which alters the color rendition somewhat. The reason for all this is that it's meant for surveillance, not for nature photography. However, as far as we can tell, this is the best module on the market.

- **Module size:** 32mm x 32mm
- **Image sensor:** CMOS 1/4 inch
- **CMOS Pixels:** 0.3M
- **Pixel size:** 5.6um\*5.6um
- **Output format:** Standard JPEG/M-JPEG
- **White balance:** Automatic
- **Exposure:** Automatic
- **Gain:** Automatic
- **Shutter:** Electronic rolling shutter
- **SNR:** 45DB
- **Dynamic Range:** 60DB
- **Max analog gain:** 16DB
- **Frame speed:** 640\*480 30fps
- **Scan mode:** Progressive scan
- **Viewing angle:** 60 degrees
- **Monitoring distance:** 10 meters, maximum 15meters (adjustable)
- **Image size:** VGA (640\*480), QVGA (320\*240), QQVGA (160\*120)
- **Baud rate:** Default 38400 (the datasheet claims you can change the baud rate with a command but it does not work reliably)  
- **Current draw:** 75mA
- **Operating voltage:** DC +5V
- **Communication:** 3.3V TTL (Three wire TX, RX, GND)

## Sample Images

Here are two example images, one of outside during a cloudy day, and one inside on a sunny day.
![](https://cdn-learn.adafruit.com/assets/assets/000/000/197/medium800/camera_Test_Image_1.jpeg?1396759618)

![](https://cdn-learn.adafruit.com/assets/assets/000/000/198/medium800/camera_Test_Image_2.jpeg?1396759613)

- [Next Page](https://learn.adafruit.com/ttl-serial-camera/wiring-the-camera.md)

## Featured Products

### TTL Serial JPEG Camera with NTSC Video

[TTL Serial JPEG Camera with NTSC Video](https://www.adafruit.com/product/397)
This camera module can be a pretty neat project addition. It was designed to be used in security systems and does two main things - it outputs NTSC video and can take snapshots of that video (in color) and transmit them over the TTL serial link. You can snap pictures at 640x480, 320x240 or...

In Stock
[Buy Now](https://www.adafruit.com/product/397)
[Related Guides to the Product](https://learn.adafruit.com/products/397/guides)
### Miniature TTL Serial JPEG Camera with NTSC Video

[Miniature TTL Serial JPEG Camera with NTSC Video](https://www.adafruit.com/product/1386)
This tiny little camera module can be a pretty neat project addition, it is just like [our other JPEG cameras (same chipset/software)](http://www.adafruit.com/category/35_68), but much smaller and slimmer. It was designed to be used in security systems and does two main things - it...

Out of Stock
[Buy Now](https://www.adafruit.com/product/1386)
[Related Guides to the Product](https://learn.adafruit.com/products/1386/guides)
### Adafruit METRO 328 Fully Assembled - Arduino IDE compatible

[Adafruit METRO 328 Fully Assembled - Arduino IDE compatible](https://www.adafruit.com/product/50)
We sure love the ATmega328 here at Adafruit, and we use them&nbsp;_a lot_&nbsp;for our own projects. The processor has plenty of GPIO, Analog inputs, hardware UART SPI and I2C, timers and PWM galore - just enough for most simple projects. When we need to go small, we use a <a...></a...>

Out of Stock
[Buy Now](https://www.adafruit.com/product/50)
[Related Guides to the Product](https://learn.adafruit.com/products/50/guides)
### Weatherproof TTL Serial JPEG Camera with NTSC Video and IR LEDs

[Weatherproof TTL Serial JPEG Camera with NTSC Video and IR LEDs](https://www.adafruit.com/product/613)
This weatherproof camera module is [a classy upgrade to the basic camera module we already stock in the shop](http://www.adafruit.com/products/397). The main differences is that this one comes in a nice metal case with a mounting hinge, a 1 meter long cable with the TTL & NTSC...

In Stock
[Buy Now](https://www.adafruit.com/product/613)
[Related Guides to the Product](https://learn.adafruit.com/products/613/guides)
### MicroSD card breakout board+

[MicroSD card breakout board+](https://www.adafruit.com/product/254)
Not just a simple breakout board, this microSD adapter goes the extra mile - designed for ease of use.

- Onboard 5v-\>3v regulator provides 150mA for power-hungry cards
- 3v level shifting means you can use this with ease on either 3v or 5v systems
- Uses a proper level...

Out of Stock
[Buy Now](https://www.adafruit.com/product/254)
[Related Guides to the Product](https://learn.adafruit.com/products/254/guides)
### Half Sized Premium Breadboard - 400 Tie Points

[Half Sized Premium Breadboard - 400 Tie Points](https://www.adafruit.com/product/64)
This is a cute, half-size breadboard with&nbsp;400 tie points, good for small projects. It's 3.25" x 2.2" / 8.3cm&nbsp;x 5.5cm&nbsp;with a standard double-strip in the middle and two power rails on both sides.&nbsp;You can pull the power rails off easily to make the breadboard as...

In Stock
[Buy Now](https://www.adafruit.com/product/64)
[Related Guides to the Product](https://learn.adafruit.com/products/64/guides)
### SD/MicroSD Memory Card (8 GB SDHC)

[SD/MicroSD Memory Card (8 GB SDHC)](https://www.adafruit.com/product/1294)
Add mega-storage in a jiffy using this 8 GB class 4 micro-SD card. It comes with a SD adapter so you can use it with any of our shields or adapters. Preformatted to FAT so it works out of the box with our projects. Tested and works great with our <a...></a...>

In Stock
[Buy Now](https://www.adafruit.com/product/1294)
[Related Guides to the Product](https://learn.adafruit.com/products/1294/guides)

## Related Guides

- [Animating Multiple LED Backpacks](https://learn.adafruit.com/animating-multiple-led-backpacks.md)
- [Introducing Adafruit Trellis ](https://learn.adafruit.com/adafruit-trellis-diy-open-source-led-keypad.md)
- [Arduin-o-Phone](https://learn.adafruit.com/arduin-o-phone-arduino-powered-diy-cellphone.md)
- [Wave Shield](https://learn.adafruit.com/adafruit-wave-shield-audio-shield-for-arduino.md)
- [Adafruit Data Logger Shield](https://learn.adafruit.com/adafruit-data-logger-shield.md)
- [Reverse Geocache Box](https://learn.adafruit.com/reverse-geocache-engagement-box.md)
- [Arduino "Hunt The Wumpus"](https://learn.adafruit.com/arduino-hunt-the-wumpus.md)
- [Adafruit  PCA9685 16-Channel Servo Driver](https://learn.adafruit.com/16-channel-pwm-servo-driver.md)
- [Using NeoPixels and Servos Together](https://learn.adafruit.com/neopixels-and-servos.md)
- [Adafruit Proto Screw Shield](https://learn.adafruit.com/adafruit-proto-screw-shield.md)
- [WiFi Controlled Mobile Robot](https://learn.adafruit.com/wifi-controlled-mobile-robot.md)
- [How to program a Zumo Robot with Simulink](https://learn.adafruit.com/zumo-robot-control-with-simulink.md)
- [Current Limiting Stepper Driver with DRV8871](https://learn.adafruit.com/current-limiting-stepper-driver-with-drv8871.md)
- [RePaper eInk Development Board](https://learn.adafruit.com/repaper-eink-development-board.md)
- [Mini Thermal Receipt Printers](https://learn.adafruit.com/mini-thermal-receipt-printer.md)
