Difference between revisions of "Twog v1"

From PaparazziUAV
Jump to navigation Jump to search
(Redirecting to TWOG/v1.0)
 
(21 intermediate revisions by 8 users not shown)
Line 1: Line 1:
<span style="background:white; color:red">
#REDIRECT [[TWOG/v1.0]]
<br>
''' !! WARNING !!'''<br>
<br>
'''THIS IS A PRELIMINARY DESIGN, IT HAS NOT BEEN TESTED YET.'''<br>
'''DO NOT USE FOR MASS PRODUCTION AS LONG AS THIS MESSAGE REMAIN.'''
</span>
<br>
<br>
 
[[Image:Twog_v1-00_3D_top.jpg|400px|Twog v1.00 3D top view]]
[[Image:Twog_v1-00_3D_bottom.jpg|400px|Twog v1.00 3D bottom view]]
<br>
 
== Hardware Revision History ==
 
{|border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
!''Version #''!!''Release Date''!!''Release Notes''
|-
|v1.00||04/2008||Initial release of Twog v1
|}
 
== Features ==
 
* Single [http://www.standardics.nxp.com/products/lpc2000/lpc214x LPC2148 MCU]
* 8 x Analog input channels 0V - 3.3V (2 channels with optional on-board resistor bridge)
* 1 x 3.3V TTL UART (5V tolerant)
* 8 x PWM outputs
* 1 x R/C receiver PPM frame input
* 1 x [http://en.wikipedia.org/wiki/Serial_Peripheral_Interface SPI] bus
* 1 x [http://en.wikipedia.org/wiki/I2c I<sup>2</sup>C] bus
* 1 x USB (client)
* 5V/2.5A switching power supply & 3.3V/1A linear regulator
* 3 x status LEDs with attached test point
* ?? grams
* 40.2 x 30.5mm (1.6" x 1.2")
* 2 layers PCB design, 0603 components
 
== Architecture ==
[[Image:Twog_v1_architecture.png]]
 
== Pinout ==
Pins Name and Type are specified with respect to the Autopilot Board
 
[[Image:Twog_v1-00_pinout.png]]
 
 
{|border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
|+'''SERIAL'''
!''Pin #''!!width="80"|''Name''!!''Type''!!width="500"|''Description''!!width="50"|''Suggested Color''
|-
|1||GND||PWR||common ground||style="background:black; color:white"|Black
|-
|2|| +5V||PWR||5V Rail from Tiny||style="background:Orange; color:white"|Orange
|-
|3|| +3.3V||PWR||3.3V Rail from Tiny||style="background:Red; color:white"|Red
|-
|4||DTR|| || ||
|-
|5||CTS|| || ||
|-
|6||RTS|| || ||
|-
|7||RXD1||IN||UART1 Serial Input (3.3V level, 5V Tolerant)||style="background:green; color:white"|Green
|-
|8||TXD1||OUT||UART1 Serial Output (3.3V level)||style="background:blue; color:white"|Blue
|}
 
 
{|border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
|+'''SPI'''
!''Pin #''!!width="80"|''Name''!!''Type''!!width="500"|''Description''!!width="50"|''Suggested Color''
|-
|1||GND||PWR||common ground||style="background:black; color:white"|Black
|-
|2|| +3.3V||PWR||3.3V Rail from Tiny||style="background:red; color:white"|Red
|-
|3||SSEL||IN||SSP Slave Select. Selects the SSP interface as a slave (SSEL1)||style="background:sienna; color:white"|Braun
|-
|4||MOSI||I/O||SPI1 Master Out Slave In. Data output from master or data input to slave||style="background:Grey; color:white"|Grey
|-
|5||MISO||I/O||SPI1 Master In Slave Out. Data input to master or data output from slave||style="background:Green; color:white"|Green
|-
|6||DRDY||IN||External interrupt 0 input (EINT0)||style="background:Purple; color:white"|Purple
|-
|7||SCK||I/O||SPI0 Serial clock. Clock output from master or input to slave||style="background:Yellow; color:black"|Yellow
|}
 
 
{|border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
|+'''PPM'''
!''Pin #''!!width="80"|''Name''!!''Type''!!width="500"|''Description''!!width="50"|''Suggested Color''
|-
|1||GND||PWR||common ground||style="background:black; color:white"|Black
|-
|2|| +5v||PWR||5V Rail from Tiny to R/C receiver supply||style="background:Orange; color:white"|Orange
|-
|3||PPM_IN||IN||PPM Stream from R/C Receiver (5V tolerant)||style="background:white; color:black"|White
|-
|4||SERV_RST||OUT||external PPM decoder reset ''(Note 1)''||
|-
|5||SERV_CLK||OUT||external PPM decoder clock ''(Note 1)''||
|}
''Note 1 : Used only if servos are connected to the R/C receiver''
 
 
{|border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
|+'''USB'''
!''Pin #''!!width="80"|''Name''!!''Type''!!width="500"|''Description''!!width="50"|''Suggested Color''
|-
|1||GND||PWR||common ground||style="background:black; color:white"|Black
|-
|2|| +3.3V||PWR||3.3V Rail from Tiny||style="background:red; color:white"|Red
|-
|3||USB+||I/O||USB bidirectional D+ line||style="background:green; color:white"|Green
|-
|4||USB-||I/O||USB bidirectional D- line||style="background:white; color:black"|White
|-
|5||VBUS||IN||Indicates the presence of USB bus power (P0.23) (5V level)||style="background:orange; color:white"|Orange
|-
|6||BUTTON||IN||External Button (+3.3v pullup)||
|-
|7||LED3||OUT||GPIO (LED #3 command)||
|-
|8||ADC_7||IN||Analog to Digital Converter Input #7||
|}
 
 
{|border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
|+'''IRV'''
!''Pin #''!!width="80"|''Name''!!''Type''!!width="500"|''Description''!!width="50"|''Suggested Color''
|-
|1||GND||PWR||common ground||style="background:black; color:white"|Black
|-
|2|| +3.3V||PWR||3.3V Rail from Tiny||style="background:red; color:white"|Red
|-
|3||IRV||IN||Vertical IR Sensor signal (Analog to Digital Converter Input #0)||style="background:Purple; color:white"|Purple
|}
 
 
{|border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
|+'''IRH'''
!''Pin #''!!width="80"|''Name''!!''Type''!!width="500"|''Description''!!width="50"|''Suggested Color''
|-
|1||GND||PWR||common ground||style="background:black; color:white"|Black
|-
|2|| +3.3V||PWR||3.3V Rail from Tiny||style="background:red; color:white"|Red
|-
|3||IRH_2||IN||Horizontal IR Sensor signal axis 2 (Analog to Digital Converter Input #2)||style="background:Grey; color:white"|Grey
|-
|4||IRH_1||IN||Horizontal IR Sensor signal axis 1 (Analog to Digital Converter Input #1)||style="background:Sienna; color:white"|Braun
|}
 
 
{|border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
|+'''ADC1'''
!''Pin #''!!width="80"|''Name''!!''Type''!!width="500"|''Description''!!width="50"|''Suggested Color''
|-
|1||GND||PWR||common ground||style="background:black; color:white"|Black
|-
|2|| +5v||PWR||5V Rail from Tiny||style="background:Orange; color:white"|Orange
|-
|3|| +3.3V||PWR||3.3V Rail from Tiny||style="background:red; color:white"|Red
|-
|4||ADC_4||IN||Analog to Digital Converter Input #4||
|-
|5||ADC_3||IN||Analog to Digital Converter Input #3||
|}
 
 
{|border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
|+'''ADC2'''
!''Pin #''!!width="80"|''Name''!!''Type''!!width="500"|''Description''!!width="50"|''Suggested Color''
|-
|1||GND||PWR||common ground||style="background:black; color:white"|Black
|-
|2|| +5v||PWR||5V Rail from Tiny||style="background:Orange; color:white"|Orange
|-
|3|| +3.3V||PWR||3.3V Rail from Tiny||style="background:red; color:white"|Red
|-
|4||ADC_6||IN||Analog to Digital Converter Input #6 (Maximum input level can be selected with R12 value)||
|-
|5||ADC_5||IN||Analog to Digital Converter Input #5 (Maximum input level can be selected with R13 value)||
|}
 
 
{|border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
|+'''DOWNLOAD/GPS'''
!''Pin #''!!width="80"|''Name''!!''Type''!!width="500"|''Description''!!width="50"|''Suggested Color''
|-
|1||GND||PWR||common ground||style="background:black; color:white"|Black
|-
|2|| +5v||PWR||5V Rail from Tiny||style="background:Orange; color:white"|Orange
|-
|3|| +3.3V||PWR||3.3V Rail from Tiny||style="background:red; color:white"|Red
|-
|4||BOOT||IN||In-Circuit Serial Programming (ISP) enable (P0.14, +3.3v pullup) ''(Note 2)''||
|-
|5||GPS_RESET||IN||leave unconnected, hold this pin low only for bootloader programming||
|-
|6||TXD0||OUT||UART0 Serial Output (usable with an external GPS receiver)||style="background:blue; color:white"|Blue
|-
|7||RXD0||IN||UART0 Serial Input (usable with an external GPS receiver)||style="background:green; color:white"|Green
|}
''Note 2 : Holding this pin low for at least 3mS after a RESET (or power up) instructs the controller to enter programming mode.''
 
 
{|border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
|+'''I2C'''
!''Pin #''!!width="80"|''Name''!!''Type''!!width="500"|''Description''!!width="50"|''Suggested Color''
|-
|1||GND||PWR||common ground||style="background:black; color:white"|Black
|-
|2|| +5V||PWR||5V Rail from Tiny||style="background:Orange; color:white"|Orange
|-
|3|| +3.3V||PWR||3.3V Rail from Tiny||style="background:red; color:white"|Red
|-
|4||SDA||I/O||I2C bus Serial DAta||
|-
|5||SCL||I/O||I2C bus Serial CLock||
|}
 
 
{|border="1"  cellspacing="0" style="text-align:center" cellpadding="6"
|+'''CAM'''
!''Pin #''!!width="80"|''Name''!!''Type''!!width="500"|''Description''!!width="50"|''Suggested Color''
|-
|1||GND||PWR||common ground||style="background:black; color:white"|Black
|-
|2|| +5V||PWR||5V Rail from Tiny||style="background:Orange; color:white"|Orange
|-
|3|| +3.3V||PWR||3.3V Rail from Tiny||style="background:red; color:white"|Red
|-
|4||CAM_SW||OUT||video source/payload selection signal||
|-
|5||SRV_1||OUT||Servo PWM signal #1||
|-
|6||SRV_5||OUT||Servo PWM signal #5||
|-
|7||AUX||PWR||video/payload switchable 5V power suply||
|}
 
== Schematic ==
[[Image:Twog_v1-00_schematic.png|left|900px|Twog v1.00 Schematic]]
<br style="clear:both">
 
== PCB ==
<gallery>
Image:Twog_v1-00_PCB_top.jpg|PCB top side view (Olimex)
Image:Twog_v1-00_top_copper.png|PCB top copper
Image:Twog_v1-00_PCB_bottom.jpg|PCB bottom side view (Olimex)
Image:Twog_v1-00_bottom_copper.png|PCB bottom copper
</gallery>
 
=== Gerber & Drill Files  ===
 
''Download [[Media:Gerber_for_Twog_v1-0.zip|Twog v1.00 gerber & drill files (zip)]]''
 
RS274X, units = Inches, format = 2:5
 
:*Twog_v1-00.GTO (Top Component Print Layer)
:*Twog_v1-00.GTS (Top Solder Mask)
:*Twog_v1-00.GTL (Top Copper Layer)
:*Twog_v1-00.GBL (Bottom Copper Layer)
:*Twog_v1-00.GBS (Bottom Solder Mask)
:*Twog_v1-00.DRI (NC XY coordinates & Drill tools sizes)
 
=== Possible PCB Manufacturers ===
 
:*[http://www.olimex.com/pcb/ Olimex]
:*[[Get_Hardware|Private companies and enthusiast hardware suppliers page]]
 
== Assembly ==
 
===Components Layout===
<gallery>
Image:Twog_v1-00_2D_top.jpg|Top components Layout
Image:Twog_v1-00_2D_bottom.jpg|Bottom components Layout
Image:Twog_v1-00_Top_Components.png|Top components details
Image:Twog_v1-00_Bottom_Components.png|Bottom components details
</gallery>
 
=== Bill Of Material ===
Download ''[[Media:Twog_v1.00_BOM.zip|Twog v1.00 Bill Of Material (zipped .xls file)]]''
 
 
{|border="1" cellspacing="0" style="text-align:center" cellpadding="2" valign="top"
|-style="background:LightYellow; color:black"
!''Qty''!!''Manufacturer part #''!!width="150pt"|''Schematic part name / value''!!''Designator''!!width="150pt"|''Description''!!''Manufacturer''!!''Package''!!''Optional''!!''Digikey.com''!!width="150pt"|''Other distributor''
|-style="background:WhiteSmoke; color:black"
|colspan="10" align="left"|''Resistors''
|-
|2||ERJ-3EKF33R0V||33||R21, R22||1/16W, 5%||Panasonic||0603||||P33HCT-ND||
|-
|1||ERJ-3EKF1000V||100||R24||1/16W, 5%||Panasonic||0603||||P100HCT-ND||
|-
|1||ERJ-3EKF3300V||330||R4||1/16W, 5%||Panasonic||0603||||P330HCT-ND||
|-
|3||ERJ-3EKF1001V||1K||R16, R17, R23||1/16W, 5%||Panasonic||0603||||P1.00KHCT-ND||
|-
|3||ERJ-3EKF1501V||1.5K||R2, R19, R20||1/16W, 5%||Panasoni||0603||||P1.50KHCT-ND||
|-
|2||ERJ-3EKF1801V||1.8k ''(see note1)''||R13,R18||1/16W, 5%||Panasonic||0603||||P1.8KHCT-ND||
|-
|3||ERJ-3EKF3301V||3.3K||R3, R14, R15||1/16W, 5%||Panasonic||0603||||P3.3KHCT-ND||
|-
|7||ERJ-3EKF1002V||10K||R1, R6 to R11||1/16W, 5%||Panasonic||0603||||P10.0KHCT-ND||
|-
|1||ERJ-3EKF1502V||15K ''(see note2)''||R12||1/16W, 5%||Panasonic||0603||||P15.0KHCT-ND||
|- style="background:WhiteSmoke; color:black"
|colspan="10" align="left"|''Capacitors''
|-
|4||C0603C180J5GAC||18pF||C26 to C29||50V, 5%||Kemet||0603||||399-1052-1-ND||
|-
|18||C0603C104K5RAC||100nF||C2,C3,C5 to C20||50V, 10%||Kemet||0603||||399-5089-1-ND||
|-
|2||T520A336M006ATE070||33uF/6V||C24, C25||SMD tantalum capacitor||Kemet||A case (EIA 3216-18)||||399-4719-1-ND||
|-
|2||TAJD107K020R||100uF/20V||C1, C21||SMD tantalum capacitor||AVX Corp.||D case (EIA 7343-31)||||478-1724-1-ND||
|- style="background:WhiteSmoke; color:black"
|colspan="10" align="left"|Semiconductors
|-
|1||LM3940IMP-3.3||LM3940IMP-3.3||IC3||1A low dropout regulator for 5V to 3.3V conversion||National Semic.||SOT223||||LM3940IMP-3.3CT-ND||
|-
|1||TPS2051BDBV||TPS2051B||IC4||Current Limited Power Distribution Switch||Texas Instr.||SOT23-5||''yes''||296-21265-1-ND||
|-
|1||LPC2148FBD64||LPC2148FBD64||IC5||Single-chip ARM7 32-bit microcontroller||NXP||LQFP64||||568-1765-ND||
|-
|1||CD4017BPW||4017||IC6||Decade Counter/Divider with 10 Decoded Outputs||Texas Instr.||TSSOP16||||296-14252-1-ND||
|-
|1||APT1608SURCK||KP-1608SURC||LED1||SMD Chip Red LED Lamp ||Kingbright||0603||''yes''||754-1123-1-ND||
|-
|1||APT1608MGC||KP-1608MGC||LED2||SMD Chip Green LED Lamp ||Kingbright||0603||||754-1118-1-ND||
|-
|1||APT1608SYCK||KP-1608SYC||LED3||SMD Chip Yellow LED Lamp ||Kingbright||0603||''yes''||754-1124-1-ND||
|-
|1||BC807-40||BC807||T1||PNP general purpose transistor||NXP||SOT23||||568-1629-1-ND||
|- style="background:WhiteSmoke; color:black"
|colspan="10" align="left"|''Modules''
|-
|1||PTH08080WAH||PTH_08080W||IC1||2.25A Wide-input adjustable switching regulator||Texas Instr.||specific||||296-20432-ND||
|- style="background:WhiteSmoke; color:black"
|colspan="10" align="left"|''Connectors''
|-
|7||53047-0310 ||SRV0, SRV4, SRV2, SRV6, IRV, SRV3, SRV7||J12 to J18||Picoblade 3 pins 1.25mm straight header||Molex||specific||||WM1732-ND||
|-
|1||53047-0410||IRH||J11||Picoblade 4 pins 1.25mm straight header||Molex||specific||||WM1733-ND||
|-
|4||53047-0510||PPM,I2C,ADC2,ADC1||J4, J6, J8, J10||Picoblade 5 pins 1.25mm straight header||Molex||specific||''J6,J8,J10''||WM1734-ND||
|-
|3||53047-0710||SPI,CAM,DOWNLOAD/GPS||J3, J5, J7||Picoblade 7 pins 1.25mm straight header||Molex||specific||''J3,J5''||WM1736-ND||
|-
|2||53047-0810||SERIAL,USB||J2, J9||Picoblade 8 pins 1.25mm straight header||Molex||specific||||WM1737-ND||
|- style="background:WhiteSmoke; color:black"
|colspan="10" align="left"|''Other''
|-
|1||405C35B12M00000||CTS405 12MHz||Q1||SMD 12MHz Quartz Crystal||CTS||specific||||CTX639CT-ND||
 
|}
 
== Downloads ==
 
 
'''Source files'''
:*download ''[[Media:Twog_v1.00_protel_design.zip|Twog v1.00 Protel 99SE SP6 design (zipped Protel 99 ddb file)]]''
'''Gerber & Drill files'''
:*download ''[[Media:Gerber_for_Twog_v1.00.zip|Twog v1.00 gerber & drill files (zip)]]''
'''Assembly files'''
:*download ''[[Media:Twog_v1.00_components_layouts.pdf|Twog v1.00 Components layouts (pdf)]]''
:*download ''[[Media:Twog_v1.00_BOM.zip|Twog v1.00 Bill Of Material (zipped .xls file)]]''

Latest revision as of 02:39, 11 December 2011

Redirect to: