Armando47/Hardware: Difference between revisions

From ciapini
Jump to navigation Jump to search
No edit summary
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Telecom]]
L'hardware di Armando47 deve essere:
L'hardware di Armando47 deve essere:
* compatto: non piu di 500mmq
* compatto: non piu di 500mmq
Line 8: Line 9:
== PCB ==
== PCB ==


il circuito stampato + componenti avra spessore minimo (6 mm), e dovrebbe essere abbastanza piccolo (4 - 5 cm2)
http://pub.svn.esiliati.org/repos/ciapini/armando/pcb/
singola faccia, SMT o THT


* http://www.pcbproject.it/
=== DIP version ===


== Connessioni ==
CN1


sulla scheda sono saldati pin header maschio. passo 2.54, 2 o 1.27 mm ?
{|style="color:blue; background-color:#eeeeee;" cellpadding="10" cellspacing="0" border="1"
||1||GROUND||
|-
||1||Q_IN||
|-
||2||I_IN||
|-
||3||V+||
|-
||4||MCLR||
|-
||5||V+||
|-
||6||V-||
|-
||7||PGD/GPIO0||
|-
||8||PGC/GPIO1||
|-
||9||GPIO2||
|-
||11||GPIO3||
|-
||12||V-||
|}


=== Connettore GPIO ===
CN2


header 8 pin, ad uso generico (radiocomandi) e per esporre i simboli in maniera digitale
{|style="color:blue; background-color:#eeeeee;" cellpadding="10" cellspacing="0" border="1"
||1||GPIO4||
|-
||2||GPIO5||
|-
||2||V+||
|}


{|style="color:orange; background-color:#eeeeee;" cellpadding="10" cellspacing="0" border="1"
CN3
||1||GPIO0||
 
{|style="color:blue; background-color:#eeeeee;" cellpadding="10" cellspacing="0" border="1"
||1||U1RX||
|-
||2||U1TX||
|-
||3||U2RX||
|-
||4||U2TX||
|-
||5||CD||
|-
||6||V-||
|-
||7||PTT_IN||
|-
||8||PTT_OUT||
|-
|-
||2||GPIO1||
||9||OUT_Q_+||
|-
|-
||3||GPIO2||
||10||OUT_Q_-||
|-
|-
||4||GPIO3||
||11||OUT_I_+||
|-
|-
||5||GPIO4||
||12||OUT_Q_-||
|-
|-
||6||GPIO5||
||13||V-||
|}
 
== Connessioni esterne==
 
=== Armando Jack ===
 
jack plug 3.5" stereo
 
{|style="color:blue; background-color:#eeeeee;" cellpadding="10" cellspacing="0" border="1"
!contact
!segnale lato armando
!note
|-
|-
||7||GPIO6||
||T||AUDIO_IN||
|-
|-
||8||GPIO7||
||R||AUDIO_OUT||1k resistor to PTT_OUT
|-
||S||GROUND||
|}
|}


Line 44: Line 106:
ha tutto quel che serve lato radio
ha tutto quel che serve lato radio


va collegato a un db9 col pinout usato da quelli di tinytrack http://www.byonics.com/tinytrak4/
sullo chassis esposto come un db9 femmina col pinout usato da quelli di tinytrack http://www.byonics.com/tinytrak4/


http://ciapini.contaminati.net/wiki/images/TinyTrak3Plus_Schematic.png
http://ciapini.contaminati.net/wiki/images/TinyTrak3Plus_Schematic.png
Line 64: Line 126:
|-
|-
||8||PTT_IN||PTT In
||8||PTT_IN||PTT In
|-
||9|| ||
|}
|}


Line 72: Line 136:


https://www.olimex.com/Products/Modules/UEXT/
https://www.olimex.com/Products/Modules/UEXT/
=== Seriali ===
==== In-Band ====
header 1x3 pin
solo ed esclusivamente i dati trasmessi e ricevuti
non ha flow control (ne HW ne SW), bisogna studiare una strategia magari usando la out-band uart
{|style="color:green; background-color:#eeeeee;" cellpadding="10" cellspacing="0" border="1"
|-
||1||U1_RX||UART1 receive.
|-
||2||U1_TX||UART1 transmit.
|-
||3||U1_GND||Ground
|}
==== Out-Band ====
header 1x3 pin
espone un terminale tty con prompt di configurazione e dati
{|style="color:green; background-color:#eeeeee;" cellpadding="10" cellspacing="0" border="1"
|-
||1||U2_RX||UART2 receive.
|-
||2||U2_TX||UART2 transmit.
|-
||3||U2_GND||Ground
|}


=== Connettore programmazione ===
=== Connettore programmazione ===


Serve per poter programmare il pic una volta installato. Vanno ai rispettivi pin sul uC.
Serve per poter programmare il pic una volta installato. Vanno ai rispettivi pin su CN1


{| style="color:green; background-color:#ffffcc;" cellpadding="10" cellspacing="0" border="1"
{| style="color:green; background-color:#ffffcc;" cellpadding="10" cellspacing="0" border="1"
Line 128: Line 158:
|6||Non usato||Aux
|6||Non usato||Aux


|}
=== Connettore alimentazione ===
{| style="color:green; background-color:#ffffcc;" cellpadding="10" cellspacing="0" border="1"
!Pin
!Funzione
!Nome
|-
|1||input a monte del regolatore||RAW_VDD_INPUT
|-
|2||output del regolatore||REG_VDD_OUTPUT
|-
|3||input 3.3 regolati||VDD
|-
|4||massa||VSS
|}
|}


Line 165: Line 179:


1/2 MCP6022
1/2 MCP6022
== Power Management ==
quando non e' attivo ne il PTT ne il Carrier Detect, ne arrivano dati sulla UART, il device va in idle mode. avendo piedini per farlo si potrebbe anche spegnere l'LDO analogico, e con esso gli op-amp e l'AVDD.


== uC ==
== uC ==
Line 178: Line 198:
* DAC >=12bit
* DAC >=12bit


 
Usa il layout di [[CodecBoard16]]
=== Power Management ===
 
quando non e' attivo ne il PTT ne il Carrier Detect, ne arrivano dati sulla UART, il device va in idle mode. avendo piedini per farlo si potrebbe anche spegnere l'LDO analogico.
 
=== Mappa pin ===
 
{|style="color:green; background-color:#ffffdd;" cellpadding="10" cellspacing="0" border="1"
!Pin
!Funzione
!Nome
!porta sul uC
|-
|1||MCLR|| ||MCLR
|-
|2||GPIO0|| ||AN0/VREF+/CN2/RA0
|-
|3||GPIO1|| ||AN1/VREF-/CN3/RA1
|-
|4||Dati ICSP/GPIO2/PWM0/ANALOG0|| ||PGED1/AN2/C2IN-/RP0(1)/CN4/RB0
|-
|5||Clock ICSP/GPIO3/PWM1/ANALOG1|| ||PGEC1/ AN3/C2IN+/RP1(1)/CN5/RB1
|-
|6||GPIO4/PWM2/ANALOG2|| ||AN4/C1IN-/RP2/CN6/RB2
|-
|7||GPIO5/PWM3/ANALOG3|| ||AN5/C1IN+/RP3/CN7/RB3
|-
|8||V -|| ||VSS
|-
|9||Xtal 8MHz|| ||OSC1/CLKI/CN30/RA2
|-
|10||Xtal 8MHz|| ||OSC2/CLKO/CN29/PMA0/RA3
|-
|11||GPIO6|| ||SOSCI/RP4(1)/CN1/PMBE/RB4
|-
|12||GPIO7|| ||SOSCO/T1CK/CN0/PMA1/RA4
|-
|13||V +|| ||VDD
|-
|14||U1RX registro RPINR18|| ||PGED3/ASDA1/RP5 /CN27/PMD7/RB5
|-
|15||U1TX RP 00011|| ||PGEC3/ASCL1/RP6(1)/CN24/PMD6/RB6
|-
|16||U2RX registro RPINR19|| ||INT0/RP7(1)/CN23/PMD5/RB7
|-
|17||U2TX RP 00101|| ||TCK/SCL1/RP8(1)/CN22/PMD4/RB8
|-
|18||Carrier Detect|| ||TDO/SDA1/RP9(1)/CN21/PMD3/RB9
|-
|19||V -|| ||VSS
|-
|20||10 uF tantalio verso VSS|| ||VCAP
|-
|21||PTT In|| ||PGED2/TDI/RP10(1)/CN16/PMD2/RB10
|-
|22||PTT Out || ||PGEC2/TMS/RP11(1)/CN15/PMD1/RB11
|-
|23||DAC left +|| ||AN12/DAC1RP/RP12(1)/CN14/PMD0/RB12
|-
|24||DAC left -|| ||AN11/DAC1RN/RP13(1)/CN13/PMRD/RB13
|-
|25||ADC Audio In|| ||AN10/DAC1LP/RTCC/RP14(1)/CN12/PMWR/RB14
|-
|26||ADC Vbatt In|| ||AN9/DAC1LN/RP15(1)/CN11/PMCS1/RB15
|-
|27||V - analogico|| ||AVSS
|-
|28||V + analogico|| ||AVDD
 
|}

Latest revision as of 01:03, 18 January 2017

L'hardware di Armando47 deve essere:

  • compatto: non piu di 500mmq
  • semplice
  • facile da assemblare senza attrezzatura specifica: solo componenti in package 1206, DIP, SOT e SOIC
  • economico
  • robusto

PCB

http://pub.svn.esiliati.org/repos/ciapini/armando/pcb/ singola faccia, SMT o THT

DIP version

CN1

1 GROUND
1 Q_IN
2 I_IN
3 V+
4 MCLR
5 V+
6 V-
7 PGD/GPIO0
8 PGC/GPIO1
9 GPIO2
11 GPIO3
12 V-

CN2

1 GPIO4
2 GPIO5
2 V+

CN3

1 U1RX
2 U1TX
3 U2RX
4 U2TX
5 CD
6 V-
7 PTT_IN
8 PTT_OUT
9 OUT_Q_+
10 OUT_Q_-
11 OUT_I_+
12 OUT_Q_-
13 V-

Connessioni esterne

Armando Jack

jack plug 3.5" stereo

contact segnale lato armando note
T AUDIO_IN
R AUDIO_OUT 1k resistor to PTT_OUT
S GROUND

Connettore TinyTrack

header 8 pin

ha tutto quel che serve lato radio

sullo chassis esposto come un db9 femmina col pinout usato da quelli di tinytrack http://www.byonics.com/tinytrak4/

TinyTrak3Plus_Schematic.png

1 AUDIO_OUT Audio out
2 CARR_DET Carrier detect
3 PTT_OUT PTT Out
4 SW1 Switch (vedi sotto)
5 AUDIO_IN Audio in
6 GND Ground
7 VDD Ingresso positivo alimentazione non regolato
8 PTT_IN PTT In
9


SW1: This switch input will select the primary or secondary operating parameters. When left floating, or at 5 volts, the primary parameters are used. When grounded, secondary parameters are used. Whenever this switch is changed, the timers are reset, the Carried Detect LED (D2) will blink rapidly for a short time, and then a transmission will be sent. SW1 is also available on J1 pin 4. This switch input is optional, and can be left unconnected.

UEXT

https://www.olimex.com/Products/Modules/UEXT/

Connettore programmazione

Serve per poter programmare il pic una volta installato. Vanno ai rispettivi pin su CN1

Pin Funzione Nome
1 Abilitazione programmazione ICSP_MCLR
2 Positivo. Dev'essere interrompibile con jumper VDD
3 Negativo VSS
4 Dati programmazione ICSP_DATA
5 Clock programmazione ICSP_CLOCK
6 Non usato Aux

Componenti interni

Filtro anti-aliasing

4th order Butterworth (2 x sallen-key)

Buffer uscita DAC

http://ww1.microchip.com/downloads/en/DeviceDoc/70211B.pdf

1/2 MCP6022


Power Management

quando non e' attivo ne il PTT ne il Carrier Detect, ne arrivano dati sulla UART, il device va in idle mode. avendo piedini per farlo si potrebbe anche spegnere l'LDO analogico, e con esso gli op-amp e l'AVDD.

uC

http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en532298 dsPIC33FJ128GP802

  • RAM: 16K
  • Flash: 128K
  • Timers: 5
  • UART: 2
  • primitive DSP
  • ADC >=12bit
  • DAC >=12bit

Usa il layout di CodecBoard16