4d Systems uCAM-II-76LENS Datenbogen

Seite von 25
4D SYSTEMS                                                                                                  µCAM-II 
 
 
 © 2014 4D SYSTEMS                       Page 7 of 25                   www.4dsystems.com.au 
 
µC
AM
 –
 II
 Se
rial
 Ca
mer
a M
od
ul
4. Pin Descriptions 
 
5V pin 1 (uCAM-II Supply Voltage Input): 
Module supply voltage input pin. This pin must be 
connected to a regulated supply voltage. 
4.5V to 9.0V DC range, nominal 5.0V. 
 
TX pin 2 (Serial Transmit): 
Asynchronous  Serial  port  Transmit  pin,  TX. 
Connect this pin to host Serial Receive (Rx) signal. 
The  host  receives  data  from  the  uCAM-II  module 
via this pin. This pin outputs 3.3V logic. 
 
RX pin 3 (Serial Receive): 
Asynchronous Serial port Receive pin, RX. Connect 
this pin to host Serial Transmit (Tx) signal. The host 
transmits data to the uCAM-II via this pin. This pin 
is 3.3V Logic however is 5.0V tolerant. 
 
GND pin 4 (uCAM-II Ground): 
Module ground pin. This pin must be connected to 
ground. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
5. Serial Interface - UART 
The uCAM-II has a dedicated hardware UART that 
can  communicate  with  a  host  via  this  serial  port. 
This  is  the  main  interface  used  by  the  host  to 
communicate with the module to send commands 
and receive back data. The primary features are: 
•  Full-Duplex  8  bit  data  transmission  and 
reception through the TX and RX pins. 
•  Data format: 8 bits, No Parity, 1 Stop bit. 
•  Auto  detect  specific  Baud  rates  from  9600 
baud up to 921600 baud. 
•  Selectable Baud rates up to 3686400 bps. 
 
The  uCAM-II  has  low  voltage  serial  TTL  levels 
which  can  be  directly  interfaced  to  a  micro-
controller.  The  voltage  levels  could  be  converted 
to  RS-232  through  an  external  TTL  to  RS-232 
converter to interface it to any RS-232 port such as 
the one on the PC.    
 
Please note that while the baud rate can go up to 
3686400  bps,  not  all  RS232/RS485/TTL  USB 
adaptors/cables  can  go  this  high.  Please  ensure 
your  hardware  can  handle  the  rate  you  want  to 
use. 
Please  refer  to  sections  5.3  and  5.4  for  more 
information. 
 
5.1. Single Byte Timing 
A  single  byte  serial  transmission  consists  of  the 
start  bit,  8-bits  of  data  followed  by  the  stop  bit. 
The start bit is always 0, while a stop bit is always 
1.  The  LSB  (Least  Significant  Bit,  Bit  0)  is  sent  out 
first  following  the  start  bit.  Figure  3.1  shows  a 
single byte transmission timing diagram. 
 
 
Figure 3.1: Single Byte Timing Diagram 
 
5.2. Command Sequence Timing 
A single command consists of 6 continuous single 
byte serial transmissions. The following Figure 3.2 
shows an example of the SYNC (AA0D00000000h) 
command.