Armando47/Hardware: Difference between revisions

From ciapini
Jump to navigation Jump to search
Line 64: Line 64:
|-
|-
||8||PTT_IN||PTT In
||8||PTT_IN||PTT In
|-
||9|| ||
|}
|}



Revision as of 23:38, 2 October 2015

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

il circuito stampato + componenti avra spessore minimo (6 mm), e dovrebbe essere abbastanza piccolo (4 - 5 cm2)

Connessioni

sulla scheda sono saldati pin header maschio. passo 2.54, 2 o 1.27 mm ?

Connettore GPIO

header 8 pin, ad uso generico (radiocomandi) e per esporre i simboli in maniera digitale

1 GPIO0
2 GPIO1
3 GPIO2
4 GPIO3
5 GPIO4
6 GPIO5
7 GPIO6
8 GPIO7

Connettore TinyTrack

header 8 pin

ha tutto quel che serve lato radio

va collegato a un db9 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/

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

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

1 U2_RX UART2 receive.
2 U2_TX UART2 transmit.
3 U2_GND Ground

Connettore programmazione

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

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

Connettore alimentazione

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

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

Mappa pin

Pin Funzione Nome porta sul uC
1 MCLR MCLR
2 ADC Audio In L AN0/VREF+/CN2/RA0
3 ADC Audio In R AN1/VREF-/CN3/RA1
4 Dati ICSP/GPIO0/PWM0/ANALOG0 PGED1/AN2/C2IN-/RP0(1)/CN4/RB0
5 Clock ICSP/GPIO1/PWM1/ANALOG1 PGEC1/ AN3/C2IN+/RP1(1)/CN5/RB1
6 GPIO2/PWM2/ANALOG2 AN4/C1IN-/RP2/CN6/RB2
7 GPIO3/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 GPIO4 SOSCI/RP4(1)/CN1/PMBE/RB4
12 GPIO5 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 right + AN12/DAC1RP/RP12(1)/CN14/PMD0/RB12
24 DAC right - AN11/DAC1RN/RP13(1)/CN13/PMRD/RB13
25 DAC left + AN10/DAC1LP/RTCC/RP14(1)/CN12/PMWR/RB14
26 DAC left - AN9/DAC1LN/RP15(1)/CN11/PMCS1/RB15
27 V - analogico AVSS
28 V + analogico AVDD