Initial commit

This commit is contained in:
2019-09-21 14:41:54 +02:00
commit b76b9fbbf7
156 changed files with 962832 additions and 0 deletions

BIN
code/avrdude Executable file

Binary file not shown.

14791
code/avrdude.conf Normal file

File diff suppressed because it is too large Load Diff

96
code/build/DS3231.lst Normal file
View File

@@ -0,0 +1,96 @@
1 .file "DS3231.c"
2 __SP_H__ = 0x3e
3 __SP_L__ = 0x3d
4 __SREG__ = 0x3f
5 __RAMPZ__ = 0x3b
6 __tmp_reg__ = 0
7 __zero_reg__ = 1
8 .text
9 .Ltext0:
10 .cfi_sections .debug_frame
11 .global DS3231_init
13 DS3231_init:
14 .LFB0:
15 .file 1 "src/DS3231.c"
1:src/DS3231.c **** #include "i2c.h"
2:src/DS3231.c **** #include "DS3231.h"
3:src/DS3231.c **** #include "pinout.h"
4:src/DS3231.c **** #include <avr/io.h>
5:src/DS3231.c ****
6:src/DS3231.c ****
7:src/DS3231.c ****
8:src/DS3231.c **** void DS3231_init(void){
16 .loc 1 8 0
17 .cfi_startproc
18 /* prologue: function */
19 /* frame size = 0 */
20 /* stack size = 0 */
21 .L__stack_usage = 0
22 0000 0895 ret
23 .cfi_endproc
24 .LFE0:
26 .global DS3231_seconds
28 DS3231_seconds:
29 .LFB1:
9:src/DS3231.c **** //i2c_start(DS3231_ADDRESS);
10:src/DS3231.c **** }
11:src/DS3231.c ****
12:src/DS3231.c ****
13:src/DS3231.c ****
14:src/DS3231.c **** int DS3231_seconds(void){
30 .loc 1 14 0
31 .cfi_startproc
32 /* prologue: function */
33 /* frame size = 0 */
34 /* stack size = 0 */
35 .L__stack_usage = 0
15:src/DS3231.c ****
16:src/DS3231.c **** char ret = i2c_start(DS3231_ADDRESS+I2C_WRITE);
36 .loc 1 16 0
37 0002 88E6 ldi r24,lo8(104)
38 0004 0E94 0000 call i2c_start
39 .LVL0:
17:src/DS3231.c **** /*
18:src/DS3231.c **** USART_Transmit_String(" Return ");
19:src/DS3231.c **** //putchar(ret);
20:src/DS3231.c **** USART_Transmit_String("\n");
21:src/DS3231.c **** */
22:src/DS3231.c **** /*
23:src/DS3231.c **** if(ret){ //failed
24:src/DS3231.c **** PORTB |= STATUS_LED_B;
25:src/DS3231.c **** i2c_stop();
26:src/DS3231.c **** }else{
27:src/DS3231.c **** // issuing start condition ok, device accessible
28:src/DS3231.c **** i2c_write(0x05); // write address = 5
29:src/DS3231.c **** i2c_write(0x75); // ret=0 -> Ok, ret=1 -> no ACK
30:src/DS3231.c **** i2c_stop();
31:src/DS3231.c ****
32:src/DS3231.c **** i2c_start_wait(DS3231_ADDRESS+I2C_WRITE); // set device address and write mode
33:src/DS3231.c **** i2c_write(REG_SECONDS); // write address = 5
34:src/DS3231.c **** i2c_rep_start(DS3231_ADDRESS+I2C_READ); // set device address and read mode
35:src/DS3231.c **** ret = i2c_readNak(); // read one byte
36:src/DS3231.c **** i2c_stop();
37:src/DS3231.c **** }
38:src/DS3231.c ****
39:src/DS3231.c **** return ret;
40:src/DS3231.c **** */
41:src/DS3231.c **** }
40 .loc 1 41 0
41 0008 0895 ret
42 .cfi_endproc
43 .LFE1:
45 .Letext0:
46 .file 2 "inc/i2c.h"
DEFINED SYMBOLS
*ABS*:00000000 DS3231.c
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccV7Y02n.s:2 *ABS*:0000003e __SP_H__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccV7Y02n.s:3 *ABS*:0000003d __SP_L__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccV7Y02n.s:4 *ABS*:0000003f __SREG__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccV7Y02n.s:5 *ABS*:0000003b __RAMPZ__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccV7Y02n.s:6 *ABS*:00000000 __tmp_reg__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccV7Y02n.s:7 *ABS*:00000001 __zero_reg__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccV7Y02n.s:13 .text:00000000 DS3231_init
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccV7Y02n.s:28 .text:00000002 DS3231_seconds
UNDEFINED SYMBOLS
i2c_start

BIN
code/build/DS3231.o Normal file

Binary file not shown.

BIN
code/build/adc 2.o Normal file

Binary file not shown.

114
code/build/adc.lst Normal file
View File

@@ -0,0 +1,114 @@
1 .file "adc.c"
2 __SP_H__ = 0x3e
3 __SP_L__ = 0x3d
4 __SREG__ = 0x3f
5 __RAMPZ__ = 0x3b
6 __tmp_reg__ = 0
7 __zero_reg__ = 1
8 .text
9 .Ltext0:
10 .cfi_sections .debug_frame
11 .global adc_setup
13 adc_setup:
14 .LFB0:
15 .file 1 "src/adc.c"
1:src/adc.c **** #include "adc.h"
2:src/adc.c **** #include "pinout.h"
3:src/adc.c **** #include <avr/io.h>
4:src/adc.c ****
5:src/adc.c **** void adc_setup(void){
16 .loc 1 5 0
17 .cfi_startproc
18 /* prologue: function */
19 /* frame size = 0 */
20 /* stack size = 0 */
21 .L__stack_usage = 0
6:src/adc.c **** ADMUX = (1 << REFS0); //Versorgungsspannung definieren
22 .loc 1 6 0
23 0000 80E4 ldi r24,lo8(64)
24 0002 8093 7C00 sts 124,r24
7:src/adc.c **** ADCSRA|= (1 << ADEN) //enable bit für adc
25 .loc 1 7 0
26 0006 EAE7 ldi r30,lo8(122)
27 0008 F0E0 ldi r31,0
28 000a 8081 ld r24,Z
29 000c 8368 ori r24,lo8(-125)
30 000e 8083 st Z,r24
31 0010 0895 ret
32 .cfi_endproc
33 .LFE0:
35 .global adc_read
37 adc_read:
38 .LFB1:
8:src/adc.c **** | (1 << ADPS0) //setze Prescaler für Abtastfrequenz
9:src/adc.c **** | (1 << ADPS1) //setze Prescaler für Abtastfrequenz
10:src/adc.c **** | (0 << ADPS2); //setze Prescaler für Abtastfrequenz
11:src/adc.c **** }
12:src/adc.c ****
13:src/adc.c ****
14:src/adc.c ****
15:src/adc.c **** int adc_read(unsigned char adc_pin) {
39 .loc 1 15 0
40 .cfi_startproc
41 .LVL0:
42 /* prologue: function */
43 /* frame size = 0 */
44 /* stack size = 0 */
45 .L__stack_usage = 0
16:src/adc.c **** ADMUX &= 0b11110000; //Alte Port-Select Flags löschen
46 .loc 1 16 0
47 0012 9091 7C00 lds r25,124
48 0016 907F andi r25,lo8(-16)
49 0018 9093 7C00 sts 124,r25
17:src/adc.c **** ADMUX|=adc_pin; //Neuen Eingang setzen
50 .loc 1 17 0
51 001c 9091 7C00 lds r25,124
52 0020 982B or r25,r24
53 0022 9093 7C00 sts 124,r25
18:src/adc.c **** ADCSRA |= (1 << ADSC); // eine Wandlung "single conversion"
54 .loc 1 18 0
55 0026 8091 7A00 lds r24,122
56 .LVL1:
57 002a 8064 ori r24,lo8(64)
58 002c 8093 7A00 sts 122,r24
59 .L4:
19:src/adc.c **** while (ADCSRA & (1 << ADSC) ) { // auf Abschluss der Konvertierung warten
60 .loc 1 19 0 discriminator 1
61 0030 8091 7A00 lds r24,122
62 0034 86FD sbrc r24,6
63 0036 00C0 rjmp .L4
20:src/adc.c **** }
21:src/adc.c **** int ADCresult = ADCL;
64 .loc 1 21 0
65 0038 2091 7800 lds r18,120
66 .LVL2:
22:src/adc.c **** ADCresult += (ADCH << 8);
67 .loc 1 22 0
68 003c 8091 7900 lds r24,121
69 .LVL3:
70 0040 90E0 ldi r25,0
71 0042 982F mov r25,r24
72 0044 8827 clr r24
73 .LVL4:
23:src/adc.c **** return ADCresult;
24:src/adc.c **** }
74 .loc 1 24 0
75 0046 820F add r24,r18
76 0048 911D adc r25,__zero_reg__
77 004a 0895 ret
78 .cfi_endproc
79 .LFE1:
81 .Letext0:
82 .file 2 "/usr/local/CrossPack-AVR-20131216/avr/include/stdint.h"
DEFINED SYMBOLS
*ABS*:00000000 adc.c
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccQrSfzE.s:2 *ABS*:0000003e __SP_H__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccQrSfzE.s:3 *ABS*:0000003d __SP_L__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccQrSfzE.s:4 *ABS*:0000003f __SREG__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccQrSfzE.s:5 *ABS*:0000003b __RAMPZ__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccQrSfzE.s:6 *ABS*:00000000 __tmp_reg__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccQrSfzE.s:7 *ABS*:00000001 __zero_reg__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccQrSfzE.s:13 .text:00000000 adc_setup
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccQrSfzE.s:37 .text:00000012 adc_read
NO UNDEFINED SYMBOLS

BIN
code/build/adc.o Normal file

Binary file not shown.

185
code/build/i2c.lst Normal file
View File

@@ -0,0 +1,185 @@
1 .file "i2c.c"
2 __SP_H__ = 0x3e
3 __SP_L__ = 0x3d
4 __SREG__ = 0x3f
5 __RAMPZ__ = 0x3b
6 __tmp_reg__ = 0
7 __zero_reg__ = 1
8 .text
9 .Ltext0:
10 .cfi_sections .debug_frame
11 .global i2c_init
13 i2c_init:
14 .LFB0:
15 .file 1 "src/i2c.c"
1:src/i2c.c **** #include "i2c.h"
2:src/i2c.c **** #include "pinout.h"
3:src/i2c.c **** #include <util/twi.h>
4:src/i2c.c **** #include <avr/io.h>
5:src/i2c.c ****
6:src/i2c.c ****
7:src/i2c.c **** void i2c_init(void)
8:src/i2c.c **** {
16 .loc 1 8 0
17 .cfi_startproc
18 /* prologue: function */
19 /* frame size = 0 */
20 /* stack size = 0 */
21 .L__stack_usage = 0
9:src/i2c.c **** /* initialize TWI clock: 100 kHz clock, TWPS = 0 => prescaler = 1 */
10:src/i2c.c ****
11:src/i2c.c **** TWSR = 1; /* no prescaler */
22 .loc 1 11 0
23 0000 81E0 ldi r24,lo8(1)
24 0002 8093 B900 sts 185,r24
12:src/i2c.c **** TWBR = ((F_CPU/SCL_CLOCK)-16)/2; /* must be > 10 for stable operation */
25 .loc 1 12 0
26 0006 8BE4 ldi r24,lo8(75)
27 0008 8093 B800 sts 184,r24
28 000c 0895 ret
29 .cfi_endproc
30 .LFE0:
32 .global i2c_start
34 i2c_start:
35 .LFB1:
13:src/i2c.c ****
14:src/i2c.c **** }
15:src/i2c.c ****
16:src/i2c.c ****
17:src/i2c.c **** unsigned char i2c_start(unsigned char address){
36 .loc 1 17 0
37 .cfi_startproc
38 .LVL0:
39 /* prologue: function */
40 /* frame size = 0 */
41 /* stack size = 0 */
42 .L__stack_usage = 0
18:src/i2c.c **** char DATA = 0b10011000;
19:src/i2c.c **** //Send START condition
20:src/i2c.c **** TWCR = (1<<TWINT)|
43 .loc 1 20 0
44 000e 94EA ldi r25,lo8(-92)
45 0010 9093 BC00 sts 188,r25
46 .L4:
21:src/i2c.c **** (1<<TWSTA)|
22:src/i2c.c **** (1<<TWEN);
23:src/i2c.c ****
24:src/i2c.c **** //Wait for TWINT Flag set. This indicates that the START condition has been transmitted.
25:src/i2c.c **** while (!(TWCR &(1<<TWINT)));
47 .loc 1 25 0 discriminator 1
48 0014 9091 BC00 lds r25,188
49 0018 97FF sbrs r25,7
50 001a 00C0 rjmp .L4
26:src/i2c.c ****
27:src/i2c.c **** //Check value of TWI Status Register. Mask prescaler bits. If status different from START go to ER
28:src/i2c.c **** if ((TWSR & 0xF8) != TW_START){
51 .loc 1 28 0
52 001c 9091 B900 lds r25,185
29:src/i2c.c **** //ERROR();
30:src/i2c.c **** }
31:src/i2c.c ****
32:src/i2c.c **** //Load SLA_W into TWDR Register. Clear TWINT bit in TWCR to start transmission of address.
33:src/i2c.c **** TWDR = address + I2C_WRITE;
53 .loc 1 33 0
54 0020 8093 BB00 sts 187,r24
34:src/i2c.c **** TWCR = (1<<TWINT) |
55 .loc 1 34 0
56 0024 84E8 ldi r24,lo8(-124)
57 .LVL1:
58 0026 8093 BC00 sts 188,r24
59 .LVL2:
60 .L6:
35:src/i2c.c **** (1<<TWEN);
36:src/i2c.c ****
37:src/i2c.c **** //Wait for TWINT Flag set. This indicates that the SLA+W has been transmitted, and ACK/NACK has be
38:src/i2c.c **** while (!(TWCR & (1<<TWINT)));
61 .loc 1 38 0 discriminator 1
62 002a 8091 BC00 lds r24,188
63 002e 87FF sbrs r24,7
64 0030 00C0 rjmp .L6
39:src/i2c.c ****
40:src/i2c.c **** //Check value of TWI Status Register. Mask prescaler bits. If status different from MT_SLA_ACK go
41:src/i2c.c **** if ((TWSR & 0xF8) != TW_MT_SLA_ACK){
65 .loc 1 41 0
66 0032 8091 B900 lds r24,185
42:src/i2c.c **** // ERROR();
43:src/i2c.c **** }
44:src/i2c.c ****
45:src/i2c.c **** //Load DATA into TWDR Register. Clear TWINT bit in TWCR to start transmission of data.
46:src/i2c.c **** TWDR = DATA;
67 .loc 1 46 0
68 0036 88E9 ldi r24,lo8(-104)
69 0038 8093 BB00 sts 187,r24
47:src/i2c.c **** TWCR = (1<<TWINT) |
70 .loc 1 47 0
71 003c 84E8 ldi r24,lo8(-124)
72 003e 8093 BC00 sts 188,r24
73 .L8:
48:src/i2c.c **** (1<<TWEN);
49:src/i2c.c ****
50:src/i2c.c **** //Wait for TWINT Flag set. This indicates that the DATA has been transmitted, and ACK/NACK has bee
51:src/i2c.c **** while (!(TWCR &(1<<TWINT)));
74 .loc 1 51 0 discriminator 1
75 0042 8091 BC00 lds r24,188
76 0046 87FF sbrs r24,7
77 0048 00C0 rjmp .L8
52:src/i2c.c ****
53:src/i2c.c **** //Check value of TWI Status Register. Mask prescaler bits. If status different from MT_DATA_ACK go
54:src/i2c.c **** if ((TWSR & 0xF8) != TW_MT_DATA_ACK){
78 .loc 1 54 0
79 004a 8091 B900 lds r24,185
55:src/i2c.c **** // ERROR();
56:src/i2c.c **** }
57:src/i2c.c ****
58:src/i2c.c **** //Transmit STOP condition
59:src/i2c.c **** TWCR = (1<<TWINT)|
80 .loc 1 59 0
81 004e 84E9 ldi r24,lo8(-108)
82 0050 8093 BC00 sts 188,r24
60:src/i2c.c **** (1<<TWEN) |
61:src/i2c.c **** (1<<TWSTO);
62:src/i2c.c ****
63:src/i2c.c ****
64:src/i2c.c **** /*
65:src/i2c.c **** TWCR = _BV(TWINT) | _BV(TWSTA) | _BV(TWEN);
66:src/i2c.c **** while (!(TWCR & (1<<TWINT)));
67:src/i2c.c **** if ((TWSR & 0xF8) != TW_START)
68:src/i2c.c **** return 1;
69:src/i2c.c **** //ERROR(); //Fehlerbehandlung
70:src/i2c.c **** TWDR = address + I2C_WRITE;
71:src/i2c.c **** TWCR = (1<<TWINT) | (1<<TWEN);
72:src/i2c.c **** while (!(TWCR & (1<<TWINT)));
73:src/i2c.c **** if ((TWSR & 0xF8) != TW_MT_SLA_ACK)
74:src/i2c.c **** //ERROR();
75:src/i2c.c **** return 2;
76:src/i2c.c ****
77:src/i2c.c **** TWDR = address;
78:src/i2c.c **** TWCR = (1<<TWINT) | (1<<TWEN);
79:src/i2c.c **** while (!(TWCR & (1<<TWINT)));
80:src/i2c.c **** if ((TWSR & 0xF8) != TW_MT_DATA_ACK)
81:src/i2c.c **** return 3;
82:src/i2c.c **** //ERROR();
83:src/i2c.c **** TWCR = (1<<TWINT)|(1<<TWEN)|
84:src/i2c.c **** (1<<TWSTO);
85:src/i2c.c **** */
86:src/i2c.c **** return 0;
87:src/i2c.c **** }
83 .loc 1 87 0
84 0054 80E0 ldi r24,0
85 0056 0895 ret
86 .cfi_endproc
87 .LFE1:
89 .Letext0:
90 .file 2 "/usr/local/CrossPack-AVR-20131216/avr/include/stdint.h"
DEFINED SYMBOLS
*ABS*:00000000 i2c.c
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccKg5qqS.s:2 *ABS*:0000003e __SP_H__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccKg5qqS.s:3 *ABS*:0000003d __SP_L__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccKg5qqS.s:4 *ABS*:0000003f __SREG__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccKg5qqS.s:5 *ABS*:0000003b __RAMPZ__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccKg5qqS.s:6 *ABS*:00000000 __tmp_reg__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccKg5qqS.s:7 *ABS*:00000001 __zero_reg__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccKg5qqS.s:13 .text:00000000 i2c_init
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccKg5qqS.s:34 .text:0000000e i2c_start
NO UNDEFINED SYMBOLS

BIN
code/build/i2c.o Normal file

Binary file not shown.

1
code/build/main.eep Normal file
View File

@@ -0,0 +1 @@
:00000001FF

88
code/build/main.hex Normal file
View File

@@ -0,0 +1,88 @@
:100000000C9446000C94D8010C94E5010C94650006
:100010000C9465000C9465000C9465000C946500CC
:100020000C9465000C9465000C9465000C946500BC
:100030000C9465000C9465000C9465000C949A0176
:100040000C9465000C9465000C9465000C9465009C
:100050000C94EF010C9465000C9465000C94650001
:100060000C9465000C9465000C9465000C9465007C
:100070000C9465000C9465000C9465000C9465006C
:100080000C9465000C9465000C94650011241FBE4F
:10009000CFEFD0E4DEBFCDBF11E0A0E0B1E0E2E100
:1000A000F5E000E00BBF02C007900D92A834B10745
:1000B000D9F721E0A8E4B1E001C01D92AE34B20747
:1000C000E1F70E941F020C9487020C94000010922A
:1000D000000110920101109202011092030110928E
:1000E0000401109205010895FC01E150FF4F808149
:1000F0008F5F808308954298E0E0F1E081918EBDAA
:100100000DB407FEFDCF81E0E630F807B9F7429A5B
:10011000089591ED980F9A3040F4DB01A050BF4F45
:10012000E82FF0E0E35FFE4F0BC090EA980F9A31A2
:1001300050F4DB01A050BF4FE82FF0E0EE53FF4F2B
:1001400080818C9308959FEB980F9A3140F4DB01E6
:10015000A050BF4FE82FF0E0EE51FF4FF1CF8032BB
:1001600029F4FB01E050FF4F108208958D3229F4ED
:10017000FB01E050FF4F80E2808308950F931F93AF
:10018000CF93DF938C01C0E0D0E0BE01F8018191F4
:100190008F010E9489002196C630D105B1F7DF9109
:1001A000CF911F910F910C947B009FE9980F99318B
:1001B00040F4DB01A050BF4FE82FF0E0EE53FF4FBB
:1001C0000BC09EEB980F993148F4DB01A050BF4F54
:1001D000E82FF0E0EE51FF4F80818C93089561503D
:1001E0007F4F835C9E4FFC018081FB0180830895DB
:1001F000089588E60E940401089581E08093B90083
:100200008BE48093B800089594EA9093BC00909199
:10021000BC0097FFFCCF9091B9008093BB0084E8AD
:100220008093BC008091BC0087FFFCCF8091B90017
:1002300088E98093BB0084E88093BC008091BC0077
:1002400087FFFCCF8091B90084E98093BC0080E0F7
:10025000089580E480937C00EAE7F0E08081836881
:100260008083089590917C00907F90937C00909182
:100270007C00982B90937C0080917A00806480931E
:100280007A0080917A0086FDFCCF209178008091E1
:10029000790090E0982F8827820F911D08951A9B6E
:1002A00005C0479A82B18C7F82B908954798119A08
:1002B000089586B1089582E081B983EA84B98CE912
:1002C00087B980EA8AB983E58CBD81E08DBD88B1AC
:1002D000887F88B9429A5D9A43988DB383608DBBBD
:1002E000E9E6F0E080818B608083E8E6F0E08081E1
:1002F0008460808380E88093B00083E88093B100BD
:10030000809106018093B30010928000E1E8F0E054
:1003100010828081856080838FEF90E090938900C8
:1003200080938800EFE6F0E080818162808378949A
:100330000C9467001F920F920FB60F9211248F93A7
:100340009F9385B192E0892785B986EE99EF9093C6
:100350008500809384008091480190914901019625
:1003600090934901809348010B97DCF0109249016A
:100370001092480180914A0190914B01019690930F
:100380004B0180934A0185B191E0892785B980911D
:100390004A0190914B01409724F010924B0110922A
:1003A0004A019F918F910F900FBE0F901F9018954B
:1003B0001F920F920FB60F9211248F9389B18F91D4
:1003C0000F900FBE0F901F9018951F920F920FB6AF
:1003D0000F9211240F900FBE0F901F9018951F922F
:1003E0000F920FB60F9211240F900FBE0F901F9017
:1003F00018958093B30008959093C5008093C4002E
:1004000088E08093C10086E08093C20008959091B7
:10041000C00095FFFCCF8093C6000895CF93DF9373
:10042000EC018991882319F00E940702FACFDF912D
:10043000CF9108950E94070280E090E00895CF9345
:10044000DF9300D000D000D0CDB7DEB70E945B01B3
:100450000E944F0186B1FE01319620E030E0E0902D
:100460004A01F0904B010091080110910901C90166
:100470008E0D9F1DB8010E945F02865F9E4FDC01BA
:100480008C9181932F5F3F4F803271F4C9018E0DA3
:100490009F1DB8010E945F02865F9E4FDC018C9118
:1004A000803211F4449A03C088B1807E88B9263026
:1004B0003105A9F6CE0101960E94BE00C9CF97FB77
:1004C000072E16F4009407D077FD09D00E9473021E
:1004D00007FC05D03EF4909581959F4F0895709547
:1004E00061957F4F0895AA1BBB1B51E107C0AA1F4E
:1004F000BB1FA617B70710F0A61BB70B881F991FC5
:100500005A95A9F780959095BC01CD010895F8946E
:02051000FFCF1B
:10051200E6E6E6E6E6E67D00160046526F686520EE
:1005220020576569686E61636874656E20202020BB
:10053200012000BEF4E0E6F8B8DCB40446BCD09E6C
:10054200A4E4BA3EA07CF0C4C4D6B676E6DE06EADF
:080552006E367CFC0EFE7E00FB
:00000001FF

832
code/build/main.lst Normal file
View File

@@ -0,0 +1,832 @@
1 .file "main.c"
2 __SP_H__ = 0x3e
3 __SP_L__ = 0x3d
4 __SREG__ = 0x3f
5 __RAMPZ__ = 0x3b
6 __tmp_reg__ = 0
7 __zero_reg__ = 1
8 .text
9 .Ltext0:
10 .cfi_sections .debug_frame
11 .global check_dip_switches
13 check_dip_switches:
14 .LFB11:
15 .file 1 "src/main.c"
1:src/main.c **** //#define F_CPU 16000000L
2:src/main.c ****
3:src/main.c **** #include <avr/io.h>
4:src/main.c **** #include <util/delay.h>
5:src/main.c **** #include <avr/interrupt.h> //interrupts
6:src/main.c **** #include <stdlib.h>
7:src/main.c **** #include "pinout.h"
8:src/main.c **** #include "print.h"
9:src/main.c **** #include "adc.h"
10:src/main.c **** #include "uart.h"
11:src/main.c **** #include "i2c.h"
12:src/main.c **** #include "DS3231.h"
13:src/main.c ****
14:src/main.c ****
15:src/main.c **** /*README
16:src/main.c **** DIP1 aktiviert Röhren-Schaltregler
17:src/main.c **** */
18:src/main.c ****
19:src/main.c **** volatile int counter = 0;
20:src/main.c **** char text[22] = {'F','R','o','h','e',' ',' ','W','e','i','h','n','a','c','h','t','e', 'n', ' ',' ',
21:src/main.c **** //char text[18] = {'1','2','3','4','5','6','7','8','9','t','s','c','a','f','e',' ', ' ', ' '};
22:src/main.c **** int offset = 0;
23:src/main.c **** int animationtimer = 0;
24:src/main.c **** int stringlength = 22;
25:src/main.c **** int duty = 125;
26:src/main.c ****
27:src/main.c ****
28:src/main.c **** void check_dip_switches(void);
29:src/main.c **** void check_buttons(void);
30:src/main.c **** void setup(void);
31:src/main.c **** void set_PWM_duty(int dutycycle);
32:src/main.c ****
33:src/main.c **** int main(void){
34:src/main.c **** setup();
35:src/main.c ****
36:src/main.c **** while(1){
37:src/main.c **** //putchar('c');
38:src/main.c **** //_delay_ms(50);
39:src/main.c ****
40:src/main.c **** check_dip_switches();
41:src/main.c **** check_buttons();
42:src/main.c ****
43:src/main.c ****
44:src/main.c ****
45:src/main.c **** char current_section[6];
46:src/main.c **** for(int i = 0; i < 6; i++){
47:src/main.c **** current_section[i] = text[(i+offset)%stringlength];
48:src/main.c **** if(text[(i+offset)%stringlength] == ' ' && text[(i+1+offset)%stringlength] == ' '){
49:src/main.c **** PORTC |= DOT;
50:src/main.c **** }else{
51:src/main.c **** PORTC &= ~DOT;
52:src/main.c **** }
53:src/main.c **** }
54:src/main.c ****
55:src/main.c ****
56:src/main.c ****
57:src/main.c **** //for(int i = 0; i < 6; i++){}
58:src/main.c **** //char test_word[6] = {'0','0','0','0','0', (char)i};
59:src/main.c **** print_String(current_section);
60:src/main.c **** //i2c_start(0b00101010);
61:src/main.c **** // current_e
62:src/main.c ****
63:src/main.c ****
64:src/main.c ****
65:src/main.c **** /*
66:src/main.c **** for(int i = 0; i < 6; i++)
67:src/main.c **** SR_Buffer[i] = i;
68:src/main.c ****
69:src/main.c **** print_SR_Buffer();
70:src/main.c **** */
71:src/main.c **** //putchar((i2c_start(0x68))+48);
72:src/main.c **** //i2c_write(0b00101010);
73:src/main.c **** }
74:src/main.c **** }
75:src/main.c ****
76:src/main.c **** void check_dip_switches() {
16 .loc 1 76 0
17 .cfi_startproc
18 /* prologue: function */
19 /* frame size = 0 */
20 /* stack size = 0 */
21 .L__stack_usage = 0
77:src/main.c **** if (PINB & DIP_1) {
22 .loc 1 77 0
23 0000 1A9B sbis 0x3,2
24 0002 00C0 rjmp .L2
78:src/main.c **** PORTC |= ENABLE_TUBE_PSU;
25 .loc 1 78 0
26 0004 479A sbi 0x8,7
79:src/main.c **** PORTA &= ~ENABLE_TUBE_SUPPLY;
27 .loc 1 79 0
28 0006 82B1 in r24,0x2
29 0008 8C7F andi r24,lo8(-4)
30 000a 82B9 out 0x2,r24
31 000c 0895 ret
32 .L2:
80:src/main.c **** // PORTB |= STATUS_LED_B;
81:src/main.c **** } else {
82:src/main.c **** PORTC &= ~(ENABLE_TUBE_PSU);
33 .loc 1 82 0
34 000e 4798 cbi 0x8,7
83:src/main.c **** PORTA |= (ENABLE_TUBE_SUPPLY);
35 .loc 1 83 0
36 0010 119A sbi 0x2,1
37 0012 0895 ret
38 .cfi_endproc
39 .LFE11:
41 .global check_buttons
43 check_buttons:
44 .LFB12:
84:src/main.c **** // PORTB &= ~STATUS_LED_B;
85:src/main.c **** }
86:src/main.c **** }
87:src/main.c ****
88:src/main.c **** void check_buttons(){
45 .loc 1 88 0
46 .cfi_startproc
47 /* prologue: function */
48 /* frame size = 0 */
49 /* stack size = 0 */
50 .L__stack_usage = 0
89:src/main.c **** if((PINC & BUTTON_A)){
51 .loc 1 89 0
52 0014 86B1 in r24,0x6
53 0016 0895 ret
54 .cfi_endproc
55 .LFE12:
57 .global setup
59 setup:
60 .LFB13:
90:src/main.c **** // PORTB &= ~STATUS_LED_C;
91:src/main.c **** }
92:src/main.c **** };
93:src/main.c ****
94:src/main.c **** void setup(){
61 .loc 1 94 0
62 .cfi_startproc
63 /* prologue: function */
64 /* frame size = 0 */
65 /* stack size = 0 */
66 .L__stack_usage = 0
95:src/main.c ****
96:src/main.c **** DDRA = ENABLE_TUBE_SUPPLY;
67 .loc 1 96 0
68 0018 82E0 ldi r24,lo8(2)
69 001a 81B9 out 0x1,r24
97:src/main.c ****
98:src/main.c **** DDRB = STATUS_LED_B
70 .loc 1 98 0
71 001c 83EA ldi r24,lo8(-93)
72 001e 84B9 out 0x4,r24
99:src/main.c **** | STATUS_LED_C
100:src/main.c **** | MOSI
101:src/main.c **** | CLK;
102:src/main.c ****
103:src/main.c **** DDRC = LATCH_SR
73 .loc 1 103 0
74 0020 8CE9 ldi r24,lo8(-100)
75 0022 87B9 out 0x7,r24
104:src/main.c **** | ENABLE_SR
105:src/main.c **** | DOT
106:src/main.c **** | ENABLE_TUBE_PSU;
107:src/main.c ****
108:src/main.c **** DDRD = RESET_SR
76 .loc 1 108 0
77 0024 80EA ldi r24,lo8(-96)
78 0026 8AB9 out 0xa,r24
109:src/main.c **** | TUBE_LED;
110:src/main.c ****
111:src/main.c ****
112:src/main.c **** //--------------------------
113:src/main.c **** // SPI
114:src/main.c **** //--------------------------
115:src/main.c **** SPCR = (1 << SPE) | //enable SPI
79 .loc 1 115 0
80 0028 83E5 ldi r24,lo8(83)
81 002a 8CBD out 0x2c,r24
116:src/main.c **** (1 << MSTR) | //SPI als Master starten
117:src/main.c **** (1 << SPR0) | //clock-prescaler LSB
118:src/main.c **** (1 << SPR1) | //clock-prescaler MSB
119:src/main.c **** (0 << SPIE) | //complete transfer/ recive interrupt
120:src/main.c **** (0 << CPOL) |
121:src/main.c **** (0 << CPHA) |
122:src/main.c **** (0 << DORD); //MSB first = 0
123:src/main.c **** SPSR = (1 << SPI2X);// | //clock- prescaler double speed
82 .loc 1 123 0
83 002c 81E0 ldi r24,lo8(1)
84 002e 8DBD out 0x2d,r24
124:src/main.c ****
125:src/main.c **** PORTC &= ~LATCH_SR; //latch low, sonst startet SPI nicht
85 .loc 1 125 0
86 0030 88B1 in r24,0x8
87 0032 887F andi r24,lo8(-8)
88 0034 88B9 out 0x8,r24
126:src/main.c **** PORTC |= LATCH_SR;
89 .loc 1 126 0
90 0036 429A sbi 0x8,2
127:src/main.c **** PORTD |= RESET_SR; //Setzte Reset auf HIGH (active LOW)
91 .loc 1 127 0
92 0038 5D9A sbi 0xb,5
128:src/main.c **** PORTC &= ~(ENABLE_SR); //Aktiviert Shiftregister (active LOW)
93 .loc 1 128 0
94 003a 4398 cbi 0x8,3
129:src/main.c ****
130:src/main.c ****
131:src/main.c ****
132:src/main.c **** //--------------------------
133:src/main.c **** // Externe Interrupts
134:src/main.c **** //--------------------------
135:src/main.c **** //External Interrupt Mask Register
136:src/main.c ****
137:src/main.c **** EIMSK |= (1 << INT0) | //Aktiviere Interrupt INT0
95 .loc 1 137 0
96 003c 8DB3 in r24,0x1d
97 003e 8360 ori r24,lo8(3)
98 0040 8DBB out 0x1d,r24
138:src/main.c **** (1 << INT1); //Aktiviere Interrupt INT1
139:src/main.c ****
140:src/main.c **** //External Interrupt Control Register A
141:src/main.c **** EICRA |= (0 << ISC10) | //Interrupt bei jedem Pegelwechsel auf INT1
99 .loc 1 141 0
100 0042 E9E6 ldi r30,lo8(105)
101 0044 F0E0 ldi r31,0
102 0046 8081 ld r24,Z
103 0048 8B60 ori r24,lo8(11)
104 004a 8083 st Z,r24
142:src/main.c **** (1 << ISC11) |
143:src/main.c **** (1 << ISC00) | //Interrupt bei jedem Pegelwechsel auf INT0
144:src/main.c **** (1 << ISC01);
145:src/main.c **** //Pin Change Interrupt Control Register
146:src/main.c **** PCICR |= (1 << PCIE2); //Enabled PCINT16-23 als mögliche Signalquelle für Interrupt
105 .loc 1 146 0
106 004c E8E6 ldi r30,lo8(104)
107 004e F0E0 ldi r31,0
108 0050 8081 ld r24,Z
109 0052 8460 ori r24,lo8(4)
110 0054 8083 st Z,r24
147:src/main.c ****
148:src/main.c **** //Pin Change Mask Register 2
149:src/main.c **** //PCMSK2 |= (1 << PCINT18) | //PCINT18 als Signalquelle wählen
150:src/main.c **** // (1 << PCINT19); //PCINT19 als Signalquelle wählen
151:src/main.c ****
152:src/main.c ****
153:src/main.c **** //--------------------------
154:src/main.c **** // Timer + Zeitinterrupts
155:src/main.c **** //--------------------------
156:src/main.c ****
157:src/main.c **** //PWM-Timer
158:src/main.c **** //OC2A set when upcounting, clear when down counting
159:src/main.c **** TCCR2A = (1<<COM1A1)
111 .loc 1 159 0
112 0056 80E8 ldi r24,lo8(-128)
113 0058 8093 B000 sts 176,r24
160:src/main.c **** | (0<<COM1A0);
161:src/main.c ****
162:src/main.c **** TCCR2B=(1<<WGM20) //Wave form generartion mode
114 .loc 1 162 0
115 005c 83E8 ldi r24,lo8(-125)
116 005e 8093 B100 sts 177,r24
163:src/main.c **** |(1<<WGM21) // Wave form generation mode
164:src/main.c **** |(1<<COM2A1); //Compare Output Mode
165:src/main.c ****
166:src/main.c **** OCR2A = duty; // Compare value 125
117 .loc 1 166 0
118 0062 8091 0000 lds r24,duty
119 0066 8093 B300 sts 179,r24
167:src/main.c ****
168:src/main.c ****
169:src/main.c ****
170:src/main.c ****
171:src/main.c ****
172:src/main.c ****
173:src/main.c **** //Timer/Counter control Register A&B
174:src/main.c **** //set normal-Mode and waveform
175:src/main.c **** TCCR1A = (0 << WGM01) |
120 .loc 1 175 0
121 006a 1092 8000 sts 128,__zero_reg__
176:src/main.c **** (0 << WGM00);
177:src/main.c **** TCCR1B = (0 << WGM02);
122 .loc 1 177 0
123 006e E1E8 ldi r30,lo8(-127)
124 0070 F0E0 ldi r31,0
125 0072 1082 st Z,__zero_reg__
178:src/main.c ****
179:src/main.c ****
180:src/main.c **** //Prescaler von 1024
181:src/main.c **** TCCR1B |= (1 << CS02) |
126 .loc 1 181 0
127 0074 8081 ld r24,Z
128 0076 8560 ori r24,lo8(5)
129 0078 8083 st Z,r24
182:src/main.c **** (0 << CS01) |
183:src/main.c **** (1 << CS00) ;
184:src/main.c ****
185:src/main.c ****
186:src/main.c **** //Output compare Regsiter (Setzt Zeit bei der Interrupt auslösen soll)
187:src/main.c **** OCR1A = (1 << 7) | //MSB
130 .loc 1 187 0
131 007a 8FEF ldi r24,lo8(-1)
132 007c 90E0 ldi r25,0
133 007e 9093 8900 sts 136+1,r25
134 0082 8093 8800 sts 136,r24
188:src/main.c **** (1 << 6) |
189:src/main.c **** (1 << 5) |
190:src/main.c **** (1 << 4) |
191:src/main.c **** (1 << 3) |
192:src/main.c **** (1 << 2) |
193:src/main.c **** (1 << 1) |
194:src/main.c **** (1 << 0) ; //LSB
195:src/main.c ****
196:src/main.c **** //TIMSK1 |= (1 << OCIE0A); //Interruptvector hinzufügen
197:src/main.c **** TIMSK1 |= (1 << ICIE1) | //Interrupt Counter Enabled)
135 .loc 1 197 0
136 0086 EFE6 ldi r30,lo8(111)
137 0088 F0E0 ldi r31,0
138 008a 8081 ld r24,Z
139 008c 8162 ori r24,lo8(33)
140 008e 8083 st Z,r24
198:src/main.c **** (1 << TOIE1); //Timer Overflow Enabled
199:src/main.c ****
200:src/main.c ****
201:src/main.c **** sei(); //Enable Interrupts
141 .loc 1 201 0
142 /* #APP */
143 ; 201 "src/main.c" 1
144 0090 7894 sei
145 ; 0 "" 2
202:src/main.c **** //adc_setup();
203:src/main.c **** //i2c_init();
204:src/main.c **** //USART_Init(MYUBRR);
205:src/main.c **** clear_SR_Buffer();
146 .loc 1 205 0
147 /* #NOAPP */
148 0092 0C94 0000 jmp clear_SR_Buffer
149 .LVL0:
150 .cfi_endproc
151 .LFE13:
153 .section .text.startup,"ax",@progbits
154 .global main
156 main:
157 .LFB10:
33:src/main.c **** int main(void){
158 .loc 1 33 0
159 .cfi_startproc
160 0000 CF93 push r28
161 .LCFI0:
162 .cfi_def_cfa_offset 3
163 .cfi_offset 28, -2
164 0002 DF93 push r29
165 .LCFI1:
166 .cfi_def_cfa_offset 4
167 .cfi_offset 29, -3
168 0004 00D0 rcall .
169 0006 00D0 rcall .
170 0008 00D0 rcall .
171 .LCFI2:
172 .cfi_def_cfa_offset 10
173 000a CDB7 in r28,__SP_L__
174 000c DEB7 in r29,__SP_H__
175 .LCFI3:
176 .cfi_def_cfa_register 28
177 /* prologue: function */
178 /* frame size = 6 */
179 /* stack size = 8 */
180 .L__stack_usage = 8
34:src/main.c **** setup();
181 .loc 1 34 0
182 000e 0E94 0000 call setup
183 .LVL1:
184 .L12:
185 .LBB6:
40:src/main.c **** check_dip_switches();
186 .loc 1 40 0
187 0012 0E94 0000 call check_dip_switches
188 .LVL2:
189 .LBB7:
190 .LBB8:
89:src/main.c **** if((PINC & BUTTON_A)){
191 .loc 1 89 0
192 0016 86B1 in r24,0x6
193 .LVL3:
194 0018 FE01 movw r30,r28
195 001a 3196 adiw r30,1
196 001c 20E0 ldi r18,0
197 001e 30E0 ldi r19,0
198 .LVL4:
199 .L11:
200 .LBE8:
201 .LBE7:
202 .LBB9:
47:src/main.c **** current_section[i] = text[(i+offset)%stringlength];
203 .loc 1 47 0
204 0020 E090 0000 lds r14,offset
205 0024 F090 0000 lds r15,offset+1
206 0028 0091 0000 lds r16,stringlength
207 002c 1091 0000 lds r17,stringlength+1
208 0030 C901 movw r24,r18
209 0032 8E0D add r24,r14
210 0034 9F1D adc r25,r15
211 0036 B801 movw r22,r16
212 0038 0E94 0000 call __divmodhi4
213 003c 8050 subi r24,lo8(-(text))
214 003e 9040 sbci r25,hi8(-(text))
215 0040 DC01 movw r26,r24
216 0042 8C91 ld r24,X
217 0044 8193 st Z+,r24
218 0046 2F5F subi r18,-1
219 0048 3F4F sbci r19,-1
220 .LVL5:
48:src/main.c **** if(text[(i+offset)%stringlength] == ' ' && text[(i+1+offset)%stringlength] == ' '){
221 .loc 1 48 0
222 004a 8032 cpi r24,lo8(32)
223 004c 01F4 brne .L8
48:src/main.c **** if(text[(i+offset)%stringlength] == ' ' && text[(i+1+offset)%stringlength] == ' '){
224 .loc 1 48 0 is_stmt 0 discriminator 1
225 004e C901 movw r24,r18
226 0050 8E0D add r24,r14
227 0052 9F1D adc r25,r15
228 0054 B801 movw r22,r16
229 0056 0E94 0000 call __divmodhi4
230 005a 8050 subi r24,lo8(-(text))
231 005c 9040 sbci r25,hi8(-(text))
232 005e DC01 movw r26,r24
233 0060 8C91 ld r24,X
234 0062 8032 cpi r24,lo8(32)
235 0064 01F4 brne .L8
49:src/main.c **** PORTC |= DOT;
236 .loc 1 49 0 is_stmt 1
237 0066 449A sbi 0x8,4
238 0068 00C0 rjmp .L9
239 .L8:
51:src/main.c **** PORTC &= ~DOT;
240 .loc 1 51 0
241 006a 88B1 in r24,0x8
242 006c 807E andi r24,lo8(-32)
243 006e 88B9 out 0x8,r24
244 .L9:
245 .LVL6:
46:src/main.c **** for(int i = 0; i < 6; i++){
246 .loc 1 46 0
247 0070 2630 cpi r18,6
248 0072 3105 cpc r19,__zero_reg__
249 0074 01F4 brne .L11
250 .LBE9:
59:src/main.c **** print_String(current_section);
251 .loc 1 59 0
252 0076 CE01 movw r24,r28
253 0078 0196 adiw r24,1
254 007a 0E94 0000 call print_String
255 .LVL7:
256 .LBE6:
73:src/main.c **** }
257 .loc 1 73 0
258 007e 00C0 rjmp .L12
259 .cfi_endproc
260 .LFE10:
262 .text
263 .global __vector_15
265 __vector_15:
266 .LFB14:
206:src/main.c ****
207:src/main.c ****
208:src/main.c ****
209:src/main.c **** }
210:src/main.c **** //Timer 1 Interrupt
211:src/main.c **** ISR (TIMER1_OVF_vect) // Timer1 ISR
212:src/main.c **** {
267 .loc 1 212 0
268 .cfi_startproc
269 0096 1F92 push r1
270 .LCFI4:
271 .cfi_def_cfa_offset 3
272 .cfi_offset 1, -2
273 0098 0F92 push r0
274 .LCFI5:
275 .cfi_def_cfa_offset 4
276 .cfi_offset 0, -3
277 009a 0FB6 in r0,__SREG__
278 009c 0F92 push r0
279 009e 1124 clr __zero_reg__
280 00a0 8F93 push r24
281 .LCFI6:
282 .cfi_def_cfa_offset 5
283 .cfi_offset 24, -4
284 00a2 9F93 push r25
285 .LCFI7:
286 .cfi_def_cfa_offset 6
287 .cfi_offset 25, -5
288 /* prologue: Signal */
289 /* frame size = 0 */
290 /* stack size = 5 */
291 .L__stack_usage = 5
213:src/main.c **** //PORTD ^=TUBE_LED;
214:src/main.c **** PORTB ^=STATUS_LED_C;
292 .loc 1 214 0
293 00a4 85B1 in r24,0x5
294 00a6 92E0 ldi r25,lo8(2)
295 00a8 8927 eor r24,r25
296 00aa 85B9 out 0x5,r24
215:src/main.c **** TCNT1 = 63974; //63974; // for 1 sec at 16 MHz
297 .loc 1 215 0
298 00ac 86EE ldi r24,lo8(-26)
299 00ae 99EF ldi r25,lo8(-7)
300 00b0 9093 8500 sts 132+1,r25
301 00b4 8093 8400 sts 132,r24
216:src/main.c **** animationtimer ++;
302 .loc 1 216 0
303 00b8 8091 0000 lds r24,animationtimer
304 00bc 9091 0000 lds r25,animationtimer+1
305 00c0 0196 adiw r24,1
306 00c2 9093 0000 sts animationtimer+1,r25
307 00c6 8093 0000 sts animationtimer,r24
217:src/main.c **** if(animationtimer > 10){
308 .loc 1 217 0
309 00ca 0B97 sbiw r24,11
310 00cc 04F0 brlt .L13
218:src/main.c **** animationtimer= 0;
311 .loc 1 218 0
312 00ce 1092 0000 sts animationtimer+1,__zero_reg__
313 00d2 1092 0000 sts animationtimer,__zero_reg__
219:src/main.c **** offset++;
314 .loc 1 219 0
315 00d6 8091 0000 lds r24,offset
316 00da 9091 0000 lds r25,offset+1
317 00de 0196 adiw r24,1
318 00e0 9093 0000 sts offset+1,r25
319 00e4 8093 0000 sts offset,r24
220:src/main.c **** PORTB ^= STATUS_LED_B;
320 .loc 1 220 0
321 00e8 85B1 in r24,0x5
322 00ea 91E0 ldi r25,lo8(1)
323 00ec 8927 eor r24,r25
324 00ee 85B9 out 0x5,r24
221:src/main.c **** if(offset > 15){
325 .loc 1 221 0
326 00f0 8091 0000 lds r24,offset
327 00f4 9091 0000 lds r25,offset+1
328 00f8 4097 sbiw r24,16
329 00fa 04F0 brlt .L13
222:src/main.c **** offset = 0;
330 .loc 1 222 0
331 00fc 1092 0000 sts offset+1,__zero_reg__
332 0100 1092 0000 sts offset,__zero_reg__
333 .L13:
334 /* epilogue start */
223:src/main.c **** }
224:src/main.c **** }
225:src/main.c **** }
335 .loc 1 225 0
336 0104 9F91 pop r25
337 0106 8F91 pop r24
338 0108 0F90 pop r0
339 010a 0FBE out __SREG__,r0
340 010c 0F90 pop r0
341 010e 1F90 pop r1
342 0110 1895 reti
343 .cfi_endproc
344 .LFE14:
346 .global __vector_1
348 __vector_1:
349 .LFB15:
226:src/main.c ****
227:src/main.c **** //Encoder rotate
228:src/main.c **** ISR(INT0_vect) {
350 .loc 1 228 0
351 .cfi_startproc
352 0112 1F92 push r1
353 .LCFI8:
354 .cfi_def_cfa_offset 3
355 .cfi_offset 1, -2
356 0114 0F92 push r0
357 .LCFI9:
358 .cfi_def_cfa_offset 4
359 .cfi_offset 0, -3
360 0116 0FB6 in r0,__SREG__
361 0118 0F92 push r0
362 011a 1124 clr __zero_reg__
363 011c 8F93 push r24
364 .LCFI10:
365 .cfi_def_cfa_offset 5
366 .cfi_offset 24, -4
367 /* prologue: Signal */
368 /* frame size = 0 */
369 /* stack size = 4 */
370 .L__stack_usage = 4
229:src/main.c **** if (PIND & ENCODER_B) {
371 .loc 1 229 0
372 011e 89B1 in r24,0x9
373 /* epilogue start */
230:src/main.c **** // set_PWM_duty(duty--);
231:src/main.c **** } else {
232:src/main.c **** // set_PWM_duty(duty++);
233:src/main.c **** }
234:src/main.c **** }
374 .loc 1 234 0
375 0120 8F91 pop r24
376 0122 0F90 pop r0
377 0124 0FBE out __SREG__,r0
378 0126 0F90 pop r0
379 0128 1F90 pop r1
380 012a 1895 reti
381 .cfi_endproc
382 .LFE15:
384 .global __vector_2
386 __vector_2:
387 .LFB16:
235:src/main.c ****
236:src/main.c **** //Encoder Button
237:src/main.c **** ISR(INT1_vect) {
388 .loc 1 237 0
389 .cfi_startproc
390 012c 1F92 push r1
391 .LCFI11:
392 .cfi_def_cfa_offset 3
393 .cfi_offset 1, -2
394 012e 0F92 push r0
395 .LCFI12:
396 .cfi_def_cfa_offset 4
397 .cfi_offset 0, -3
398 0130 0FB6 in r0,__SREG__
399 0132 0F92 push r0
400 0134 1124 clr __zero_reg__
401 /* prologue: Signal */
402 /* frame size = 0 */
403 /* stack size = 3 */
404 .L__stack_usage = 3
405 /* epilogue start */
238:src/main.c ****
239:src/main.c **** }
406 .loc 1 239 0
407 0136 0F90 pop r0
408 0138 0FBE out __SREG__,r0
409 013a 0F90 pop r0
410 013c 1F90 pop r1
411 013e 1895 reti
412 .cfi_endproc
413 .LFE16:
415 .global __vector_20
417 __vector_20:
418 .LFB17:
240:src/main.c ****
241:src/main.c ****
242:src/main.c **** ISR (USART0_RX_vect){
419 .loc 1 242 0
420 .cfi_startproc
421 0140 1F92 push r1
422 .LCFI13:
423 .cfi_def_cfa_offset 3
424 .cfi_offset 1, -2
425 0142 0F92 push r0
426 .LCFI14:
427 .cfi_def_cfa_offset 4
428 .cfi_offset 0, -3
429 0144 0FB6 in r0,__SREG__
430 0146 0F92 push r0
431 0148 1124 clr __zero_reg__
432 /* prologue: Signal */
433 /* frame size = 0 */
434 /* stack size = 3 */
435 .L__stack_usage = 3
436 /* epilogue start */
243:src/main.c **** /*
244:src/main.c **** //while ( !(UCSR0A & (1<<RXC0)) ){}; //RXC = Recive complete
245:src/main.c **** char uart_Buffer[500];
246:src/main.c **** char time_string[6];
247:src/main.c **** char sat_string[2];
248:src/main.c **** sat_string[0]='1';
249:src/main.c **** sat_string[1]= '1';
250:src/main.c ****
251:src/main.c **** for(int k = 0; k < 6; k++){
252:src/main.c **** time_string[k] = '8';
253:src/main.c **** }
254:src/main.c **** int i = 0;
255:src/main.c ****
256:src/main.c **** while(UDR0 != '\r' && i < 500){
257:src/main.c **** uart_Buffer[i] = UDR0;
258:src/main.c **** i++;
259:src/main.c **** PORTB ^=STATUS_LED_B;
260:src/main.c ****
261:src/main.c ****
262:src/main.c **** }
263:src/main.c ****
264:src/main.c **** for(int j = 0; j < 500; j++){
265:src/main.c ****
266:src/main.c **** //if(uart_Buffer[j] == '$'){
267:src/main.c **** if(uart_Buffer[j+1] == 'G'){
268:src/main.c **** if(uart_Buffer[j+2] == 'P'){
269:src/main.c **** if(uart_Buffer[j+3] == 'Z'){
270:src/main.c **** if(uart_Buffer[j+4] == 'D'){
271:src/main.c **** if(uart_Buffer[j+5] == 'A'){
272:src/main.c **** //j++;
273:src/main.c ****
274:src/main.c **** sat_string[0] = uart_Buffer[1];
275:src/main.c **** sat_string[1] = uart_Buffer[100];
276:src/main.c ****
277:src/main.c **** //time_string[0] = uart_Buffer[j+36];
278:src/main.c **** //time_string[1] = uart_Buffer[j+37];
279:src/main.c **** //time_string[2] = uart_Buffer[j+8];
280:src/main.c **** //time_string[3] = uart_Buffer[j+9];
281:src/main.c **** //time_string[5] = uart_Buffer[j+10];
282:src/main.c **** //time_string[6] = uart_Buffer[j+11];
283:src/main.c **** }
284:src/main.c **** }
285:src/main.c **** }
286:src/main.c **** }
287:src/main.c **** }
288:src/main.c **** // }
289:src/main.c ****
290:src/main.c **** }
291:src/main.c ****
292:src/main.c ****
293:src/main.c **** print_String(sat_string);
294:src/main.c ****
295:src/main.c **** */
296:src/main.c **** }
437 .loc 1 296 0
438 014a 0F90 pop r0
439 014c 0FBE out __SREG__,r0
440 014e 0F90 pop r0
441 0150 1F90 pop r1
442 0152 1895 reti
443 .cfi_endproc
444 .LFE17:
446 .global set_PWM_duty
448 set_PWM_duty:
449 .LFB18:
297:src/main.c ****
298:src/main.c **** void set_PWM_duty(int dutycycle){
450 .loc 1 298 0
451 .cfi_startproc
452 .LVL8:
453 /* prologue: function */
454 /* frame size = 0 */
455 /* stack size = 0 */
456 .L__stack_usage = 0
299:src/main.c **** OCR2A = dutycycle;
457 .loc 1 299 0
458 0154 8093 B300 sts 179,r24
459 0158 0895 ret
460 .cfi_endproc
461 .LFE18:
463 .global duty
464 .data
467 duty:
468 0000 7D00 .word 125
469 .global stringlength
472 stringlength:
473 0002 1600 .word 22
474 .global animationtimer
475 .section .bss
478 animationtimer:
479 0000 0000 .zero 2
480 .global offset
483 offset:
484 0002 0000 .zero 2
485 .global text
486 .data
489 text:
490 0004 46 .byte 70
491 0005 52 .byte 82
492 0006 6F .byte 111
493 0007 68 .byte 104
494 0008 65 .byte 101
495 0009 20 .byte 32
496 000a 20 .byte 32
497 000b 57 .byte 87
498 000c 65 .byte 101
499 000d 69 .byte 105
500 000e 68 .byte 104
501 000f 6E .byte 110
502 0010 61 .byte 97
503 0011 63 .byte 99
504 0012 68 .byte 104
505 0013 74 .byte 116
506 0014 65 .byte 101
507 0015 6E .byte 110
508 0016 20 .byte 32
509 0017 20 .byte 32
510 0018 20 .byte 32
511 0019 20 .byte 32
512 .global counter
513 .section .bss
516 counter:
517 0004 0000 .zero 2
518 .text
519 .Letext0:
520 .file 2 "/usr/local/CrossPack-AVR-20131216/avr/include/stdint.h"
521 .file 3 "inc/print.h"
DEFINED SYMBOLS
*ABS*:00000000 main.c
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:2 *ABS*:0000003e __SP_H__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:3 *ABS*:0000003d __SP_L__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:4 *ABS*:0000003f __SREG__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:5 *ABS*:0000003b __RAMPZ__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:6 *ABS*:00000000 __tmp_reg__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:7 *ABS*:00000001 __zero_reg__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:13 .text:00000000 check_dip_switches
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:43 .text:00000014 check_buttons
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:59 .text:00000018 setup
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:467 .data:00000000 duty
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:156 .text.startup:00000000 main
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:483 .bss:00000002 offset
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:472 .data:00000002 stringlength
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:489 .data:00000004 text
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:265 .text:00000096 __vector_15
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:478 .bss:00000000 animationtimer
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:348 .text:00000112 __vector_1
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:386 .text:0000012c __vector_2
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:417 .text:00000140 __vector_20
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:448 .text:00000154 set_PWM_duty
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccBTFpTE.s:516 .bss:00000004 counter
UNDEFINED SYMBOLS
clear_SR_Buffer
__divmodhi4
print_String
__do_copy_data
__do_clear_bss

700
code/build/main.map Normal file
View File

@@ -0,0 +1,700 @@
Archive member included because of file (symbol)
/usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
build/main.o (__divmodhi4)
/usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
/usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o (exit)
/usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
build/print.o (__do_copy_data)
/usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
build/main.o (__do_clear_bss)
/usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
/usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o) (__udivmodhi4)
Memory Configuration
Name Origin Length Attributes
text 0x00000000 0x00020000 xr
data 0x00800100 0x0000ff00 rw !x
eeprom 0x00810000 0x00010000 rw !x
fuse 0x00820000 0x00000400 rw !x
lock 0x00830000 0x00000400 rw !x
signature 0x00840000 0x00000400 rw !x
user_signatures 0x00850000 0x00000400 rw !x
*default* 0x00000000 0xffffffff
Linker script and memory map
Address of section .data set to 0x800100
LOAD /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
LOAD build/print.o
LOAD build/DS3231.o
LOAD build/i2c.o
LOAD build/adc.o
LOAD build/main.o
LOAD build/uart.o
LOAD /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/libm.a
START GROUP
LOAD /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a
LOAD /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/libm.a
LOAD /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/libc.a
END GROUP
.hash
*(.hash)
.dynsym
*(.dynsym)
.dynstr
*(.dynstr)
.gnu.version
*(.gnu.version)
.gnu.version_d
*(.gnu.version_d)
.gnu.version_r
*(.gnu.version_r)
.rel.init
*(.rel.init)
.rela.init
*(.rela.init)
.rel.text
*(.rel.text)
*(.rel.text.*)
*(.rel.gnu.linkonce.t*)
.rela.text
*(.rela.text)
*(.rela.text.*)
*(.rela.gnu.linkonce.t*)
.rel.fini
*(.rel.fini)
.rela.fini
*(.rela.fini)
.rel.rodata
*(.rel.rodata)
*(.rel.rodata.*)
*(.rel.gnu.linkonce.r*)
.rela.rodata
*(.rela.rodata)
*(.rela.rodata.*)
*(.rela.gnu.linkonce.r*)
.rel.data
*(.rel.data)
*(.rel.data.*)
*(.rel.gnu.linkonce.d*)
.rela.data
*(.rela.data)
*(.rela.data.*)
*(.rela.gnu.linkonce.d*)
.rel.ctors
*(.rel.ctors)
.rela.ctors
*(.rela.ctors)
.rel.dtors
*(.rel.dtors)
.rela.dtors
*(.rela.dtors)
.rel.got
*(.rel.got)
.rela.got
*(.rela.got)
.rel.bss
*(.rel.bss)
.rela.bss
*(.rela.bss)
.rel.plt
*(.rel.plt)
.rela.plt
*(.rela.plt)
.text 0x00000000 0x512
*(.vectors)
.vectors 0x00000000 0x8c /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
0x00000000 __vectors
0x00000000 __vector_default
*(.vectors)
*(.progmem.gcc*)
0x0000008c . = ALIGN (0x2)
0x0000008c __trampolines_start = .
*(.trampolines)
.trampolines 0x0000008c 0x0 linker stubs
*(.trampolines*)
0x0000008c __trampolines_end = .
*(.progmem*)
0x0000008c . = ALIGN (0x2)
*(.jumptables)
*(.jumptables*)
*(.lowtext)
*(.lowtext*)
0x0000008c __ctors_start = .
*(.ctors)
0x0000008c __ctors_end = .
0x0000008c __dtors_start = .
*(.dtors)
0x0000008c __dtors_end = .
SORT(*)(.ctors)
SORT(*)(.dtors)
*(.init0)
.init0 0x0000008c 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
0x0000008c __init
*(.init0)
*(.init1)
*(.init1)
*(.init2)
.init2 0x0000008c 0xc /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
*(.init2)
*(.init3)
*(.init3)
*(.init4)
.init4 0x00000098 0x1a /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
0x00000098 __do_copy_data
.init4 0x000000b2 0x10 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
0x000000b2 __do_clear_bss
*(.init4)
*(.init5)
*(.init5)
*(.init6)
*(.init6)
*(.init7)
*(.init7)
*(.init8)
*(.init8)
*(.init9)
.init9 0x000000c2 0x8 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
*(.init9)
*(.text)
.text 0x000000ca 0x4 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
0x000000ca __vector_18
0x000000ca __vector_28
0x000000ca __vector_32
0x000000ca __vector_34
0x000000ca __vector_24
0x000000ca __vector_12
0x000000ca __bad_interrupt
0x000000ca __vector_6
0x000000ca __vector_31
0x000000ca __vector_3
0x000000ca __vector_23
0x000000ca __vector_30
0x000000ca __vector_25
0x000000ca __vector_11
0x000000ca __vector_13
0x000000ca __vector_17
0x000000ca __vector_19
0x000000ca __vector_7
0x000000ca __vector_27
0x000000ca __vector_5
0x000000ca __vector_33
0x000000ca __vector_4
0x000000ca __vector_9
0x000000ca __vector_21
0x000000ca __vector_29
0x000000ca __vector_8
0x000000ca __vector_26
0x000000ca __vector_14
0x000000ca __vector_10
0x000000ca __vector_16
0x000000ca __vector_22
.text 0x000000ce 0x122 build/print.o
0x000000ce clear_SR_Buffer
0x000000e8 add_Decimal_Point_to_SR_Buffer
0x000000f6 print_SR_Buffer
0x00000112 add_ASCII_to_SR_Buffer
0x0000017c print_String
0x000001aa add_Character_to_SR_Buffer
0x000001de add_Number_to_SR_Buffer
.text 0x000001f0 0xa build/DS3231.o
0x000001f0 DS3231_init
0x000001f2 DS3231_seconds
.text 0x000001fa 0x58 build/i2c.o
0x000001fa i2c_init
0x00000208 i2c_start
.text 0x00000252 0x4c build/adc.o
0x00000252 adc_setup
0x00000264 adc_read
.text 0x0000029e 0x15a build/main.o
0x0000029e check_dip_switches
0x000002b2 check_buttons
0x000002b6 setup
0x00000334 __vector_15
0x000003b0 __vector_1
0x000003ca __vector_2
0x000003de __vector_20
0x000003f2 set_PWM_duty
.text 0x000003f8 0x46 build/uart.o
0x000003f8 USART_Init
0x0000040e USART_Transmit
0x0000041c uart_puts
0x00000434 putchar
.text 0x0000043e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
.text 0x0000043e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
.text 0x0000043e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
.text 0x0000043e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
.text 0x0000043e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
0x0000043e . = ALIGN (0x2)
*(.text.*)
.text.startup 0x0000043e 0x80 build/main.o
0x0000043e main
.text.libgcc.mul
0x000004be 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
.text.libgcc.div
0x000004be 0x28 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
0x000004be __divmodhi4
0x000004be _div
.text.libgcc 0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
.text.libgcc.prologue
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
.text.libgcc.builtins
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
.text.libgcc.fmul
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
.text.libgcc.fixed
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
.text.libgcc.mul
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
.text.libgcc.div
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
.text.libgcc 0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
.text.libgcc.prologue
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
.text.libgcc.builtins
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
.text.libgcc.fmul
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
.text.libgcc.fixed
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
.text.libgcc.mul
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
.text.libgcc.div
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
.text.libgcc 0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
.text.libgcc.prologue
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
.text.libgcc.builtins
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
.text.libgcc.fmul
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
.text.libgcc.fixed
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
.text.libgcc.mul
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
.text.libgcc.div
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
.text.libgcc 0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
.text.libgcc.prologue
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
.text.libgcc.builtins
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
.text.libgcc.fmul
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
.text.libgcc.fixed
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
.text.libgcc.mul
0x000004e6 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
.text.libgcc.div
0x000004e6 0x28 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
0x000004e6 __udivmodhi4
.text.libgcc 0x0000050e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
.text.libgcc.prologue
0x0000050e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
.text.libgcc.builtins
0x0000050e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
.text.libgcc.fmul
0x0000050e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
.text.libgcc.fixed
0x0000050e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
0x0000050e . = ALIGN (0x2)
*(.fini9)
.fini9 0x0000050e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
0x0000050e exit
0x0000050e _exit
*(.fini9)
*(.fini8)
*(.fini8)
*(.fini7)
*(.fini7)
*(.fini6)
*(.fini6)
*(.fini5)
*(.fini5)
*(.fini4)
*(.fini4)
*(.fini3)
*(.fini3)
*(.fini2)
*(.fini2)
*(.fini1)
*(.fini1)
*(.fini0)
.fini0 0x0000050e 0x4 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
*(.fini0)
0x00000512 _etext = .
.data 0x00800100 0x48 load address 0x00000512
0x00800100 PROVIDE (__data_start, .)
*(.data)
.data 0x00800100 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
.data 0x00800100 0x6 build/print.o
0x00800100 SR_Buffer
.data 0x00800106 0x0 build/DS3231.o
.data 0x00800106 0x0 build/i2c.o
.data 0x00800106 0x0 build/adc.o
.data 0x00800106 0x1a build/main.o
0x00800106 duty
0x00800108 stringlength
0x0080010a text
.data 0x00800120 0x0 build/uart.o
.data 0x00800120 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
.data 0x00800120 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
.data 0x00800120 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
.data 0x00800120 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
.data 0x00800120 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
*(.data*)
*(.rodata)
.rodata 0x00800120 0x27 build/print.o
0x00800120 dot
0x00800121 minus
0x00800122 blank
0x00800123 character_Font
0x0080013d number_Font
*(.rodata*)
*(.gnu.linkonce.d*)
0x00800148 . = ALIGN (0x2)
*fill* 0x00800147 0x1
0x00800148 _edata = .
0x00800148 PROVIDE (__data_end, .)
.bss 0x00800148 0x6
0x00800148 PROVIDE (__bss_start, .)
*(.bss)
.bss 0x00800148 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
.bss 0x00800148 0x0 build/print.o
.bss 0x00800148 0x0 build/DS3231.o
.bss 0x00800148 0x0 build/i2c.o
.bss 0x00800148 0x0 build/adc.o
.bss 0x00800148 0x6 build/main.o
0x00800148 animationtimer
0x0080014a offset
0x0080014c counter
.bss 0x0080014e 0x0 build/uart.o
.bss 0x0080014e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
.bss 0x0080014e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
.bss 0x0080014e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
.bss 0x0080014e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
.bss 0x0080014e 0x0 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
*(.bss*)
*(COMMON)
0x0080014e PROVIDE (__bss_end, .)
0x00000512 __data_load_start = LOADADDR (.data)
0x0000055a __data_load_end = (__data_load_start + SIZEOF (.data))
.noinit 0x0080014e 0x0
0x0080014e PROVIDE (__noinit_start, .)
*(.noinit*)
0x0080014e PROVIDE (__noinit_end, .)
0x0080014e _end = .
0x0080014e PROVIDE (__heap_start, .)
.eeprom 0x00810000 0x0
*(.eeprom*)
0x00810000 __eeprom_end = .
.fuse
*(.fuse)
*(.lfuse)
*(.hfuse)
*(.efuse)
.lock
*(.lock*)
.signature
*(.signature*)
.user_signatures
*(.user_signatures*)
.stab
*(.stab)
.stabstr
*(.stabstr)
.stab.excl
*(.stab.excl)
.stab.exclstr
*(.stab.exclstr)
.stab.index
*(.stab.index)
.stab.indexstr
*(.stab.indexstr)
.comment 0x00000000 0x11
*(.comment)
.comment 0x00000000 0x11 build/print.o
0x12 (size before relaxing)
.comment 0x00000000 0x12 build/DS3231.o
.comment 0x00000000 0x12 build/i2c.o
.comment 0x00000000 0x12 build/adc.o
.comment 0x00000000 0x12 build/main.o
.comment 0x00000000 0x12 build/uart.o
.debug
*(.debug)
.line
*(.line)
.debug_srcinfo
*(.debug_srcinfo)
.debug_sfnames
*(.debug_sfnames)
.debug_aranges 0x00000000 0x168
*(.debug_aranges)
.debug_aranges
0x00000000 0x20 build/print.o
.debug_aranges
0x00000020 0x20 build/DS3231.o
.debug_aranges
0x00000040 0x20 build/i2c.o
.debug_aranges
0x00000060 0x20 build/adc.o
.debug_aranges
0x00000080 0x28 build/main.o
.debug_aranges
0x000000a8 0x20 build/uart.o
.debug_aranges
0x000000c8 0x20 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
.debug_aranges
0x000000e8 0x20 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
.debug_aranges
0x00000108 0x20 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
.debug_aranges
0x00000128 0x20 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
.debug_aranges
0x00000148 0x20 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
.debug_pubnames
*(.debug_pubnames)
.debug_info 0x00000000 0xce0
*(.debug_info)
.debug_info 0x00000000 0x2e9 build/print.o
.debug_info 0x000002e9 0xc9 build/DS3231.o
.debug_info 0x000003b2 0xc1 build/i2c.o
.debug_info 0x00000473 0xb8 build/adc.o
.debug_info 0x0000052b 0x2a5 build/main.o
.debug_info 0x000007d0 0x155 build/uart.o
.debug_info 0x00000925 0xbf /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
.debug_info 0x000009e4 0xbf /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
.debug_info 0x00000aa3 0xbf /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
.debug_info 0x00000b62 0xbf /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
.debug_info 0x00000c21 0xbf /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
*(.gnu.linkonce.wi.*)
.debug_abbrev 0x00000000 0x5e8
*(.debug_abbrev)
.debug_abbrev 0x00000000 0x133 build/print.o
.debug_abbrev 0x00000133 0x9c build/DS3231.o
.debug_abbrev 0x000001cf 0x89 build/i2c.o
.debug_abbrev 0x00000258 0x87 build/adc.o
.debug_abbrev 0x000002df 0x1af build/main.o
.debug_abbrev 0x0000048e 0xf6 build/uart.o
.debug_abbrev 0x00000584 0x14 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
.debug_abbrev 0x00000598 0x14 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
.debug_abbrev 0x000005ac 0x14 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
.debug_abbrev 0x000005c0 0x14 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
.debug_abbrev 0x000005d4 0x14 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
.debug_line 0x00000000 0x54e
*(.debug_line)
.debug_line 0x00000000 0xa5 build/print.o
.debug_line 0x000000a5 0x49 build/DS3231.o
.debug_line 0x000000ee 0x8c build/i2c.o
.debug_line 0x0000017a 0x7c build/adc.o
.debug_line 0x000001f6 0xe7 build/main.o
.debug_line 0x000002dd 0x85 build/uart.o
.debug_line 0x00000362 0x69 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
.debug_line 0x000003cb 0x58 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
.debug_line 0x00000423 0x63 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
.debug_line 0x00000486 0x5e /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
.debug_line 0x000004e4 0x6a /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
.debug_frame 0x00000000 0x294
*(.debug_frame)
.debug_frame 0x00000000 0x9c build/print.o
.debug_frame 0x0000009c 0x34 build/DS3231.o
.debug_frame 0x000000d0 0x34 build/i2c.o
.debug_frame 0x00000104 0x34 build/adc.o
.debug_frame 0x00000138 0xfc build/main.o
.debug_frame 0x00000234 0x60 build/uart.o
.debug_str 0x00000000 0x352
*(.debug_str)
.debug_str 0x00000000 0x1d8 build/print.o
0x21b (size before relaxing)
.debug_str 0x000001d8 0x32 build/DS3231.o
0x144 (size before relaxing)
.debug_str 0x0000020a 0x20 build/i2c.o
0x144 (size before relaxing)
.debug_str 0x0000022a 0x2f build/adc.o
0x144 (size before relaxing)
.debug_str 0x00000259 0xb8 build/main.o
0x20a (size before relaxing)
.debug_str 0x00000311 0x41 build/uart.o
0x15b (size before relaxing)
.debug_loc 0x00000000 0x598
*(.debug_loc)
.debug_loc 0x00000000 0x2c9 build/print.o
.debug_loc 0x000002c9 0x2d build/i2c.o
.debug_loc 0x000002f6 0x51 build/adc.o
.debug_loc 0x00000347 0x16c build/main.o
.debug_loc 0x000004b3 0xe5 build/uart.o
.debug_macinfo
*(.debug_macinfo)
.debug_pubtypes
*(.debug_pubtypes)
.debug_ranges 0x00000000 0x18
*(.debug_ranges)
.debug_ranges 0x00000000 0x18 build/main.o
.debug_macro
*(.debug_macro)
OUTPUT(main.elf elf32-avr)
LOAD linker stubs
Cross Reference Table
Symbol File
DS3231_init build/DS3231.o
DS3231_seconds build/DS3231.o
SR_Buffer build/print.o
USART_Init build/uart.o
USART_Transmit build/uart.o
__bad_interrupt /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__bss_end /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
__bss_start /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
__data_end /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
__data_load_start /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
__data_start /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
__divmodhi4 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
build/main.o
__do_clear_bss /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_clear_bss.o)
build/main.o
__do_copy_data /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_copy_data.o)
build/main.o
build/print.o
__heap_end /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__init /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__stack /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__udivmodhi4 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_udivmodhi4.o)
/usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
__vector_1 build/main.o
/usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_10 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_11 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_12 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_13 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_14 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_15 build/main.o
/usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_16 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_17 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_18 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_19 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_2 build/main.o
/usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_20 build/main.o
/usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_21 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_22 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_23 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_24 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_25 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_26 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_27 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_28 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_29 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_3 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_30 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_31 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_32 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_33 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_34 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_4 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_5 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_6 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_7 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_8 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_9 /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vector_default /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
__vectors /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
_div /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_divmodhi4.o)
_exit /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
adc_read build/adc.o
adc_setup build/adc.o
add_ASCII_to_SR_Buffer build/print.o
add_Character_to_SR_Buffer build/print.o
add_Decimal_Point_to_SR_Buffer build/print.o
add_Number_to_SR_Buffer build/print.o
animationtimer build/main.o
blank build/print.o
character_Font build/print.o
check_buttons build/main.o
check_dip_switches build/main.o
clear_SR_Buffer build/print.o
build/main.o
counter build/main.o
dot build/print.o
duty build/main.o
exit /usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/avr51/libgcc.a(_exit.o)
/usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
i2c_init build/i2c.o
i2c_start build/i2c.o
build/DS3231.o
main build/main.o
/usr/local/CrossPack-AVR-20131216/lib/gcc/avr/4.8.1/../../../../avr/lib/avr51/crtm1284.o
minus build/print.o
number_Font build/print.o
offset build/main.o
print_SR_Buffer build/print.o
print_String build/print.o
build/main.o
putchar build/uart.o
set_PWM_duty build/main.o
setup build/main.o
stringlength build/main.o
text build/main.o
uart_puts build/uart.o

BIN
code/build/main.o Normal file

Binary file not shown.

542
code/build/print.lst Normal file
View File

@@ -0,0 +1,542 @@
1 .file "print.c"
2 __SP_H__ = 0x3e
3 __SP_L__ = 0x3d
4 __SREG__ = 0x3f
5 __RAMPZ__ = 0x3b
6 __tmp_reg__ = 0
7 __zero_reg__ = 1
8 .text
9 .Ltext0:
10 .cfi_sections .debug_frame
11 .global clear_SR_Buffer
13 clear_SR_Buffer:
14 .LFB10:
15 .file 1 "src/print.c"
1:src/print.c **** #include "pinout.h"
2:src/print.c **** #include "print.h"
3:src/print.c **** #include <stdlib.h>
4:src/print.c **** #include <avr/io.h>
5:src/print.c **** #include <util/delay.h>
6:src/print.c ****
7:src/print.c **** const unsigned char number_Font[10] = { 0b11011110, //0
8:src/print.c **** 0b00000110, //1
9:src/print.c **** 0b11101010, //2
10:src/print.c **** 0b01101110, //3
11:src/print.c **** 0b00110110, //4
12:src/print.c **** 0b01111100, //5
13:src/print.c **** 0b11111100, //6
14:src/print.c **** 0b00001110, //7
15:src/print.c **** 0b11111110, //8
16:src/print.c **** 0b01111110 //9
17:src/print.c **** };
18:src/print.c **** const unsigned char character_Font[26] = {0b10111110, //A
19:src/print.c **** 0b11110100, //b
20:src/print.c **** 0b11100000, //c
21:src/print.c **** 0b11100110, //d
22:src/print.c **** 0b11111000, //e
23:src/print.c **** 0b10111000, //F
24:src/print.c **** 0b11011100, //G
25:src/print.c **** 0b10110100, //h
26:src/print.c **** 0b00000100, //i
27:src/print.c **** 0b01000110, //J
28:src/print.c **** 0b10111100, //K
29:src/print.c **** 0b11010000, //L
30:src/print.c **** 0b10011110, //M
31:src/print.c **** 0b10100100, //n
32:src/print.c **** 0b11100100, //o
33:src/print.c **** 0b10111010, //P
34:src/print.c **** 0b00111110, //q
35:src/print.c **** 0b10100000, //r
36:src/print.c **** 0b01111100, //S
37:src/print.c **** 0b11110000, //t
38:src/print.c **** 0b11000100, //u
39:src/print.c **** 0b11000100, //v
40:src/print.c **** 0b11010110, //W
41:src/print.c **** 0b10110110, //X
42:src/print.c **** 0b01110110, //Y
43:src/print.c **** 0b11100110 //Z
44:src/print.c **** };
45:src/print.c **** const unsigned char blank = 0b00000000; //zeigt nichts an
46:src/print.c **** const unsigned char minus = 0b00100000; //zeigt '-' an
47:src/print.c **** const unsigned char dot = 0b00000001; //aktiviert Dezimalpunkt
48:src/print.c **** unsigned char SR_Buffer[6] = {0b11100110,
49:src/print.c **** 0b11100110,
50:src/print.c **** 0b11100110,
51:src/print.c **** 0b11100110,
52:src/print.c **** 0b11100110,
53:src/print.c **** 0b11100110,
54:src/print.c **** 0b11100110,
55:src/print.c **** 0b11100110};
56:src/print.c ****
57:src/print.c ****
58:src/print.c ****
59:src/print.c **** void clear_SR_Buffer() {
16 .loc 1 59 0
17 .cfi_startproc
18 /* prologue: function */
19 /* frame size = 0 */
20 /* stack size = 0 */
21 .L__stack_usage = 0
22 .LVL0:
23 .LBB2:
60:src/print.c **** for (char i = 0; i < 6; i++) {
61:src/print.c **** SR_Buffer[i] = blank;
24 .loc 1 61 0
25 0000 1092 0000 sts SR_Buffer,__zero_reg__
26 .LVL1:
27 0004 1092 0000 sts SR_Buffer+1,__zero_reg__
28 .LVL2:
29 0008 1092 0000 sts SR_Buffer+2,__zero_reg__
30 .LVL3:
31 000c 1092 0000 sts SR_Buffer+3,__zero_reg__
32 .LVL4:
33 0010 1092 0000 sts SR_Buffer+4,__zero_reg__
34 .LVL5:
35 0014 1092 0000 sts SR_Buffer+5,__zero_reg__
36 .LVL6:
37 0018 0895 ret
38 .LBE2:
39 .cfi_endproc
40 .LFE10:
42 .global add_Decimal_Point_to_SR_Buffer
44 add_Decimal_Point_to_SR_Buffer:
45 .LFB11:
62:src/print.c **** }
63:src/print.c **** }
64:src/print.c ****
65:src/print.c **** void add_Decimal_Point_to_SR_Buffer(int pos){
46 .loc 1 65 0
47 .cfi_startproc
48 .LVL7:
49 /* prologue: function */
50 /* frame size = 0 */
51 /* stack size = 0 */
52 .L__stack_usage = 0
66:src/print.c **** SR_Buffer[pos-1] += dot;
53 .loc 1 66 0
54 001a FC01 movw r30,r24
55 001c E050 subi r30,lo8(-(SR_Buffer-1))
56 001e F040 sbci r31,hi8(-(SR_Buffer-1))
57 0020 8081 ld r24,Z
58 .LVL8:
59 0022 8F5F subi r24,lo8(-(1))
60 0024 8083 st Z,r24
61 0026 0895 ret
62 .cfi_endproc
63 .LFE11:
65 .global print_SR_Buffer
67 print_SR_Buffer:
68 .LFB12:
67:src/print.c **** }
68:src/print.c ****
69:src/print.c **** void print_SR_Buffer() {
69 .loc 1 69 0
70 .cfi_startproc
71 /* prologue: function */
72 /* frame size = 0 */
73 /* stack size = 0 */
74 .L__stack_usage = 0
70:src/print.c **** PORTC &= ~(LATCH_SR);
75 .loc 1 70 0
76 0028 4298 cbi 0x8,2
77 .LVL9:
78 002a E0E0 ldi r30,lo8(SR_Buffer)
79 002c F0E0 ldi r31,hi8(SR_Buffer)
80 .LVL10:
81 .L7:
82 .LBB3:
71:src/print.c ****
72:src/print.c **** for (int i = 0; i < 6; i++) {
73:src/print.c **** SPDR = SR_Buffer[i];
83 .loc 1 73 0
84 002e 8191 ld r24,Z+
85 .LVL11:
86 0030 8EBD out 0x2e,r24
87 .L5:
74:src/print.c **** //SPDR = 0b11100110;
75:src/print.c **** //_delay_us(100);
76:src/print.c **** while (!(SPSR & (1 << SPIF))); //warten auf transferabschluss
88 .loc 1 76 0 discriminator 1
89 0032 0DB4 in __tmp_reg__,0x2d
90 0034 07FE sbrs __tmp_reg__,7
91 0036 00C0 rjmp .L5
92 .LVL12:
72:src/print.c **** for (int i = 0; i < 6; i++) {
93 .loc 1 72 0
94 0038 80E0 ldi r24,hi8(SR_Buffer+6)
95 003a E030 cpi r30,lo8(SR_Buffer+6)
96 003c F807 cpc r31,r24
97 003e 01F4 brne .L7
98 .LBE3:
77:src/print.c **** }
78:src/print.c **** PORTC |= LATCH_SR;
99 .loc 1 78 0
100 0040 429A sbi 0x8,2
101 0042 0895 ret
102 .cfi_endproc
103 .LFE12:
105 .global add_ASCII_to_SR_Buffer
107 add_ASCII_to_SR_Buffer:
108 .LFB14:
79:src/print.c **** //_delay_ms(1);
80:src/print.c **** //PORTC &= ~(LATCH_SR);
81:src/print.c **** }
82:src/print.c ****
83:src/print.c **** void print_String(char* string){
84:src/print.c **** for(int i = 0; i < 6; i++){
85:src/print.c **** add_ASCII_to_SR_Buffer(string[i],i);
86:src/print.c **** }
87:src/print.c **** print_SR_Buffer();
88:src/print.c **** }
89:src/print.c ****
90:src/print.c ****
91:src/print.c **** void add_ASCII_to_SR_Buffer(unsigned char character, int pos) {
109 .loc 1 91 0
110 .cfi_startproc
111 .LVL13:
112 /* prologue: function */
113 /* frame size = 0 */
114 /* stack size = 0 */
115 .L__stack_usage = 0
92:src/print.c **** int ascii_offset = 0;
93:src/print.c ****
94:src/print.c **** if((character > 46) && (character < 57)){ //Char ist Zahl
116 .loc 1 94 0
117 0044 91ED ldi r25,lo8(-47)
118 0046 980F add r25,r24
119 0048 9A30 cpi r25,lo8(10)
120 004a 00F4 brsh .L10
121 .LVL14:
95:src/print.c **** ascii_offset = 48;
96:src/print.c **** SR_Buffer[pos] = number_Font[character - ascii_offset]; //Zieht ASCII-Offset ab, sodass Zahl mit F
122 .loc 1 96 0
123 004c DB01 movw r26,r22
124 004e A050 subi r26,lo8(-(SR_Buffer))
125 0050 B040 sbci r27,hi8(-(SR_Buffer))
126 0052 E82F mov r30,r24
127 0054 F0E0 ldi r31,0
128 0056 E050 subi r30,lo8(-(number_Font-48))
129 0058 F040 sbci r31,hi8(-(number_Font-48))
130 005a 00C0 rjmp .L15
131 .LVL15:
132 .L10:
97:src/print.c **** }else if (character > 95 && character < 122) { //Buchstabe ist kleiner Buchstabe
133 .loc 1 97 0
134 005c 90EA ldi r25,lo8(-96)
135 005e 980F add r25,r24
136 0060 9A31 cpi r25,lo8(26)
137 0062 00F4 brsh .L12
138 .LVL16:
98:src/print.c **** ascii_offset = 97;
99:src/print.c **** SR_Buffer[pos] = character_Font[character - ascii_offset]; //Zieht ASCII-Offset ab, sodass Buch
139 .loc 1 99 0
140 0064 DB01 movw r26,r22
141 0066 A050 subi r26,lo8(-(SR_Buffer))
142 0068 B040 sbci r27,hi8(-(SR_Buffer))
143 006a E82F mov r30,r24
144 006c F0E0 ldi r31,0
145 006e E050 subi r30,lo8(-(character_Font-97))
146 0070 F040 sbci r31,hi8(-(character_Font-97))
147 .LVL17:
148 .L15:
149 0072 8081 ld r24,Z
150 .LVL18:
151 0074 8C93 st X,r24
152 0076 0895 ret
153 .LVL19:
154 .L12:
100:src/print.c **** } else if (character > 64 && character < 91){ //Buchstabe groß Buchstabe
155 .loc 1 100 0
156 0078 9FEB ldi r25,lo8(-65)
157 007a 980F add r25,r24
158 007c 9A31 cpi r25,lo8(26)
159 007e 00F4 brsh .L13
160 .LVL20:
101:src/print.c **** ascii_offset = 65;
102:src/print.c **** SR_Buffer[pos] = character_Font[character - ascii_offset]; //Zieht ASCII-Offset ab, sodass Buch
161 .loc 1 102 0
162 0080 DB01 movw r26,r22
163 0082 A050 subi r26,lo8(-(SR_Buffer))
164 0084 B040 sbci r27,hi8(-(SR_Buffer))
165 0086 E82F mov r30,r24
166 0088 F0E0 ldi r31,0
167 008a E050 subi r30,lo8(-(character_Font-65))
168 008c F040 sbci r31,hi8(-(character_Font-65))
169 008e 00C0 rjmp .L15
170 .LVL21:
171 .L13:
103:src/print.c **** } else if (character == 32){ //Charakter ist Blank ' '
172 .loc 1 103 0
173 0090 8032 cpi r24,lo8(32)
174 0092 01F4 brne .L14
104:src/print.c **** SR_Buffer[pos] = blank;
175 .loc 1 104 0
176 0094 FB01 movw r30,r22
177 0096 E050 subi r30,lo8(-(SR_Buffer))
178 0098 F040 sbci r31,hi8(-(SR_Buffer))
179 009a 1082 st Z,__zero_reg__
180 009c 0895 ret
181 .L14:
105:src/print.c **** } else if (character == 45){ //Charakter ist Minus -
182 .loc 1 105 0
183 009e 8D32 cpi r24,lo8(45)
184 00a0 01F4 brne .L9
106:src/print.c **** SR_Buffer[pos] = minus;
185 .loc 1 106 0
186 00a2 FB01 movw r30,r22
187 00a4 E050 subi r30,lo8(-(SR_Buffer))
188 00a6 F040 sbci r31,hi8(-(SR_Buffer))
189 00a8 80E2 ldi r24,lo8(32)
190 .LVL22:
191 00aa 8083 st Z,r24
192 .L9:
193 00ac 0895 ret
194 .cfi_endproc
195 .LFE14:
197 .global print_String
199 print_String:
200 .LFB13:
83:src/print.c **** void print_String(char* string){
201 .loc 1 83 0
202 .cfi_startproc
203 .LVL23:
204 00ae 0F93 push r16
205 .LCFI0:
206 .cfi_def_cfa_offset 3
207 .cfi_offset 16, -2
208 00b0 1F93 push r17
209 .LCFI1:
210 .cfi_def_cfa_offset 4
211 .cfi_offset 17, -3
212 00b2 CF93 push r28
213 .LCFI2:
214 .cfi_def_cfa_offset 5
215 .cfi_offset 28, -4
216 00b4 DF93 push r29
217 .LCFI3:
218 .cfi_def_cfa_offset 6
219 .cfi_offset 29, -5
220 /* prologue: function */
221 /* frame size = 0 */
222 /* stack size = 4 */
223 .L__stack_usage = 4
224 00b6 8C01 movw r16,r24
225 .LVL24:
226 .LBB4:
84:src/print.c **** for(int i = 0; i < 6; i++){
227 .loc 1 84 0
228 00b8 C0E0 ldi r28,0
229 00ba D0E0 ldi r29,0
230 .LVL25:
231 .L18:
85:src/print.c **** add_ASCII_to_SR_Buffer(string[i],i);
232 .loc 1 85 0 discriminator 2
233 00bc BE01 movw r22,r28
234 00be F801 movw r30,r16
235 00c0 8191 ld r24,Z+
236 00c2 8F01 movw r16,r30
237 00c4 0E94 0000 call add_ASCII_to_SR_Buffer
238 .LVL26:
84:src/print.c **** for(int i = 0; i < 6; i++){
239 .loc 1 84 0 discriminator 2
240 00c8 2196 adiw r28,1
241 .LVL27:
242 00ca C630 cpi r28,6
243 00cc D105 cpc r29,__zero_reg__
244 00ce 01F4 brne .L18
245 /* epilogue start */
246 .LBE4:
88:src/print.c **** }
247 .loc 1 88 0
248 00d0 DF91 pop r29
249 00d2 CF91 pop r28
250 .LVL28:
251 00d4 1F91 pop r17
252 00d6 0F91 pop r16
87:src/print.c **** print_SR_Buffer();
253 .loc 1 87 0
254 00d8 0C94 0000 jmp print_SR_Buffer
255 .LVL29:
256 .cfi_endproc
257 .LFE13:
259 .global add_Character_to_SR_Buffer
261 add_Character_to_SR_Buffer:
262 .LFB15:
107:src/print.c **** }
108:src/print.c ****
109:src/print.c **** }
110:src/print.c ****
111:src/print.c **** void add_Character_to_SR_Buffer(unsigned char character, int pos) {
263 .loc 1 111 0
264 .cfi_startproc
265 .LVL30:
266 /* prologue: function */
267 /* frame size = 0 */
268 /* stack size = 0 */
269 .L__stack_usage = 0
112:src/print.c **** int ascii_offset = 0;
113:src/print.c ****
114:src/print.c **** if (character > 96 && character < 122) { //Buchstabe ist kleiner Buchstabe
270 .loc 1 114 0
271 00dc 9FE9 ldi r25,lo8(-97)
272 00de 980F add r25,r24
273 00e0 9931 cpi r25,lo8(25)
274 00e2 00F4 brsh .L20
275 .LVL31:
115:src/print.c **** ascii_offset = 97;
116:src/print.c **** SR_Buffer[pos] = character_Font[character - ascii_offset]; //Zieht ASCII-Offset ab, sodass Buch
276 .loc 1 116 0
277 00e4 DB01 movw r26,r22
278 00e6 A050 subi r26,lo8(-(SR_Buffer))
279 00e8 B040 sbci r27,hi8(-(SR_Buffer))
280 00ea E82F mov r30,r24
281 00ec F0E0 ldi r31,0
282 00ee E050 subi r30,lo8(-(character_Font-97))
283 00f0 F040 sbci r31,hi8(-(character_Font-97))
284 00f2 00C0 rjmp .L22
285 .LVL32:
286 .L20:
117:src/print.c **** } else if (character > 65 && character < 91){ //Buchstabe groß Buchstabe
287 .loc 1 117 0
288 00f4 9EEB ldi r25,lo8(-66)
289 00f6 980F add r25,r24
290 00f8 9931 cpi r25,lo8(25)
291 00fa 00F4 brsh .L19
292 .LVL33:
118:src/print.c **** ascii_offset = 65;
119:src/print.c **** SR_Buffer[pos] = character_Font[character - ascii_offset]; //Zieht ASCII-Offset ab, sodass Buch
293 .loc 1 119 0
294 00fc DB01 movw r26,r22
295 00fe A050 subi r26,lo8(-(SR_Buffer))
296 0100 B040 sbci r27,hi8(-(SR_Buffer))
297 0102 E82F mov r30,r24
298 0104 F0E0 ldi r31,0
299 0106 E050 subi r30,lo8(-(character_Font-65))
300 0108 F040 sbci r31,hi8(-(character_Font-65))
301 .LVL34:
302 .L22:
303 010a 8081 ld r24,Z
304 .LVL35:
305 010c 8C93 st X,r24
306 .L19:
307 010e 0895 ret
308 .cfi_endproc
309 .LFE15:
311 .global add_Number_to_SR_Buffer
313 add_Number_to_SR_Buffer:
314 .LFB16:
120:src/print.c **** }
121:src/print.c ****
122:src/print.c **** }
123:src/print.c ****
124:src/print.c **** void add_Number_to_SR_Buffer(int number, int pos) {
315 .loc 1 124 0
316 .cfi_startproc
317 .LVL36:
318 /* prologue: function */
319 /* frame size = 0 */
320 /* stack size = 0 */
321 .L__stack_usage = 0
125:src/print.c **** SR_Buffer[pos-1] = number_Font[number];
322 .loc 1 125 0
323 0110 6050 subi r22,lo8(-(SR_Buffer-1))
324 0112 7040 sbci r23,hi8(-(SR_Buffer-1))
325 .LVL37:
326 0114 8050 subi r24,lo8(-(number_Font))
327 0116 9040 sbci r25,hi8(-(number_Font))
328 .LVL38:
329 0118 FC01 movw r30,r24
330 011a 8081 ld r24,Z
331 .LVL39:
332 011c FB01 movw r30,r22
333 .LVL40:
334 011e 8083 st Z,r24
335 0120 0895 ret
336 .cfi_endproc
337 .LFE16:
339 .global SR_Buffer
340 .data
343 SR_Buffer:
344 0000 E6 .byte -26
345 0001 E6 .byte -26
346 0002 E6 .byte -26
347 0003 E6 .byte -26
348 0004 E6 .byte -26
349 0005 E6 .byte -26
350 .global dot
351 .section .rodata
354 dot:
355 0000 01 .byte 1
356 .global minus
359 minus:
360 0001 20 .byte 32
361 .global blank
364 blank:
365 0002 00 .zero 1
366 .global character_Font
369 character_Font:
370 0003 BE .byte -66
371 0004 F4 .byte -12
372 0005 E0 .byte -32
373 0006 E6 .byte -26
374 0007 F8 .byte -8
375 0008 B8 .byte -72
376 0009 DC .byte -36
377 000a B4 .byte -76
378 000b 04 .byte 4
379 000c 46 .byte 70
380 000d BC .byte -68
381 000e D0 .byte -48
382 000f 9E .byte -98
383 0010 A4 .byte -92
384 0011 E4 .byte -28
385 0012 BA .byte -70
386 0013 3E .byte 62
387 0014 A0 .byte -96
388 0015 7C .byte 124
389 0016 F0 .byte -16
390 0017 C4 .byte -60
391 0018 C4 .byte -60
392 0019 D6 .byte -42
393 001a B6 .byte -74
394 001b 76 .byte 118
395 001c E6 .byte -26
396 .global number_Font
399 number_Font:
400 001d DE .byte -34
401 001e 06 .byte 6
402 001f EA .byte -22
403 0020 6E .byte 110
404 0021 36 .byte 54
405 0022 7C .byte 124
406 0023 FC .byte -4
407 0024 0E .byte 14
408 0025 FE .byte -2
409 0026 7E .byte 126
410 .text
411 .Letext0:
412 .file 2 "/usr/local/CrossPack-AVR-20131216/avr/include/stdint.h"
DEFINED SYMBOLS
*ABS*:00000000 print.c
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:2 *ABS*:0000003e __SP_H__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:3 *ABS*:0000003d __SP_L__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:4 *ABS*:0000003f __SREG__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:5 *ABS*:0000003b __RAMPZ__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:6 *ABS*:00000000 __tmp_reg__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:7 *ABS*:00000001 __zero_reg__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:13 .text:00000000 clear_SR_Buffer
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:343 .data:00000000 SR_Buffer
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:44 .text:0000001a add_Decimal_Point_to_SR_Buffer
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:67 .text:00000028 print_SR_Buffer
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:107 .text:00000044 add_ASCII_to_SR_Buffer
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:399 .rodata:0000001d number_Font
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:369 .rodata:00000003 character_Font
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:199 .text:000000ae print_String
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:261 .text:000000dc add_Character_to_SR_Buffer
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:313 .text:00000110 add_Number_to_SR_Buffer
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:354 .rodata:00000000 dot
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:359 .rodata:00000001 minus
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccd8mofv.s:364 .rodata:00000002 blank
UNDEFINED SYMBOLS
__do_copy_data

BIN
code/build/print.o Normal file

Binary file not shown.

BIN
code/build/uart 2.o Normal file

Binary file not shown.

177
code/build/uart.lst Normal file
View File

@@ -0,0 +1,177 @@
1 .file "uart.c"
2 __SP_H__ = 0x3e
3 __SP_L__ = 0x3d
4 __SREG__ = 0x3f
5 __RAMPZ__ = 0x3b
6 __tmp_reg__ = 0
7 __zero_reg__ = 1
8 .text
9 .Ltext0:
10 .cfi_sections .debug_frame
11 .global USART_Init
13 USART_Init:
14 .LFB0:
15 .file 1 "src/uart.c"
1:src/uart.c **** #include <avr/io.h>
2:src/uart.c **** #include "uart.h"
3:src/uart.c ****
4:src/uart.c ****
5:src/uart.c ****
6:src/uart.c **** void USART_Init(unsigned int ubrr)
7:src/uart.c **** {
16 .loc 1 7 0
17 .cfi_startproc
18 .LVL0:
19 /* prologue: function */
20 /* frame size = 0 */
21 /* stack size = 0 */
22 .L__stack_usage = 0
8:src/uart.c **** /*Set baud rate */
9:src/uart.c **** UBRR0H = ubrr>>8;
23 .loc 1 9 0
24 0000 9093 C500 sts 197,r25
10:src/uart.c **** UBRR0L = ubrr;
25 .loc 1 10 0
26 0004 8093 C400 sts 196,r24
11:src/uart.c **** /*Enable receiver and transmitter */
12:src/uart.c **** UCSR0B = (1<<TXEN0);
27 .loc 1 12 0
28 0008 88E0 ldi r24,lo8(8)
29 .LVL1:
30 000a 8093 C100 sts 193,r24
13:src/uart.c **** //| (1<<RXEN0)
14:src/uart.c **** //|(1<<RXCIE0);
15:src/uart.c **** /* Set frame format: 8data, 1 stop bit */
16:src/uart.c **** UCSR0C = (1<<UCSZ00) | (1 << UCSZ01);
31 .loc 1 16 0
32 000e 86E0 ldi r24,lo8(6)
33 0010 8093 C200 sts 194,r24
34 0014 0895 ret
35 .cfi_endproc
36 .LFE0:
38 .global USART_Transmit
40 USART_Transmit:
41 .LFB1:
17:src/uart.c **** }
18:src/uart.c ****
19:src/uart.c **** void USART_Transmit(unsigned char data )
20:src/uart.c **** {
42 .loc 1 20 0
43 .cfi_startproc
44 /* prologue: function */
45 /* frame size = 0 */
46 /* stack size = 0 */
47 .L__stack_usage = 0
48 .LVL2:
49 .L4:
21:src/uart.c **** /* Wait for empty transmit buffer */
22:src/uart.c **** while ( !( UCSR0A & (1<<UDRE0)) )
50 .loc 1 22 0 discriminator 1
51 0016 9091 C000 lds r25,192
52 001a 95FF sbrs r25,5
53 001c 00C0 rjmp .L4
23:src/uart.c **** ;
24:src/uart.c **** /* Put data into buffer, sends the data */
25:src/uart.c **** UDR0 = data;
54 .loc 1 25 0
55 001e 8093 C600 sts 198,r24
56 0022 0895 ret
57 .cfi_endproc
58 .LFE1:
60 .global uart_puts
62 uart_puts:
63 .LFB2:
26:src/uart.c **** }
27:src/uart.c ****
28:src/uart.c **** void uart_puts(char * str) {
64 .loc 1 28 0
65 .cfi_startproc
66 .LVL3:
67 0024 CF93 push r28
68 .LCFI0:
69 .cfi_def_cfa_offset 3
70 .cfi_offset 28, -2
71 0026 DF93 push r29
72 .LCFI1:
73 .cfi_def_cfa_offset 4
74 .cfi_offset 29, -3
75 /* prologue: function */
76 /* frame size = 0 */
77 /* stack size = 2 */
78 .L__stack_usage = 2
79 0028 EC01 movw r28,r24
80 .LVL4:
81 .L7:
29:src/uart.c **** while (*str) {
82 .loc 1 29 0 discriminator 1
83 002a 8991 ld r24,Y+
84 .LVL5:
85 002c 8823 tst r24
86 002e 01F0 breq .L9
87 .LVL6:
88 .LBB4:
89 .LBB5:
30:src/uart.c **** putchar(*str++);
31:src/uart.c **** }
32:src/uart.c **** }
33:src/uart.c ****
34:src/uart.c ****
35:src/uart.c **** int putchar(int c){
36:src/uart.c **** USART_Transmit((char) c);
90 .loc 1 36 0
91 0030 0E94 0000 call USART_Transmit
92 .LVL7:
93 0034 00C0 rjmp .L7
94 .LVL8:
95 .L9:
96 /* epilogue start */
97 .LBE5:
98 .LBE4:
32:src/uart.c **** }
99 .loc 1 32 0
100 0036 DF91 pop r29
101 0038 CF91 pop r28
102 .LVL9:
103 003a 0895 ret
104 .cfi_endproc
105 .LFE2:
107 .global putchar
109 putchar:
110 .LFB3:
35:src/uart.c **** int putchar(int c){
111 .loc 1 35 0
112 .cfi_startproc
113 .LVL10:
114 /* prologue: function */
115 /* frame size = 0 */
116 /* stack size = 0 */
117 .L__stack_usage = 0
118 .loc 1 36 0
119 003c 0E94 0000 call USART_Transmit
120 .LVL11:
37:src/uart.c **** //while ( !( UCSR0A & (1<<UDRE0)) )
38:src/uart.c **** //UDR0 = c;
39:src/uart.c **** return 0;
40:src/uart.c **** }
121 .loc 1 40 0
122 0040 80E0 ldi r24,0
123 0042 90E0 ldi r25,0
124 0044 0895 ret
125 .cfi_endproc
126 .LFE3:
128 .Letext0:
129 .file 2 "/usr/local/CrossPack-AVR-20131216/avr/include/stdint.h"
DEFINED SYMBOLS
*ABS*:00000000 uart.c
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccFBVmxm.s:2 *ABS*:0000003e __SP_H__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccFBVmxm.s:3 *ABS*:0000003d __SP_L__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccFBVmxm.s:4 *ABS*:0000003f __SREG__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccFBVmxm.s:5 *ABS*:0000003b __RAMPZ__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccFBVmxm.s:6 *ABS*:00000000 __tmp_reg__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccFBVmxm.s:7 *ABS*:00000001 __zero_reg__
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccFBVmxm.s:13 .text:00000000 USART_Init
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccFBVmxm.s:40 .text:00000016 USART_Transmit
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccFBVmxm.s:62 .text:00000024 uart_puts
/var/folders/vp/mj8sv_kj3c1gtbdcbb9v8gb80000gn/T//ccFBVmxm.s:109 .text:0000003c putchar
NO UNDEFINED SYMBOLS

BIN
code/build/uart.o Normal file

Binary file not shown.

15
code/inc/DS3231.h Normal file
View File

@@ -0,0 +1,15 @@
#ifndef _DS3231_h
#define _DS3231_h
#define DS3231_ADDRESS 0b1101000
#define REG_SECONDS 0x00 //Sekunden Register
void DS3231_init(void);
int DS3231_seconds(void);
#endif

BIN
code/inc/DS3231.h.gch Normal file

Binary file not shown.

7
code/inc/adc.h Normal file
View File

@@ -0,0 +1,7 @@
#ifndef _ADC_H
#define _ADC_H
void adc_setup(void);
int adc_read(unsigned char adc_pin);
#endif

BIN
code/inc/i2c Normal file

Binary file not shown.

22
code/inc/i2c.h Normal file
View File

@@ -0,0 +1,22 @@
#ifndef _I2C_h
#define _I2C_h
/** defines the data direction (reading from I2C device) in i2c_start(),i2c_rep_start() */
#define I2C_READ 1
/** defines the data direction (writing to I2C device) in i2c_start(),i2c_rep_start() */
#define I2C_WRITE 0
#define SCL_CLOCK 96000L //i2c clockspeed
void i2c_init(void);
unsigned char i2c_start(unsigned char address);
/*
void i2c_stop(void);
unsigned char i2c_write( unsigned char data );
unsigned char i2c_readAck(void);
unsigned char i2c_readNak(void);
*/
#endif

BIN
code/inc/i2c.h.gch Normal file

Binary file not shown.

BIN
code/inc/pinout Normal file

Binary file not shown.

41
code/inc/pinout.h Normal file
View File

@@ -0,0 +1,41 @@
//Register A
#define TUBE_PSU_FEEDBACK 0 //PA0 Tube PSU feedback
#define ENABLE_TUBE_SUPPLY 1 << 1 //PA1 Verbindet PSU-Spannung mit Röhren PMOS! -> activ low
#define CURRENTSENSING_TUBE_6 2 //PA2 CURRENTSENSING_TUBE_6
#define CURRENTSENSING_TUBE_5 3 //PA3 CURRENTSENSING_TUBE_5
#define CURRENTSENSING_TUBE_4 4 //PA4 CURRENTSENSING_TUBE_4
#define CURRENTSENSING_TUBE_3 5 //PA5 CURRENTSENSING_TUBE_3
#define CURRENTSENSING_TUBE_2 6 //PA6 CURRENTSENSING_TUBE_2
#define CURRENTSENSING_TUBE_1 7 //PA7 CURRENTSENSING_TUBE_1
//Register B
#define STATUS_LED_B 1 << 0 //PB0 Status LED b
#define STATUS_LED_C 1 << 1 //PB1 Status LED c
#define DIP_1 1 << 2 //PB2 Dip-Schalter Stelle 1
#define DIP_2 1 << 3 //PB3 Dip-Schalter Stelle 2
#define DIP_3 1 << 4 //PB4 Dip-Schalter Stelle 3
#define MOSI 1 << 5 //PB5 MOSI
#define MISO 1 << 6 //PB6 MISO
#define CLK 1 << 7 //PB7 Clock
//Register C
#define SCL 1 << 0 //PC0 SCL
#define SDA 1 << 1 //PC1 SDA
#define LATCH_SR 1 << 2 //PC2 Latch Shiftregister
#define ENABLE_SR 1 << 3 //PC3 Enable Shiftregister
#define DOT 1 << 4 //PC4 Doppelpunkt LEDs
#define BUTTON_A 1 << 5 //PC5 Button a
#define BUTTON_C 1 << 6 //PC6 Button c
#define ENABLE_TUBE_PSU 1 << 7 //PC7 Enable Tube PSU
//Register D
// PD0 RX
// PD1 TX
#define ENCODER_A 1 << 2 //PD2 Encoder A
#define ENCODER_PUSH 1 << 3 //PD3 Encoder Button
#define ENCODER_B 1 << 4 //PD4 Encoder B
#define RESET_SR 1 << 5 //PD5 Reset Shift Register
#define BUTTON_B 1 << 6 //PD6 Button b
#define TUBE_LED 1 << 7 //PD7 Tube LED

BIN
code/inc/pinout.h.gch Normal file

Binary file not shown.

18
code/inc/print.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef _PRINT_H
#define _PRINT_H
extern const unsigned char character_Font[26];
extern const unsigned char number_Font[10];
extern unsigned char SR_Buffer[];
void clear_SR_Buffer(void);
void print_SR_Buffer(void);
void add_Decimal_Point_to_SR_Buffer(int pos);
void add_Character_to_SR_Buffer(unsigned char character, int pos);
void add_Number_to_SR_Buffer(int number, int pos);
void print_String(char* string);
void add_ASCII_to_SR_Buffer(unsigned char, int pos);
#endif

BIN
code/inc/print.h.gch Normal file

Binary file not shown.

BIN
code/inc/uart Normal file

Binary file not shown.

13
code/inc/uart.h Normal file
View File

@@ -0,0 +1,13 @@
#ifndef _UART_H
#define _UART_H
#define BAUD 9600
#define MYUBRR F_CPU/16/BAUD-1
void USART_Init(unsigned int ubrr);
void USART_Transmit(unsigned char data );
void uart_puts( char* string);
int putchar(int c);
void search_i2c_devices(void);
#endif

BIN
code/inc/uart.h.gch Normal file

Binary file not shown.

BIN
code/main.elf Executable file

Binary file not shown.

155
code/makefile Normal file
View File

@@ -0,0 +1,155 @@
MCU = atmega1284
TARGET = main
AVRDUDE_PROGRAMMER = usbasp-clone
FCPU=16000000L
BUILDDIR=build
OPT = s
SRC = $(shell find src -name '*.c')
#SRC = main.c
FORMAT = ihex
# List any extra directories to look for include files here.
# Each directory must be seperated by a space.
EXTRAINCDIRS = inc
#### Flags ####
CFLAGS = -mmcu=$(MCU) -I. \
-g -O$(OPT) \
-funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums \
-Wall -Wstrict-prototypes \
-Wa,-adhlns=$(<:src/%.c=$(BUILDDIR)/%.lst) \
-DF_CPU=$(FCPU)\
$(patsubst %,-I%,$(EXTRAINCDIRS))\
-std=gnu99 #\
#-fno-builtin
LDFLAGS = -Wl,-Map=$(BUILDDIR)/$(TARGET).map,--cref
# Minimalistic printf version
#LDFLAGS += -Wl,-u,vfprintf -lprintf_min
# Floating point printf version (requires -lm below)
#LDFLAGS += -Wl,-u,vfprintf -lprintf_flt
# -lm = math library
LDFLAGS += -lm
#LDFLAGS += -nostdlib
AVRDUDE_FLAGS = -p $(MCU) -C ./avrdude.conf -c $(AVRDUDE_PROGRAMMER) -U flash:w:$(BUILDDIR)/$(TARGET).hex
#### Define programs and commands. ####
CC = avr-gcc
OBJCOPY = avr-objcopy
OBJDUMP = avr-objdump
SIZE = avr-size
AVRDUDE = ./avrdude
REMOVE = rm -f
COPY = cp
# Define all object files.
OBJ = $(SRC:src/%.c=$(BUILDDIR)/%.o)
# Define all listing files.
LST = $(SRC:src/%.c=$(BUILDDIR)/%.lst)
# Default target: make program!
all: $(TARGET).elf
# $(BUILDDIR)/$(TARGET).lss $(BUILDDIR)/$(TARGET).sym
# $(AVRDUDE) $(AVRDUDE_FLAGS) $(AVRDUDE_WRITE_FLASH) $(AVRDUDE_WRITE_EEPROM)
fuse:
$(AVRDUDE) -p $(MCU) -C ./avrdude.conf -c $(AVRDUDE_PROGRAMMER) \
-U lfuse:w:0xff:m -U hfuse:w:0xd9:m -U efuse:w:0xfc:m #16Mhz extern
#-U lfuse:w:0x42:m -U hfuse:w:0xd9:m -U efuse:w:0xfc:m #1MHz intern
# Program the device.
program: $(BUILDDIR)/$(TARGET).hex $(BUILDDIR)/$(TARGET).eep
$(AVRDUDE) $(AVRDUDE_FLAGS)
# Create final output files (.hex, .eep) from ELF output file.
$(BUILDDIR)/%.hex: %.elf
@echo
@echo "creating ihex"
$(OBJCOPY) -O $(FORMAT) -R .eeprom $< $@
$(BUILDDIR)/%.eep: %.elf
@echo
@echo "eeprom"
-$(OBJCOPY) -j .eeprom --set-section-flags=.eeprom="alloc,load" \
--change-section-lma .eeprom=0 -O $(FORMAT) $< $@
# Create extended listing file from ELF output file.
$(BUILDDIR)/%.lss: %.elf
@echo
@echo "listing"
$(OBJDUMP) -h -S $< > $@
# Create a symbol table from ELF output file.
$(BUILDDIR)/%.sym: %.elf
@echo
@echo "symbol table"
avr-nm -n $< > $@
# Link: create ELF output file from object files.
#.SECONDARY : $(BUILDDIR)/$(TARGET).elf
#.PRECIOUS : $(OBJ)
$(TARGET).elf: $(OBJ)
@echo
@echo "linking: " $(OBJ)
$(CC) $(CFLAGS) $(OBJ) --output $@ $(LDFLAGS)
# Compile: create object files from C source files.
$(BUILDDIR)/%.o : src/%.c
@echo
@echo "compiling" $<
$(CC) -c $(CFLAGS) $< -o $@
# Target: clean project.
clean:
@echo
@echo "cleaning"
$(REMOVE) $(BUILDDIR)/$(TARGET).hex
$(REMOVE) $(BUILDDIR)/$(TARGET).eep
$(REMOVE) $(BUILDDIR)/$(TARGET).obj
$(REMOVE) $(BUILDDIR)/$(TARGET).cof
$(REMOVE) $(TARGET).elf
$(REMOVE) $(BUILDDIR)/$(TARGET).map
$(REMOVE) $(BUILDDIR)/$(TARGET).obj
$(REMOVE) $(BUILDDIR)/$(TARGET).a90
$(REMOVE) $(BUILDDIR)/$(TARGET).sym
$(REMOVE) $(BUILDDIR)/$(TARGET).lnk
$(REMOVE) $(BUILDDIR)/$(TARGET).lss
$(REMOVE) $(OBJ)
$(REMOVE) $(LST)
$(REMOVE) $(SRC:src/%.c=$(BUILDDIR)/%.s)
$(REMOVE) $(SRC:src/%.c=$(BUILDDIR)/%.d)
$(REMOVE) $(BUILDDIR)/*~
# Automatically generate C source code dependencies.
# (Code originally taken from the GNU make user manual and modified
# (See README.txt Credits).)
#
# Note that this will work with sh (bash) and sed that is shipped with WinAVR
# (see the SHELL variable defined above).
# This may not work with other shells or other seds.
#
$(BUILDDIR)/%.d: %.c
set -e; $(CC) -MM $(CFLAGS) $< \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > $@; \
[ -s $@ ] || rm -f $@
# Remove the '-' if you want to see the dependency files generated.
-include $(SRC:.c=.d)
# Listing of phony targets.
.PHONY : all clean program fuse

41
code/src/DS3231.c Normal file
View File

@@ -0,0 +1,41 @@
#include "i2c.h"
#include "DS3231.h"
#include "pinout.h"
#include <avr/io.h>
void DS3231_init(void){
//i2c_start(DS3231_ADDRESS);
}
int DS3231_seconds(void){
char ret = i2c_start(DS3231_ADDRESS+I2C_WRITE);
/*
USART_Transmit_String(" Return ");
//putchar(ret);
USART_Transmit_String("\n");
*/
/*
if(ret){ //failed
PORTB |= STATUS_LED_B;
i2c_stop();
}else{
// issuing start condition ok, device accessible
i2c_write(0x05); // write address = 5
i2c_write(0x75); // ret=0 -> Ok, ret=1 -> no ACK
i2c_stop();
i2c_start_wait(DS3231_ADDRESS+I2C_WRITE); // set device address and write mode
i2c_write(REG_SECONDS); // write address = 5
i2c_rep_start(DS3231_ADDRESS+I2C_READ); // set device address and read mode
ret = i2c_readNak(); // read one byte
i2c_stop();
}
return ret;
*/
}

25
code/src/adc.c Normal file
View File

@@ -0,0 +1,25 @@
#include "adc.h"
#include "pinout.h"
#include <avr/io.h>
void adc_setup(void){
ADMUX = (1 << REFS0); //Versorgungsspannung definieren
ADCSRA|= (1 << ADEN) //enable bit für adc
| (1 << ADPS0) //setze Prescaler für Abtastfrequenz
| (1 << ADPS1) //setze Prescaler für Abtastfrequenz
| (0 << ADPS2); //setze Prescaler für Abtastfrequenz
}
int adc_read(unsigned char adc_pin) {
ADMUX &= 0b11110000; //Alte Port-Select Flags löschen
ADMUX|=adc_pin; //Neuen Eingang setzen
ADCSRA |= (1 << ADSC); // eine Wandlung "single conversion"
while (ADCSRA & (1 << ADSC) ) { // auf Abschluss der Konvertierung warten
}
int ADCresult = ADCL;
ADCresult += (ADCH << 8);
return ADCresult;
}

94
code/src/i2c.c Normal file
View File

@@ -0,0 +1,94 @@
#include "i2c.h"
#include "pinout.h"
#include <util/twi.h>
#include <avr/io.h>
void i2c_init(void)
{
/* initialize TWI clock: 100 kHz clock, TWPS = 0 => prescaler = 1 */
TWSR = 1; /* no prescaler */
TWBR = ((F_CPU/SCL_CLOCK)-16)/2; /* must be > 10 for stable operation */
}
unsigned char i2c_start(unsigned char address){
char DATA = 0b10011000;
//Send START condition
TWCR = (1<<TWINT)|
(1<<TWSTA)|
(1<<TWEN);
//Wait for TWINT Flag set. This indicates that the START condition has been transmitted.
while (!(TWCR &(1<<TWINT)));
//Check value of TWI Status Register. Mask prescaler bits. If status different from START go to ERROR.
if ((TWSR & 0xF8) != TW_START){
//ERROR();
}
//Load SLA_W into TWDR Register. Clear TWINT bit in TWCR to start transmission of address.
TWDR = address + I2C_WRITE;
TWCR = (1<<TWINT) |
(1<<TWEN);
//Wait for TWINT Flag set. This indicates that the SLA+W has been transmitted, and ACK/NACK has been received.
while (!(TWCR & (1<<TWINT)));
//Check value of TWI Status Register. Mask prescaler bits. If status different from MT_SLA_ACK go to ERROR.
if ((TWSR & 0xF8) != TW_MT_SLA_ACK){
// ERROR();
}
//Load DATA into TWDR Register. Clear TWINT bit in TWCR to start transmission of data.
TWDR = DATA;
TWCR = (1<<TWINT) |
(1<<TWEN);
//Wait for TWINT Flag set. This indicates that the DATA has been transmitted, and ACK/NACK has been received.
while (!(TWCR &(1<<TWINT)));
//Check value of TWI Status Register. Mask prescaler bits. If status different from MT_DATA_ACK go to ERROR.
if ((TWSR & 0xF8) != TW_MT_DATA_ACK){
// ERROR();
}
//Transmit STOP condition
TWCR = (1<<TWINT)|
(1<<TWEN) |
(1<<TWSTO);
/*
TWCR = _BV(TWINT) | _BV(TWSTA) | _BV(TWEN);
while (!(TWCR & (1<<TWINT)));
if ((TWSR & 0xF8) != TW_START)
return 1;
//ERROR(); //Fehlerbehandlung
TWDR = address + I2C_WRITE;
TWCR = (1<<TWINT) | (1<<TWEN);
while (!(TWCR & (1<<TWINT)));
if ((TWSR & 0xF8) != TW_MT_SLA_ACK)
//ERROR();
return 2;
TWDR = address;
TWCR = (1<<TWINT) | (1<<TWEN);
while (!(TWCR & (1<<TWINT)));
if ((TWSR & 0xF8) != TW_MT_DATA_ACK)
return 3;
//ERROR();
TWCR = (1<<TWINT)|(1<<TWEN)|
(1<<TWSTO);
*/
return 0;
}

301
code/src/main.c Normal file
View File

@@ -0,0 +1,301 @@
//#define F_CPU 16000000L
#include <avr/io.h>
#include <util/delay.h>
#include <avr/interrupt.h> //interrupts
#include <stdlib.h>
#include "pinout.h"
#include "print.h"
#include "adc.h"
#include "uart.h"
#include "i2c.h"
#include "DS3231.h"
/*README
DIP1 aktiviert Röhren-Schaltregler
*/
volatile int counter = 0;
char text[22] = {'F','R','o','h','e',' ',' ','W','e','i','h','n','a','c','h','t','e', 'n', ' ',' ', ' ', ' '};
//char text[18] = {'1','2','3','4','5','6','7','8','9','t','s','c','a','f','e',' ', ' ', ' '};
int offset = 0;
int animationtimer = 0;
int stringlength = 22;
int duty = 125;
void check_dip_switches(void);
void check_buttons(void);
void setup(void);
void set_PWM_duty(int dutycycle);
int main(void){
setup();
while(1){
//putchar('c');
//_delay_ms(50);
check_dip_switches();
check_buttons();
char current_section[6];
for(int i = 0; i < 6; i++){
current_section[i] = text[(i+offset)%stringlength];
if(text[(i+offset)%stringlength] == ' ' && text[(i+1+offset)%stringlength] == ' '){
PORTC |= DOT;
}else{
PORTC &= ~DOT;
}
}
//for(int i = 0; i < 6; i++){}
//char test_word[6] = {'0','0','0','0','0', (char)i};
print_String(current_section);
//i2c_start(0b00101010);
// current_e
/*
for(int i = 0; i < 6; i++)
SR_Buffer[i] = i;
print_SR_Buffer();
*/
//putchar((i2c_start(0x68))+48);
//i2c_write(0b00101010);
}
}
void check_dip_switches() {
if (PINB & DIP_1) {
PORTC |= ENABLE_TUBE_PSU;
PORTA &= ~ENABLE_TUBE_SUPPLY;
// PORTB |= STATUS_LED_B;
} else {
PORTC &= ~(ENABLE_TUBE_PSU);
PORTA |= (ENABLE_TUBE_SUPPLY);
// PORTB &= ~STATUS_LED_B;
}
}
void check_buttons(){
if((PINC & BUTTON_A)){
// PORTB &= ~STATUS_LED_C;
}
};
void setup(){
DDRA = ENABLE_TUBE_SUPPLY;
DDRB = STATUS_LED_B
| STATUS_LED_C
| MOSI
| CLK;
DDRC = LATCH_SR
| ENABLE_SR
| DOT
| ENABLE_TUBE_PSU;
DDRD = RESET_SR
| TUBE_LED;
//--------------------------
// SPI
//--------------------------
SPCR = (1 << SPE) | //enable SPI
(1 << MSTR) | //SPI als Master starten
(1 << SPR0) | //clock-prescaler LSB
(1 << SPR1) | //clock-prescaler MSB
(0 << SPIE) | //complete transfer/ recive interrupt
(0 << CPOL) |
(0 << CPHA) |
(0 << DORD); //MSB first = 0
SPSR = (1 << SPI2X);// | //clock- prescaler double speed
PORTC &= ~LATCH_SR; //latch low, sonst startet SPI nicht
PORTC |= LATCH_SR;
PORTD |= RESET_SR; //Setzte Reset auf HIGH (active LOW)
PORTC &= ~(ENABLE_SR); //Aktiviert Shiftregister (active LOW)
//--------------------------
// Externe Interrupts
//--------------------------
//External Interrupt Mask Register
EIMSK |= (1 << INT0) | //Aktiviere Interrupt INT0
(1 << INT1); //Aktiviere Interrupt INT1
//External Interrupt Control Register A
EICRA |= (0 << ISC10) | //Interrupt bei jedem Pegelwechsel auf INT1
(1 << ISC11) |
(1 << ISC00) | //Interrupt bei jedem Pegelwechsel auf INT0
(1 << ISC01);
//Pin Change Interrupt Control Register
PCICR |= (1 << PCIE2); //Enabled PCINT16-23 als mögliche Signalquelle für Interrupt
//Pin Change Mask Register 2
//PCMSK2 |= (1 << PCINT18) | //PCINT18 als Signalquelle wählen
// (1 << PCINT19); //PCINT19 als Signalquelle wählen
//--------------------------
// Timer + Zeitinterrupts
//--------------------------
//PWM-Timer
//OC2A set when upcounting, clear when down counting
TCCR2A = (1<<COM1A1)
| (0<<COM1A0);
TCCR2B=(1<<WGM20) //Wave form generartion mode
|(1<<WGM21) // Wave form generation mode
|(1<<COM2A1); //Compare Output Mode
OCR2A = duty; // Compare value 125
//Timer/Counter control Register A&B
//set normal-Mode and waveform
TCCR1A = (0 << WGM01) |
(0 << WGM00);
TCCR1B = (0 << WGM02);
//Prescaler von 1024
TCCR1B |= (1 << CS02) |
(0 << CS01) |
(1 << CS00) ;
//Output compare Regsiter (Setzt Zeit bei der Interrupt auslösen soll)
OCR1A = (1 << 7) | //MSB
(1 << 6) |
(1 << 5) |
(1 << 4) |
(1 << 3) |
(1 << 2) |
(1 << 1) |
(1 << 0) ; //LSB
//TIMSK1 |= (1 << OCIE0A); //Interruptvector hinzufügen
TIMSK1 |= (1 << ICIE1) | //Interrupt Counter Enabled)
(1 << TOIE1); //Timer Overflow Enabled
sei(); //Enable Interrupts
//adc_setup();
//i2c_init();
//USART_Init(MYUBRR);
clear_SR_Buffer();
}
//Timer 1 Interrupt
ISR (TIMER1_OVF_vect) // Timer1 ISR
{
//PORTD ^=TUBE_LED;
PORTB ^=STATUS_LED_C;
TCNT1 = 63974; //63974; // for 1 sec at 16 MHz
animationtimer ++;
if(animationtimer > 10){
animationtimer= 0;
offset++;
PORTB ^= STATUS_LED_B;
if(offset > 15){
offset = 0;
}
}
}
//Encoder rotate
ISR(INT0_vect) {
if (PIND & ENCODER_B) {
// set_PWM_duty(duty--);
} else {
// set_PWM_duty(duty++);
}
}
//Encoder Button
ISR(INT1_vect) {
}
ISR (USART0_RX_vect){
/*
//while ( !(UCSR0A & (1<<RXC0)) ){}; //RXC = Recive complete
char uart_Buffer[500];
char time_string[6];
char sat_string[2];
sat_string[0]='1';
sat_string[1]= '1';
for(int k = 0; k < 6; k++){
time_string[k] = '8';
}
int i = 0;
while(UDR0 != '\r' && i < 500){
uart_Buffer[i] = UDR0;
i++;
PORTB ^=STATUS_LED_B;
}
for(int j = 0; j < 500; j++){
//if(uart_Buffer[j] == '$'){
if(uart_Buffer[j+1] == 'G'){
if(uart_Buffer[j+2] == 'P'){
if(uart_Buffer[j+3] == 'Z'){
if(uart_Buffer[j+4] == 'D'){
if(uart_Buffer[j+5] == 'A'){
//j++;
sat_string[0] = uart_Buffer[1];
sat_string[1] = uart_Buffer[100];
//time_string[0] = uart_Buffer[j+36];
//time_string[1] = uart_Buffer[j+37];
//time_string[2] = uart_Buffer[j+8];
//time_string[3] = uart_Buffer[j+9];
//time_string[5] = uart_Buffer[j+10];
//time_string[6] = uart_Buffer[j+11];
}
}
}
}
}
// }
}
print_String(sat_string);
*/
}
void set_PWM_duty(int dutycycle){
OCR2A = dutycycle;
}

126
code/src/print.c Normal file
View File

@@ -0,0 +1,126 @@
#include "pinout.h"
#include "print.h"
#include <stdlib.h>
#include <avr/io.h>
#include <util/delay.h>
const unsigned char number_Font[10] = { 0b11011110, //0
0b00000110, //1
0b11101010, //2
0b01101110, //3
0b00110110, //4
0b01111100, //5
0b11111100, //6
0b00001110, //7
0b11111110, //8
0b01111110 //9
};
const unsigned char character_Font[26] = {0b10111110, //A
0b11110100, //b
0b11100000, //c
0b11100110, //d
0b11111000, //e
0b10111000, //F
0b11011100, //G
0b10110100, //h
0b00000100, //i
0b01000110, //J
0b10111100, //K
0b11010000, //L
0b10011110, //M
0b10100100, //n
0b11100100, //o
0b10111010, //P
0b00111110, //q
0b10100000, //r
0b01111100, //S
0b11110000, //t
0b11000100, //u
0b11000100, //v
0b11010110, //W
0b10110110, //X
0b01110110, //Y
0b11100110 //Z
};
const unsigned char blank = 0b00000000; //zeigt nichts an
const unsigned char minus = 0b00100000; //zeigt '-' an
const unsigned char dot = 0b00000001; //aktiviert Dezimalpunkt
unsigned char SR_Buffer[6] = {0b11100110,
0b11100110,
0b11100110,
0b11100110,
0b11100110,
0b11100110,
0b11100110,
0b11100110};
void clear_SR_Buffer() {
for (char i = 0; i < 6; i++) {
SR_Buffer[i] = blank;
}
}
void add_Decimal_Point_to_SR_Buffer(int pos){
SR_Buffer[pos-1] += dot;
}
void print_SR_Buffer() {
PORTC &= ~(LATCH_SR);
for (int i = 0; i < 6; i++) {
SPDR = SR_Buffer[i];
//SPDR = 0b11100110;
//_delay_us(100);
while (!(SPSR & (1 << SPIF))); //warten auf transferabschluss
}
PORTC |= LATCH_SR;
//_delay_ms(1);
//PORTC &= ~(LATCH_SR);
}
void print_String(char* string){
for(int i = 0; i < 6; i++){
add_ASCII_to_SR_Buffer(string[i],i);
}
print_SR_Buffer();
}
void add_ASCII_to_SR_Buffer(unsigned char character, int pos) {
int ascii_offset = 0;
if((character > 46) && (character < 57)){ //Char ist Zahl
ascii_offset = 48;
SR_Buffer[pos] = number_Font[character - ascii_offset]; //Zieht ASCII-Offset ab, sodass Zahl mit Font Index übereinstimmen
}else if (character > 95 && character < 122) { //Buchstabe ist kleiner Buchstabe
ascii_offset = 97;
SR_Buffer[pos] = character_Font[character - ascii_offset]; //Zieht ASCII-Offset ab, sodass Buchstaben mit Font Index übereinstimmen
} else if (character > 64 && character < 91){ //Buchstabe groß Buchstabe
ascii_offset = 65;
SR_Buffer[pos] = character_Font[character - ascii_offset]; //Zieht ASCII-Offset ab, sodass Buchstaben mit Font Index übereinstimmen
} else if (character == 32){ //Charakter ist Blank ' '
SR_Buffer[pos] = blank;
} else if (character == 45){ //Charakter ist Minus -
SR_Buffer[pos] = minus;
}
}
void add_Character_to_SR_Buffer(unsigned char character, int pos) {
int ascii_offset = 0;
if (character > 96 && character < 122) { //Buchstabe ist kleiner Buchstabe
ascii_offset = 97;
SR_Buffer[pos] = character_Font[character - ascii_offset]; //Zieht ASCII-Offset ab, sodass Buchstaben mit Font Index übereinstimmen
} else if (character > 65 && character < 91){ //Buchstabe groß Buchstabe
ascii_offset = 65;
SR_Buffer[pos] = character_Font[character - ascii_offset]; //Zieht ASCII-Offset ab, sodass Buchstaben mit Font Index übereinstimmen
}
}
void add_Number_to_SR_Buffer(int number, int pos) {
SR_Buffer[pos-1] = number_Font[number];
}

87
code/src/uart.c Normal file
View File

@@ -0,0 +1,87 @@
#include <avr/io.h>
#include "uart.h"
void USART_Init(unsigned int ubrr)
{
/*Set baud rate */
UBRR0H = ubrr>>8;
UBRR0L = ubrr;
/*Enable receiver and transmitter */
UCSR0B = (1<<TXEN0);
//| (1<<RXEN0)
//|(1<<RXCIE0);
/* Set frame format: 8data, 1 stop bit */
UCSR0C = (1<<UCSZ00) | (1 << UCSZ01);
}
void USART_Transmit(unsigned char data )
{
/* Wait for empty transmit buffer */
while ( !( UCSR0A & (1<<UDRE0)) )
;
/* Put data into buffer, sends the data */
UDR0 = data;
}
void uart_puts(char * str) {
while (*str) {
putchar(*str++);
}
}
int putchar(int c){
USART_Transmit((char) c);
//while ( !( UCSR0A & (1<<UDRE0)) )
//UDR0 = c;
return 0;
}
/*
void search_i2c_devices(){
char error, address;
int nDevices;
uart_puts("Scanning...");
nDevices = 0;
for (address = 1; address < 127; address++ )
{
uart_puts("\n");
uart_puts("Scanning...");
// The i2c_scanner uses the return value of
// the Write.endTransmisstion to see if
// a device did acknowledge to the address.
i2c_start_wait(address);
error = i2c_readNak();
if (error == 0)
{
uart_puts("I2C device found at address 0x");
if (address < 16)
uart_puts("0");
uart_puts(address);
uart_puts(" !");
nDevices++;
}
else if (error == 4)
{
uart_puts("Unknown error at address 0x");
if (address < 16)
uart_puts("0");
uart_puts(address);
}
}
if (nDevices == 0)
uart_puts("No I2C devices found\n");
else
uart_puts("done\n");
// delay(); // wait 5 seconds for next scan
}
*/

BIN
pcb/.DS_Store vendored Normal file

Binary file not shown.

111
pcb/0R_Jumper_Connector.bak Normal file
View File

@@ -0,0 +1,111 @@
EESchema Schematic File Version 4
LIBS:IV-9_Clock-cache
EELAYER 29 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 16 16
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L power:GND #PWR?
U 1 1 5BF3D02C
P 2250 2900
AR Path="/5BB73C46/5BF3D02C" Ref="#PWR?" Part="1"
AR Path="/5BF3D015/5BF3D02C" Ref="#PWR0235" Part="1"
F 0 "#PWR0235" H 2250 2650 50 0001 C CNN
F 1 "GND" H 2255 2727 50 0000 C CNN
F 2 "" H 2250 2900 50 0001 C CNN
F 3 "" H 2250 2900 50 0001 C CNN
1 2250 2900
1 0 0 -1
$EndComp
$Comp
L device:R R?
U 1 1 5BF3D032
P 2500 2800
AR Path="/5BB73C46/5BF3D032" Ref="R?" Part="1"
AR Path="/5BF3D015/5BF3D032" Ref="R1601" Part="1"
F 0 "R1601" V 2293 2800 50 0000 C CNN
F 1 "0R" V 2384 2800 50 0000 C CNN
F 2 "Resistors_SMD:R_1206" V 2430 2800 50 0001 C CNN
F 3 "~" H 2500 2800 50 0001 C CNN
1 2500 2800
0 1 1 0
$EndComp
Wire Wire Line
2250 2900 2250 2800
Wire Wire Line
2250 2800 2350 2800
$Comp
L power:GND #PWR?
U 1 1 5BF3D03B
P 2750 2900
AR Path="/5BB73C46/5BF3D03B" Ref="#PWR?" Part="1"
AR Path="/5BF3D015/5BF3D03B" Ref="#PWR0255" Part="1"
F 0 "#PWR0255" H 2750 2650 50 0001 C CNN
F 1 "GND" H 2755 2727 50 0000 C CNN
F 2 "" H 2750 2900 50 0001 C CNN
F 3 "" H 2750 2900 50 0001 C CNN
1 2750 2900
1 0 0 -1
$EndComp
Wire Wire Line
2750 2900 2750 2800
Wire Wire Line
2750 2800 2650 2800
$Comp
L power:GND #PWR?
U 1 1 5BF3D060
P 2250 3600
AR Path="/5BB73C46/5BF3D060" Ref="#PWR?" Part="1"
AR Path="/5BF3D015/5BF3D060" Ref="#PWR0256" Part="1"
F 0 "#PWR0256" H 2250 3350 50 0001 C CNN
F 1 "GND" H 2255 3427 50 0000 C CNN
F 2 "" H 2250 3600 50 0001 C CNN
F 3 "" H 2250 3600 50 0001 C CNN
1 2250 3600
1 0 0 -1
$EndComp
$Comp
L device:R R?
U 1 1 5BF3D066
P 2500 3500
AR Path="/5BB73C46/5BF3D066" Ref="R?" Part="1"
AR Path="/5BF3D015/5BF3D066" Ref="R1602" Part="1"
F 0 "R1602" V 2293 3500 50 0000 C CNN
F 1 "0R" V 2384 3500 50 0000 C CNN
F 2 "Resistors_SMD:R_2512" V 2430 3500 50 0001 C CNN
F 3 "~" H 2500 3500 50 0001 C CNN
1 2500 3500
0 1 1 0
$EndComp
Wire Wire Line
2250 3600 2250 3500
Wire Wire Line
2250 3500 2350 3500
$Comp
L power:GND #PWR?
U 1 1 5BF3D06F
P 2750 3600
AR Path="/5BB73C46/5BF3D06F" Ref="#PWR?" Part="1"
AR Path="/5BF3D015/5BF3D06F" Ref="#PWR0257" Part="1"
F 0 "#PWR0257" H 2750 3350 50 0001 C CNN
F 1 "GND" H 2755 3427 50 0000 C CNN
F 2 "" H 2750 3600 50 0001 C CNN
F 3 "" H 2750 3600 50 0001 C CNN
1 2750 3600
1 0 0 -1
$EndComp
Wire Wire Line
2750 3600 2750 3500
Wire Wire Line
2750 3500 2650 3500
$EndSCHEMATC

111
pcb/0R_Jumper_Connector.sch Normal file
View File

@@ -0,0 +1,111 @@
EESchema Schematic File Version 4
LIBS:IV-9_Clock-cache
EELAYER 29 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 16 16
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L power:GND #PWR?
U 1 1 5BF3D02C
P 2250 2900
AR Path="/5BB73C46/5BF3D02C" Ref="#PWR?" Part="1"
AR Path="/5BF3D015/5BF3D02C" Ref="#PWR0235" Part="1"
F 0 "#PWR0235" H 2250 2650 50 0001 C CNN
F 1 "GND" H 2255 2727 50 0000 C CNN
F 2 "" H 2250 2900 50 0001 C CNN
F 3 "" H 2250 2900 50 0001 C CNN
1 2250 2900
1 0 0 -1
$EndComp
$Comp
L device:R R?
U 1 1 5BF3D032
P 2500 2800
AR Path="/5BB73C46/5BF3D032" Ref="R?" Part="1"
AR Path="/5BF3D015/5BF3D032" Ref="R1601" Part="1"
F 0 "R1601" V 2293 2800 50 0000 C CNN
F 1 "0R" V 2384 2800 50 0000 C CNN
F 2 "Resistors_SMD:R_1206" V 2430 2800 50 0001 C CNN
F 3 "~" H 2500 2800 50 0001 C CNN
1 2500 2800
0 1 1 0
$EndComp
Wire Wire Line
2250 2900 2250 2800
Wire Wire Line
2250 2800 2350 2800
$Comp
L power:GND #PWR?
U 1 1 5BF3D03B
P 2750 2900
AR Path="/5BB73C46/5BF3D03B" Ref="#PWR?" Part="1"
AR Path="/5BF3D015/5BF3D03B" Ref="#PWR0255" Part="1"
F 0 "#PWR0255" H 2750 2650 50 0001 C CNN
F 1 "GND" H 2755 2727 50 0000 C CNN
F 2 "" H 2750 2900 50 0001 C CNN
F 3 "" H 2750 2900 50 0001 C CNN
1 2750 2900
1 0 0 -1
$EndComp
Wire Wire Line
2750 2900 2750 2800
Wire Wire Line
2750 2800 2650 2800
$Comp
L power:GND #PWR?
U 1 1 5BF3D060
P 2250 3600
AR Path="/5BB73C46/5BF3D060" Ref="#PWR?" Part="1"
AR Path="/5BF3D015/5BF3D060" Ref="#PWR0256" Part="1"
F 0 "#PWR0256" H 2250 3350 50 0001 C CNN
F 1 "GND" H 2255 3427 50 0000 C CNN
F 2 "" H 2250 3600 50 0001 C CNN
F 3 "" H 2250 3600 50 0001 C CNN
1 2250 3600
1 0 0 -1
$EndComp
$Comp
L device:R R?
U 1 1 5BF3D066
P 2500 3500
AR Path="/5BB73C46/5BF3D066" Ref="R?" Part="1"
AR Path="/5BF3D015/5BF3D066" Ref="R1602" Part="1"
F 0 "R1602" V 2293 3500 50 0000 C CNN
F 1 "0R" V 2384 3500 50 0000 C CNN
F 2 "Resistors_SMD:R_2512" V 2430 3500 50 0001 C CNN
F 3 "~" H 2500 3500 50 0001 C CNN
1 2500 3500
0 1 1 0
$EndComp
Wire Wire Line
2250 3600 2250 3500
Wire Wire Line
2250 3500 2350 3500
$Comp
L power:GND #PWR?
U 1 1 5BF3D06F
P 2750 3600
AR Path="/5BB73C46/5BF3D06F" Ref="#PWR?" Part="1"
AR Path="/5BF3D015/5BF3D06F" Ref="#PWR0257" Part="1"
F 0 "#PWR0257" H 2750 3350 50 0001 C CNN
F 1 "GND" H 2755 3427 50 0000 C CNN
F 2 "" H 2750 3600 50 0001 C CNN
F 3 "" H 2750 3600 50 0001 C CNN
1 2750 3600
1 0 0 -1
$EndComp
Wire Wire Line
2750 3600 2750 3500
Wire Wire Line
2750 3500 2650 3500
$EndSCHEMATC

667
pcb/2_5V PSU.bak Normal file
View File

@@ -0,0 +1,667 @@
EESchema Schematic File Version 4
LIBS:IV-9_Clock-cache
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 13 16
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L power:GND #PWR0196
U 1 1 59D40FC3
P 5500 3600
F 0 "#PWR0196" H 5500 3350 50 0001 C CNN
F 1 "GND" H 5500 3450 50 0000 C CNN
F 2 "" H 5500 3600 50 0001 C CNN
F 3 "" H 5500 3600 50 0001 C CNN
1 5500 3600
1 0 0 -1
$EndComp
$Comp
L device:R R1301
U 1 1 59D44D00
P 5500 2150
F 0 "R1301" V 5580 2150 50 0000 C CNN
F 1 "0.33R" V 5500 2150 50 0000 C CNN
F 2 "Resistors_SMD:R_2512" V 5430 2150 50 0001 C CNN
F 3 "" H 5500 2150 50 0001 C CNN
1 5500 2150
0 1 1 0
$EndComp
$Comp
L device:L L1301
U 1 1 59D4542E
P 6650 3000
F 0 "L1301" V 6600 3000 50 0000 C CNN
F 1 "100uH" V 6725 3000 50 0000 C CNN
F 2 "Inductors_SMD:L_Wuerth_MAPI-4020" H 6650 3000 50 0001 C CNN
F 3 "" H 6650 3000 50 0001 C CNN
1 6650 3000
0 1 1 0
$EndComp
$Comp
L device:C C1303
U 1 1 59D455EA
P 5000 3350
F 0 "C1303" H 5025 3450 50 0000 L CNN
F 1 "83pF" H 5025 3250 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 5038 3200 50 0001 C CNN
F 3 "" H 5000 3350 50 0001 C CNN
1 5000 3350
1 0 0 -1
$EndComp
Wire Wire Line
5900 3100 6000 3100
$Comp
L power:GND #PWR0197
U 1 1 59D4574C
P 5000 3600
F 0 "#PWR0197" H 5000 3350 50 0001 C CNN
F 1 "GND" H 5000 3450 50 0000 C CNN
F 2 "" H 5000 3600 50 0001 C CNN
F 3 "" H 5000 3600 50 0001 C CNN
1 5000 3600
1 0 0 -1
$EndComp
Wire Wire Line
5900 3000 6450 3000
Wire Wire Line
6450 3000 6450 3100
Connection ~ 6450 3000
Text Label 5250 2600 0 39 ~ 0
MC34063_SW_c
$Comp
L power:GND #PWR0199
U 1 1 59D4621F
P 6450 3600
F 0 "#PWR0199" H 6450 3350 50 0001 C CNN
F 1 "GND" H 6450 3450 50 0000 C CNN
F 2 "" H 6450 3600 50 0001 C CNN
F 3 "" H 6450 3600 50 0001 C CNN
1 6450 3600
1 0 0 -1
$EndComp
Wire Wire Line
6450 3400 6450 3600
$Comp
L device:CP C1304
U 1 1 59D46505
P 6850 3250
F 0 "C1304" H 6875 3350 50 0000 L CNN
F 1 "470uF" H 6900 3150 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 6888 3100 50 0001 C CNN
F 3 "" H 6850 3250 50 0001 C CNN
1 6850 3250
1 0 0 -1
$EndComp
Wire Wire Line
6850 3000 6850 3100
$Comp
L power:GND #PWR0202
U 1 1 5BB49528
P 6850 3600
F 0 "#PWR0202" H 6850 3350 50 0001 C CNN
F 1 "GND" H 6850 3450 50 0000 C CNN
F 2 "" H 6850 3600 50 0001 C CNN
F 3 "" H 6850 3600 50 0001 C CNN
1 6850 3600
1 0 0 -1
$EndComp
Wire Wire Line
6850 3600 6850 3400
$Comp
L device:R R1302
U 1 1 5BB49529
P 7500 3250
F 0 "R1302" V 7580 3250 50 0000 C CNN
F 1 "10k" V 7500 3250 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 7430 3250 50 0001 C CNN
F 3 "" H 7500 3250 50 0001 C CNN
1 7500 3250
1 0 0 -1
$EndComp
$Comp
L device:R R1303
U 1 1 5BB4952A
P 7500 4150
F 0 "R1303" V 7580 4150 50 0000 C CNN
F 1 "4.7k" V 7500 4150 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 7430 4150 50 0001 C CNN
F 3 "" H 7500 4150 50 0001 C CNN
1 7500 4150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0203
U 1 1 5BB4952B
P 7500 4300
F 0 "#PWR0203" H 7500 4050 50 0001 C CNN
F 1 "GND" H 7500 4150 50 0000 C CNN
F 2 "" H 7500 4300 50 0001 C CNN
F 3 "" H 7500 4300 50 0001 C CNN
1 7500 4300
1 0 0 -1
$EndComp
Connection ~ 6850 3000
Text Label 6000 3800 1 39 ~ 0
MC34063_Feedback
Connection ~ 7500 3000
$Comp
L power:+12V #PWR0205
U 1 1 5BB4952D
P 4150 2050
F 0 "#PWR0205" H 4150 1900 50 0001 C CNN
F 1 "+12V" H 4150 2190 50 0000 C CNN
F 2 "" H 4150 2050 50 0001 C CNN
F 3 "" H 4150 2050 50 0001 C CNN
1 4150 2050
1 0 0 -1
$EndComp
$Comp
L device:D D1301
U 1 1 5BB49523
P 6450 3250
F 0 "D1301" H 6500 3350 50 0000 C CNN
F 1 "SB350" H 6450 3150 50 0000 C CNN
F 2 "Diodes_SMD:D_SMB" H 6450 3250 50 0001 C CNN
F 3 "" H 6450 3250 50 0001 C CNN
1 6450 3250
0 1 1 0
$EndComp
Wire Wire Line
7100 3000 7100 3100
Connection ~ 7100 3000
$Comp
L power:GND #PWR0206
U 1 1 59F60B04
P 7100 3600
F 0 "#PWR0206" H 7100 3350 50 0001 C CNN
F 1 "GND" H 7100 3450 50 0000 C CNN
F 2 "" H 7100 3600 50 0001 C CNN
F 3 "" H 7100 3600 50 0001 C CNN
1 7100 3600
1 0 0 -1
$EndComp
Wire Wire Line
7100 3400 7100 3600
Wire Wire Line
8000 2900 8000 3000
$Comp
L power:GND #PWR0207
U 1 1 5AAD34AE
P 8000 3750
F 0 "#PWR0207" H 8000 3500 50 0001 C CNN
F 1 "GND" H 8000 3600 50 0000 C CNN
F 2 "" H 8000 3750 50 0001 C CNN
F 3 "" H 8000 3750 50 0001 C CNN
1 8000 3750
1 0 0 -1
$EndComp
Wire Wire Line
8000 3750 8000 3400
Wire Wire Line
6800 3000 6850 3000
Wire Wire Line
7500 3000 7500 3100
Wire Wire Line
6450 3000 6500 3000
Wire Wire Line
6850 3000 7100 3000
Wire Wire Line
7100 3000 7500 3000
$Comp
L Regulator_Switching:MC34063AD U1301
U 1 1 5BB49532
P 5500 2800
F 0 "U1301" H 5500 3267 50 0000 C CNN
F 1 "MC34063AD" H 5500 3176 50 0000 C CNN
F 2 "Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm" H 5550 2350 50 0001 L CNN
F 3 "http://www.onsemi.com/pub_link/Collateral/MC34063A-D.PDF" H 6000 2700 50 0001 C CNN
1 5500 2800
1 0 0 -1
$EndComp
Wire Wire Line
5000 3500 5000 3600
Wire Wire Line
5500 3300 5500 3600
Wire Wire Line
5000 3000 5100 3000
Wire Wire Line
5000 3000 5000 3200
Wire Wire Line
5350 2150 5000 2150
Wire Wire Line
5000 2150 5000 2600
Wire Wire Line
5000 2600 5100 2600
Wire Wire Line
5900 2800 6000 2800
Wire Wire Line
6000 2800 6000 2700
Wire Wire Line
6000 2150 5650 2150
Wire Wire Line
5900 2600 6000 2600
Connection ~ 6000 2600
Wire Wire Line
6000 2600 6000 2150
Wire Wire Line
5900 2700 6000 2700
Connection ~ 6000 2700
Wire Wire Line
6000 2700 6000 2600
$Comp
L device:CP C1302
U 1 1 5BB80A8D
P 4600 2400
F 0 "C1302" H 4718 2446 50 0000 L CNN
F 1 "220uF" H 4718 2355 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_8x10.5" H 4638 2250 50 0001 C CNN
F 3 "~" H 4600 2400 50 0001 C CNN
1 4600 2400
1 0 0 -1
$EndComp
Wire Wire Line
4600 2250 4600 2150
Wire Wire Line
4600 2150 5000 2150
Connection ~ 5000 2150
$Comp
L device:C C1301
U 1 1 5BB81889
P 4150 2400
F 0 "C1301" H 4265 2446 50 0000 L CNN
F 1 "100nF" H 4265 2355 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 4188 2250 50 0001 C CNN
F 3 "~" H 4150 2400 50 0001 C CNN
1 4150 2400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0208
U 1 1 5BB8197A
P 4600 2650
F 0 "#PWR0208" H 4600 2400 50 0001 C CNN
F 1 "GND" H 4605 2477 50 0000 C CNN
F 2 "" H 4600 2650 50 0001 C CNN
F 3 "" H 4600 2650 50 0001 C CNN
1 4600 2650
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0209
U 1 1 5BB81A2B
P 4150 2650
F 0 "#PWR0209" H 4150 2400 50 0001 C CNN
F 1 "GND" H 4155 2477 50 0000 C CNN
F 2 "" H 4150 2650 50 0001 C CNN
F 3 "" H 4150 2650 50 0001 C CNN
1 4150 2650
1 0 0 -1
$EndComp
Wire Wire Line
4150 2650 4150 2550
Wire Wire Line
4600 2650 4600 2550
Wire Wire Line
4150 2250 4150 2150
Connection ~ 4600 2150
Wire Wire Line
4150 2050 4150 2150
Wire Wire Line
4150 2150 4600 2150
Connection ~ 4150 2150
$Comp
L device:R_POT_TRIM RV1301
U 1 1 5BB85821
P 7500 3850
F 0 "RV1301" H 7431 3804 50 0000 R CNN
F 1 "10k" H 7431 3895 50 0000 R CNN
F 2 "Potentiometers:Potentiometer_Trimmer_Vishay_TS53YL" H 7500 3850 50 0001 C CNN
F 3 "~" H 7500 3850 50 0001 C CNN
1 7500 3850
-1 0 0 -1
$EndComp
Wire Wire Line
7500 3400 7500 3700
Wire Wire Line
7350 3850 6000 3850
Wire Wire Line
6000 3100 6000 3850
$Comp
L device:C C1305
U 1 1 5BB49531
P 7100 3250
F 0 "C1305" H 7215 3296 50 0000 L CNN
F 1 "C" H 7215 3205 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 7138 3100 50 0001 C CNN
F 3 "~" H 7100 3250 50 0001 C CNN
1 7100 3250
1 0 0 -1
$EndComp
Wire Wire Line
7500 3000 8000 3000
$Comp
L Transistor_BJT:BC850 Q1302
U 1 1 5BB57D85
P 5350 5500
F 0 "Q1302" H 5541 5546 50 0000 L CNN
F 1 "BC850" H 5541 5455 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 5550 5425 50 0001 L CIN
F 3 "http://www.infineon.com/dgdl/Infineon-BC847SERIES_BC848SERIES_BC849SERIES_BC850SERIES-DS-v01_01-en.pdf?fileId=db3a304314dca389011541d4630a1657" H 5350 5500 50 0001 L CNN
1 5350 5500
1 0 0 -1
$EndComp
$Comp
L device:R R1307
U 1 1 5BB57E62
P 5450 5100
F 0 "R1307" H 5520 5146 50 0000 L CNN
F 1 "200R" H 5520 5055 50 0000 L CNN
F 2 "Resistors_SMD:R_0805" V 5380 5100 50 0001 C CNN
F 3 "~" H 5450 5100 50 0001 C CNN
1 5450 5100
1 0 0 -1
$EndComp
Wire Wire Line
5450 5250 5450 5300
Wire Wire Line
5450 5700 5450 5750
Wire Wire Line
6000 5750 6000 3850
Wire Wire Line
5450 5750 6000 5750
Connection ~ 6000 3850
$Comp
L power:+12V #PWR0210
U 1 1 5BB5918B
P 5450 4850
F 0 "#PWR0210" H 5450 4700 50 0001 C CNN
F 1 "+12V" H 5465 5023 50 0000 C CNN
F 2 "" H 5450 4850 50 0001 C CNN
F 3 "" H 5450 4850 50 0001 C CNN
1 5450 4850
1 0 0 -1
$EndComp
Wire Wire Line
5450 4850 5450 4950
$Comp
L Transistor_FET:BSS138 Q1301
U 1 1 5BB59C86
P 4350 5850
F 0 "Q1301" H 4555 5896 50 0000 L CNN
F 1 "BSS138" H 4555 5805 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 4550 5775 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 4350 5850 50 0001 L CNN
1 4350 5850
1 0 0 -1
$EndComp
Wire Wire Line
4450 5650 4450 5500
$Comp
L device:R R1306
U 1 1 5BB5A81D
P 4450 5100
F 0 "R1306" H 4520 5146 50 0000 L CNN
F 1 "1k" H 4520 5055 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 4380 5100 50 0001 C CNN
F 3 "~" H 4450 5100 50 0001 C CNN
1 4450 5100
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0211
U 1 1 5BB5A8FE
P 4450 4850
F 0 "#PWR0211" H 4450 4700 50 0001 C CNN
F 1 "+12V" H 4465 5023 50 0000 C CNN
F 2 "" H 4450 4850 50 0001 C CNN
F 3 "" H 4450 4850 50 0001 C CNN
1 4450 4850
1 0 0 -1
$EndComp
Wire Wire Line
4450 4850 4450 4950
Wire Wire Line
4450 5250 4450 5500
Connection ~ 4450 5500
$Comp
L power:GND #PWR0212
U 1 1 5BB5CF6C
P 4450 6250
F 0 "#PWR0212" H 4450 6000 50 0001 C CNN
F 1 "GND" H 4455 6077 50 0000 C CNN
F 2 "" H 4450 6250 50 0001 C CNN
F 3 "" H 4450 6250 50 0001 C CNN
1 4450 6250
1 0 0 -1
$EndComp
$Comp
L device:R R1304
U 1 1 5BB5CFDD
P 3300 5850
F 0 "R1304" V 3093 5850 50 0000 C CNN
F 1 "0R" V 3184 5850 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 3230 5850 50 0001 C CNN
F 3 "~" H 3300 5850 50 0001 C CNN
1 3300 5850
0 1 1 0
$EndComp
$Comp
L device:R R1305
U 1 1 5BB5D0B6
P 3550 6100
F 0 "R1305" H 3620 6146 50 0000 L CNN
F 1 "10k" H 3620 6055 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 3480 6100 50 0001 C CNN
F 3 "~" H 3550 6100 50 0001 C CNN
1 3550 6100
1 0 0 -1
$EndComp
Wire Wire Line
3550 5950 3550 5850
Wire Wire Line
3550 5850 3450 5850
$Comp
L device:C C1306
U 1 1 5BB5DF23
P 3950 6100
F 0 "C1306" H 4065 6146 50 0000 L CNN
F 1 "100nF" H 4065 6055 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 3988 5950 50 0001 C CNN
F 3 "~" H 3950 6100 50 0001 C CNN
1 3950 6100
1 0 0 -1
$EndComp
Wire Wire Line
3550 5850 3950 5850
Connection ~ 3550 5850
Wire Wire Line
3950 5950 3950 5850
Connection ~ 3950 5850
Wire Wire Line
3950 5850 4150 5850
$Comp
L power:GND #PWR0213
U 1 1 5BB61879
P 3950 6250
F 0 "#PWR0213" H 3950 6000 50 0001 C CNN
F 1 "GND" H 3955 6077 50 0000 C CNN
F 2 "" H 3950 6250 50 0001 C CNN
F 3 "" H 3950 6250 50 0001 C CNN
1 3950 6250
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0214
U 1 1 5BB6191D
P 3550 6250
F 0 "#PWR0214" H 3550 6000 50 0001 C CNN
F 1 "GND" H 3555 6077 50 0000 C CNN
F 2 "" H 3550 6250 50 0001 C CNN
F 3 "" H 3550 6250 50 0001 C CNN
1 3550 6250
1 0 0 -1
$EndComp
Wire Wire Line
4450 6250 4450 6050
Wire Wire Line
4450 5500 5000 5500
$Comp
L Transistor_FET:BSS138 Q1303
U 1 1 5BB6719E
P 6400 5850
F 0 "Q1303" H 6605 5896 50 0000 L CNN
F 1 "BSS138" H 6605 5805 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 6600 5775 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 6400 5850 50 0001 L CNN
1 6400 5850
1 0 0 -1
$EndComp
Connection ~ 5000 5500
Wire Wire Line
5000 5500 5150 5500
$Comp
L device:LED D1303
U 1 1 5BB6A6ED
P 6500 5450
F 0 "D1303" V 6538 5332 50 0000 R CNN
F 1 "LED_2.5VPSU_off_red" V 6447 5332 50 0000 R CNN
F 2 "Diodes_SMD:D_0805" H 6500 5450 50 0001 C CNN
F 3 "~" H 6500 5450 50 0001 C CNN
1 6500 5450
0 -1 -1 0
$EndComp
Wire Wire Line
6500 5600 6500 5650
Wire Wire Line
6200 5850 5000 5850
Wire Wire Line
5000 5850 5000 5500
$Comp
L device:R R1308
U 1 1 5BB71DFD
P 6500 5100
F 0 "R1308" H 6570 5146 50 0000 L CNN
F 1 "10k" H 6570 5055 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 6430 5100 50 0001 C CNN
F 3 "~" H 6500 5100 50 0001 C CNN
1 6500 5100
1 0 0 -1
$EndComp
Wire Wire Line
6500 4950 6500 4850
Wire Wire Line
6500 5300 6500 5250
$Comp
L power:GND #PWR0216
U 1 1 5BB74731
P 6500 6250
F 0 "#PWR0216" H 6500 6000 50 0001 C CNN
F 1 "GND" H 6505 6077 50 0000 C CNN
F 2 "" H 6500 6250 50 0001 C CNN
F 3 "" H 6500 6250 50 0001 C CNN
1 6500 6250
1 0 0 -1
$EndComp
Wire Wire Line
6500 6250 6500 6050
Text GLabel 3100 5850 0 50 Input ~ 0
enable_2.5V_PSU
Wire Wire Line
3100 5850 3150 5850
$Comp
L power:+12V #PWR0215
U 1 1 5BB7CFF8
P 6500 4850
F 0 "#PWR0215" H 6500 4700 50 0001 C CNN
F 1 "+12V" H 6515 5023 50 0000 C CNN
F 2 "" H 6500 4850 50 0001 C CNN
F 3 "" H 6500 4850 50 0001 C CNN
1 6500 4850
1 0 0 -1
$EndComp
Text Label 5950 3000 0 39 ~ 0
SwE
Text Label 6950 3000 0 39 ~ 0
MC34063_HC_A
Text GLabel 9650 3000 2 50 Input ~ 0
PSU_2.5V_feedback
$Comp
L device:R R1309
U 1 1 5BB967B8
P 9250 3000
F 0 "R1309" V 9043 3000 50 0000 C CNN
F 1 "1k" V 9134 3000 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 9180 3000 50 0001 C CNN
F 3 "~" H 9250 3000 50 0001 C CNN
1 9250 3000
0 1 1 0
$EndComp
$Comp
L device:D_Zener D1302
U 1 1 5AAD3380
P 8000 3250
F 0 "D1302" H 8000 3350 50 0000 C CNN
F 1 "DZ_2.7V" H 8000 3150 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 8000 3250 50 0001 C CNN
F 3 "" H 8000 3250 50 0001 C CNN
1 8000 3250
0 1 1 0
$EndComp
$Comp
L device:D_Zener D1304
U 1 1 5BB9689B
P 9500 3250
F 0 "D1304" H 9500 3350 50 0000 C CNN
F 1 "DZ_5.1V" H 9500 3150 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 9500 3250 50 0001 C CNN
F 3 "" H 9500 3250 50 0001 C CNN
1 9500 3250
0 1 1 0
$EndComp
Wire Wire Line
9500 3000 9500 3100
Wire Wire Line
9400 3000 9500 3000
Wire Wire Line
9500 3000 9650 3000
Connection ~ 9500 3000
$Comp
L power:GND #PWR0223
U 1 1 5BBA3C15
P 9500 3750
F 0 "#PWR0223" H 9500 3500 50 0001 C CNN
F 1 "GND" H 9505 3577 50 0000 C CNN
F 2 "" H 9500 3750 50 0001 C CNN
F 3 "" H 9500 3750 50 0001 C CNN
1 9500 3750
1 0 0 -1
$EndComp
Wire Wire Line
9500 3750 9500 3400
Wire Wire Line
8000 3100 8000 3000
Connection ~ 8000 3000
Wire Wire Line
8000 3000 9100 3000
$Comp
L power:+3V3 #PWR?
U 1 1 5BC33A81
P 8000 2900
F 0 "#PWR?" H 8000 2750 50 0001 C CNN
F 1 "+3V3" H 8015 3073 50 0000 C CNN
F 2 "" H 8000 2900 50 0001 C CNN
F 3 "" H 8000 2900 50 0001 C CNN
1 8000 2900
1 0 0 -1
$EndComp
$EndSCHEMATC

667
pcb/2_5V PSU.sch Normal file
View File

@@ -0,0 +1,667 @@
EESchema Schematic File Version 4
LIBS:IV-9_Clock-cache
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 13 16
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L power:GND #PWR0196
U 1 1 59D40FC3
P 5500 3600
F 0 "#PWR0196" H 5500 3350 50 0001 C CNN
F 1 "GND" H 5500 3450 50 0000 C CNN
F 2 "" H 5500 3600 50 0001 C CNN
F 3 "" H 5500 3600 50 0001 C CNN
1 5500 3600
1 0 0 -1
$EndComp
$Comp
L device:R R1301
U 1 1 59D44D00
P 5500 2150
F 0 "R1301" V 5580 2150 50 0000 C CNN
F 1 "0.33R" V 5500 2150 50 0000 C CNN
F 2 "Resistors_SMD:R_2512" V 5430 2150 50 0001 C CNN
F 3 "" H 5500 2150 50 0001 C CNN
1 5500 2150
0 1 1 0
$EndComp
$Comp
L device:L L1301
U 1 1 59D4542E
P 6650 3000
F 0 "L1301" V 6600 3000 50 0000 C CNN
F 1 "100uH" V 6725 3000 50 0000 C CNN
F 2 "Inductors_SMD:L_Wuerth_MAPI-4020" H 6650 3000 50 0001 C CNN
F 3 "" H 6650 3000 50 0001 C CNN
1 6650 3000
0 1 1 0
$EndComp
$Comp
L device:C C1303
U 1 1 59D455EA
P 5000 3350
F 0 "C1303" H 5025 3450 50 0000 L CNN
F 1 "83pF" H 5025 3250 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 5038 3200 50 0001 C CNN
F 3 "" H 5000 3350 50 0001 C CNN
1 5000 3350
1 0 0 -1
$EndComp
Wire Wire Line
5900 3100 6000 3100
$Comp
L power:GND #PWR0197
U 1 1 59D4574C
P 5000 3600
F 0 "#PWR0197" H 5000 3350 50 0001 C CNN
F 1 "GND" H 5000 3450 50 0000 C CNN
F 2 "" H 5000 3600 50 0001 C CNN
F 3 "" H 5000 3600 50 0001 C CNN
1 5000 3600
1 0 0 -1
$EndComp
Wire Wire Line
5900 3000 6450 3000
Wire Wire Line
6450 3000 6450 3100
Connection ~ 6450 3000
Text Label 5250 2600 0 39 ~ 0
MC34063_SW_c
$Comp
L power:GND #PWR0199
U 1 1 59D4621F
P 6450 3600
F 0 "#PWR0199" H 6450 3350 50 0001 C CNN
F 1 "GND" H 6450 3450 50 0000 C CNN
F 2 "" H 6450 3600 50 0001 C CNN
F 3 "" H 6450 3600 50 0001 C CNN
1 6450 3600
1 0 0 -1
$EndComp
Wire Wire Line
6450 3400 6450 3600
$Comp
L device:CP C1304
U 1 1 59D46505
P 6850 3250
F 0 "C1304" H 6875 3350 50 0000 L CNN
F 1 "470uF" H 6900 3150 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 6888 3100 50 0001 C CNN
F 3 "" H 6850 3250 50 0001 C CNN
1 6850 3250
1 0 0 -1
$EndComp
Wire Wire Line
6850 3000 6850 3100
$Comp
L power:GND #PWR0202
U 1 1 5BB49528
P 6850 3600
F 0 "#PWR0202" H 6850 3350 50 0001 C CNN
F 1 "GND" H 6850 3450 50 0000 C CNN
F 2 "" H 6850 3600 50 0001 C CNN
F 3 "" H 6850 3600 50 0001 C CNN
1 6850 3600
1 0 0 -1
$EndComp
Wire Wire Line
6850 3600 6850 3400
$Comp
L device:R R1302
U 1 1 5BB49529
P 7500 3250
F 0 "R1302" V 7580 3250 50 0000 C CNN
F 1 "10k" V 7500 3250 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 7430 3250 50 0001 C CNN
F 3 "" H 7500 3250 50 0001 C CNN
1 7500 3250
1 0 0 -1
$EndComp
$Comp
L device:R R1303
U 1 1 5BB4952A
P 7500 4150
F 0 "R1303" V 7580 4150 50 0000 C CNN
F 1 "4.7k" V 7500 4150 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 7430 4150 50 0001 C CNN
F 3 "" H 7500 4150 50 0001 C CNN
1 7500 4150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0203
U 1 1 5BB4952B
P 7500 4300
F 0 "#PWR0203" H 7500 4050 50 0001 C CNN
F 1 "GND" H 7500 4150 50 0000 C CNN
F 2 "" H 7500 4300 50 0001 C CNN
F 3 "" H 7500 4300 50 0001 C CNN
1 7500 4300
1 0 0 -1
$EndComp
Connection ~ 6850 3000
Text Label 6000 3800 1 39 ~ 0
MC34063_Feedback
Connection ~ 7500 3000
$Comp
L power:+12V #PWR0205
U 1 1 5BB4952D
P 4150 2050
F 0 "#PWR0205" H 4150 1900 50 0001 C CNN
F 1 "+12V" H 4150 2190 50 0000 C CNN
F 2 "" H 4150 2050 50 0001 C CNN
F 3 "" H 4150 2050 50 0001 C CNN
1 4150 2050
1 0 0 -1
$EndComp
$Comp
L device:D D1301
U 1 1 5BB49523
P 6450 3250
F 0 "D1301" H 6500 3350 50 0000 C CNN
F 1 "SB350" H 6450 3150 50 0000 C CNN
F 2 "Diodes_SMD:D_SMB" H 6450 3250 50 0001 C CNN
F 3 "" H 6450 3250 50 0001 C CNN
1 6450 3250
0 1 1 0
$EndComp
Wire Wire Line
7100 3000 7100 3100
Connection ~ 7100 3000
$Comp
L power:GND #PWR0206
U 1 1 59F60B04
P 7100 3600
F 0 "#PWR0206" H 7100 3350 50 0001 C CNN
F 1 "GND" H 7100 3450 50 0000 C CNN
F 2 "" H 7100 3600 50 0001 C CNN
F 3 "" H 7100 3600 50 0001 C CNN
1 7100 3600
1 0 0 -1
$EndComp
Wire Wire Line
7100 3400 7100 3600
Wire Wire Line
8000 2900 8000 3000
$Comp
L power:GND #PWR0207
U 1 1 5AAD34AE
P 8000 3750
F 0 "#PWR0207" H 8000 3500 50 0001 C CNN
F 1 "GND" H 8000 3600 50 0000 C CNN
F 2 "" H 8000 3750 50 0001 C CNN
F 3 "" H 8000 3750 50 0001 C CNN
1 8000 3750
1 0 0 -1
$EndComp
Wire Wire Line
8000 3750 8000 3400
Wire Wire Line
6800 3000 6850 3000
Wire Wire Line
7500 3000 7500 3100
Wire Wire Line
6450 3000 6500 3000
Wire Wire Line
6850 3000 7100 3000
Wire Wire Line
7100 3000 7500 3000
$Comp
L Regulator_Switching:MC34063AD U1301
U 1 1 5BB49532
P 5500 2800
F 0 "U1301" H 5500 3267 50 0000 C CNN
F 1 "MC34063AD" H 5500 3176 50 0000 C CNN
F 2 "Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm" H 5550 2350 50 0001 L CNN
F 3 "http://www.onsemi.com/pub_link/Collateral/MC34063A-D.PDF" H 6000 2700 50 0001 C CNN
1 5500 2800
1 0 0 -1
$EndComp
Wire Wire Line
5000 3500 5000 3600
Wire Wire Line
5500 3300 5500 3600
Wire Wire Line
5000 3000 5100 3000
Wire Wire Line
5000 3000 5000 3200
Wire Wire Line
5350 2150 5000 2150
Wire Wire Line
5000 2150 5000 2600
Wire Wire Line
5000 2600 5100 2600
Wire Wire Line
5900 2800 6000 2800
Wire Wire Line
6000 2800 6000 2700
Wire Wire Line
6000 2150 5650 2150
Wire Wire Line
5900 2600 6000 2600
Connection ~ 6000 2600
Wire Wire Line
6000 2600 6000 2150
Wire Wire Line
5900 2700 6000 2700
Connection ~ 6000 2700
Wire Wire Line
6000 2700 6000 2600
$Comp
L device:CP C1302
U 1 1 5BB80A8D
P 4600 2400
F 0 "C1302" H 4718 2446 50 0000 L CNN
F 1 "220uF" H 4718 2355 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_8x10.5" H 4638 2250 50 0001 C CNN
F 3 "~" H 4600 2400 50 0001 C CNN
1 4600 2400
1 0 0 -1
$EndComp
Wire Wire Line
4600 2250 4600 2150
Wire Wire Line
4600 2150 5000 2150
Connection ~ 5000 2150
$Comp
L device:C C1301
U 1 1 5BB81889
P 4150 2400
F 0 "C1301" H 4265 2446 50 0000 L CNN
F 1 "100nF" H 4265 2355 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 4188 2250 50 0001 C CNN
F 3 "~" H 4150 2400 50 0001 C CNN
1 4150 2400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0208
U 1 1 5BB8197A
P 4600 2650
F 0 "#PWR0208" H 4600 2400 50 0001 C CNN
F 1 "GND" H 4605 2477 50 0000 C CNN
F 2 "" H 4600 2650 50 0001 C CNN
F 3 "" H 4600 2650 50 0001 C CNN
1 4600 2650
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0209
U 1 1 5BB81A2B
P 4150 2650
F 0 "#PWR0209" H 4150 2400 50 0001 C CNN
F 1 "GND" H 4155 2477 50 0000 C CNN
F 2 "" H 4150 2650 50 0001 C CNN
F 3 "" H 4150 2650 50 0001 C CNN
1 4150 2650
1 0 0 -1
$EndComp
Wire Wire Line
4150 2650 4150 2550
Wire Wire Line
4600 2650 4600 2550
Wire Wire Line
4150 2250 4150 2150
Connection ~ 4600 2150
Wire Wire Line
4150 2050 4150 2150
Wire Wire Line
4150 2150 4600 2150
Connection ~ 4150 2150
$Comp
L device:R_POT_TRIM RV1301
U 1 1 5BB85821
P 7500 3850
F 0 "RV1301" H 7431 3804 50 0000 R CNN
F 1 "10k" H 7431 3895 50 0000 R CNN
F 2 "Potentiometers:Potentiometer_Trimmer_Vishay_TS53YL" H 7500 3850 50 0001 C CNN
F 3 "~" H 7500 3850 50 0001 C CNN
1 7500 3850
-1 0 0 -1
$EndComp
Wire Wire Line
7500 3400 7500 3700
Wire Wire Line
7350 3850 6000 3850
Wire Wire Line
6000 3100 6000 3850
$Comp
L device:C C1305
U 1 1 5BB49531
P 7100 3250
F 0 "C1305" H 7215 3296 50 0000 L CNN
F 1 "C" H 7215 3205 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 7138 3100 50 0001 C CNN
F 3 "~" H 7100 3250 50 0001 C CNN
1 7100 3250
1 0 0 -1
$EndComp
Wire Wire Line
7500 3000 8000 3000
$Comp
L Transistor_BJT:BC850 Q1302
U 1 1 5BB57D85
P 5350 5500
F 0 "Q1302" H 5541 5546 50 0000 L CNN
F 1 "BC850" H 5541 5455 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 5550 5425 50 0001 L CIN
F 3 "http://www.infineon.com/dgdl/Infineon-BC847SERIES_BC848SERIES_BC849SERIES_BC850SERIES-DS-v01_01-en.pdf?fileId=db3a304314dca389011541d4630a1657" H 5350 5500 50 0001 L CNN
1 5350 5500
1 0 0 -1
$EndComp
$Comp
L device:R R1307
U 1 1 5BB57E62
P 5450 5100
F 0 "R1307" H 5520 5146 50 0000 L CNN
F 1 "200R" H 5520 5055 50 0000 L CNN
F 2 "Resistors_SMD:R_0805" V 5380 5100 50 0001 C CNN
F 3 "~" H 5450 5100 50 0001 C CNN
1 5450 5100
1 0 0 -1
$EndComp
Wire Wire Line
5450 5250 5450 5300
Wire Wire Line
5450 5700 5450 5750
Wire Wire Line
6000 5750 6000 3850
Wire Wire Line
5450 5750 6000 5750
Connection ~ 6000 3850
$Comp
L power:+12V #PWR0210
U 1 1 5BB5918B
P 5450 4850
F 0 "#PWR0210" H 5450 4700 50 0001 C CNN
F 1 "+12V" H 5465 5023 50 0000 C CNN
F 2 "" H 5450 4850 50 0001 C CNN
F 3 "" H 5450 4850 50 0001 C CNN
1 5450 4850
1 0 0 -1
$EndComp
Wire Wire Line
5450 4850 5450 4950
$Comp
L Transistor_FET:BSS138 Q1301
U 1 1 5BB59C86
P 4350 5850
F 0 "Q1301" H 4555 5896 50 0000 L CNN
F 1 "BSS138" H 4555 5805 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 4550 5775 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 4350 5850 50 0001 L CNN
1 4350 5850
1 0 0 -1
$EndComp
Wire Wire Line
4450 5650 4450 5500
$Comp
L device:R R1306
U 1 1 5BB5A81D
P 4450 5100
F 0 "R1306" H 4520 5146 50 0000 L CNN
F 1 "1k" H 4520 5055 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 4380 5100 50 0001 C CNN
F 3 "~" H 4450 5100 50 0001 C CNN
1 4450 5100
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0211
U 1 1 5BB5A8FE
P 4450 4850
F 0 "#PWR0211" H 4450 4700 50 0001 C CNN
F 1 "+12V" H 4465 5023 50 0000 C CNN
F 2 "" H 4450 4850 50 0001 C CNN
F 3 "" H 4450 4850 50 0001 C CNN
1 4450 4850
1 0 0 -1
$EndComp
Wire Wire Line
4450 4850 4450 4950
Wire Wire Line
4450 5250 4450 5500
Connection ~ 4450 5500
$Comp
L power:GND #PWR0212
U 1 1 5BB5CF6C
P 4450 6250
F 0 "#PWR0212" H 4450 6000 50 0001 C CNN
F 1 "GND" H 4455 6077 50 0000 C CNN
F 2 "" H 4450 6250 50 0001 C CNN
F 3 "" H 4450 6250 50 0001 C CNN
1 4450 6250
1 0 0 -1
$EndComp
$Comp
L device:R R1304
U 1 1 5BB5CFDD
P 3300 5850
F 0 "R1304" V 3093 5850 50 0000 C CNN
F 1 "0R" V 3184 5850 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 3230 5850 50 0001 C CNN
F 3 "~" H 3300 5850 50 0001 C CNN
1 3300 5850
0 1 1 0
$EndComp
$Comp
L device:R R1305
U 1 1 5BB5D0B6
P 3550 6100
F 0 "R1305" H 3620 6146 50 0000 L CNN
F 1 "10k" H 3620 6055 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 3480 6100 50 0001 C CNN
F 3 "~" H 3550 6100 50 0001 C CNN
1 3550 6100
1 0 0 -1
$EndComp
Wire Wire Line
3550 5950 3550 5850
Wire Wire Line
3550 5850 3450 5850
$Comp
L device:C C1306
U 1 1 5BB5DF23
P 3950 6100
F 0 "C1306" H 4065 6146 50 0000 L CNN
F 1 "100nF" H 4065 6055 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 3988 5950 50 0001 C CNN
F 3 "~" H 3950 6100 50 0001 C CNN
1 3950 6100
1 0 0 -1
$EndComp
Wire Wire Line
3550 5850 3950 5850
Connection ~ 3550 5850
Wire Wire Line
3950 5950 3950 5850
Connection ~ 3950 5850
Wire Wire Line
3950 5850 4150 5850
$Comp
L power:GND #PWR0213
U 1 1 5BB61879
P 3950 6250
F 0 "#PWR0213" H 3950 6000 50 0001 C CNN
F 1 "GND" H 3955 6077 50 0000 C CNN
F 2 "" H 3950 6250 50 0001 C CNN
F 3 "" H 3950 6250 50 0001 C CNN
1 3950 6250
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0214
U 1 1 5BB6191D
P 3550 6250
F 0 "#PWR0214" H 3550 6000 50 0001 C CNN
F 1 "GND" H 3555 6077 50 0000 C CNN
F 2 "" H 3550 6250 50 0001 C CNN
F 3 "" H 3550 6250 50 0001 C CNN
1 3550 6250
1 0 0 -1
$EndComp
Wire Wire Line
4450 6250 4450 6050
Wire Wire Line
4450 5500 5000 5500
$Comp
L Transistor_FET:BSS138 Q1303
U 1 1 5BB6719E
P 6400 5850
F 0 "Q1303" H 6605 5896 50 0000 L CNN
F 1 "BSS138" H 6605 5805 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 6600 5775 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 6400 5850 50 0001 L CNN
1 6400 5850
1 0 0 -1
$EndComp
Connection ~ 5000 5500
Wire Wire Line
5000 5500 5150 5500
$Comp
L device:LED D1303
U 1 1 5BB6A6ED
P 6500 5450
F 0 "D1303" V 6538 5332 50 0000 R CNN
F 1 "LED_2.5VPSU_off_red" V 6447 5332 50 0000 R CNN
F 2 "Diodes_SMD:D_0805" H 6500 5450 50 0001 C CNN
F 3 "~" H 6500 5450 50 0001 C CNN
1 6500 5450
0 -1 -1 0
$EndComp
Wire Wire Line
6500 5600 6500 5650
Wire Wire Line
6200 5850 5000 5850
Wire Wire Line
5000 5850 5000 5500
$Comp
L device:R R1308
U 1 1 5BB71DFD
P 6500 5100
F 0 "R1308" H 6570 5146 50 0000 L CNN
F 1 "10k" H 6570 5055 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 6430 5100 50 0001 C CNN
F 3 "~" H 6500 5100 50 0001 C CNN
1 6500 5100
1 0 0 -1
$EndComp
Wire Wire Line
6500 4950 6500 4850
Wire Wire Line
6500 5300 6500 5250
$Comp
L power:GND #PWR0216
U 1 1 5BB74731
P 6500 6250
F 0 "#PWR0216" H 6500 6000 50 0001 C CNN
F 1 "GND" H 6505 6077 50 0000 C CNN
F 2 "" H 6500 6250 50 0001 C CNN
F 3 "" H 6500 6250 50 0001 C CNN
1 6500 6250
1 0 0 -1
$EndComp
Wire Wire Line
6500 6250 6500 6050
Text GLabel 3100 5850 0 50 Input ~ 0
enable_3.3V_PSU
Wire Wire Line
3100 5850 3150 5850
$Comp
L power:+12V #PWR0215
U 1 1 5BB7CFF8
P 6500 4850
F 0 "#PWR0215" H 6500 4700 50 0001 C CNN
F 1 "+12V" H 6515 5023 50 0000 C CNN
F 2 "" H 6500 4850 50 0001 C CNN
F 3 "" H 6500 4850 50 0001 C CNN
1 6500 4850
1 0 0 -1
$EndComp
Text Label 5950 3000 0 39 ~ 0
SwE
Text Label 6950 3000 0 39 ~ 0
MC34063_HC_A
Text GLabel 9650 3000 2 50 Input ~ 0
PSU_3.3V_feedback
$Comp
L device:R R1309
U 1 1 5BB967B8
P 9250 3000
F 0 "R1309" V 9043 3000 50 0000 C CNN
F 1 "1k" V 9134 3000 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 9180 3000 50 0001 C CNN
F 3 "~" H 9250 3000 50 0001 C CNN
1 9250 3000
0 1 1 0
$EndComp
$Comp
L device:D_Zener D1302
U 1 1 5AAD3380
P 8000 3250
F 0 "D1302" H 8000 3350 50 0000 C CNN
F 1 "DZ_2.7V" H 8000 3150 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 8000 3250 50 0001 C CNN
F 3 "" H 8000 3250 50 0001 C CNN
1 8000 3250
0 1 1 0
$EndComp
$Comp
L device:D_Zener D1304
U 1 1 5BB9689B
P 9500 3250
F 0 "D1304" H 9500 3350 50 0000 C CNN
F 1 "DZ_5.1V" H 9500 3150 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 9500 3250 50 0001 C CNN
F 3 "" H 9500 3250 50 0001 C CNN
1 9500 3250
0 1 1 0
$EndComp
Wire Wire Line
9500 3000 9500 3100
Wire Wire Line
9400 3000 9500 3000
Wire Wire Line
9500 3000 9650 3000
Connection ~ 9500 3000
$Comp
L power:GND #PWR0223
U 1 1 5BBA3C15
P 9500 3750
F 0 "#PWR0223" H 9500 3500 50 0001 C CNN
F 1 "GND" H 9505 3577 50 0000 C CNN
F 2 "" H 9500 3750 50 0001 C CNN
F 3 "" H 9500 3750 50 0001 C CNN
1 9500 3750
1 0 0 -1
$EndComp
Wire Wire Line
9500 3750 9500 3400
Wire Wire Line
8000 3100 8000 3000
Connection ~ 8000 3000
Wire Wire Line
8000 3000 9100 3000
$Comp
L power:+3V3 #PWR?
U 1 1 5BC33A81
P 8000 2900
F 0 "#PWR?" H 8000 2750 50 0001 C CNN
F 1 "+3V3" H 8015 3073 50 0000 C CNN
F 2 "" H 8000 2900 50 0001 C CNN
F 3 "" H 8000 2900 50 0001 C CNN
1 8000 2900
1 0 0 -1
$EndComp
$EndSCHEMATC

855
pcb/3_3V PSU 2.bak Normal file
View File

@@ -0,0 +1,855 @@
EESchema Schematic File Version 4
LIBS:IV-9_Clock-cache
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 13 16
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L power:GND #PWR0196
U 1 1 59D40FC3
P 4150 2950
F 0 "#PWR0196" H 4150 2700 50 0001 C CNN
F 1 "GND" H 4150 2800 50 0000 C CNN
F 2 "" H 4150 2950 50 0001 C CNN
F 3 "" H 4150 2950 50 0001 C CNN
1 4150 2950
1 0 0 -1
$EndComp
$Comp
L device:R R1301
U 1 1 59D44D00
P 4150 1500
F 0 "R1301" V 4230 1500 50 0000 C CNN
F 1 "0.33R" V 4150 1500 50 0000 C CNN
F 2 "Resistors_SMD:R_2512" V 4080 1500 50 0001 C CNN
F 3 "" H 4150 1500 50 0001 C CNN
1 4150 1500
0 1 1 0
$EndComp
$Comp
L device:L L1301
U 1 1 59D4542E
P 5750 3150
F 0 "L1301" V 5700 3150 50 0000 C CNN
F 1 "100uH" V 5825 3150 50 0000 C CNN
F 2 "Inductors_SMD:L_Wuerth_MAPI-4020" H 5750 3150 50 0001 C CNN
F 3 "" H 5750 3150 50 0001 C CNN
1 5750 3150
0 1 1 0
$EndComp
$Comp
L device:C C1303
U 1 1 59D455EA
P 3650 2700
F 0 "C1303" H 3675 2800 50 0000 L CNN
F 1 "330pF" H 3675 2600 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 3688 2550 50 0001 C CNN
F 3 "" H 3650 2700 50 0001 C CNN
1 3650 2700
1 0 0 -1
$EndComp
Wire Wire Line
4550 2450 4650 2450
$Comp
L power:GND #PWR0197
U 1 1 59D4574C
P 3650 2950
F 0 "#PWR0197" H 3650 2700 50 0001 C CNN
F 1 "GND" H 3650 2800 50 0000 C CNN
F 2 "" H 3650 2950 50 0001 C CNN
F 3 "" H 3650 2950 50 0001 C CNN
1 3650 2950
1 0 0 -1
$EndComp
Wire Wire Line
5550 3150 5550 3250
Connection ~ 5550 3150
Text Label 3900 1950 0 39 ~ 0
MC34063_SW_c
$Comp
L power:GND #PWR0199
U 1 1 59D4621F
P 5550 3750
F 0 "#PWR0199" H 5550 3500 50 0001 C CNN
F 1 "GND" H 5550 3600 50 0000 C CNN
F 2 "" H 5550 3750 50 0001 C CNN
F 3 "" H 5550 3750 50 0001 C CNN
1 5550 3750
1 0 0 -1
$EndComp
Wire Wire Line
5550 3550 5550 3750
$Comp
L device:CP C1304
U 1 1 59D46505
P 5950 3400
F 0 "C1304" H 5975 3500 50 0000 L CNN
F 1 "470uF" H 6000 3300 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 5988 3250 50 0001 C CNN
F 3 "" H 5950 3400 50 0001 C CNN
1 5950 3400
1 0 0 -1
$EndComp
Wire Wire Line
5950 3150 5950 3250
$Comp
L power:GND #PWR0202
U 1 1 5BB49528
P 5950 3750
F 0 "#PWR0202" H 5950 3500 50 0001 C CNN
F 1 "GND" H 5950 3600 50 0000 C CNN
F 2 "" H 5950 3750 50 0001 C CNN
F 3 "" H 5950 3750 50 0001 C CNN
1 5950 3750
1 0 0 -1
$EndComp
Wire Wire Line
5950 3750 5950 3550
$Comp
L device:R R1302
U 1 1 5BB49529
P 6750 3400
F 0 "R1302" V 6830 3400 50 0000 C CNN
F 1 "10k" V 6750 3400 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 6680 3400 50 0001 C CNN
F 3 "" H 6750 3400 50 0001 C CNN
1 6750 3400
1 0 0 -1
$EndComp
$Comp
L device:R R1303
U 1 1 5BB4952A
P 6750 4500
F 0 "R1303" V 6830 4500 50 0000 C CNN
F 1 "4.7k" V 6750 4500 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 6680 4500 50 0001 C CNN
F 3 "" H 6750 4500 50 0001 C CNN
1 6750 4500
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0203
U 1 1 5BB4952B
P 6750 4650
F 0 "#PWR0203" H 6750 4400 50 0001 C CNN
F 1 "GND" H 6750 4500 50 0000 C CNN
F 2 "" H 6750 4650 50 0001 C CNN
F 3 "" H 6750 4650 50 0001 C CNN
1 6750 4650
1 0 0 -1
$EndComp
Connection ~ 5950 3150
Text Label 4650 3150 1 39 ~ 0
MC34063_Feedback
$Comp
L power:+12V #PWR0205
U 1 1 5BB4952D
P 2800 1400
F 0 "#PWR0205" H 2800 1250 50 0001 C CNN
F 1 "+12V" H 2800 1540 50 0000 C CNN
F 2 "" H 2800 1400 50 0001 C CNN
F 3 "" H 2800 1400 50 0001 C CNN
1 2800 1400
1 0 0 -1
$EndComp
$Comp
L device:D D1301
U 1 1 5BB49523
P 5550 3400
F 0 "D1301" H 5600 3500 50 0000 C CNN
F 1 "SB350" H 5550 3300 50 0000 C CNN
F 2 "Diodes_SMD:D_SMB" H 5550 3400 50 0001 C CNN
F 3 "" H 5550 3400 50 0001 C CNN
1 5550 3400
0 1 1 0
$EndComp
Wire Wire Line
6300 3150 6300 3250
$Comp
L power:GND #PWR0206
U 1 1 59F60B04
P 6300 3750
F 0 "#PWR0206" H 6300 3500 50 0001 C CNN
F 1 "GND" H 6300 3600 50 0000 C CNN
F 2 "" H 6300 3750 50 0001 C CNN
F 3 "" H 6300 3750 50 0001 C CNN
1 6300 3750
1 0 0 -1
$EndComp
Wire Wire Line
6300 3550 6300 3750
$Comp
L power:GND #PWR0207
U 1 1 5AAD34AE
P 7250 3900
F 0 "#PWR0207" H 7250 3650 50 0001 C CNN
F 1 "GND" H 7250 3750 50 0000 C CNN
F 2 "" H 7250 3900 50 0001 C CNN
F 3 "" H 7250 3900 50 0001 C CNN
1 7250 3900
1 0 0 -1
$EndComp
Wire Wire Line
7250 3900 7250 3550
Wire Wire Line
5900 3150 5950 3150
Wire Wire Line
6750 3150 6750 3250
Wire Wire Line
5550 3150 5600 3150
Wire Wire Line
5950 3150 6300 3150
Wire Wire Line
6300 3150 6750 3150
$Comp
L Regulator_Switching:MC34063AD U1301
U 1 1 5BB49532
P 4150 2150
F 0 "U1301" H 4150 2617 50 0000 C CNN
F 1 "MC34063AD" H 4150 2526 50 0000 C CNN
F 2 "Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm" H 4200 1700 50 0001 L CNN
F 3 "http://www.onsemi.com/pub_link/Collateral/MC34063A-D.PDF" H 4650 2050 50 0001 C CNN
1 4150 2150
1 0 0 -1
$EndComp
Wire Wire Line
3650 2850 3650 2950
Wire Wire Line
4150 2650 4150 2950
Wire Wire Line
3650 2350 3750 2350
Wire Wire Line
3650 2350 3650 2550
Wire Wire Line
4000 1500 3650 1500
Wire Wire Line
3650 1500 3650 1950
Wire Wire Line
3650 1950 3750 1950
Wire Wire Line
4650 1500 4300 1500
Wire Wire Line
4550 1950 4650 1950
Connection ~ 4650 1950
Wire Wire Line
4650 1950 4650 1500
Wire Wire Line
4550 2050 4650 2050
$Comp
L device:CP C1302
U 1 1 5BB80A8D
P 3250 1750
F 0 "C1302" H 3368 1796 50 0000 L CNN
F 1 "220uF" H 3368 1705 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_8x10.5" H 3288 1600 50 0001 C CNN
F 3 "~" H 3250 1750 50 0001 C CNN
1 3250 1750
1 0 0 -1
$EndComp
Wire Wire Line
3250 1600 3250 1500
Wire Wire Line
3250 1500 3650 1500
Connection ~ 3650 1500
$Comp
L device:C C1301
U 1 1 5BB81889
P 2800 1750
F 0 "C1301" H 2915 1796 50 0000 L CNN
F 1 "100nF" H 2915 1705 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 2838 1600 50 0001 C CNN
F 3 "~" H 2800 1750 50 0001 C CNN
1 2800 1750
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0208
U 1 1 5BB8197A
P 3250 2000
F 0 "#PWR0208" H 3250 1750 50 0001 C CNN
F 1 "GND" H 3255 1827 50 0000 C CNN
F 2 "" H 3250 2000 50 0001 C CNN
F 3 "" H 3250 2000 50 0001 C CNN
1 3250 2000
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0209
U 1 1 5BB81A2B
P 2800 2000
F 0 "#PWR0209" H 2800 1750 50 0001 C CNN
F 1 "GND" H 2805 1827 50 0000 C CNN
F 2 "" H 2800 2000 50 0001 C CNN
F 3 "" H 2800 2000 50 0001 C CNN
1 2800 2000
1 0 0 -1
$EndComp
Wire Wire Line
2800 2000 2800 1900
Wire Wire Line
3250 2000 3250 1900
Wire Wire Line
2800 1600 2800 1500
Connection ~ 3250 1500
Wire Wire Line
2800 1400 2800 1500
Wire Wire Line
2800 1500 3250 1500
Connection ~ 2800 1500
$Comp
L device:R_POT_TRIM RV1301
U 1 1 5BB85821
P 6750 4200
F 0 "RV1301" H 6681 4154 50 0000 R CNN
F 1 "10k" H 6681 4245 50 0000 R CNN
F 2 "Potentiometers:Potentiometer_Trimmer_Vishay_TS53YL" H 6750 4200 50 0001 C CNN
F 3 "~" H 6750 4200 50 0001 C CNN
1 6750 4200
-1 0 0 -1
$EndComp
Wire Wire Line
6750 3550 6750 4050
$Comp
L device:C C1305
U 1 1 5BB49531
P 6300 3400
F 0 "C1305" H 6415 3446 50 0000 L CNN
F 1 "C" H 6415 3355 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 6338 3250 50 0001 C CNN
F 3 "~" H 6300 3400 50 0001 C CNN
1 6300 3400
1 0 0 -1
$EndComp
Wire Wire Line
6750 3150 7250 3150
$Comp
L Transistor_BJT:BC850 Q1302
U 1 1 5BB57D85
P 4000 6250
F 0 "Q1302" H 4191 6296 50 0000 L CNN
F 1 "BC850" H 4191 6205 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 4200 6175 50 0001 L CIN
F 3 "http://www.infineon.com/dgdl/Infineon-BC847SERIES_BC848SERIES_BC849SERIES_BC850SERIES-DS-v01_01-en.pdf?fileId=db3a304314dca389011541d4630a1657" H 4000 6250 50 0001 L CNN
1 4000 6250
1 0 0 -1
$EndComp
$Comp
L device:R R1307
U 1 1 5BB57E62
P 4100 5850
F 0 "R1307" H 4170 5896 50 0000 L CNN
F 1 "200R" H 4170 5805 50 0000 L CNN
F 2 "Resistors_SMD:R_0805" V 4030 5850 50 0001 C CNN
F 3 "~" H 4100 5850 50 0001 C CNN
1 4100 5850
1 0 0 -1
$EndComp
Wire Wire Line
4100 6000 4100 6050
Wire Wire Line
4100 6450 4100 6500
Wire Wire Line
4100 6500 4650 6500
$Comp
L power:+12V #PWR0210
U 1 1 5BB5918B
P 4100 5600
F 0 "#PWR0210" H 4100 5450 50 0001 C CNN
F 1 "+12V" H 4115 5773 50 0000 C CNN
F 2 "" H 4100 5600 50 0001 C CNN
F 3 "" H 4100 5600 50 0001 C CNN
1 4100 5600
1 0 0 -1
$EndComp
Wire Wire Line
4100 5600 4100 5700
$Comp
L Transistor_FET:BSS138 Q1301
U 1 1 5BB59C86
P 3000 6600
F 0 "Q1301" H 3205 6646 50 0000 L CNN
F 1 "BSS138" H 3205 6555 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 3200 6525 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 3000 6600 50 0001 L CNN
1 3000 6600
1 0 0 -1
$EndComp
Wire Wire Line
3100 6400 3100 6250
$Comp
L device:R R1306
U 1 1 5BB5A81D
P 3100 5850
F 0 "R1306" H 3170 5896 50 0000 L CNN
F 1 "1k" H 3170 5805 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 3030 5850 50 0001 C CNN
F 3 "~" H 3100 5850 50 0001 C CNN
1 3100 5850
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0211
U 1 1 5BB5A8FE
P 3100 5600
F 0 "#PWR0211" H 3100 5450 50 0001 C CNN
F 1 "+12V" H 3115 5773 50 0000 C CNN
F 2 "" H 3100 5600 50 0001 C CNN
F 3 "" H 3100 5600 50 0001 C CNN
1 3100 5600
1 0 0 -1
$EndComp
Wire Wire Line
3100 5600 3100 5700
Wire Wire Line
3100 6000 3100 6250
Connection ~ 3100 6250
$Comp
L power:GND #PWR0212
U 1 1 5BB5CF6C
P 3100 7000
F 0 "#PWR0212" H 3100 6750 50 0001 C CNN
F 1 "GND" H 3105 6827 50 0000 C CNN
F 2 "" H 3100 7000 50 0001 C CNN
F 3 "" H 3100 7000 50 0001 C CNN
1 3100 7000
1 0 0 -1
$EndComp
$Comp
L device:R R1304
U 1 1 5BB5CFDD
P 1950 6600
F 0 "R1304" V 1743 6600 50 0000 C CNN
F 1 "0R" V 1834 6600 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 1880 6600 50 0001 C CNN
F 3 "~" H 1950 6600 50 0001 C CNN
1 1950 6600
0 1 1 0
$EndComp
$Comp
L device:R R1305
U 1 1 5BB5D0B6
P 2200 6850
F 0 "R1305" H 2270 6896 50 0000 L CNN
F 1 "10k" H 2270 6805 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 2130 6850 50 0001 C CNN
F 3 "~" H 2200 6850 50 0001 C CNN
1 2200 6850
1 0 0 -1
$EndComp
Wire Wire Line
2200 6700 2200 6600
Wire Wire Line
2200 6600 2100 6600
$Comp
L device:C C1306
U 1 1 5BB5DF23
P 2600 6850
F 0 "C1306" H 2715 6896 50 0000 L CNN
F 1 "100nF" H 2715 6805 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 2638 6700 50 0001 C CNN
F 3 "~" H 2600 6850 50 0001 C CNN
1 2600 6850
1 0 0 -1
$EndComp
Wire Wire Line
2200 6600 2600 6600
Connection ~ 2200 6600
Wire Wire Line
2600 6700 2600 6600
Connection ~ 2600 6600
Wire Wire Line
2600 6600 2800 6600
$Comp
L power:GND #PWR0213
U 1 1 5BB61879
P 2600 7000
F 0 "#PWR0213" H 2600 6750 50 0001 C CNN
F 1 "GND" H 2605 6827 50 0000 C CNN
F 2 "" H 2600 7000 50 0001 C CNN
F 3 "" H 2600 7000 50 0001 C CNN
1 2600 7000
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0214
U 1 1 5BB6191D
P 2200 7000
F 0 "#PWR0214" H 2200 6750 50 0001 C CNN
F 1 "GND" H 2205 6827 50 0000 C CNN
F 2 "" H 2200 7000 50 0001 C CNN
F 3 "" H 2200 7000 50 0001 C CNN
1 2200 7000
1 0 0 -1
$EndComp
Wire Wire Line
3100 7000 3100 6800
Wire Wire Line
3100 6250 3650 6250
$Comp
L Transistor_FET:BSS138 Q1303
U 1 1 5BB6719E
P 5050 6600
F 0 "Q1303" H 5255 6646 50 0000 L CNN
F 1 "BSS138" H 5255 6555 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 5250 6525 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 5050 6600 50 0001 L CNN
1 5050 6600
1 0 0 -1
$EndComp
Connection ~ 3650 6250
Wire Wire Line
3650 6250 3800 6250
$Comp
L device:LED D1303
U 1 1 5BB6A6ED
P 5150 6200
F 0 "D1303" V 5188 6082 50 0000 R CNN
F 1 "LED_2.5VPSU_off_red" V 5097 6082 50 0000 R CNN
F 2 "Diodes_SMD:D_0805" H 5150 6200 50 0001 C CNN
F 3 "~" H 5150 6200 50 0001 C CNN
1 5150 6200
0 -1 -1 0
$EndComp
Wire Wire Line
5150 6350 5150 6400
Wire Wire Line
4850 6600 3650 6600
Wire Wire Line
3650 6600 3650 6250
$Comp
L device:R R1308
U 1 1 5BB71DFD
P 5150 5850
F 0 "R1308" H 5220 5896 50 0000 L CNN
F 1 "10k" H 5220 5805 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 5080 5850 50 0001 C CNN
F 3 "~" H 5150 5850 50 0001 C CNN
1 5150 5850
1 0 0 -1
$EndComp
Wire Wire Line
5150 5700 5150 5600
Wire Wire Line
5150 6050 5150 6000
$Comp
L power:GND #PWR0216
U 1 1 5BB74731
P 5150 7000
F 0 "#PWR0216" H 5150 6750 50 0001 C CNN
F 1 "GND" H 5155 6827 50 0000 C CNN
F 2 "" H 5150 7000 50 0001 C CNN
F 3 "" H 5150 7000 50 0001 C CNN
1 5150 7000
1 0 0 -1
$EndComp
Wire Wire Line
5150 7000 5150 6800
Text GLabel 1750 6600 0 50 Input ~ 0
enable_3.3V_PSU
Wire Wire Line
1750 6600 1800 6600
$Comp
L power:+12V #PWR0215
U 1 1 5BB7CFF8
P 5150 5600
F 0 "#PWR0215" H 5150 5450 50 0001 C CNN
F 1 "+12V" H 5165 5773 50 0000 C CNN
F 2 "" H 5150 5600 50 0001 C CNN
F 3 "" H 5150 5600 50 0001 C CNN
1 5150 5600
1 0 0 -1
$EndComp
Text Label 4600 2350 0 39 ~ 0
SwE
Text Label 6050 3150 0 39 ~ 0
MC34063_HC_A
Text GLabel 9600 3150 2 50 Input ~ 0
PSU_3.3V_feedback
$Comp
L device:R R1309
U 1 1 5BB967B8
P 9200 3150
F 0 "R1309" V 8993 3150 50 0000 C CNN
F 1 "1k" V 9084 3150 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 9130 3150 50 0001 C CNN
F 3 "~" H 9200 3150 50 0001 C CNN
1 9200 3150
0 1 1 0
$EndComp
$Comp
L device:D_Zener D1302
U 1 1 5AAD3380
P 7250 3400
F 0 "D1302" H 7250 3500 50 0000 C CNN
F 1 "DZ_2.7V" H 7250 3300 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 7250 3400 50 0001 C CNN
F 3 "" H 7250 3400 50 0001 C CNN
1 7250 3400
0 1 1 0
$EndComp
$Comp
L device:D_Zener D1304
U 1 1 5BB9689B
P 9450 3400
F 0 "D1304" H 9450 3500 50 0000 C CNN
F 1 "DZ_5.1V" H 9450 3300 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 9450 3400 50 0001 C CNN
F 3 "" H 9450 3400 50 0001 C CNN
1 9450 3400
0 1 1 0
$EndComp
Wire Wire Line
9450 3150 9450 3250
Wire Wire Line
9350 3150 9450 3150
Wire Wire Line
9450 3150 9600 3150
Connection ~ 9450 3150
$Comp
L power:GND #PWR0223
U 1 1 5BBA3C15
P 9450 3900
F 0 "#PWR0223" H 9450 3650 50 0001 C CNN
F 1 "GND" H 9455 3727 50 0000 C CNN
F 2 "" H 9450 3900 50 0001 C CNN
F 3 "" H 9450 3900 50 0001 C CNN
1 9450 3900
1 0 0 -1
$EndComp
Wire Wire Line
9450 3900 9450 3550
Wire Wire Line
7250 3250 7250 3150
Connection ~ 7250 3150
$Comp
L power:+3V3 #PWR0204
U 1 1 5BC33A81
P 8700 2700
F 0 "#PWR0204" H 8700 2550 50 0001 C CNN
F 1 "+3V3" H 8715 2873 50 0000 C CNN
F 2 "" H 8700 2700 50 0001 C CNN
F 3 "" H 8700 2700 50 0001 C CNN
1 8700 2700
1 0 0 -1
$EndComp
Wire Wire Line
7250 3150 7450 3150
Connection ~ 6300 3150
Connection ~ 6750 3150
$Comp
L device:Q_NPN_BCE Q1304
U 1 1 5BC1E52E
P 5450 2350
F 0 "Q1304" H 5641 2396 50 0000 L CNN
F 1 "Q_NPN_BCE" H 5641 2305 50 0000 L CNN
F 2 "" H 5650 2450 50 0001 C CNN
F 3 "~" H 5450 2350 50 0001 C CNN
1 5450 2350
1 0 0 -1
$EndComp
$Comp
L device:R R1310
U 1 1 5BC1FD35
P 4850 2600
F 0 "R1310" H 4920 2646 50 0000 L CNN
F 1 "3.3k" H 4920 2555 50 0000 L CNN
F 2 "" V 4780 2600 50 0001 C CNN
F 3 "~" H 4850 2600 50 0001 C CNN
1 4850 2600
1 0 0 -1
$EndComp
Wire Wire Line
4850 2450 4850 2350
Wire Wire Line
4850 2350 4950 2350
$Comp
L power:GND #PWR0262
U 1 1 5BC215C7
P 4850 2950
F 0 "#PWR0262" H 4850 2700 50 0001 C CNN
F 1 "GND" H 4855 2777 50 0000 C CNN
F 2 "" H 4850 2950 50 0001 C CNN
F 3 "" H 4850 2950 50 0001 C CNN
1 4850 2950
1 0 0 -1
$EndComp
Wire Wire Line
4850 2950 4850 2750
$Comp
L device:R R1311
U 1 1 5BC25F71
P 5100 2350
F 0 "R1311" V 5000 2350 50 0000 C CNN
F 1 "0R" V 5100 2350 50 0000 C CNN
F 2 "" V 5030 2350 50 0001 C CNN
F 3 "~" H 5100 2350 50 0001 C CNN
1 5100 2350
0 1 1 0
$EndComp
Connection ~ 4850 2350
Wire Wire Line
4550 2350 4850 2350
Wire Wire Line
6600 4200 4650 4200
Wire Wire Line
4550 2150 4650 2150
Wire Wire Line
4650 2050 4650 2150
Connection ~ 4650 2050
Wire Wire Line
5550 2150 5550 1500
Wire Wire Line
5550 1500 4650 1500
Connection ~ 4650 1500
$Comp
L device:CP C1307
U 1 1 5BC3EDF8
P 7850 3400
F 0 "C1307" H 7968 3446 50 0000 L CNN
F 1 "CP" H 7968 3355 50 0000 L CNN
F 2 "" H 7888 3250 50 0001 C CNN
F 3 "~" H 7850 3400 50 0001 C CNN
1 7850 3400
1 0 0 -1
$EndComp
$Comp
L device:CP C1308
U 1 1 5BC3EE88
P 8250 3400
F 0 "C1308" H 8368 3446 50 0000 L CNN
F 1 "CP" H 8368 3355 50 0000 L CNN
F 2 "" H 8288 3250 50 0001 C CNN
F 3 "~" H 8250 3400 50 0001 C CNN
1 8250 3400
1 0 0 -1
$EndComp
$Comp
L device:C C1309
U 1 1 5BC4087E
P 8700 3400
F 0 "C1309" H 8815 3446 50 0000 L CNN
F 1 "C" H 8815 3355 50 0000 L CNN
F 2 "" H 8738 3250 50 0001 C CNN
F 3 "~" H 8700 3400 50 0001 C CNN
1 8700 3400
1 0 0 -1
$EndComp
Wire Wire Line
7750 3150 7850 3150
Wire Wire Line
7850 3150 7850 3250
Wire Wire Line
7850 3150 8250 3150
Wire Wire Line
8250 3150 8250 3250
Connection ~ 7850 3150
Wire Wire Line
8250 3150 8700 3150
Wire Wire Line
8700 3150 8700 3250
Connection ~ 8250 3150
Wire Wire Line
8700 3150 9050 3150
Connection ~ 8700 3150
$Comp
L power:GND #PWR0263
U 1 1 5BC47310
P 7850 3900
F 0 "#PWR0263" H 7850 3650 50 0001 C CNN
F 1 "GND" H 7855 3727 50 0000 C CNN
F 2 "" H 7850 3900 50 0001 C CNN
F 3 "" H 7850 3900 50 0001 C CNN
1 7850 3900
1 0 0 -1
$EndComp
Wire Wire Line
7850 3900 7850 3550
$Comp
L power:GND #PWR0264
U 1 1 5BC4912B
P 8250 3900
F 0 "#PWR0264" H 8250 3650 50 0001 C CNN
F 1 "GND" H 8255 3727 50 0000 C CNN
F 2 "" H 8250 3900 50 0001 C CNN
F 3 "" H 8250 3900 50 0001 C CNN
1 8250 3900
1 0 0 -1
$EndComp
Wire Wire Line
8250 3900 8250 3550
$Comp
L power:GND #PWR0265
U 1 1 5BC4AE57
P 8700 3900
F 0 "#PWR0265" H 8700 3650 50 0001 C CNN
F 1 "GND" H 8705 3727 50 0000 C CNN
F 2 "" H 8700 3900 50 0001 C CNN
F 3 "" H 8700 3900 50 0001 C CNN
1 8700 3900
1 0 0 -1
$EndComp
Wire Wire Line
8700 3900 8700 3550
Wire Wire Line
8700 2700 8700 3150
Wire Notes Line
7450 2850 7450 4200
Wire Notes Line
7450 4200 8850 4200
Wire Notes Line
8850 4200 8850 2850
Wire Notes Line
8850 2850 7450 2850
Text Notes 7450 2850 0 50 ~ 0
Ripple Filter Ref: V2
Wire Wire Line
4650 2450 4650 4200
Wire Wire Line
4650 1950 4650 2050
Wire Wire Line
4650 4200 4650 6500
Wire Wire Line
5550 2550 5550 3150
Wire Notes Line
4750 2050 4750 2850
Wire Notes Line
4750 2850 6000 2850
Wire Notes Line
6000 2850 6000 2050
Wire Notes Line
6000 2050 4750 2050
Text Notes 4750 2050 0 50 ~ 0
External BJT Ref: V2
Connection ~ 4650 4200
Wire Notes Line
900 5150 5800 5150
Wire Notes Line
5800 5150 5800 7450
Wire Notes Line
5800 7450 950 7450
Wire Notes Line
950 7450 950 5150
Text Notes 950 5150 0 50 ~ 0
PSU enable
$Comp
L device:Ferrite_Bead L?
U 1 1 5BC1CECA
P 7600 3150
F 0 "L?" V 7550 3050 50 0000 C CNN
F 1 "Ferrite_Bead" V 7750 2950 50 0000 C CNN
F 2 "" V 7530 3150 50 0001 C CNN
F 3 "~" H 7600 3150 50 0001 C CNN
1 7600 3150
0 -1 -1 0
$EndComp
$EndSCHEMATC

867
pcb/3_3V PSU 3.bak Normal file
View File

@@ -0,0 +1,867 @@
EESchema Schematic File Version 4
LIBS:IV-9_Clock-cache
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 12 15
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L power:GND #PWR0196
U 1 1 59D40FC3
P 4150 2950
F 0 "#PWR0196" H 4150 2700 50 0001 C CNN
F 1 "GND" H 4150 2800 50 0000 C CNN
F 2 "" H 4150 2950 50 0001 C CNN
F 3 "" H 4150 2950 50 0001 C CNN
1 4150 2950
1 0 0 -1
$EndComp
$Comp
L device:R R1301
U 1 1 59D44D00
P 4150 1500
F 0 "R1301" V 4230 1500 50 0000 C CNN
F 1 "0.33R" V 4150 1500 50 0000 C CNN
F 2 "Resistors_SMD:R_2512" V 4080 1500 50 0001 C CNN
F 3 "" H 4150 1500 50 0001 C CNN
1 4150 1500
0 1 1 0
$EndComp
$Comp
L device:L L1301
U 1 1 59D4542E
P 5750 3150
F 0 "L1301" V 5700 3150 50 0000 C CNN
F 1 "100uH" V 5825 3150 50 0000 C CNN
F 2 "Inductors_SMD:L_Vishay_IHLP-6767" H 5750 3150 50 0001 C CNN
F 3 "" H 5750 3150 50 0001 C CNN
1 5750 3150
0 1 1 0
$EndComp
$Comp
L device:C C1303
U 1 1 59D455EA
P 3650 2700
F 0 "C1303" H 3675 2800 50 0000 L CNN
F 1 "330pF" H 3675 2600 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 3688 2550 50 0001 C CNN
F 3 "" H 3650 2700 50 0001 C CNN
1 3650 2700
1 0 0 -1
$EndComp
Wire Wire Line
4550 2450 4650 2450
$Comp
L power:GND #PWR0197
U 1 1 59D4574C
P 3650 2950
F 0 "#PWR0197" H 3650 2700 50 0001 C CNN
F 1 "GND" H 3650 2800 50 0000 C CNN
F 2 "" H 3650 2950 50 0001 C CNN
F 3 "" H 3650 2950 50 0001 C CNN
1 3650 2950
1 0 0 -1
$EndComp
Wire Wire Line
5550 3150 5550 3250
Connection ~ 5550 3150
Text Label 3900 1950 0 39 ~ 0
MC34063_SW_c
$Comp
L power:GND #PWR0199
U 1 1 59D4621F
P 5550 3750
F 0 "#PWR0199" H 5550 3500 50 0001 C CNN
F 1 "GND" H 5550 3600 50 0000 C CNN
F 2 "" H 5550 3750 50 0001 C CNN
F 3 "" H 5550 3750 50 0001 C CNN
1 5550 3750
1 0 0 -1
$EndComp
Wire Wire Line
5550 3550 5550 3750
$Comp
L device:CP C1304
U 1 1 59D46505
P 5950 3400
F 0 "C1304" H 5975 3500 50 0000 L CNN
F 1 "470uF" H 6000 3300 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 5988 3250 50 0001 C CNN
F 3 "" H 5950 3400 50 0001 C CNN
1 5950 3400
1 0 0 -1
$EndComp
Wire Wire Line
5950 3150 5950 3250
$Comp
L power:GND #PWR0202
U 1 1 5BB49528
P 5950 3750
F 0 "#PWR0202" H 5950 3500 50 0001 C CNN
F 1 "GND" H 5950 3600 50 0000 C CNN
F 2 "" H 5950 3750 50 0001 C CNN
F 3 "" H 5950 3750 50 0001 C CNN
1 5950 3750
1 0 0 -1
$EndComp
Wire Wire Line
5950 3750 5950 3550
$Comp
L device:R R1302
U 1 1 5BB49529
P 9000 3400
F 0 "R1302" V 9080 3400 50 0000 C CNN
F 1 "27k" V 9000 3400 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 8930 3400 50 0001 C CNN
F 3 "" H 9000 3400 50 0001 C CNN
1 9000 3400
1 0 0 -1
$EndComp
$Comp
L device:R R1303
U 1 1 5BB4952A
P 9000 4650
F 0 "R1303" V 9080 4650 50 0000 C CNN
F 1 "4.7k" V 9000 4650 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 8930 4650 50 0001 C CNN
F 3 "" H 9000 4650 50 0001 C CNN
1 9000 4650
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0203
U 1 1 5BB4952B
P 9000 4800
F 0 "#PWR0203" H 9000 4550 50 0001 C CNN
F 1 "GND" H 9000 4650 50 0000 C CNN
F 2 "" H 9000 4800 50 0001 C CNN
F 3 "" H 9000 4800 50 0001 C CNN
1 9000 4800
1 0 0 -1
$EndComp
Connection ~ 5950 3150
Text Label 4650 3150 1 39 ~ 0
MC34063_Feedback
$Comp
L power:+12V #PWR0205
U 1 1 5BB4952D
P 2800 1400
F 0 "#PWR0205" H 2800 1250 50 0001 C CNN
F 1 "+12V" H 2800 1540 50 0000 C CNN
F 2 "" H 2800 1400 50 0001 C CNN
F 3 "" H 2800 1400 50 0001 C CNN
1 2800 1400
1 0 0 -1
$EndComp
$Comp
L device:D D1301
U 1 1 5BB49523
P 5550 3400
F 0 "D1301" H 5600 3500 50 0000 C CNN
F 1 "VSSC8L45-M3/9AT" H 5550 3300 50 0000 C CNN
F 2 "Diodes_SMD:D_SMC" H 5550 3400 50 0001 C CNN
F 3 "" H 5550 3400 50 0001 C CNN
1 5550 3400
0 1 1 0
$EndComp
Wire Wire Line
6300 3150 6300 3250
$Comp
L power:GND #PWR0206
U 1 1 59F60B04
P 6300 3750
F 0 "#PWR0206" H 6300 3500 50 0001 C CNN
F 1 "GND" H 6300 3600 50 0000 C CNN
F 2 "" H 6300 3750 50 0001 C CNN
F 3 "" H 6300 3750 50 0001 C CNN
1 6300 3750
1 0 0 -1
$EndComp
Wire Wire Line
6300 3550 6300 3750
$Comp
L power:GND #PWR0207
U 1 1 5AAD34AE
P 8650 3900
F 0 "#PWR0207" H 8650 3650 50 0001 C CNN
F 1 "GND" H 8650 3750 50 0000 C CNN
F 2 "" H 8650 3900 50 0001 C CNN
F 3 "" H 8650 3900 50 0001 C CNN
1 8650 3900
1 0 0 -1
$EndComp
Wire Wire Line
8650 3900 8650 3550
Wire Wire Line
5900 3150 5950 3150
Wire Wire Line
5550 3150 5600 3150
Wire Wire Line
5950 3150 6300 3150
$Comp
L Regulator_Switching:MC34063AD U1301
U 1 1 5BB49532
P 4150 2150
F 0 "U1301" H 4150 2617 50 0000 C CNN
F 1 "MC34063AD" H 4150 2526 50 0000 C CNN
F 2 "Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm" H 4200 1700 50 0001 L CNN
F 3 "http://www.onsemi.com/pub_link/Collateral/MC34063A-D.PDF" H 4650 2050 50 0001 C CNN
1 4150 2150
1 0 0 -1
$EndComp
Wire Wire Line
3650 2850 3650 2950
Wire Wire Line
4150 2650 4150 2950
Wire Wire Line
3650 2350 3750 2350
Wire Wire Line
3650 2350 3650 2550
Wire Wire Line
4000 1500 3650 1500
Wire Wire Line
3650 1500 3650 1950
Wire Wire Line
3650 1950 3750 1950
Wire Wire Line
4650 1500 4300 1500
Wire Wire Line
4550 1950 4650 1950
Connection ~ 4650 1950
Wire Wire Line
4650 1950 4650 1500
Wire Wire Line
4550 2050 4650 2050
Connection ~ 3650 1500
$Comp
L device:C C1301
U 1 1 5BB81889
P 2800 1750
F 0 "C1301" H 2915 1796 50 0000 L CNN
F 1 "100nF" H 2915 1705 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 2838 1600 50 0001 C CNN
F 3 "~" H 2800 1750 50 0001 C CNN
1 2800 1750
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0209
U 1 1 5BB81A2B
P 2800 2000
F 0 "#PWR0209" H 2800 1750 50 0001 C CNN
F 1 "GND" H 2805 1827 50 0000 C CNN
F 2 "" H 2800 2000 50 0001 C CNN
F 3 "" H 2800 2000 50 0001 C CNN
1 2800 2000
1 0 0 -1
$EndComp
Wire Wire Line
2800 2000 2800 1900
Wire Wire Line
2800 1600 2800 1500
Wire Wire Line
2800 1400 2800 1500
Connection ~ 2800 1500
$Comp
L device:R_POT_TRIM RV1301
U 1 1 5BB85821
P 9000 4350
F 0 "RV1301" H 8931 4304 50 0000 R CNN
F 1 "10k" H 8931 4395 50 0000 R CNN
F 2 "Potentiometers:Potentiometer_Trimmer_Vishay_TS53YL" H 9000 4350 50 0001 C CNN
F 3 "~" H 9000 4350 50 0001 C CNN
1 9000 4350
-1 0 0 -1
$EndComp
Wire Wire Line
9000 3550 9000 4200
$Comp
L device:C C1305
U 1 1 5BB49531
P 6300 3400
F 0 "C1305" H 6415 3446 50 0000 L CNN
F 1 "100nF" H 6415 3355 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 6338 3250 50 0001 C CNN
F 3 "~" H 6300 3400 50 0001 C CNN
1 6300 3400
1 0 0 -1
$EndComp
$Comp
L Transistor_BJT:BC850 Q1302
U 1 1 5BB57D85
P 4000 6250
F 0 "Q1302" H 4191 6296 50 0000 L CNN
F 1 "BC850" H 4191 6205 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 4200 6175 50 0001 L CIN
F 3 "http://www.infineon.com/dgdl/Infineon-BC847SERIES_BC848SERIES_BC849SERIES_BC850SERIES-DS-v01_01-en.pdf?fileId=db3a304314dca389011541d4630a1657" H 4000 6250 50 0001 L CNN
1 4000 6250
1 0 0 -1
$EndComp
$Comp
L device:R R1307
U 1 1 5BB57E62
P 4100 5850
F 0 "R1307" H 4170 5896 50 0000 L CNN
F 1 "200R" H 4170 5805 50 0000 L CNN
F 2 "Resistors_SMD:R_0805" V 4030 5850 50 0001 C CNN
F 3 "~" H 4100 5850 50 0001 C CNN
1 4100 5850
1 0 0 -1
$EndComp
Wire Wire Line
4100 6000 4100 6050
Wire Wire Line
4100 6450 4100 6500
Wire Wire Line
4100 6500 4650 6500
$Comp
L power:+12V #PWR0210
U 1 1 5BB5918B
P 4100 5600
F 0 "#PWR0210" H 4100 5450 50 0001 C CNN
F 1 "+12V" H 4115 5773 50 0000 C CNN
F 2 "" H 4100 5600 50 0001 C CNN
F 3 "" H 4100 5600 50 0001 C CNN
1 4100 5600
1 0 0 -1
$EndComp
Wire Wire Line
4100 5600 4100 5700
$Comp
L Transistor_FET:BSS138 Q1301
U 1 1 5BB59C86
P 3000 6600
F 0 "Q1301" H 3205 6646 50 0000 L CNN
F 1 "BSS138" H 3205 6555 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 3200 6525 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 3000 6600 50 0001 L CNN
1 3000 6600
1 0 0 -1
$EndComp
Wire Wire Line
3100 6400 3100 6250
$Comp
L device:R R1306
U 1 1 5BB5A81D
P 3100 5850
F 0 "R1306" H 3170 5896 50 0000 L CNN
F 1 "1k" H 3170 5805 50 0000 L CNN
F 2 "Resistors_SMD:R_0805" V 3030 5850 50 0001 C CNN
F 3 "~" H 3100 5850 50 0001 C CNN
1 3100 5850
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0211
U 1 1 5BB5A8FE
P 3100 5600
F 0 "#PWR0211" H 3100 5450 50 0001 C CNN
F 1 "+12V" H 3115 5773 50 0000 C CNN
F 2 "" H 3100 5600 50 0001 C CNN
F 3 "" H 3100 5600 50 0001 C CNN
1 3100 5600
1 0 0 -1
$EndComp
Wire Wire Line
3100 5600 3100 5700
Wire Wire Line
3100 6000 3100 6250
Connection ~ 3100 6250
$Comp
L power:GND #PWR0212
U 1 1 5BB5CF6C
P 3100 7000
F 0 "#PWR0212" H 3100 6750 50 0001 C CNN
F 1 "GND" H 3105 6827 50 0000 C CNN
F 2 "" H 3100 7000 50 0001 C CNN
F 3 "" H 3100 7000 50 0001 C CNN
1 3100 7000
1 0 0 -1
$EndComp
$Comp
L device:R R1304
U 1 1 5BB5CFDD
P 1950 6600
F 0 "R1304" V 1743 6600 50 0000 C CNN
F 1 "1k" V 1834 6600 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 1880 6600 50 0001 C CNN
F 3 "~" H 1950 6600 50 0001 C CNN
1 1950 6600
0 1 1 0
$EndComp
$Comp
L device:R R1305
U 1 1 5BB5D0B6
P 2200 6850
F 0 "R1305" H 2270 6896 50 0000 L CNN
F 1 "10k" H 2270 6805 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 2130 6850 50 0001 C CNN
F 3 "~" H 2200 6850 50 0001 C CNN
1 2200 6850
1 0 0 -1
$EndComp
Wire Wire Line
2200 6700 2200 6600
Wire Wire Line
2200 6600 2100 6600
$Comp
L device:C C1306
U 1 1 5BB5DF23
P 2600 6850
F 0 "C1306" H 2715 6896 50 0000 L CNN
F 1 "100nF" H 2715 6805 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 2638 6700 50 0001 C CNN
F 3 "~" H 2600 6850 50 0001 C CNN
1 2600 6850
1 0 0 -1
$EndComp
Wire Wire Line
2200 6600 2600 6600
Connection ~ 2200 6600
Wire Wire Line
2600 6700 2600 6600
Connection ~ 2600 6600
Wire Wire Line
2600 6600 2800 6600
$Comp
L power:GND #PWR0213
U 1 1 5BB61879
P 2600 7000
F 0 "#PWR0213" H 2600 6750 50 0001 C CNN
F 1 "GND" H 2605 6827 50 0000 C CNN
F 2 "" H 2600 7000 50 0001 C CNN
F 3 "" H 2600 7000 50 0001 C CNN
1 2600 7000
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0214
U 1 1 5BB6191D
P 2200 7000
F 0 "#PWR0214" H 2200 6750 50 0001 C CNN
F 1 "GND" H 2205 6827 50 0000 C CNN
F 2 "" H 2200 7000 50 0001 C CNN
F 3 "" H 2200 7000 50 0001 C CNN
1 2200 7000
1 0 0 -1
$EndComp
Wire Wire Line
3100 7000 3100 6800
Wire Wire Line
3100 6250 3650 6250
$Comp
L Transistor_FET:BSS138 Q1303
U 1 1 5BB6719E
P 5050 6600
F 0 "Q1303" H 5255 6646 50 0000 L CNN
F 1 "BSS138" H 5255 6555 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 5250 6525 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 5050 6600 50 0001 L CNN
1 5050 6600
1 0 0 -1
$EndComp
Connection ~ 3650 6250
Wire Wire Line
3650 6250 3800 6250
$Comp
L device:LED D1303
U 1 1 5BB6A6ED
P 5150 5850
F 0 "D1303" V 5188 5732 50 0000 R CNN
F 1 "LED_2.5VPSU_off_red" V 5097 5732 50 0000 R CNN
F 2 "Diodes_SMD:D_0805" H 5150 5850 50 0001 C CNN
F 3 "~" H 5150 5850 50 0001 C CNN
1 5150 5850
0 -1 -1 0
$EndComp
Wire Wire Line
5150 6350 5150 6400
Wire Wire Line
4850 6600 3650 6600
Wire Wire Line
3650 6600 3650 6250
$Comp
L device:R R1308
U 1 1 5BB71DFD
P 5150 6200
F 0 "R1308" H 5220 6246 50 0000 L CNN
F 1 "10k" H 5220 6155 50 0000 L CNN
F 2 "Resistors_SMD:R_0805" V 5080 6200 50 0001 C CNN
F 3 "~" H 5150 6200 50 0001 C CNN
1 5150 6200
1 0 0 -1
$EndComp
Wire Wire Line
5150 5700 5150 5600
$Comp
L power:GND #PWR0216
U 1 1 5BB74731
P 5150 7000
F 0 "#PWR0216" H 5150 6750 50 0001 C CNN
F 1 "GND" H 5155 6827 50 0000 C CNN
F 2 "" H 5150 7000 50 0001 C CNN
F 3 "" H 5150 7000 50 0001 C CNN
1 5150 7000
1 0 0 -1
$EndComp
Wire Wire Line
5150 7000 5150 6800
Text GLabel 1750 6600 0 50 Input ~ 0
enable_Tube_PSU
Wire Wire Line
1750 6600 1800 6600
$Comp
L power:+12V #PWR0215
U 1 1 5BB7CFF8
P 5150 5600
F 0 "#PWR0215" H 5150 5450 50 0001 C CNN
F 1 "+12V" H 5165 5773 50 0000 C CNN
F 2 "" H 5150 5600 50 0001 C CNN
F 3 "" H 5150 5600 50 0001 C CNN
1 5150 5600
1 0 0 -1
$EndComp
Text Label 4600 2350 0 39 ~ 0
SwE
Text Label 6050 3150 0 39 ~ 0
MC34063_HC_A
Text GLabel 9650 3150 2 50 Input ~ 0
feedback_Tube_PSU
$Comp
L device:D_Zener D1302
U 1 1 5AAD3380
P 8650 3400
F 0 "D1302" H 8650 3500 50 0000 C CNN
F 1 "DZ_4.5V" H 8650 3300 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 8650 3400 50 0001 C CNN
F 3 "" H 8650 3400 50 0001 C CNN
1 8650 3400
0 1 1 0
$EndComp
Wire Wire Line
8650 3250 8650 3150
$Comp
L power:+3V3 #PWR0204
U 1 1 5BC33A81
P 8300 2700
F 0 "#PWR0204" H 8300 2550 50 0001 C CNN
F 1 "+3V3" H 8315 2873 50 0000 C CNN
F 2 "" H 8300 2700 50 0001 C CNN
F 3 "" H 8300 2700 50 0001 C CNN
1 8300 2700
1 0 0 -1
$EndComp
$Comp
L device:R R1310
U 1 1 5BC1FD35
P 4850 2600
F 0 "R1310" H 4920 2646 50 0000 L CNN
F 1 "3.3k" H 4920 2555 50 0000 L CNN
F 2 "Resistors_SMD:R_0805" V 4780 2600 50 0001 C CNN
F 3 "~" H 4850 2600 50 0001 C CNN
1 4850 2600
1 0 0 -1
$EndComp
Wire Wire Line
4850 2450 4850 2350
Wire Wire Line
4850 2350 4950 2350
$Comp
L power:GND #PWR0262
U 1 1 5BC215C7
P 4850 2950
F 0 "#PWR0262" H 4850 2700 50 0001 C CNN
F 1 "GND" H 4855 2777 50 0000 C CNN
F 2 "" H 4850 2950 50 0001 C CNN
F 3 "" H 4850 2950 50 0001 C CNN
1 4850 2950
1 0 0 -1
$EndComp
Wire Wire Line
4850 2950 4850 2750
$Comp
L device:R R1311
U 1 1 5BC25F71
P 5100 2350
F 0 "R1311" V 5000 2350 50 0000 C CNN
F 1 "0R" V 5100 2350 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 5030 2350 50 0001 C CNN
F 3 "~" H 5100 2350 50 0001 C CNN
1 5100 2350
0 1 1 0
$EndComp
Connection ~ 4850 2350
Wire Wire Line
4550 2350 4850 2350
Wire Wire Line
4550 2150 4650 2150
Wire Wire Line
4650 2050 4650 2150
Connection ~ 4650 2050
Wire Wire Line
5550 2150 5550 1500
Wire Wire Line
5550 1500 4650 1500
Connection ~ 4650 1500
$Comp
L device:CP C1307
U 1 1 5BC3EDF8
P 7450 3400
F 0 "C1307" H 7568 3446 50 0000 L CNN
F 1 "470uF" H 7568 3355 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 7488 3250 50 0001 C CNN
F 3 "~" H 7450 3400 50 0001 C CNN
1 7450 3400
1 0 0 -1
$EndComp
Wire Wire Line
7350 3150 7450 3150
Wire Wire Line
7450 3150 7450 3250
Wire Wire Line
8000 3150 8000 3250
Connection ~ 7450 3150
Connection ~ 8300 3150
$Comp
L power:GND #PWR0263
U 1 1 5BC47310
P 7450 3900
F 0 "#PWR0263" H 7450 3650 50 0001 C CNN
F 1 "GND" H 7455 3727 50 0000 C CNN
F 2 "" H 7450 3900 50 0001 C CNN
F 3 "" H 7450 3900 50 0001 C CNN
1 7450 3900
1 0 0 -1
$EndComp
Wire Wire Line
7450 3900 7450 3550
$Comp
L power:GND #PWR0264
U 1 1 5BC4912B
P 8000 3900
F 0 "#PWR0264" H 8000 3650 50 0001 C CNN
F 1 "GND" H 8005 3727 50 0000 C CNN
F 2 "" H 8000 3900 50 0001 C CNN
F 3 "" H 8000 3900 50 0001 C CNN
1 8000 3900
1 0 0 -1
$EndComp
Wire Wire Line
8000 3900 8000 3550
Wire Wire Line
8300 2700 8300 3150
Wire Notes Line
7050 2850 7050 4200
Wire Notes Line
7050 4200 8450 4200
Wire Notes Line
8450 4200 8450 2850
Wire Notes Line
8450 2850 7050 2850
Text Notes 7050 2850 0 50 ~ 0
Ripple Filter Ref: V2
Wire Wire Line
4650 1950 4650 2050
Wire Wire Line
5550 2550 5550 2700
Wire Notes Line
4750 2050 4750 2850
Wire Notes Line
4750 2850 6000 2850
Wire Notes Line
6000 2850 6000 2050
Wire Notes Line
6000 2050 4750 2050
Text Notes 4750 2050 0 50 ~ 0
External BJT Ref: V2
Wire Notes Line
900 5150 5800 5150
Wire Notes Line
5800 5150 5800 7450
Wire Notes Line
5800 7450 950 7450
Wire Notes Line
950 7450 950 5150
Text Notes 950 5150 0 50 ~ 0
PSU enable
$Comp
L device:Ferrite_Bead L1202
U 1 1 5BC1CECA
P 7200 3150
F 0 "L1202" V 7150 3050 50 0000 C CNN
F 1 "BLM31KN601SN1L" V 7350 2950 50 0000 C CNN
F 2 "Inductors_SMD:L_1206" V 7130 3150 50 0001 C CNN
F 3 "~" H 7200 3150 50 0001 C CNN
1 7200 3150
0 -1 -1 0
$EndComp
Connection ~ 8000 3150
Wire Wire Line
8000 3150 8300 3150
Wire Wire Line
7450 3150 8000 3150
$Comp
L device:C C1206
U 1 1 5BC34D02
P 8000 3400
F 0 "C1206" H 8115 3446 50 0000 L CNN
F 1 "100nF" H 8115 3355 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805" H 8038 3250 50 0001 C CNN
F 3 "~" H 8000 3400 50 0001 C CNN
1 8000 3400
1 0 0 -1
$EndComp
$Comp
L PowerBJT:PHPT60406NY Q1201
U 1 1 5BC31987
P 5450 2350
F 0 "Q1201" H 5837 2396 50 0000 L CNN
F 1 "PHPT60406NY" H 5837 2305 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-669_LFPAK_ThermalVias-2" H 5650 2450 50 0001 C CNN
F 3 "https://assets.nexperia.com/documents/data-sheet/PHPT60406NY.pdf" H 5450 2350 50 0001 C CNN
1 5450 2350
1 0 0 -1
$EndComp
Wire Wire Line
5650 2550 5650 2700
Wire Wire Line
5650 2700 5550 2700
Connection ~ 5550 2700
Wire Wire Line
5550 2700 5550 3150
Wire Wire Line
5650 2700 5750 2700
Wire Wire Line
5750 2700 5750 2550
Connection ~ 5650 2700
Text Label 5550 3150 1 50 ~ 0
HC_Plain
Connection ~ 6300 3150
Wire Wire Line
9000 3250 9000 3150
Connection ~ 4650 4350
Wire Wire Line
4650 4350 4650 6500
Wire Wire Line
4650 2450 4650 4350
Connection ~ 9000 3150
Text Label 4650 1500 0 50 ~ 0
HC_Plain_b
Wire Wire Line
6300 3150 7050 3150
Wire Wire Line
4650 4350 8850 4350
Connection ~ 8650 3150
Wire Wire Line
8650 3150 9000 3150
Wire Wire Line
8300 3150 8650 3150
Wire Wire Line
5150 6000 5150 6050
Wire Wire Line
9000 3150 9650 3150
$Comp
L device:Thermistor_NTC TH1201
U 1 1 5BCB4E45
P 2100 3700
F 0 "TH1201" H 2198 3746 50 0000 L CNN
F 1 "Thermistor_NTC" H 2198 3655 50 0000 L CNN
F 2 "Resistors_SMD:R_1812" H 2100 3750 50 0001 C CNN
F 3 "~" H 2100 3750 50 0001 C CNN
1 2100 3700
1 0 0 -1
$EndComp
$Comp
L device:R R1204
U 1 1 5BCB500B
P 2100 4100
F 0 "R1204" H 2170 4146 50 0000 L CNN
F 1 "R" H 2170 4055 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 2030 4100 50 0001 C CNN
F 3 "~" H 2100 4100 50 0001 C CNN
1 2100 4100
1 0 0 -1
$EndComp
Wire Wire Line
2100 3950 2100 3900
$Comp
L power:GND #PWR0166
U 1 1 5BCB8FDF
P 2100 4250
F 0 "#PWR0166" H 2100 4000 50 0001 C CNN
F 1 "GND" H 2105 4077 50 0000 C CNN
F 2 "" H 2100 4250 50 0001 C CNN
F 3 "" H 2100 4250 50 0001 C CNN
1 2100 4250
1 0 0 -1
$EndComp
$Comp
L power:VCC #PWR0176
U 1 1 5BCB90A4
P 2100 3550
F 0 "#PWR0176" H 2100 3400 50 0001 C CNN
F 1 "VCC" H 2117 3723 50 0000 C CNN
F 2 "" H 2100 3550 50 0001 C CNN
F 3 "" H 2100 3550 50 0001 C CNN
1 2100 3550
1 0 0 -1
$EndComp
Text GLabel 3200 3900 2 50 Input ~ 0
Tube_PSU_Temp
$Comp
L device:R R1205
U 1 1 5BCB936E
P 2950 3900
F 0 "R1205" V 2743 3900 50 0000 C CNN
F 1 "1k" V 2834 3900 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 2880 3900 50 0001 C CNN
F 3 "~" H 2950 3900 50 0001 C CNN
1 2950 3900
0 1 1 0
$EndComp
Wire Wire Line
3200 3900 3150 3900
Wire Wire Line
2800 3900 2100 3900
Connection ~ 2100 3900
Wire Wire Line
2100 3900 2100 3850
$Comp
L device:C C1207
U 1 1 5BCBD5BE
P 3150 4100
F 0 "C1207" H 3265 4146 50 0000 L CNN
F 1 "100nF" H 3265 4055 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 3188 3950 50 0001 C CNN
F 3 "~" H 3150 4100 50 0001 C CNN
1 3150 4100
1 0 0 -1
$EndComp
Wire Wire Line
3150 3950 3150 3900
Connection ~ 3150 3900
Wire Wire Line
3150 3900 3100 3900
$Comp
L power:GND #PWR0177
U 1 1 5BCBF9B1
P 3150 4250
F 0 "#PWR0177" H 3150 4000 50 0001 C CNN
F 1 "GND" H 3155 4077 50 0000 C CNN
F 2 "" H 3150 4250 50 0001 C CNN
F 3 "" H 3150 4250 50 0001 C CNN
1 3150 4250
1 0 0 -1
$EndComp
Wire Wire Line
2800 1500 3650 1500
$EndSCHEMATC

838
pcb/3_3V PSU 4.bak Normal file
View File

@@ -0,0 +1,838 @@
EESchema Schematic File Version 4
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 12 15
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L device:L L1301
U 1 1 59D4542E
P 6250 2900
F 0 "L1301" V 6200 2900 50 0000 C CNN
F 1 "100uH 744325550" V 6325 2900 50 0000 C CNN
F 2 "Inductors_SMD:L_Wuerth_HCI-1050" H 6250 2900 50 0001 C CNN
F 3 "" H 6250 2900 50 0001 C CNN
1 6250 2900
0 -1 -1 0
$EndComp
$Comp
L device:CP C1304
U 1 1 59D46505
P 6500 3150
F 0 "C1304" H 6525 3250 50 0000 L CNN
F 1 "470uF" H 6550 3050 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 6538 3000 50 0001 C CNN
F 3 "" H 6500 3150 50 0001 C CNN
1 6500 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0202
U 1 1 5BB49528
P 6500 3350
F 0 "#PWR0202" H 6500 3100 50 0001 C CNN
F 1 "GND" H 6500 3200 50 0000 C CNN
F 2 "" H 6500 3350 50 0001 C CNN
F 3 "" H 6500 3350 50 0001 C CNN
1 6500 3350
1 0 0 -1
$EndComp
Wire Wire Line
6500 3350 6500 3300
$Comp
L device:R R1302
U 1 1 5BB49529
P 9550 3150
F 0 "R1302" V 9630 3150 50 0000 C CNN
F 1 "17k" V 9550 3150 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 9480 3150 50 0001 C CNN
F 3 "" H 9550 3150 50 0001 C CNN
1 9550 3150
1 0 0 -1
$EndComp
$Comp
L device:R R1303
U 1 1 5BB4952A
P 9550 4400
F 0 "R1303" V 9630 4400 50 0000 C CNN
F 1 "10k" V 9550 4400 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 9480 4400 50 0001 C CNN
F 3 "" H 9550 4400 50 0001 C CNN
1 9550 4400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0203
U 1 1 5BB4952B
P 9550 4550
F 0 "#PWR0203" H 9550 4300 50 0001 C CNN
F 1 "GND" H 9550 4400 50 0000 C CNN
F 2 "" H 9550 4550 50 0001 C CNN
F 3 "" H 9550 4550 50 0001 C CNN
1 9550 4550
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0205
U 1 1 5BB4952D
P 5100 1800
F 0 "#PWR0205" H 5100 1650 50 0001 C CNN
F 1 "+12V" H 5100 1940 50 0000 C CNN
F 2 "" H 5100 1800 50 0001 C CNN
F 3 "" H 5100 1800 50 0001 C CNN
1 5100 1800
1 0 0 -1
$EndComp
$Comp
L device:D D1301
U 1 1 5BB49523
P 6000 3150
F 0 "D1301" H 6050 3250 50 0000 C CNN
F 1 "VSSC8L45-M3/9AT" H 6000 3050 50 0000 C CNN
F 2 "Diodes_SMD:D_SMC" H 6000 3150 50 0001 C CNN
F 3 "" H 6000 3150 50 0001 C CNN
1 6000 3150
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0207
U 1 1 5AAD34AE
P 9200 3650
F 0 "#PWR0207" H 9200 3400 50 0001 C CNN
F 1 "GND" H 9200 3500 50 0000 C CNN
F 2 "" H 9200 3650 50 0001 C CNN
F 3 "" H 9200 3650 50 0001 C CNN
1 9200 3650
1 0 0 -1
$EndComp
Wire Wire Line
9200 3650 9200 3300
$Comp
L device:C C1301
U 1 1 5BB81889
P 5350 2150
F 0 "C1301" H 5465 2196 50 0000 L CNN
F 1 "100nF" H 5465 2105 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 5388 2000 50 0001 C CNN
F 3 "~" H 5350 2150 50 0001 C CNN
1 5350 2150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0209
U 1 1 5BB81A2B
P 4350 2300
F 0 "#PWR0209" H 4350 2050 50 0001 C CNN
F 1 "GND" H 4355 2127 50 0000 C CNN
F 2 "" H 4350 2300 50 0001 C CNN
F 3 "" H 4350 2300 50 0001 C CNN
1 4350 2300
1 0 0 -1
$EndComp
$Comp
L device:R_POT_TRIM RV1301
U 1 1 5BB85821
P 9550 4100
F 0 "RV1301" H 9481 4054 50 0000 R CNN
F 1 "10k" H 9481 4145 50 0000 R CNN
F 2 "Potentiometers:Potentiometer_Trimmer_Vishay_TS53YL" H 9550 4100 50 0001 C CNN
F 3 "~" H 9550 4100 50 0001 C CNN
1 9550 4100
-1 0 0 1
$EndComp
Wire Wire Line
9550 3300 9550 3950
$Comp
L Transistor_FET:BSS138 Q1301
U 1 1 5BB59C86
P 2000 5000
F 0 "Q1301" H 2205 5046 50 0000 L CNN
F 1 "BSS138" H 2205 4955 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 2200 4925 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 2000 5000 50 0001 L CNN
1 2000 5000
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0212
U 1 1 5BB5CF6C
P 2100 5250
F 0 "#PWR0212" H 2100 5000 50 0001 C CNN
F 1 "GND" H 2105 5077 50 0000 C CNN
F 2 "" H 2100 5250 50 0001 C CNN
F 3 "" H 2100 5250 50 0001 C CNN
1 2100 5250
1 0 0 -1
$EndComp
$Comp
L device:R R1304
U 1 1 5BB5CFDD
P 1900 2750
F 0 "R1304" V 1693 2750 50 0000 C CNN
F 1 "1k" V 1784 2750 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 1830 2750 50 0001 C CNN
F 3 "~" H 1900 2750 50 0001 C CNN
1 1900 2750
0 1 1 0
$EndComp
$Comp
L device:R R1305
U 1 1 5BB5D0B6
P 2150 3000
F 0 "R1305" H 2220 3046 50 0000 L CNN
F 1 "10k" H 2220 2955 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 2080 3000 50 0001 C CNN
F 3 "~" H 2150 3000 50 0001 C CNN
1 2150 3000
1 0 0 -1
$EndComp
Wire Wire Line
2150 2850 2150 2750
Wire Wire Line
2150 2750 2050 2750
$Comp
L device:C C1306
U 1 1 5BB5DF23
P 2550 3000
F 0 "C1306" H 2665 3046 50 0000 L CNN
F 1 "100nF" H 2665 2955 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 2588 2850 50 0001 C CNN
F 3 "~" H 2550 3000 50 0001 C CNN
1 2550 3000
1 0 0 -1
$EndComp
Wire Wire Line
2150 2750 2550 2750
Connection ~ 2150 2750
Wire Wire Line
2550 2850 2550 2750
Connection ~ 2550 2750
$Comp
L power:GND #PWR0213
U 1 1 5BB61879
P 2550 3150
F 0 "#PWR0213" H 2550 2900 50 0001 C CNN
F 1 "GND" H 2555 2977 50 0000 C CNN
F 2 "" H 2550 3150 50 0001 C CNN
F 3 "" H 2550 3150 50 0001 C CNN
1 2550 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0214
U 1 1 5BB6191D
P 2150 3150
F 0 "#PWR0214" H 2150 2900 50 0001 C CNN
F 1 "GND" H 2155 2977 50 0000 C CNN
F 2 "" H 2150 3150 50 0001 C CNN
F 3 "" H 2150 3150 50 0001 C CNN
1 2150 3150
1 0 0 -1
$EndComp
Wire Wire Line
2100 5250 2100 5200
$Comp
L Transistor_FET:BSS138 Q1303
U 1 1 5BB6719E
P 2450 4650
F 0 "Q1303" H 2655 4696 50 0000 L CNN
F 1 "BSS138" H 2655 4605 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 2650 4575 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 2450 4650 50 0001 L CNN
1 2450 4650
1 0 0 -1
$EndComp
$Comp
L device:LED D1303
U 1 1 5BB6A6ED
P 2550 3850
F 0 "D1303" V 2588 3732 50 0000 R CNN
F 1 "LED_2.5VPSU_off_red" V 2497 3732 50 0000 R CNN
F 2 "Diodes_SMD:D_0805" H 2550 3850 50 0001 C CNN
F 3 "~" H 2550 3850 50 0001 C CNN
1 2550 3850
0 -1 -1 0
$EndComp
Wire Wire Line
2550 4350 2550 4400
$Comp
L device:R R1308
U 1 1 5BB71DFD
P 2550 4200
F 0 "R1308" H 2620 4246 50 0000 L CNN
F 1 "10k" H 2620 4155 50 0000 L CNN
F 2 "Resistors_SMD:R_0805" V 2480 4200 50 0001 C CNN
F 3 "~" H 2550 4200 50 0001 C CNN
1 2550 4200
1 0 0 -1
$EndComp
Wire Wire Line
2550 3700 2550 3600
$Comp
L power:GND #PWR0216
U 1 1 5BB74731
P 2550 5250
F 0 "#PWR0216" H 2550 5000 50 0001 C CNN
F 1 "GND" H 2555 5077 50 0000 C CNN
F 2 "" H 2550 5250 50 0001 C CNN
F 3 "" H 2550 5250 50 0001 C CNN
1 2550 5250
1 0 0 -1
$EndComp
Wire Wire Line
2550 5250 2550 4850
Text GLabel 1600 2750 0 50 Input ~ 0
enable_Tube_PSU
$Comp
L power:+12V #PWR0215
U 1 1 5BB7CFF8
P 2550 3600
F 0 "#PWR0215" H 2550 3450 50 0001 C CNN
F 1 "+12V" H 2565 3773 50 0000 C CNN
F 2 "" H 2550 3600 50 0001 C CNN
F 3 "" H 2550 3600 50 0001 C CNN
1 2550 3600
1 0 0 -1
$EndComp
Text GLabel 10000 2900 2 50 Input ~ 0
feedback_Tube_PSU
$Comp
L device:D_Zener D1302
U 1 1 5AAD3380
P 9200 3150
F 0 "D1302" H 9200 3250 50 0000 C CNN
F 1 "DZ_4.5V" H 9200 3050 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 9200 3150 50 0001 C CNN
F 3 "" H 9200 3150 50 0001 C CNN
1 9200 3150
0 1 1 0
$EndComp
Wire Wire Line
9200 3000 9200 2900
$Comp
L power:+3V3 #PWR0204
U 1 1 5BC33A81
P 9550 700
F 0 "#PWR0204" H 9550 550 50 0001 C CNN
F 1 "+3V3" H 9565 873 50 0000 C CNN
F 2 "" H 9550 700 50 0001 C CNN
F 3 "" H 9550 700 50 0001 C CNN
1 9550 700
1 0 0 -1
$EndComp
$Comp
L device:CP C1307
U 1 1 5BC3EDF8
P 7650 3150
F 0 "C1307" H 7768 3196 50 0000 L CNN
F 1 "470uF" H 7768 3105 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 7688 3000 50 0001 C CNN
F 3 "~" H 7650 3150 50 0001 C CNN
1 7650 3150
1 0 0 -1
$EndComp
Wire Wire Line
7550 2900 7650 2900
Wire Wire Line
7650 2900 7650 3000
Wire Wire Line
8550 2900 8550 3000
Connection ~ 7650 2900
$Comp
L power:GND #PWR0263
U 1 1 5BC47310
P 7650 3350
F 0 "#PWR0263" H 7650 3100 50 0001 C CNN
F 1 "GND" H 7655 3177 50 0000 C CNN
F 2 "" H 7650 3350 50 0001 C CNN
F 3 "" H 7650 3350 50 0001 C CNN
1 7650 3350
1 0 0 -1
$EndComp
Wire Wire Line
7650 3350 7650 3300
$Comp
L power:GND #PWR0264
U 1 1 5BC4912B
P 8550 3350
F 0 "#PWR0264" H 8550 3100 50 0001 C CNN
F 1 "GND" H 8555 3177 50 0000 C CNN
F 2 "" H 8550 3350 50 0001 C CNN
F 3 "" H 8550 3350 50 0001 C CNN
1 8550 3350
1 0 0 -1
$EndComp
Wire Wire Line
8550 3350 8550 3300
Wire Notes Line
7250 2600 7250 3950
Wire Notes Line
7250 3950 9000 3950
Wire Notes Line
9000 3950 9000 2600
Wire Notes Line
9000 2600 7250 2600
Text Notes 7250 2600 0 50 ~ 0
Ripple Filter Ref: V2
$Comp
L device:Ferrite_Bead L1202
U 1 1 5BC1CECA
P 7400 2900
F 0 "L1202" V 7350 2800 50 0000 C CNN
F 1 "BLM31KN601SN1L" V 7550 2700 50 0000 C CNN
F 2 "Inductors_SMD:L_1206" V 7330 2900 50 0001 C CNN
F 3 "~" H 7400 2900 50 0001 C CNN
1 7400 2900
0 -1 -1 0
$EndComp
Wire Wire Line
7650 2900 8100 2900
$Comp
L device:C C1206
U 1 1 5BC34D02
P 8550 3150
F 0 "C1206" H 8665 3196 50 0000 L CNN
F 1 "100nF" H 8665 3105 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805" H 8588 3000 50 0001 C CNN
F 3 "~" H 8550 3150 50 0001 C CNN
1 8550 3150
1 0 0 -1
$EndComp
Wire Wire Line
9550 3000 9550 2900
Connection ~ 9550 2900
Wire Wire Line
9200 2900 9550 2900
Wire Wire Line
2550 4000 2550 4050
$Comp
L TI~Simple~Switcher:LMR14050 U1202
U 1 1 5BD314D5
P 5100 2850
F 0 "U1202" H 4700 3150 50 0000 C CNN
F 1 "LMR14050" H 5350 2500 50 0000 C CNN
F 2 "Housings_SOIC:TI_SO-PowerPAD-8_ThermalVias" H 4350 2200 50 0001 C CNN
F 3 "http://www.ti.com/lit/ds/symlink/lmr14050.pdf" H 4350 2200 50 0001 C CNN
1 5100 2850
1 0 0 -1
$EndComp
Wire Wire Line
2550 2750 4550 2750
Wire Wire Line
2100 4800 2100 4650
Wire Wire Line
2100 4650 2250 4650
Wire Wire Line
2100 4650 2100 4400
Wire Wire Line
2100 4400 2550 4400
Connection ~ 2100 4650
Connection ~ 2550 4400
Wire Wire Line
2550 4400 2550 4450
Wire Wire Line
1700 5000 1700 2750
Wire Wire Line
1600 2750 1700 2750
Connection ~ 1700 2750
Wire Wire Line
1700 2750 1750 2750
$Comp
L power:GND #PWR0196
U 1 1 5BD5BB29
P 5100 3350
F 0 "#PWR0196" H 5100 3100 50 0001 C CNN
F 1 "GND" H 5105 3177 50 0000 C CNN
F 2 "" H 5100 3350 50 0001 C CNN
F 3 "" H 5100 3350 50 0001 C CNN
1 5100 3350
1 0 0 -1
$EndComp
Wire Wire Line
1700 5000 1800 5000
$Comp
L device:C C1211
U 1 1 5BD5DDFB
P 5750 2700
F 0 "C1211" V 5498 2700 50 0000 C CNN
F 1 "100nF" V 5589 2700 50 0000 C CNN
F 2 "Capacitors_SMD:C_0603" H 5788 2550 50 0001 C CNN
F 3 "~" H 5750 2700 50 0001 C CNN
1 5750 2700
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0197
U 1 1 5BD600A4
P 6000 3350
F 0 "#PWR0197" H 6000 3100 50 0001 C CNN
F 1 "GND" H 6005 3177 50 0000 C CNN
F 2 "" H 6000 3350 50 0001 C CNN
F 3 "" H 6000 3350 50 0001 C CNN
1 6000 3350
1 0 0 -1
$EndComp
Wire Wire Line
5100 3350 5100 3300
$Comp
L device:C C1209
U 1 1 5BD62694
P 4450 3200
F 0 "C1209" H 4565 3246 50 0000 L CNN
F 1 "4.7nF" H 4565 3155 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 4488 3050 50 0001 C CNN
F 3 "~" H 4450 3200 50 0001 C CNN
1 4450 3200
1 0 0 -1
$EndComp
$Comp
L device:R R1206
U 1 1 5BD627EB
P 4050 3200
F 0 "R1206" H 4120 3246 50 0000 L CNN
F 1 "39.2k" H 4120 3155 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 3980 3200 50 0001 C CNN
F 3 "~" H 4050 3200 50 0001 C CNN
1 4050 3200
1 0 0 -1
$EndComp
Wire Wire Line
4450 3050 4450 2950
Wire Wire Line
4450 2950 4550 2950
$Comp
L power:GND #PWR0199
U 1 1 5BD64F18
P 4450 3350
F 0 "#PWR0199" H 4450 3100 50 0001 C CNN
F 1 "GND" H 4455 3177 50 0000 C CNN
F 2 "" H 4450 3350 50 0001 C CNN
F 3 "" H 4450 3350 50 0001 C CNN
1 4450 3350
1 0 0 -1
$EndComp
Wire Wire Line
4050 3050 4050 2850
Wire Wire Line
4050 2850 4550 2850
$Comp
L power:GND #PWR0210
U 1 1 5BD6764C
P 4050 3350
F 0 "#PWR0210" H 4050 3100 50 0001 C CNN
F 1 "GND" H 4055 3177 50 0000 C CNN
F 2 "" H 4050 3350 50 0001 C CNN
F 3 "" H 4050 3350 50 0001 C CNN
1 4050 3350
1 0 0 -1
$EndComp
Wire Wire Line
5600 2900 6000 2900
Wire Wire Line
6000 2900 6000 2700
Wire Wire Line
6000 2700 5900 2700
Wire Wire Line
6000 3350 6000 3300
Wire Wire Line
6000 3000 6000 2900
Connection ~ 6000 2900
Wire Wire Line
6100 2900 6000 2900
Wire Wire Line
6400 2900 6500 2900
Wire Wire Line
6500 2900 6500 3000
Connection ~ 6500 2900
Connection ~ 9200 2900
Wire Wire Line
5700 3000 5600 3000
$Comp
L device:D_Zener D1203
U 1 1 5BD99942
P 5700 4350
F 0 "D1203" V 5654 4429 50 0000 L CNN
F 1 "Dz_3.6V" V 5745 4429 50 0000 L CNN
F 2 "Diodes_SMD:D_MiniMELF" H 5700 4350 50 0001 C CNN
F 3 "~" H 5700 4350 50 0001 C CNN
1 5700 4350
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0211
U 1 1 5BD9C1D2
P 5700 4550
F 0 "#PWR0211" H 5700 4300 50 0001 C CNN
F 1 "GND" H 5705 4377 50 0000 C CNN
F 2 "" H 5700 4550 50 0001 C CNN
F 3 "" H 5700 4550 50 0001 C CNN
1 5700 4550
1 0 0 -1
$EndComp
Wire Wire Line
5700 4500 5700 4550
Wire Wire Line
8550 2900 9200 2900
$Comp
L device:CP C1210
U 1 1 5BDA90D2
P 4800 2150
F 0 "C1210" H 4918 2196 50 0000 L CNN
F 1 "220uF 24V" H 4918 2105 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_8x10.5" H 4838 2000 50 0001 C CNN
F 3 "~" H 4800 2150 50 0001 C CNN
1 4800 2150
1 0 0 -1
$EndComp
$Comp
L device:CP C1208
U 1 1 5BDAB8F5
P 4350 2150
F 0 "C1208" H 4468 2196 50 0000 L CNN
F 1 "220uF 24V" H 4468 2105 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_8x10.5" H 4388 2000 50 0001 C CNN
F 3 "~" H 4350 2150 50 0001 C CNN
1 4350 2150
1 0 0 -1
$EndComp
Wire Wire Line
5100 2400 5100 1900
Wire Wire Line
5100 1900 4800 1900
Wire Wire Line
4350 1900 4350 2000
$Comp
L power:GND #PWR0250
U 1 1 5BDB0E16
P 4800 2300
F 0 "#PWR0250" H 4800 2050 50 0001 C CNN
F 1 "GND" H 4805 2127 50 0000 C CNN
F 2 "" H 4800 2300 50 0001 C CNN
F 3 "" H 4800 2300 50 0001 C CNN
1 4800 2300
1 0 0 -1
$EndComp
Wire Wire Line
4800 2000 4800 1900
Connection ~ 4800 1900
Wire Wire Line
4800 1900 4350 1900
Wire Wire Line
5350 1900 5100 1900
Wire Wire Line
5350 1900 5350 2000
Connection ~ 5100 1900
$Comp
L power:GND #PWR0251
U 1 1 5BDB685E
P 5350 2300
F 0 "#PWR0251" H 5350 2050 50 0001 C CNN
F 1 "GND" H 5355 2127 50 0000 C CNN
F 2 "" H 5350 2300 50 0001 C CNN
F 3 "" H 5350 2300 50 0001 C CNN
1 5350 2300
1 0 0 -1
$EndComp
Wire Wire Line
5100 1800 5100 1900
$Comp
L power:GND #PWR0252
U 1 1 5BD31CEA
P 5000 3350
F 0 "#PWR0252" H 5000 3100 50 0001 C CNN
F 1 "GND" H 5005 3177 50 0000 C CNN
F 2 "" H 5000 3350 50 0001 C CNN
F 3 "" H 5000 3350 50 0001 C CNN
1 5000 3350
1 0 0 -1
$EndComp
Wire Wire Line
5000 3350 5000 3300
Text Label 5650 2900 0 50 ~ 0
SW
Text Label 6500 2900 0 50 ~ 0
V_Tube_ripple
Wire Wire Line
6500 2900 7250 2900
$Comp
L device:Q_PMOS_GDS Q1201
U 1 1 5BD30825
P 9450 900
F 0 "Q1201" H 9656 946 50 0000 L CNN
F 1 "Q_PMOS_GDS" H 9656 855 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:TO-252-2" H 9650 1000 50 0001 C CNN
F 3 "~" H 9450 900 50 0001 C CNN
1 9450 900
1 0 0 -1
$EndComp
$Comp
L device:R R1207
U 1 1 5BD33BBE
P 9300 1400
F 0 "R1207" V 9507 1400 50 0000 C CNN
F 1 "10k" V 9416 1400 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 9230 1400 50 0001 C CNN
F 3 "~" H 9300 1400 50 0001 C CNN
1 9300 1400
0 -1 -1 0
$EndComp
Text GLabel 8100 1400 0 50 Input ~ 0
enable_Tube_Supply
$Comp
L device:R R1205
U 1 1 5BD3C436
P 9050 1650
F 0 "R1205" H 9120 1696 50 0000 L CNN
F 1 "1k" H 9120 1605 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 8980 1650 50 0001 C CNN
F 3 "~" H 9050 1650 50 0001 C CNN
1 9050 1650
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0166
U 1 1 5BD3C500
P 9050 1800
F 0 "#PWR0166" H 9050 1550 50 0001 C CNN
F 1 "GND" H 9055 1627 50 0000 C CNN
F 2 "" H 9050 1800 50 0001 C CNN
F 3 "" H 9050 1800 50 0001 C CNN
1 9050 1800
1 0 0 -1
$EndComp
Wire Wire Line
9550 1100 9550 1400
Wire Wire Line
9450 1400 9550 1400
Connection ~ 9550 1400
Wire Wire Line
9550 1400 9550 2900
Wire Wire Line
9150 1400 9050 1400
Wire Wire Line
9050 900 9050 1400
Wire Wire Line
9050 1500 9050 1400
Connection ~ 9050 1400
Wire Wire Line
9050 900 9250 900
Wire Wire Line
5700 3000 5700 4100
$Comp
L device:CP C1207
U 1 1 5BD4B49E
P 8100 3150
F 0 "C1207" H 8218 3196 50 0000 L CNN
F 1 "470uF" H 8218 3105 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 8138 3000 50 0001 C CNN
F 3 "~" H 8100 3150 50 0001 C CNN
1 8100 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0176
U 1 1 5BD4B4A5
P 8100 3350
F 0 "#PWR0176" H 8100 3100 50 0001 C CNN
F 1 "GND" H 8105 3177 50 0000 C CNN
F 2 "" H 8100 3350 50 0001 C CNN
F 3 "" H 8100 3350 50 0001 C CNN
1 8100 3350
1 0 0 -1
$EndComp
Wire Wire Line
8100 3350 8100 3300
Wire Wire Line
8100 3000 8100 2900
Connection ~ 8100 2900
Wire Wire Line
8100 2900 8550 2900
Connection ~ 8550 2900
Wire Wire Line
5700 4100 9400 4100
Connection ~ 5700 4100
Wire Wire Line
5700 4100 5700 4200
$Comp
L device:R R1204
U 1 1 5BD59EF3
P 8350 1400
F 0 "R1204" V 8143 1400 50 0000 C CNN
F 1 "1k" V 8234 1400 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 8280 1400 50 0001 C CNN
F 3 "~" H 8350 1400 50 0001 C CNN
1 8350 1400
0 1 1 0
$EndComp
$Comp
L device:C C1212
U 1 1 5BD59FB7
P 8600 1650
F 0 "C1212" H 8715 1696 50 0000 L CNN
F 1 "100nF" H 8715 1605 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 8638 1500 50 0001 C CNN
F 3 "~" H 8600 1650 50 0001 C CNN
1 8600 1650
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0177
U 1 1 5BD5A2BE
P 8600 1800
F 0 "#PWR0177" H 8600 1550 50 0001 C CNN
F 1 "GND" H 8605 1627 50 0000 C CNN
F 2 "" H 8600 1800 50 0001 C CNN
F 3 "" H 8600 1800 50 0001 C CNN
1 8600 1800
1 0 0 -1
$EndComp
Wire Wire Line
9050 1400 8600 1400
Wire Wire Line
8600 1400 8600 1500
Wire Wire Line
8500 1400 8600 1400
Connection ~ 8600 1400
Wire Wire Line
8100 1400 8200 1400
$Comp
L device:D_Zener D1204
U 1 1 5BD614D4
P 8800 900
F 0 "D1204" H 8800 684 50 0000 C CNN
F 1 "DZ_5.1V" H 8800 775 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 8800 900 50 0001 C CNN
F 3 "~" H 8800 900 50 0001 C CNN
1 8800 900
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR0206
U 1 1 5BD61619
P 8600 1000
F 0 "#PWR0206" H 8600 750 50 0001 C CNN
F 1 "GND" H 8605 827 50 0000 C CNN
F 2 "" H 8600 1000 50 0001 C CNN
F 3 "" H 8600 1000 50 0001 C CNN
1 8600 1000
1 0 0 -1
$EndComp
Wire Wire Line
8600 1000 8600 900
Wire Wire Line
8600 900 8650 900
Wire Wire Line
8950 900 9050 900
Connection ~ 9050 900
Wire Wire Line
9550 2900 10000 2900
$EndSCHEMATC

929
pcb/3_3V PSU 5.bak Normal file
View File

@@ -0,0 +1,929 @@
EESchema Schematic File Version 4
LIBS:IV-9_Clock-cache
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 12 15
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L device:L L1301
U 1 1 59D4542E
P 6250 2900
F 0 "L1301" V 6200 2900 50 0000 C CNN
F 1 "100uH 744325550" V 6325 2900 50 0000 C CNN
F 2 "Inductors_SMD:L_Wuerth_HCI-1050" H 6250 2900 50 0001 C CNN
F 3 "" H 6250 2900 50 0001 C CNN
1 6250 2900
0 -1 -1 0
$EndComp
$Comp
L device:CP C1304
U 1 1 59D46505
P 6500 3150
F 0 "C1304" H 6525 3250 50 0000 L CNN
F 1 "470uF" H 6550 3050 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x4.5" H 6538 3000 50 0001 C CNN
F 3 "" H 6500 3150 50 0001 C CNN
1 6500 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0202
U 1 1 5BB49528
P 6500 3350
F 0 "#PWR0202" H 6500 3100 50 0001 C CNN
F 1 "GND" H 6500 3200 50 0000 C CNN
F 2 "" H 6500 3350 50 0001 C CNN
F 3 "" H 6500 3350 50 0001 C CNN
1 6500 3350
1 0 0 -1
$EndComp
Wire Wire Line
6500 3350 6500 3300
$Comp
L device:R R1302
U 1 1 5BB49529
P 9550 3150
F 0 "R1302" V 9630 3150 50 0000 C CNN
F 1 "17k" V 9550 3150 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 9480 3150 50 0001 C CNN
F 3 "" H 9550 3150 50 0001 C CNN
1 9550 3150
1 0 0 -1
$EndComp
$Comp
L device:R R1303
U 1 1 5BB4952A
P 9550 4400
F 0 "R1303" V 9630 4400 50 0000 C CNN
F 1 "10k" V 9550 4400 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 9480 4400 50 0001 C CNN
F 3 "" H 9550 4400 50 0001 C CNN
1 9550 4400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0203
U 1 1 5BB4952B
P 9550 4550
F 0 "#PWR0203" H 9550 4300 50 0001 C CNN
F 1 "GND" H 9550 4400 50 0000 C CNN
F 2 "" H 9550 4550 50 0001 C CNN
F 3 "" H 9550 4550 50 0001 C CNN
1 9550 4550
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0205
U 1 1 5BB4952D
P 5100 1800
F 0 "#PWR0205" H 5100 1650 50 0001 C CNN
F 1 "+12V" H 5100 1940 50 0000 C CNN
F 2 "" H 5100 1800 50 0001 C CNN
F 3 "" H 5100 1800 50 0001 C CNN
1 5100 1800
1 0 0 -1
$EndComp
$Comp
L device:D D1301
U 1 1 5BB49523
P 6000 3150
F 0 "D1301" H 6050 3250 50 0000 C CNN
F 1 "VSSC8L45-M3/9AT" H 6000 3050 50 0000 C CNN
F 2 "Diodes_SMD:D_SMC" H 6000 3150 50 0001 C CNN
F 3 "" H 6000 3150 50 0001 C CNN
1 6000 3150
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0207
U 1 1 5AAD34AE
P 9200 3650
F 0 "#PWR0207" H 9200 3400 50 0001 C CNN
F 1 "GND" H 9200 3500 50 0000 C CNN
F 2 "" H 9200 3650 50 0001 C CNN
F 3 "" H 9200 3650 50 0001 C CNN
1 9200 3650
1 0 0 -1
$EndComp
Wire Wire Line
9200 3650 9200 3300
$Comp
L device:C C1301
U 1 1 5BB81889
P 5350 2150
F 0 "C1301" H 5465 2196 50 0000 L CNN
F 1 "100nF" H 5465 2105 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 5388 2000 50 0001 C CNN
F 3 "~" H 5350 2150 50 0001 C CNN
1 5350 2150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0209
U 1 1 5BB81A2B
P 4550 2300
F 0 "#PWR0209" H 4550 2050 50 0001 C CNN
F 1 "GND" H 4555 2127 50 0000 C CNN
F 2 "" H 4550 2300 50 0001 C CNN
F 3 "" H 4550 2300 50 0001 C CNN
1 4550 2300
1 0 0 -1
$EndComp
$Comp
L device:R_POT_TRIM RV1301
U 1 1 5BB85821
P 9550 4100
F 0 "RV1301" H 9481 4054 50 0000 R CNN
F 1 "10k" H 9481 4145 50 0000 R CNN
F 2 "Potentiometers:Potentiometer_Trimmer_Vishay_TS53YL" H 9550 4100 50 0001 C CNN
F 3 "~" H 9550 4100 50 0001 C CNN
1 9550 4100
-1 0 0 1
$EndComp
Wire Wire Line
9550 3300 9550 3950
$Comp
L Transistor_FET:BSS138 Q1301
U 1 1 5BB59C86
P 2000 5000
F 0 "Q1301" H 2205 5046 50 0000 L CNN
F 1 "BSS138" H 2205 4955 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 2200 4925 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 2000 5000 50 0001 L CNN
1 2000 5000
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0212
U 1 1 5BB5CF6C
P 2100 5250
F 0 "#PWR0212" H 2100 5000 50 0001 C CNN
F 1 "GND" H 2105 5077 50 0000 C CNN
F 2 "" H 2100 5250 50 0001 C CNN
F 3 "" H 2100 5250 50 0001 C CNN
1 2100 5250
1 0 0 -1
$EndComp
$Comp
L device:R R1304
U 1 1 5BB5CFDD
P 1900 2750
F 0 "R1304" V 1693 2750 50 0000 C CNN
F 1 "1k" V 1784 2750 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 1830 2750 50 0001 C CNN
F 3 "~" H 1900 2750 50 0001 C CNN
1 1900 2750
0 1 1 0
$EndComp
$Comp
L device:R R1305
U 1 1 5BB5D0B6
P 2150 3000
F 0 "R1305" H 2220 3046 50 0000 L CNN
F 1 "10k" H 2220 2955 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 2080 3000 50 0001 C CNN
F 3 "~" H 2150 3000 50 0001 C CNN
1 2150 3000
1 0 0 -1
$EndComp
Wire Wire Line
2150 2850 2150 2750
Wire Wire Line
2150 2750 2050 2750
$Comp
L device:C C1306
U 1 1 5BB5DF23
P 2550 3000
F 0 "C1306" H 2665 3046 50 0000 L CNN
F 1 "100nF" H 2665 2955 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 2588 2850 50 0001 C CNN
F 3 "~" H 2550 3000 50 0001 C CNN
1 2550 3000
1 0 0 -1
$EndComp
Wire Wire Line
2150 2750 2550 2750
Connection ~ 2150 2750
Wire Wire Line
2550 2850 2550 2750
Connection ~ 2550 2750
$Comp
L power:GND #PWR0213
U 1 1 5BB61879
P 2550 3150
F 0 "#PWR0213" H 2550 2900 50 0001 C CNN
F 1 "GND" H 2555 2977 50 0000 C CNN
F 2 "" H 2550 3150 50 0001 C CNN
F 3 "" H 2550 3150 50 0001 C CNN
1 2550 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0214
U 1 1 5BB6191D
P 2150 3150
F 0 "#PWR0214" H 2150 2900 50 0001 C CNN
F 1 "GND" H 2155 2977 50 0000 C CNN
F 2 "" H 2150 3150 50 0001 C CNN
F 3 "" H 2150 3150 50 0001 C CNN
1 2150 3150
1 0 0 -1
$EndComp
Wire Wire Line
2100 5250 2100 5200
$Comp
L Transistor_FET:BSS138 Q1303
U 1 1 5BB6719E
P 3200 4650
F 0 "Q1303" H 3405 4696 50 0000 L CNN
F 1 "BSS138" H 3405 4605 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 3400 4575 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 3200 4650 50 0001 L CNN
1 3200 4650
1 0 0 -1
$EndComp
$Comp
L device:LED D1303
U 1 1 5BB6A6ED
P 3300 3850
F 0 "D1303" V 3338 3732 50 0000 R CNN
F 1 "LED_2.5VPSU_off_red" V 3247 3732 50 0000 R CNN
F 2 "Diodes_SMD:D_0805" H 3300 3850 50 0001 C CNN
F 3 "~" H 3300 3850 50 0001 C CNN
1 3300 3850
0 -1 -1 0
$EndComp
$Comp
L device:R R1308
U 1 1 5BB71DFD
P 3300 4200
F 0 "R1308" H 3370 4246 50 0000 L CNN
F 1 "10k" H 3370 4155 50 0000 L CNN
F 2 "Resistors_SMD:R_0805" V 3230 4200 50 0001 C CNN
F 3 "~" H 3300 4200 50 0001 C CNN
1 3300 4200
1 0 0 -1
$EndComp
Wire Wire Line
3300 3700 3300 3600
$Comp
L power:GND #PWR0216
U 1 1 5BB74731
P 3300 5250
F 0 "#PWR0216" H 3300 5000 50 0001 C CNN
F 1 "GND" H 3305 5077 50 0000 C CNN
F 2 "" H 3300 5250 50 0001 C CNN
F 3 "" H 3300 5250 50 0001 C CNN
1 3300 5250
1 0 0 -1
$EndComp
Wire Wire Line
3300 5250 3300 4850
Text GLabel 1600 2750 0 50 Input ~ 0
enable_Tube_PSU
$Comp
L power:+12V #PWR0215
U 1 1 5BB7CFF8
P 3300 3600
F 0 "#PWR0215" H 3300 3450 50 0001 C CNN
F 1 "+12V" H 3315 3773 50 0000 C CNN
F 2 "" H 3300 3600 50 0001 C CNN
F 3 "" H 3300 3600 50 0001 C CNN
1 3300 3600
1 0 0 -1
$EndComp
Text GLabel 10150 2900 2 50 Input ~ 0
feedback_Tube_PSU
$Comp
L device:D_Zener D1302
U 1 1 5AAD3380
P 9200 3150
F 0 "D1302" H 9200 3250 50 0000 C CNN
F 1 "DZ_4.5V" H 9200 3050 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 9200 3150 50 0001 C CNN
F 3 "" H 9200 3150 50 0001 C CNN
1 9200 3150
0 1 1 0
$EndComp
Wire Wire Line
9200 3000 9200 2900
$Comp
L power:+3V3 #PWR0204
U 1 1 5BC33A81
P 9550 550
F 0 "#PWR0204" H 9550 400 50 0001 C CNN
F 1 "+3V3" H 9565 723 50 0000 C CNN
F 2 "" H 9550 550 50 0001 C CNN
F 3 "" H 9550 550 50 0001 C CNN
1 9550 550
1 0 0 -1
$EndComp
$Comp
L device:CP C1307
U 1 1 5BC3EDF8
P 7650 3150
F 0 "C1307" H 7768 3196 50 0000 L CNN
F 1 "470uF" H 7768 3105 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x5.8" H 7688 3000 50 0001 C CNN
F 3 "~" H 7650 3150 50 0001 C CNN
1 7650 3150
1 0 0 -1
$EndComp
Wire Wire Line
7550 2900 7650 2900
Wire Wire Line
7650 2900 7650 3000
Wire Wire Line
8550 2900 8550 3000
Connection ~ 7650 2900
$Comp
L power:GND #PWR0263
U 1 1 5BC47310
P 7650 3350
F 0 "#PWR0263" H 7650 3100 50 0001 C CNN
F 1 "GND" H 7655 3177 50 0000 C CNN
F 2 "" H 7650 3350 50 0001 C CNN
F 3 "" H 7650 3350 50 0001 C CNN
1 7650 3350
1 0 0 -1
$EndComp
Wire Wire Line
7650 3350 7650 3300
$Comp
L power:GND #PWR0264
U 1 1 5BC4912B
P 8550 3350
F 0 "#PWR0264" H 8550 3100 50 0001 C CNN
F 1 "GND" H 8555 3177 50 0000 C CNN
F 2 "" H 8550 3350 50 0001 C CNN
F 3 "" H 8550 3350 50 0001 C CNN
1 8550 3350
1 0 0 -1
$EndComp
Wire Wire Line
8550 3350 8550 3300
Wire Notes Line
7250 2600 7250 3950
Wire Notes Line
7250 3950 9000 3950
Wire Notes Line
9000 3950 9000 2600
Wire Notes Line
9000 2600 7250 2600
Text Notes 7250 2600 0 50 ~ 0
Ripple Filter Ref: V2
$Comp
L device:Ferrite_Bead L1202
U 1 1 5BC1CECA
P 7400 2900
F 0 "L1202" V 7350 2800 50 0000 C CNN
F 1 "BLM31KN601SN1L" V 7550 2700 50 0000 C CNN
F 2 "Inductors_SMD:L_1206" V 7330 2900 50 0001 C CNN
F 3 "~" H 7400 2900 50 0001 C CNN
1 7400 2900
0 -1 -1 0
$EndComp
Wire Wire Line
7650 2900 8100 2900
$Comp
L device:C C1206
U 1 1 5BC34D02
P 8550 3150
F 0 "C1206" H 8665 3196 50 0000 L CNN
F 1 "100nF" H 8665 3105 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805" H 8588 3000 50 0001 C CNN
F 3 "~" H 8550 3150 50 0001 C CNN
1 8550 3150
1 0 0 -1
$EndComp
Wire Wire Line
9550 3000 9550 2900
Connection ~ 9550 2900
Wire Wire Line
9200 2900 9550 2900
Wire Wire Line
3300 4000 3300 4050
Wire Wire Line
2550 2750 4550 2750
Wire Wire Line
2100 4800 2100 4650
Wire Wire Line
2100 4650 2100 4400
Connection ~ 2100 4650
Wire Wire Line
1700 5000 1700 2750
Wire Wire Line
1600 2750 1700 2750
Connection ~ 1700 2750
Wire Wire Line
1700 2750 1750 2750
$Comp
L power:GND #PWR0196
U 1 1 5BD5BB29
P 5100 3350
F 0 "#PWR0196" H 5100 3100 50 0001 C CNN
F 1 "GND" H 5105 3177 50 0000 C CNN
F 2 "" H 5100 3350 50 0001 C CNN
F 3 "" H 5100 3350 50 0001 C CNN
1 5100 3350
1 0 0 -1
$EndComp
Wire Wire Line
1700 5000 1800 5000
$Comp
L device:C C1211
U 1 1 5BD5DDFB
P 5750 2700
F 0 "C1211" V 5498 2700 50 0000 C CNN
F 1 "100nF" V 5589 2700 50 0000 C CNN
F 2 "Capacitors_SMD:C_0603" H 5788 2550 50 0001 C CNN
F 3 "~" H 5750 2700 50 0001 C CNN
1 5750 2700
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0197
U 1 1 5BD600A4
P 6000 3350
F 0 "#PWR0197" H 6000 3100 50 0001 C CNN
F 1 "GND" H 6005 3177 50 0000 C CNN
F 2 "" H 6000 3350 50 0001 C CNN
F 3 "" H 6000 3350 50 0001 C CNN
1 6000 3350
1 0 0 -1
$EndComp
Wire Wire Line
5100 3350 5100 3300
$Comp
L device:C C1209
U 1 1 5BD62694
P 4450 3200
F 0 "C1209" H 4565 3246 50 0000 L CNN
F 1 "4.7nF" H 4565 3155 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 4488 3050 50 0001 C CNN
F 3 "~" H 4450 3200 50 0001 C CNN
1 4450 3200
1 0 0 -1
$EndComp
$Comp
L device:R R1206
U 1 1 5BD627EB
P 4050 3200
F 0 "R1206" H 4120 3246 50 0000 L CNN
F 1 "39.2k" H 4120 3155 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 3980 3200 50 0001 C CNN
F 3 "~" H 4050 3200 50 0001 C CNN
1 4050 3200
1 0 0 -1
$EndComp
Wire Wire Line
4450 3050 4450 2950
Wire Wire Line
4450 2950 4550 2950
$Comp
L power:GND #PWR0199
U 1 1 5BD64F18
P 4450 3350
F 0 "#PWR0199" H 4450 3100 50 0001 C CNN
F 1 "GND" H 4455 3177 50 0000 C CNN
F 2 "" H 4450 3350 50 0001 C CNN
F 3 "" H 4450 3350 50 0001 C CNN
1 4450 3350
1 0 0 -1
$EndComp
Wire Wire Line
4050 3050 4050 2850
Wire Wire Line
4050 2850 4550 2850
$Comp
L power:GND #PWR0210
U 1 1 5BD6764C
P 4050 3350
F 0 "#PWR0210" H 4050 3100 50 0001 C CNN
F 1 "GND" H 4055 3177 50 0000 C CNN
F 2 "" H 4050 3350 50 0001 C CNN
F 3 "" H 4050 3350 50 0001 C CNN
1 4050 3350
1 0 0 -1
$EndComp
Wire Wire Line
5600 2900 6000 2900
Wire Wire Line
6000 2900 6000 2700
Wire Wire Line
6000 2700 5900 2700
Wire Wire Line
6000 3350 6000 3300
Wire Wire Line
6000 3000 6000 2900
Connection ~ 6000 2900
Wire Wire Line
6100 2900 6000 2900
Wire Wire Line
6400 2900 6500 2900
Wire Wire Line
6500 2900 6500 3000
Connection ~ 6500 2900
Connection ~ 9200 2900
Wire Wire Line
5700 3000 5600 3000
$Comp
L device:D_Zener D1203
U 1 1 5BD99942
P 5700 4350
F 0 "D1203" V 5654 4429 50 0000 L CNN
F 1 "Dz_3.6V" V 5745 4429 50 0000 L CNN
F 2 "Diodes_SMD:D_MiniMELF" H 5700 4350 50 0001 C CNN
F 3 "~" H 5700 4350 50 0001 C CNN
1 5700 4350
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0211
U 1 1 5BD9C1D2
P 5700 4550
F 0 "#PWR0211" H 5700 4300 50 0001 C CNN
F 1 "GND" H 5705 4377 50 0000 C CNN
F 2 "" H 5700 4550 50 0001 C CNN
F 3 "" H 5700 4550 50 0001 C CNN
1 5700 4550
1 0 0 -1
$EndComp
Wire Wire Line
5700 4500 5700 4550
Wire Wire Line
8550 2900 9200 2900
$Comp
L device:CP C1208
U 1 1 5BDAB8F5
P 4550 2150
F 0 "C1208" H 4668 2196 50 0000 L CNN
F 1 "220uF 24V" H 4668 2105 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_8x5.4" H 4588 2000 50 0001 C CNN
F 3 "~" H 4550 2150 50 0001 C CNN
1 4550 2150
1 0 0 -1
$EndComp
Wire Wire Line
5100 2400 5100 1900
Wire Wire Line
4550 1900 4550 2000
Wire Wire Line
5350 1900 5100 1900
Wire Wire Line
5350 1900 5350 2000
Connection ~ 5100 1900
$Comp
L power:GND #PWR0251
U 1 1 5BDB685E
P 5350 2300
F 0 "#PWR0251" H 5350 2050 50 0001 C CNN
F 1 "GND" H 5355 2127 50 0000 C CNN
F 2 "" H 5350 2300 50 0001 C CNN
F 3 "" H 5350 2300 50 0001 C CNN
1 5350 2300
1 0 0 -1
$EndComp
Wire Wire Line
5100 1800 5100 1900
$Comp
L power:GND #PWR0252
U 1 1 5BD31CEA
P 5000 3350
F 0 "#PWR0252" H 5000 3100 50 0001 C CNN
F 1 "GND" H 5005 3177 50 0000 C CNN
F 2 "" H 5000 3350 50 0001 C CNN
F 3 "" H 5000 3350 50 0001 C CNN
1 5000 3350
1 0 0 -1
$EndComp
Wire Wire Line
5000 3350 5000 3300
Text Label 5650 2900 0 50 ~ 0
SW
Text Label 6500 2900 0 50 ~ 0
V_Tube_ripple
Wire Wire Line
6500 2900 6950 2900
$Comp
L device:Q_PMOS_GDS Q1201
U 1 1 5BD30825
P 9450 900
F 0 "Q1201" H 9656 946 50 0000 L CNN
F 1 "Q_PMOS_GDS" H 9656 855 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:TO-252-2" H 9650 1000 50 0001 C CNN
F 3 "~" H 9450 900 50 0001 C CNN
1 9450 900
1 0 0 -1
$EndComp
$Comp
L device:R R1207
U 1 1 5BD33BBE
P 9300 1400
F 0 "R1207" V 9507 1400 50 0000 C CNN
F 1 "10k" V 9416 1400 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 9230 1400 50 0001 C CNN
F 3 "~" H 9300 1400 50 0001 C CNN
1 9300 1400
0 -1 -1 0
$EndComp
Text GLabel 8100 1400 0 50 Input ~ 0
enable_Tube_Supply
Wire Wire Line
9550 1100 9550 1400
Wire Wire Line
9450 1400 9550 1400
Connection ~ 9550 1400
Wire Wire Line
9550 1400 9550 2900
Wire Wire Line
9150 1400 9050 1400
Wire Wire Line
9050 900 9050 1400
Connection ~ 9050 1400
Wire Wire Line
9050 900 9250 900
Wire Wire Line
5700 3000 5700 4100
$Comp
L device:CP C1207
U 1 1 5BD4B49E
P 8100 3150
F 0 "C1207" H 8218 3196 50 0000 L CNN
F 1 "470uF" H 8218 3105 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 8138 3000 50 0001 C CNN
F 3 "~" H 8100 3150 50 0001 C CNN
1 8100 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0176
U 1 1 5BD4B4A5
P 8100 3350
F 0 "#PWR0176" H 8100 3100 50 0001 C CNN
F 1 "GND" H 8105 3177 50 0000 C CNN
F 2 "" H 8100 3350 50 0001 C CNN
F 3 "" H 8100 3350 50 0001 C CNN
1 8100 3350
1 0 0 -1
$EndComp
Wire Wire Line
8100 3350 8100 3300
Wire Wire Line
8100 3000 8100 2900
Connection ~ 8100 2900
Wire Wire Line
8100 2900 8550 2900
Connection ~ 8550 2900
Wire Wire Line
5700 4100 9400 4100
Connection ~ 5700 4100
Wire Wire Line
5700 4100 5700 4200
$Comp
L device:R R1204
U 1 1 5BD59EF3
P 8350 1400
F 0 "R1204" V 8143 1400 50 0000 C CNN
F 1 "1k" V 8234 1400 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 8280 1400 50 0001 C CNN
F 3 "~" H 8350 1400 50 0001 C CNN
1 8350 1400
0 1 1 0
$EndComp
$Comp
L device:C C1212
U 1 1 5BD59FB7
P 8600 1650
F 0 "C1212" H 8715 1696 50 0000 L CNN
F 1 "100nF" H 8715 1605 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 8638 1500 50 0001 C CNN
F 3 "~" H 8600 1650 50 0001 C CNN
1 8600 1650
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0177
U 1 1 5BD5A2BE
P 8600 1800
F 0 "#PWR0177" H 8600 1550 50 0001 C CNN
F 1 "GND" H 8605 1627 50 0000 C CNN
F 2 "" H 8600 1800 50 0001 C CNN
F 3 "" H 8600 1800 50 0001 C CNN
1 8600 1800
1 0 0 -1
$EndComp
Wire Wire Line
9050 1400 8600 1400
Wire Wire Line
8600 1400 8600 1500
Wire Wire Line
8500 1400 8600 1400
Connection ~ 8600 1400
Wire Wire Line
8100 1400 8200 1400
$Comp
L device:D_Zener D1204
U 1 1 5BD614D4
P 8800 900
F 0 "D1204" H 8800 684 50 0000 C CNN
F 1 "DZ_5.1V" H 8800 775 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 8800 900 50 0001 C CNN
F 3 "~" H 8800 900 50 0001 C CNN
1 8800 900
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR0206
U 1 1 5BD61619
P 8600 1000
F 0 "#PWR0206" H 8600 750 50 0001 C CNN
F 1 "GND" H 8605 827 50 0000 C CNN
F 2 "" H 8600 1000 50 0001 C CNN
F 3 "" H 8600 1000 50 0001 C CNN
1 8600 1000
1 0 0 -1
$EndComp
Wire Wire Line
8600 1000 8600 900
Wire Wire Line
8600 900 8650 900
Wire Wire Line
8950 900 9050 900
Connection ~ 9050 900
Wire Wire Line
9550 2900 9650 2900
$Comp
L device:CP C1202
U 1 1 5BD3D111
P 6950 3150
F 0 "C1202" H 6975 3250 50 0000 L CNN
F 1 "470uF" H 7000 3050 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 6988 3000 50 0001 C CNN
F 3 "" H 6950 3150 50 0001 C CNN
1 6950 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0200
U 1 1 5BD3D118
P 6950 3350
F 0 "#PWR0200" H 6950 3100 50 0001 C CNN
F 1 "GND" H 6950 3200 50 0000 C CNN
F 2 "" H 6950 3350 50 0001 C CNN
F 3 "" H 6950 3350 50 0001 C CNN
1 6950 3350
1 0 0 -1
$EndComp
Wire Wire Line
6950 3350 6950 3300
Wire Wire Line
6950 3000 6950 2900
Connection ~ 6950 2900
Wire Wire Line
6950 2900 7250 2900
Wire Wire Line
4550 1900 5100 1900
$Comp
L device:R R1205
U 1 1 5BDB597C
P 9800 2900
F 0 "R1205" V 9593 2900 50 0000 C CNN
F 1 "10k" V 9684 2900 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 9730 2900 50 0001 C CNN
F 3 "~" H 9800 2900 50 0001 C CNN
1 9800 2900
0 1 1 0
$EndComp
$Comp
L device:C C1210
U 1 1 5BDB731E
P 10050 3150
F 0 "C1210" H 10165 3196 50 0000 L CNN
F 1 "100nF" H 10165 3105 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 10088 3000 50 0001 C CNN
F 3 "~" H 10050 3150 50 0001 C CNN
1 10050 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0166
U 1 1 5BDB74C9
P 10050 3650
F 0 "#PWR0166" H 10050 3400 50 0001 C CNN
F 1 "GND" H 10055 3477 50 0000 C CNN
F 2 "" H 10050 3650 50 0001 C CNN
F 3 "" H 10050 3650 50 0001 C CNN
1 10050 3650
1 0 0 -1
$EndComp
Wire Wire Line
10050 3650 10050 3300
Wire Wire Line
10050 3000 10050 2900
Wire Wire Line
10050 2900 9950 2900
Wire Wire Line
10150 2900 10050 2900
Connection ~ 10050 2900
Wire Wire Line
2100 4650 2900 4650
Wire Wire Line
2900 5250 2900 5100
$Comp
L device:D_Zener D1205
U 1 1 5BE73486
P 2900 4950
F 0 "D1205" H 2900 5050 50 0000 C CNN
F 1 "DZ_20V" H 2900 4850 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 2900 4950 50 0001 C CNN
F 3 "" H 2900 4950 50 0001 C CNN
1 2900 4950
0 1 1 0
$EndComp
Wire Wire Line
2900 4800 2900 4650
Connection ~ 2900 4650
Wire Wire Line
2900 4650 3000 4650
$Comp
L power:GND #PWR0250
U 1 1 5BE789FA
P 2900 5250
F 0 "#PWR0250" H 2900 5000 50 0001 C CNN
F 1 "GND" H 2905 5077 50 0000 C CNN
F 2 "" H 2900 5250 50 0001 C CNN
F 3 "" H 2900 5250 50 0001 C CNN
1 2900 5250
1 0 0 -1
$EndComp
$Comp
L TI_Simple_Switcher:LMR14050 U1202
U 1 1 5C0A89C7
P 5100 2850
F 0 "U1202" H 4850 3150 50 0000 C CNN
F 1 "LMR14050" H 5400 2550 50 0000 C CNN
F 2 "" H 4350 2200 50 0001 C CNN
F 3 "" H 4350 2200 50 0001 C CNN
1 5100 2850
1 0 0 -1
$EndComp
Wire Wire Line
3300 4350 3300 4450
$Comp
L device:R R1208
U 1 1 5C0A94F0
P 2100 4250
F 0 "R1208" H 2170 4296 50 0000 L CNN
F 1 "10k" H 2170 4205 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 2030 4250 50 0001 C CNN
F 3 "~" H 2100 4250 50 0001 C CNN
1 2100 4250
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0254
U 1 1 5C0A96A0
P 2100 4100
F 0 "#PWR0254" H 2100 3950 50 0001 C CNN
F 1 "+12V" H 2115 4273 50 0000 C CNN
F 2 "" H 2100 4100 50 0001 C CNN
F 3 "" H 2100 4100 50 0001 C CNN
1 2100 4100
1 0 0 -1
$EndComp
$Comp
L device:R R1209
U 1 1 5C0B3AE2
P 10300 1000
F 0 "R1209" H 10370 1046 50 0000 L CNN
F 1 "N.B." H 10370 955 50 0000 L CNN
F 2 "Resistors_SMD:R_0805" V 10230 1000 50 0001 C CNN
F 3 "~" H 10300 1000 50 0001 C CNN
1 10300 1000
1 0 0 -1
$EndComp
Wire Wire Line
9550 550 9550 650
Wire Wire Line
9550 650 10300 650
Wire Wire Line
10300 650 10300 850
Wire Wire Line
9550 700 9550 650
Connection ~ 9550 650
Wire Wire Line
9550 1400 10300 1400
Wire Wire Line
10300 1400 10300 1150
$EndSCHEMATC

971
pcb/3_3V PSU.bak Normal file
View File

@@ -0,0 +1,971 @@
EESchema Schematic File Version 4
LIBS:IV-9_Clock-cache
EELAYER 29 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 12 16
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L device:L L1301
U 1 1 59D4542E
P 6250 2900
F 0 "L1301" V 6200 2900 50 0000 C CNN
F 1 "100uH 744325550" V 6325 2900 50 0000 C CNN
F 2 "Inductors_SMD:L_Wuerth_HCI-1050" H 6250 2900 50 0001 C CNN
F 3 "" H 6250 2900 50 0001 C CNN
1 6250 2900
0 -1 -1 0
$EndComp
$Comp
L device:CP C1304
U 1 1 59D46505
P 6500 3150
F 0 "C1304" H 6525 3250 50 0000 L CNN
F 1 "470uF" H 6550 3050 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x4.5" H 6538 3000 50 0001 C CNN
F 3 "" H 6500 3150 50 0001 C CNN
1 6500 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0202
U 1 1 5BB49528
P 6500 3350
F 0 "#PWR0202" H 6500 3100 50 0001 C CNN
F 1 "GND" H 6500 3200 50 0000 C CNN
F 2 "" H 6500 3350 50 0001 C CNN
F 3 "" H 6500 3350 50 0001 C CNN
1 6500 3350
1 0 0 -1
$EndComp
Wire Wire Line
6500 3350 6500 3300
$Comp
L device:R R1302
U 1 1 5BB49529
P 9550 3150
F 0 "R1302" V 9630 3150 50 0000 C CNN
F 1 "17k" V 9550 3150 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 9480 3150 50 0001 C CNN
F 3 "" H 9550 3150 50 0001 C CNN
1 9550 3150
1 0 0 -1
$EndComp
$Comp
L device:R R1303
U 1 1 5BB4952A
P 9550 4400
F 0 "R1303" V 9630 4400 50 0000 C CNN
F 1 "10k" V 9550 4400 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 9480 4400 50 0001 C CNN
F 3 "" H 9550 4400 50 0001 C CNN
1 9550 4400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0203
U 1 1 5BB4952B
P 9550 4550
F 0 "#PWR0203" H 9550 4300 50 0001 C CNN
F 1 "GND" H 9550 4400 50 0000 C CNN
F 2 "" H 9550 4550 50 0001 C CNN
F 3 "" H 9550 4550 50 0001 C CNN
1 9550 4550
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0205
U 1 1 5BB4952D
P 5100 1800
F 0 "#PWR0205" H 5100 1650 50 0001 C CNN
F 1 "+12V" H 5100 1940 50 0000 C CNN
F 2 "" H 5100 1800 50 0001 C CNN
F 3 "" H 5100 1800 50 0001 C CNN
1 5100 1800
1 0 0 -1
$EndComp
$Comp
L device:D D1301
U 1 1 5BB49523
P 6000 3150
F 0 "D1301" H 6050 3250 50 0000 C CNN
F 1 "PDS560" H 6000 3050 50 0000 C CNN
F 2 "Diodes_SMD:D_SMC" H 6000 3150 50 0001 C CNN
F 3 "" H 6000 3150 50 0001 C CNN
1 6000 3150
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0207
U 1 1 5AAD34AE
P 9200 3650
F 0 "#PWR0207" H 9200 3400 50 0001 C CNN
F 1 "GND" H 9200 3500 50 0000 C CNN
F 2 "" H 9200 3650 50 0001 C CNN
F 3 "" H 9200 3650 50 0001 C CNN
1 9200 3650
1 0 0 -1
$EndComp
Wire Wire Line
9200 3650 9200 3300
$Comp
L device:C C1301
U 1 1 5BB81889
P 5350 2150
F 0 "C1301" H 5465 2196 50 0000 L CNN
F 1 "100nF" H 5465 2105 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 5388 2000 50 0001 C CNN
F 3 "~" H 5350 2150 50 0001 C CNN
1 5350 2150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0209
U 1 1 5BB81A2B
P 4550 2300
F 0 "#PWR0209" H 4550 2050 50 0001 C CNN
F 1 "GND" H 4555 2127 50 0000 C CNN
F 2 "" H 4550 2300 50 0001 C CNN
F 3 "" H 4550 2300 50 0001 C CNN
1 4550 2300
1 0 0 -1
$EndComp
$Comp
L device:R_POT_TRIM RV1301
U 1 1 5BB85821
P 9550 4100
F 0 "RV1301" H 9481 4054 50 0000 R CNN
F 1 "10k" H 9481 4145 50 0000 R CNN
F 2 "Potentiometers:Potentiometer_Trimmer_Vishay_TS53YL" H 9550 4100 50 0001 C CNN
F 3 "~" H 9550 4100 50 0001 C CNN
1 9550 4100
-1 0 0 1
$EndComp
Wire Wire Line
9550 3300 9550 3950
$Comp
L Transistor_FET:BSS138 Q1301
U 1 1 5BB59C86
P 2000 5000
F 0 "Q1301" H 2205 5046 50 0000 L CNN
F 1 "BSS138" H 2205 4955 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 2200 4925 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 2000 5000 50 0001 L CNN
1 2000 5000
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0212
U 1 1 5BB5CF6C
P 2100 5250
F 0 "#PWR0212" H 2100 5000 50 0001 C CNN
F 1 "GND" H 2105 5077 50 0000 C CNN
F 2 "" H 2100 5250 50 0001 C CNN
F 3 "" H 2100 5250 50 0001 C CNN
1 2100 5250
1 0 0 -1
$EndComp
$Comp
L device:R R1304
U 1 1 5BB5CFDD
P 1900 2750
F 0 "R1304" V 1693 2750 50 0000 C CNN
F 1 "1k" V 1784 2750 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 1830 2750 50 0001 C CNN
F 3 "~" H 1900 2750 50 0001 C CNN
1 1900 2750
0 1 1 0
$EndComp
$Comp
L device:R R1305
U 1 1 5BB5D0B6
P 2150 3000
F 0 "R1305" H 2220 3046 50 0000 L CNN
F 1 "10k" H 2220 2955 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 2080 3000 50 0001 C CNN
F 3 "~" H 2150 3000 50 0001 C CNN
1 2150 3000
1 0 0 -1
$EndComp
Wire Wire Line
2150 2850 2150 2750
Wire Wire Line
2150 2750 2050 2750
$Comp
L device:C C1306
U 1 1 5BB5DF23
P 2550 3000
F 0 "C1306" H 2665 3046 50 0000 L CNN
F 1 "100nF" H 2665 2955 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 2588 2850 50 0001 C CNN
F 3 "~" H 2550 3000 50 0001 C CNN
1 2550 3000
1 0 0 -1
$EndComp
Wire Wire Line
2150 2750 2550 2750
Connection ~ 2150 2750
Wire Wire Line
2550 2850 2550 2750
Connection ~ 2550 2750
$Comp
L power:GND #PWR0213
U 1 1 5BB61879
P 2550 3150
F 0 "#PWR0213" H 2550 2900 50 0001 C CNN
F 1 "GND" H 2555 2977 50 0000 C CNN
F 2 "" H 2550 3150 50 0001 C CNN
F 3 "" H 2550 3150 50 0001 C CNN
1 2550 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0214
U 1 1 5BB6191D
P 2150 3150
F 0 "#PWR0214" H 2150 2900 50 0001 C CNN
F 1 "GND" H 2155 2977 50 0000 C CNN
F 2 "" H 2150 3150 50 0001 C CNN
F 3 "" H 2150 3150 50 0001 C CNN
1 2150 3150
1 0 0 -1
$EndComp
Wire Wire Line
2100 5250 2100 5200
$Comp
L Transistor_FET:BSS138 Q1303
U 1 1 5BB6719E
P 3200 4650
F 0 "Q1303" H 3405 4696 50 0000 L CNN
F 1 "BSS138" H 3405 4605 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 3400 4575 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 3200 4650 50 0001 L CNN
1 3200 4650
1 0 0 -1
$EndComp
$Comp
L device:LED D1303
U 1 1 5BB6A6ED
P 3300 3850
F 0 "D1303" V 3338 3732 50 0000 R CNN
F 1 "LED_2.5VPSU_off_red" V 3247 3732 50 0000 R CNN
F 2 "Diodes_SMD:D_0805" H 3300 3850 50 0001 C CNN
F 3 "~" H 3300 3850 50 0001 C CNN
1 3300 3850
0 -1 -1 0
$EndComp
$Comp
L device:R R1308
U 1 1 5BB71DFD
P 3300 4200
F 0 "R1308" H 3370 4246 50 0000 L CNN
F 1 "10k" H 3370 4155 50 0000 L CNN
F 2 "Resistors_SMD:R_0805" V 3230 4200 50 0001 C CNN
F 3 "~" H 3300 4200 50 0001 C CNN
1 3300 4200
1 0 0 -1
$EndComp
Wire Wire Line
3300 3700 3300 3600
$Comp
L power:GND #PWR0216
U 1 1 5BB74731
P 3300 5250
F 0 "#PWR0216" H 3300 5000 50 0001 C CNN
F 1 "GND" H 3305 5077 50 0000 C CNN
F 2 "" H 3300 5250 50 0001 C CNN
F 3 "" H 3300 5250 50 0001 C CNN
1 3300 5250
1 0 0 -1
$EndComp
Wire Wire Line
3300 5250 3300 4850
Text GLabel 1600 2750 0 50 Input ~ 0
enable_Tube_PSU
$Comp
L power:+12V #PWR0215
U 1 1 5BB7CFF8
P 3300 3600
F 0 "#PWR0215" H 3300 3450 50 0001 C CNN
F 1 "+12V" H 3315 3773 50 0000 C CNN
F 2 "" H 3300 3600 50 0001 C CNN
F 3 "" H 3300 3600 50 0001 C CNN
1 3300 3600
1 0 0 -1
$EndComp
Text GLabel 10150 2900 2 50 Input ~ 0
feedback_Tube_PSU
$Comp
L device:D_Zener D1302
U 1 1 5AAD3380
P 9200 3150
F 0 "D1302" H 9200 3250 50 0000 C CNN
F 1 "DZ_4.5V" H 9200 3050 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 9200 3150 50 0001 C CNN
F 3 "" H 9200 3150 50 0001 C CNN
1 9200 3150
0 1 1 0
$EndComp
Wire Wire Line
9200 3000 9200 2900
$Comp
L power:+3V3 #PWR0204
U 1 1 5BC33A81
P 9550 -50
F 0 "#PWR0204" H 9550 -200 50 0001 C CNN
F 1 "+3V3" H 9565 123 50 0000 C CNN
F 2 "" H 9550 -50 50 0001 C CNN
F 3 "" H 9550 -50 50 0001 C CNN
1 9550 -50
1 0 0 -1
$EndComp
$Comp
L device:CP C1307
U 1 1 5BC3EDF8
P 7650 3150
F 0 "C1307" H 7768 3196 50 0000 L CNN
F 1 "470uF" H 7768 3105 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x5.8" H 7688 3000 50 0001 C CNN
F 3 "~" H 7650 3150 50 0001 C CNN
1 7650 3150
1 0 0 -1
$EndComp
Wire Wire Line
7550 2900 7650 2900
Wire Wire Line
7650 2900 7650 3000
Wire Wire Line
8550 2900 8550 3000
Connection ~ 7650 2900
$Comp
L power:GND #PWR0263
U 1 1 5BC47310
P 7650 3350
F 0 "#PWR0263" H 7650 3100 50 0001 C CNN
F 1 "GND" H 7655 3177 50 0000 C CNN
F 2 "" H 7650 3350 50 0001 C CNN
F 3 "" H 7650 3350 50 0001 C CNN
1 7650 3350
1 0 0 -1
$EndComp
Wire Wire Line
7650 3350 7650 3300
$Comp
L power:GND #PWR0264
U 1 1 5BC4912B
P 8550 3350
F 0 "#PWR0264" H 8550 3100 50 0001 C CNN
F 1 "GND" H 8555 3177 50 0000 C CNN
F 2 "" H 8550 3350 50 0001 C CNN
F 3 "" H 8550 3350 50 0001 C CNN
1 8550 3350
1 0 0 -1
$EndComp
Wire Wire Line
8550 3350 8550 3300
Wire Notes Line
7250 2600 7250 3950
Wire Notes Line
7250 3950 9000 3950
Wire Notes Line
9000 3950 9000 2600
Wire Notes Line
9000 2600 7250 2600
Text Notes 7250 2600 0 50 ~ 0
Ripple Filter Ref: V2
$Comp
L device:Ferrite_Bead L1202
U 1 1 5BC1CECA
P 7400 2900
F 0 "L1202" V 7350 2800 50 0000 C CNN
F 1 "BLM31KN601SN1L" V 7550 2700 50 0000 C CNN
F 2 "Inductors_SMD:L_1206" V 7330 2900 50 0001 C CNN
F 3 "~" H 7400 2900 50 0001 C CNN
1 7400 2900
0 -1 -1 0
$EndComp
Wire Wire Line
7650 2900 8100 2900
$Comp
L device:C C1206
U 1 1 5BC34D02
P 8550 3150
F 0 "C1206" H 8665 3196 50 0000 L CNN
F 1 "100nF" H 8665 3105 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805" H 8588 3000 50 0001 C CNN
F 3 "~" H 8550 3150 50 0001 C CNN
1 8550 3150
1 0 0 -1
$EndComp
Wire Wire Line
9550 3000 9550 2900
Connection ~ 9550 2900
Wire Wire Line
9200 2900 9550 2900
Wire Wire Line
3300 4000 3300 4050
Wire Wire Line
2550 2750 4550 2750
Wire Wire Line
2100 4800 2100 4650
Wire Wire Line
2100 4650 2100 4400
Connection ~ 2100 4650
Wire Wire Line
1700 5000 1700 2750
Wire Wire Line
1600 2750 1700 2750
Connection ~ 1700 2750
Wire Wire Line
1700 2750 1750 2750
$Comp
L power:GND #PWR0196
U 1 1 5BD5BB29
P 5100 3350
F 0 "#PWR0196" H 5100 3100 50 0001 C CNN
F 1 "GND" H 5105 3177 50 0000 C CNN
F 2 "" H 5100 3350 50 0001 C CNN
F 3 "" H 5100 3350 50 0001 C CNN
1 5100 3350
1 0 0 -1
$EndComp
Wire Wire Line
1700 5000 1800 5000
$Comp
L device:C C1211
U 1 1 5BD5DDFB
P 5750 2700
F 0 "C1211" V 5498 2700 50 0000 C CNN
F 1 "100nF" V 5589 2700 50 0000 C CNN
F 2 "Capacitors_SMD:C_0603" H 5788 2550 50 0001 C CNN
F 3 "~" H 5750 2700 50 0001 C CNN
1 5750 2700
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0197
U 1 1 5BD600A4
P 6000 3350
F 0 "#PWR0197" H 6000 3100 50 0001 C CNN
F 1 "GND" H 6005 3177 50 0000 C CNN
F 2 "" H 6000 3350 50 0001 C CNN
F 3 "" H 6000 3350 50 0001 C CNN
1 6000 3350
1 0 0 -1
$EndComp
Wire Wire Line
5100 3350 5100 3300
$Comp
L device:C C1209
U 1 1 5BD62694
P 4450 3200
F 0 "C1209" H 4565 3246 50 0000 L CNN
F 1 "4.7nF" H 4565 3155 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805" H 4488 3050 50 0001 C CNN
F 3 "~" H 4450 3200 50 0001 C CNN
1 4450 3200
1 0 0 -1
$EndComp
$Comp
L device:R R1206
U 1 1 5BD627EB
P 4050 3200
F 0 "R1206" H 4120 3246 50 0000 L CNN
F 1 "39.2k" H 4120 3155 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 3980 3200 50 0001 C CNN
F 3 "~" H 4050 3200 50 0001 C CNN
1 4050 3200
1 0 0 -1
$EndComp
Wire Wire Line
4450 3050 4450 2950
Wire Wire Line
4450 2950 4550 2950
$Comp
L power:GND #PWR0199
U 1 1 5BD64F18
P 4450 3350
F 0 "#PWR0199" H 4450 3100 50 0001 C CNN
F 1 "GND" H 4455 3177 50 0000 C CNN
F 2 "" H 4450 3350 50 0001 C CNN
F 3 "" H 4450 3350 50 0001 C CNN
1 4450 3350
1 0 0 -1
$EndComp
Wire Wire Line
4050 3050 4050 2850
Wire Wire Line
4050 2850 4550 2850
$Comp
L power:GND #PWR0210
U 1 1 5BD6764C
P 4050 3350
F 0 "#PWR0210" H 4050 3100 50 0001 C CNN
F 1 "GND" H 4055 3177 50 0000 C CNN
F 2 "" H 4050 3350 50 0001 C CNN
F 3 "" H 4050 3350 50 0001 C CNN
1 4050 3350
1 0 0 -1
$EndComp
Wire Wire Line
5600 2900 6000 2900
Wire Wire Line
6000 2900 6000 2700
Wire Wire Line
6000 2700 5900 2700
Wire Wire Line
6000 3350 6000 3300
Wire Wire Line
6000 3000 6000 2900
Connection ~ 6000 2900
Wire Wire Line
6100 2900 6000 2900
Wire Wire Line
6400 2900 6500 2900
Wire Wire Line
6500 2900 6500 3000
Connection ~ 6500 2900
Connection ~ 9200 2900
Wire Wire Line
5700 3000 5600 3000
$Comp
L device:D_Zener D1203
U 1 1 5BD99942
P 5700 4350
F 0 "D1203" V 5654 4429 50 0000 L CNN
F 1 "Dz_3.6V" V 5745 4429 50 0000 L CNN
F 2 "Diodes_SMD:D_MiniMELF" H 5700 4350 50 0001 C CNN
F 3 "~" H 5700 4350 50 0001 C CNN
1 5700 4350
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0211
U 1 1 5BD9C1D2
P 5700 4550
F 0 "#PWR0211" H 5700 4300 50 0001 C CNN
F 1 "GND" H 5705 4377 50 0000 C CNN
F 2 "" H 5700 4550 50 0001 C CNN
F 3 "" H 5700 4550 50 0001 C CNN
1 5700 4550
1 0 0 -1
$EndComp
Wire Wire Line
5700 4500 5700 4550
Wire Wire Line
8550 2900 9200 2900
$Comp
L device:CP C1208
U 1 1 5BDAB8F5
P 4550 2150
F 0 "C1208" H 4668 2196 50 0000 L CNN
F 1 "220uF 24V" H 4668 2105 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_8x5.4" H 4588 2000 50 0001 C CNN
F 3 "~" H 4550 2150 50 0001 C CNN
1 4550 2150
1 0 0 -1
$EndComp
Wire Wire Line
5100 2400 5100 1900
Wire Wire Line
4550 1900 4550 2000
Wire Wire Line
5350 1900 5100 1900
Wire Wire Line
5350 1900 5350 2000
Connection ~ 5100 1900
$Comp
L power:GND #PWR0251
U 1 1 5BDB685E
P 5350 2300
F 0 "#PWR0251" H 5350 2050 50 0001 C CNN
F 1 "GND" H 5355 2127 50 0000 C CNN
F 2 "" H 5350 2300 50 0001 C CNN
F 3 "" H 5350 2300 50 0001 C CNN
1 5350 2300
1 0 0 -1
$EndComp
Wire Wire Line
5100 1800 5100 1900
$Comp
L power:GND #PWR0252
U 1 1 5BD31CEA
P 5000 3350
F 0 "#PWR0252" H 5000 3100 50 0001 C CNN
F 1 "GND" H 5005 3177 50 0000 C CNN
F 2 "" H 5000 3350 50 0001 C CNN
F 3 "" H 5000 3350 50 0001 C CNN
1 5000 3350
1 0 0 -1
$EndComp
Wire Wire Line
5000 3350 5000 3300
Text Label 5650 2900 0 50 ~ 0
SW
Text Label 6500 2900 0 50 ~ 0
V_Tube_ripple
Wire Wire Line
6500 2900 6950 2900
$Comp
L device:Q_PMOS_GDS Q1201
U 1 1 5BD30825
P 9450 900
F 0 "Q1201" H 9656 946 50 0000 L CNN
F 1 "Q_PMOS_GDS" H 9656 855 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:TO-252-2" H 9650 1000 50 0001 C CNN
F 3 "~" H 9450 900 50 0001 C CNN
1 9450 900
1 0 0 -1
$EndComp
$Comp
L device:R R1207
U 1 1 5BD33BBE
P 9300 1400
F 0 "R1207" V 9507 1400 50 0000 C CNN
F 1 "10k" V 9416 1400 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 9230 1400 50 0001 C CNN
F 3 "~" H 9300 1400 50 0001 C CNN
1 9300 1400
0 -1 -1 0
$EndComp
Text GLabel 8100 1400 0 50 Input ~ 0
enable_Tube_Supply
Wire Wire Line
9550 1100 9550 1400
Wire Wire Line
9450 1400 9550 1400
Connection ~ 9550 1400
Wire Wire Line
9550 1400 9550 2900
Wire Wire Line
9150 1400 9050 1400
Wire Wire Line
9050 900 9050 1400
Connection ~ 9050 1400
Wire Wire Line
9050 900 9250 900
Wire Wire Line
5700 3000 5700 4100
$Comp
L device:CP C1207
U 1 1 5BD4B49E
P 8100 3150
F 0 "C1207" H 8218 3196 50 0000 L CNN
F 1 "470uF" H 8218 3105 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 8138 3000 50 0001 C CNN
F 3 "~" H 8100 3150 50 0001 C CNN
1 8100 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0176
U 1 1 5BD4B4A5
P 8100 3350
F 0 "#PWR0176" H 8100 3100 50 0001 C CNN
F 1 "GND" H 8105 3177 50 0000 C CNN
F 2 "" H 8100 3350 50 0001 C CNN
F 3 "" H 8100 3350 50 0001 C CNN
1 8100 3350
1 0 0 -1
$EndComp
Wire Wire Line
8100 3350 8100 3300
Wire Wire Line
8100 3000 8100 2900
Connection ~ 8100 2900
Wire Wire Line
8100 2900 8550 2900
Connection ~ 8550 2900
Wire Wire Line
5700 4100 9400 4100
Connection ~ 5700 4100
Wire Wire Line
5700 4100 5700 4200
$Comp
L device:R R1204
U 1 1 5BD59EF3
P 8350 1400
F 0 "R1204" V 8143 1400 50 0000 C CNN
F 1 "1k" V 8234 1400 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 8280 1400 50 0001 C CNN
F 3 "~" H 8350 1400 50 0001 C CNN
1 8350 1400
0 1 1 0
$EndComp
$Comp
L device:C C1212
U 1 1 5BD59FB7
P 8600 1650
F 0 "C1212" H 8715 1696 50 0000 L CNN
F 1 "100nF" H 8715 1605 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 8638 1500 50 0001 C CNN
F 3 "~" H 8600 1650 50 0001 C CNN
1 8600 1650
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0177
U 1 1 5BD5A2BE
P 8600 1800
F 0 "#PWR0177" H 8600 1550 50 0001 C CNN
F 1 "GND" H 8605 1627 50 0000 C CNN
F 2 "" H 8600 1800 50 0001 C CNN
F 3 "" H 8600 1800 50 0001 C CNN
1 8600 1800
1 0 0 -1
$EndComp
Wire Wire Line
9050 1400 8600 1400
Wire Wire Line
8600 1400 8600 1500
Wire Wire Line
8500 1400 8600 1400
Connection ~ 8600 1400
Wire Wire Line
8100 1400 8200 1400
$Comp
L device:D_Zener D1204
U 1 1 5BD614D4
P 8800 900
F 0 "D1204" H 8800 684 50 0000 C CNN
F 1 "DZ_5.1V" H 8800 775 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 8800 900 50 0001 C CNN
F 3 "~" H 8800 900 50 0001 C CNN
1 8800 900
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR0206
U 1 1 5BD61619
P 8600 1000
F 0 "#PWR0206" H 8600 750 50 0001 C CNN
F 1 "GND" H 8605 827 50 0000 C CNN
F 2 "" H 8600 1000 50 0001 C CNN
F 3 "" H 8600 1000 50 0001 C CNN
1 8600 1000
1 0 0 -1
$EndComp
Wire Wire Line
8600 1000 8600 900
Wire Wire Line
8600 900 8650 900
Wire Wire Line
8950 900 9050 900
Connection ~ 9050 900
Wire Wire Line
9550 2900 9650 2900
$Comp
L device:CP C1202
U 1 1 5BD3D111
P 6950 3150
F 0 "C1202" H 6975 3250 50 0000 L CNN
F 1 "470uF" H 7000 3050 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 6988 3000 50 0001 C CNN
F 3 "" H 6950 3150 50 0001 C CNN
1 6950 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0200
U 1 1 5BD3D118
P 6950 3350
F 0 "#PWR0200" H 6950 3100 50 0001 C CNN
F 1 "GND" H 6950 3200 50 0000 C CNN
F 2 "" H 6950 3350 50 0001 C CNN
F 3 "" H 6950 3350 50 0001 C CNN
1 6950 3350
1 0 0 -1
$EndComp
Wire Wire Line
6950 3350 6950 3300
Wire Wire Line
6950 3000 6950 2900
Connection ~ 6950 2900
Wire Wire Line
6950 2900 7250 2900
Wire Wire Line
4550 1900 5100 1900
$Comp
L device:R R1205
U 1 1 5BDB597C
P 9800 2900
F 0 "R1205" V 9593 2900 50 0000 C CNN
F 1 "10k" V 9684 2900 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 9730 2900 50 0001 C CNN
F 3 "~" H 9800 2900 50 0001 C CNN
1 9800 2900
0 1 1 0
$EndComp
$Comp
L device:C C1210
U 1 1 5BDB731E
P 10050 3150
F 0 "C1210" H 10165 3196 50 0000 L CNN
F 1 "100nF" H 10165 3105 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 10088 3000 50 0001 C CNN
F 3 "~" H 10050 3150 50 0001 C CNN
1 10050 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0166
U 1 1 5BDB74C9
P 10050 3650
F 0 "#PWR0166" H 10050 3400 50 0001 C CNN
F 1 "GND" H 10055 3477 50 0000 C CNN
F 2 "" H 10050 3650 50 0001 C CNN
F 3 "" H 10050 3650 50 0001 C CNN
1 10050 3650
1 0 0 -1
$EndComp
Wire Wire Line
10050 3650 10050 3300
Wire Wire Line
10050 3000 10050 2900
Wire Wire Line
10050 2900 9950 2900
Wire Wire Line
10150 2900 10050 2900
Connection ~ 10050 2900
Wire Wire Line
2100 4650 2900 4650
Wire Wire Line
2900 5250 2900 5100
$Comp
L device:D_Zener D1205
U 1 1 5BE73486
P 2900 4950
F 0 "D1205" H 2900 5050 50 0000 C CNN
F 1 "DZ_20V" H 2900 4850 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 2900 4950 50 0001 C CNN
F 3 "" H 2900 4950 50 0001 C CNN
1 2900 4950
0 1 1 0
$EndComp
Wire Wire Line
2900 4800 2900 4650
Connection ~ 2900 4650
Wire Wire Line
2900 4650 3000 4650
$Comp
L power:GND #PWR0250
U 1 1 5BE789FA
P 2900 5250
F 0 "#PWR0250" H 2900 5000 50 0001 C CNN
F 1 "GND" H 2905 5077 50 0000 C CNN
F 2 "" H 2900 5250 50 0001 C CNN
F 3 "" H 2900 5250 50 0001 C CNN
1 2900 5250
1 0 0 -1
$EndComp
$Comp
L TI_Simple_Switcher:LMR14050 U1202
U 1 1 5C0A89C7
P 5100 2850
F 0 "U1202" H 4850 3150 50 0000 C CNN
F 1 "LMR14050" H 5400 2550 50 0000 C CNN
F 2 "Housings_SOIC:TI_SO-PowerPAD-8_ThermalVias" H 4350 2200 50 0001 C CNN
F 3 "" H 4350 2200 50 0001 C CNN
1 5100 2850
1 0 0 -1
$EndComp
Wire Wire Line
3300 4350 3300 4450
$Comp
L device:R R1208
U 1 1 5C0A94F0
P 2100 4250
F 0 "R1208" H 2170 4296 50 0000 L CNN
F 1 "10k" H 2170 4205 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 2030 4250 50 0001 C CNN
F 3 "~" H 2100 4250 50 0001 C CNN
1 2100 4250
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0254
U 1 1 5C0A96A0
P 2100 4100
F 0 "#PWR0254" H 2100 3950 50 0001 C CNN
F 1 "+12V" H 2115 4273 50 0000 C CNN
F 2 "" H 2100 4100 50 0001 C CNN
F 3 "" H 2100 4100 50 0001 C CNN
1 2100 4100
1 0 0 -1
$EndComp
$Comp
L device:R R1209
U 1 1 5C0B3AE2
P 10300 1000
F 0 "R1209" H 10370 1046 50 0000 L CNN
F 1 "N.B." H 10370 955 50 0000 L CNN
F 2 "Resistors_SMD:R_0805" V 10230 1000 50 0001 C CNN
F 3 "~" H 10300 1000 50 0001 C CNN
1 10300 1000
1 0 0 -1
$EndComp
Wire Wire Line
9550 650 10300 650
Wire Wire Line
10300 650 10300 850
Wire Wire Line
9550 700 9550 650
Connection ~ 9550 650
Wire Wire Line
9550 1400 10300 1400
Wire Wire Line
10300 1400 10300 1150
$Comp
L power:GND #PWR0260
U 1 1 5BFB37AD
P 10600 350
F 0 "#PWR0260" H 10600 100 50 0001 C CNN
F 1 "GND" H 10605 177 50 0000 C CNN
F 2 "" H 10600 350 50 0001 C CNN
F 3 "" H 10600 350 50 0001 C CNN
1 10600 350
1 0 0 -1
$EndComp
$Comp
L device:LED D1206
U 1 1 5BFB5A45
P 10150 150
F 0 "D1206" V 10188 33 50 0000 R CNN
F 1 "LED" V 10097 33 50 0000 R CNN
F 2 "LEDs:LED_0805" H 10150 150 50 0001 C CNN
F 3 "~" H 10150 150 50 0001 C CNN
1 10150 150
-1 0 0 1
$EndComp
$Comp
L device:R R1211
U 1 1 5BFB5D78
P 9850 150
F 0 "R1211" H 9920 196 50 0000 L CNN
F 1 "2.2k" H 9920 105 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 9780 150 50 0001 C CNN
F 3 "~" H 9850 150 50 0001 C CNN
1 9850 150
0 -1 -1 0
$EndComp
Wire Wire Line
9550 -50 9550 150
Wire Wire Line
10300 150 10600 150
Wire Wire Line
10600 150 10600 350
Wire Wire Line
9700 150 9550 150
Connection ~ 9550 150
Wire Wire Line
9550 150 9550 650
$EndSCHEMATC

971
pcb/3_3V PSU.sch Normal file
View File

@@ -0,0 +1,971 @@
EESchema Schematic File Version 4
LIBS:IV-9_Clock-cache
EELAYER 29 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 12 16
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L device:L L1301
U 1 1 59D4542E
P 6250 2900
F 0 "L1301" V 6200 2900 50 0000 C CNN
F 1 "100uH 744325550" V 6325 2900 50 0000 C CNN
F 2 "Inductors_SMD:L_Wuerth_HCI-1050" H 6250 2900 50 0001 C CNN
F 3 "" H 6250 2900 50 0001 C CNN
1 6250 2900
0 -1 -1 0
$EndComp
$Comp
L device:CP C1304
U 1 1 59D46505
P 6500 3150
F 0 "C1304" H 6525 3250 50 0000 L CNN
F 1 "470uF" H 6550 3050 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x4.5" H 6538 3000 50 0001 C CNN
F 3 "" H 6500 3150 50 0001 C CNN
1 6500 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0202
U 1 1 5BB49528
P 6500 3350
F 0 "#PWR0202" H 6500 3100 50 0001 C CNN
F 1 "GND" H 6500 3200 50 0000 C CNN
F 2 "" H 6500 3350 50 0001 C CNN
F 3 "" H 6500 3350 50 0001 C CNN
1 6500 3350
1 0 0 -1
$EndComp
Wire Wire Line
6500 3350 6500 3300
$Comp
L device:R R1302
U 1 1 5BB49529
P 9550 3150
F 0 "R1302" V 9630 3150 50 0000 C CNN
F 1 "17k" V 9550 3150 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 9480 3150 50 0001 C CNN
F 3 "" H 9550 3150 50 0001 C CNN
1 9550 3150
1 0 0 -1
$EndComp
$Comp
L device:R R1303
U 1 1 5BB4952A
P 9550 4400
F 0 "R1303" V 9630 4400 50 0000 C CNN
F 1 "10k" V 9550 4400 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 9480 4400 50 0001 C CNN
F 3 "" H 9550 4400 50 0001 C CNN
1 9550 4400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0203
U 1 1 5BB4952B
P 9550 4550
F 0 "#PWR0203" H 9550 4300 50 0001 C CNN
F 1 "GND" H 9550 4400 50 0000 C CNN
F 2 "" H 9550 4550 50 0001 C CNN
F 3 "" H 9550 4550 50 0001 C CNN
1 9550 4550
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0205
U 1 1 5BB4952D
P 5100 1800
F 0 "#PWR0205" H 5100 1650 50 0001 C CNN
F 1 "+12V" H 5100 1940 50 0000 C CNN
F 2 "" H 5100 1800 50 0001 C CNN
F 3 "" H 5100 1800 50 0001 C CNN
1 5100 1800
1 0 0 -1
$EndComp
$Comp
L device:D D1301
U 1 1 5BB49523
P 6000 3150
F 0 "D1301" H 6050 3250 50 0000 C CNN
F 1 "PDS560" H 6000 3050 50 0000 C CNN
F 2 "Diodes_SMD:D_SMC" H 6000 3150 50 0001 C CNN
F 3 "" H 6000 3150 50 0001 C CNN
1 6000 3150
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0207
U 1 1 5AAD34AE
P 9200 3650
F 0 "#PWR0207" H 9200 3400 50 0001 C CNN
F 1 "GND" H 9200 3500 50 0000 C CNN
F 2 "" H 9200 3650 50 0001 C CNN
F 3 "" H 9200 3650 50 0001 C CNN
1 9200 3650
1 0 0 -1
$EndComp
Wire Wire Line
9200 3650 9200 3300
$Comp
L device:C C1301
U 1 1 5BB81889
P 5350 2150
F 0 "C1301" H 5465 2196 50 0000 L CNN
F 1 "100nF" H 5465 2105 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 5388 2000 50 0001 C CNN
F 3 "~" H 5350 2150 50 0001 C CNN
1 5350 2150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0209
U 1 1 5BB81A2B
P 4550 2300
F 0 "#PWR0209" H 4550 2050 50 0001 C CNN
F 1 "GND" H 4555 2127 50 0000 C CNN
F 2 "" H 4550 2300 50 0001 C CNN
F 3 "" H 4550 2300 50 0001 C CNN
1 4550 2300
1 0 0 -1
$EndComp
$Comp
L device:R_POT_TRIM RV1301
U 1 1 5BB85821
P 9550 4100
F 0 "RV1301" H 9481 4054 50 0000 R CNN
F 1 "10k" H 9481 4145 50 0000 R CNN
F 2 "Potentiometers:Potentiometer_Trimmer_Vishay_TS53YL" H 9550 4100 50 0001 C CNN
F 3 "~" H 9550 4100 50 0001 C CNN
1 9550 4100
-1 0 0 1
$EndComp
Wire Wire Line
9550 3300 9550 3950
$Comp
L Transistor_FET:BSS138 Q1301
U 1 1 5BB59C86
P 2000 5000
F 0 "Q1301" H 2205 5046 50 0000 L CNN
F 1 "BSS138" H 2205 4955 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 2200 4925 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 2000 5000 50 0001 L CNN
1 2000 5000
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0212
U 1 1 5BB5CF6C
P 2100 5250
F 0 "#PWR0212" H 2100 5000 50 0001 C CNN
F 1 "GND" H 2105 5077 50 0000 C CNN
F 2 "" H 2100 5250 50 0001 C CNN
F 3 "" H 2100 5250 50 0001 C CNN
1 2100 5250
1 0 0 -1
$EndComp
$Comp
L device:R R1304
U 1 1 5BB5CFDD
P 1900 2750
F 0 "R1304" V 1693 2750 50 0000 C CNN
F 1 "1k" V 1784 2750 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 1830 2750 50 0001 C CNN
F 3 "~" H 1900 2750 50 0001 C CNN
1 1900 2750
0 1 1 0
$EndComp
$Comp
L device:R R1305
U 1 1 5BB5D0B6
P 2150 3000
F 0 "R1305" H 2220 3046 50 0000 L CNN
F 1 "10k" H 2220 2955 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 2080 3000 50 0001 C CNN
F 3 "~" H 2150 3000 50 0001 C CNN
1 2150 3000
1 0 0 -1
$EndComp
Wire Wire Line
2150 2850 2150 2750
Wire Wire Line
2150 2750 2050 2750
$Comp
L device:C C1306
U 1 1 5BB5DF23
P 2550 3000
F 0 "C1306" H 2665 3046 50 0000 L CNN
F 1 "100nF" H 2665 2955 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 2588 2850 50 0001 C CNN
F 3 "~" H 2550 3000 50 0001 C CNN
1 2550 3000
1 0 0 -1
$EndComp
Wire Wire Line
2150 2750 2550 2750
Connection ~ 2150 2750
Wire Wire Line
2550 2850 2550 2750
Connection ~ 2550 2750
$Comp
L power:GND #PWR0213
U 1 1 5BB61879
P 2550 3150
F 0 "#PWR0213" H 2550 2900 50 0001 C CNN
F 1 "GND" H 2555 2977 50 0000 C CNN
F 2 "" H 2550 3150 50 0001 C CNN
F 3 "" H 2550 3150 50 0001 C CNN
1 2550 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0214
U 1 1 5BB6191D
P 2150 3150
F 0 "#PWR0214" H 2150 2900 50 0001 C CNN
F 1 "GND" H 2155 2977 50 0000 C CNN
F 2 "" H 2150 3150 50 0001 C CNN
F 3 "" H 2150 3150 50 0001 C CNN
1 2150 3150
1 0 0 -1
$EndComp
Wire Wire Line
2100 5250 2100 5200
$Comp
L Transistor_FET:BSS138 Q1303
U 1 1 5BB6719E
P 3200 4650
F 0 "Q1303" H 3405 4696 50 0000 L CNN
F 1 "BSS138" H 3405 4605 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:SOT-23" H 3400 4575 50 0001 L CIN
F 3 "https://www.fairchildsemi.com/datasheets/BS/BSS138.pdf" H 3200 4650 50 0001 L CNN
1 3200 4650
1 0 0 -1
$EndComp
$Comp
L device:LED D1303
U 1 1 5BB6A6ED
P 3300 3850
F 0 "D1303" V 3338 3732 50 0000 R CNN
F 1 "LED_2.5VPSU_off_red" V 3247 3732 50 0000 R CNN
F 2 "Diodes_SMD:D_0805" H 3300 3850 50 0001 C CNN
F 3 "~" H 3300 3850 50 0001 C CNN
1 3300 3850
0 -1 -1 0
$EndComp
$Comp
L device:R R1308
U 1 1 5BB71DFD
P 3300 4200
F 0 "R1308" H 3370 4246 50 0000 L CNN
F 1 "10k" H 3370 4155 50 0000 L CNN
F 2 "Resistors_SMD:R_0805" V 3230 4200 50 0001 C CNN
F 3 "~" H 3300 4200 50 0001 C CNN
1 3300 4200
1 0 0 -1
$EndComp
Wire Wire Line
3300 3700 3300 3600
$Comp
L power:GND #PWR0216
U 1 1 5BB74731
P 3300 5250
F 0 "#PWR0216" H 3300 5000 50 0001 C CNN
F 1 "GND" H 3305 5077 50 0000 C CNN
F 2 "" H 3300 5250 50 0001 C CNN
F 3 "" H 3300 5250 50 0001 C CNN
1 3300 5250
1 0 0 -1
$EndComp
Wire Wire Line
3300 5250 3300 4850
Text GLabel 1600 2750 0 50 Input ~ 0
enable_Tube_PSU
$Comp
L power:+12V #PWR0215
U 1 1 5BB7CFF8
P 3300 3600
F 0 "#PWR0215" H 3300 3450 50 0001 C CNN
F 1 "+12V" H 3315 3773 50 0000 C CNN
F 2 "" H 3300 3600 50 0001 C CNN
F 3 "" H 3300 3600 50 0001 C CNN
1 3300 3600
1 0 0 -1
$EndComp
Text GLabel 10150 2900 2 50 Input ~ 0
feedback_Tube_PSU
$Comp
L device:D_Zener D1302
U 1 1 5AAD3380
P 9200 3150
F 0 "D1302" H 9200 3250 50 0000 C CNN
F 1 "DZ_4.5V" H 9200 3050 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 9200 3150 50 0001 C CNN
F 3 "" H 9200 3150 50 0001 C CNN
1 9200 3150
0 1 1 0
$EndComp
Wire Wire Line
9200 3000 9200 2900
$Comp
L power:+3V3 #PWR0204
U 1 1 5BC33A81
P 9550 -50
F 0 "#PWR0204" H 9550 -200 50 0001 C CNN
F 1 "+3V3" H 9565 123 50 0000 C CNN
F 2 "" H 9550 -50 50 0001 C CNN
F 3 "" H 9550 -50 50 0001 C CNN
1 9550 -50
1 0 0 -1
$EndComp
$Comp
L device:CP C1307
U 1 1 5BC3EDF8
P 7650 3150
F 0 "C1307" H 7768 3196 50 0000 L CNN
F 1 "470uF" H 7768 3105 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x5.8" H 7688 3000 50 0001 C CNN
F 3 "~" H 7650 3150 50 0001 C CNN
1 7650 3150
1 0 0 -1
$EndComp
Wire Wire Line
7550 2900 7650 2900
Wire Wire Line
7650 2900 7650 3000
Wire Wire Line
8550 2900 8550 3000
Connection ~ 7650 2900
$Comp
L power:GND #PWR0263
U 1 1 5BC47310
P 7650 3350
F 0 "#PWR0263" H 7650 3100 50 0001 C CNN
F 1 "GND" H 7655 3177 50 0000 C CNN
F 2 "" H 7650 3350 50 0001 C CNN
F 3 "" H 7650 3350 50 0001 C CNN
1 7650 3350
1 0 0 -1
$EndComp
Wire Wire Line
7650 3350 7650 3300
$Comp
L power:GND #PWR0264
U 1 1 5BC4912B
P 8550 3350
F 0 "#PWR0264" H 8550 3100 50 0001 C CNN
F 1 "GND" H 8555 3177 50 0000 C CNN
F 2 "" H 8550 3350 50 0001 C CNN
F 3 "" H 8550 3350 50 0001 C CNN
1 8550 3350
1 0 0 -1
$EndComp
Wire Wire Line
8550 3350 8550 3300
Wire Notes Line
7250 2600 7250 3950
Wire Notes Line
7250 3950 9000 3950
Wire Notes Line
9000 3950 9000 2600
Wire Notes Line
9000 2600 7250 2600
Text Notes 7250 2600 0 50 ~ 0
Ripple Filter Ref: V2
$Comp
L device:Ferrite_Bead L1202
U 1 1 5BC1CECA
P 7400 2900
F 0 "L1202" V 7350 2800 50 0000 C CNN
F 1 "BLM31KN601SN1L" V 7550 2700 50 0000 C CNN
F 2 "Inductors_SMD:L_1206" V 7330 2900 50 0001 C CNN
F 3 "~" H 7400 2900 50 0001 C CNN
1 7400 2900
0 -1 -1 0
$EndComp
Wire Wire Line
7650 2900 8100 2900
$Comp
L device:C C1206
U 1 1 5BC34D02
P 8550 3150
F 0 "C1206" H 8665 3196 50 0000 L CNN
F 1 "100nF" H 8665 3105 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805" H 8588 3000 50 0001 C CNN
F 3 "~" H 8550 3150 50 0001 C CNN
1 8550 3150
1 0 0 -1
$EndComp
Wire Wire Line
9550 3000 9550 2900
Connection ~ 9550 2900
Wire Wire Line
9200 2900 9550 2900
Wire Wire Line
3300 4000 3300 4050
Wire Wire Line
2550 2750 4550 2750
Wire Wire Line
2100 4800 2100 4650
Wire Wire Line
2100 4650 2100 4400
Connection ~ 2100 4650
Wire Wire Line
1700 5000 1700 2750
Wire Wire Line
1600 2750 1700 2750
Connection ~ 1700 2750
Wire Wire Line
1700 2750 1750 2750
$Comp
L power:GND #PWR0196
U 1 1 5BD5BB29
P 5100 3350
F 0 "#PWR0196" H 5100 3100 50 0001 C CNN
F 1 "GND" H 5105 3177 50 0000 C CNN
F 2 "" H 5100 3350 50 0001 C CNN
F 3 "" H 5100 3350 50 0001 C CNN
1 5100 3350
1 0 0 -1
$EndComp
Wire Wire Line
1700 5000 1800 5000
$Comp
L device:C C1211
U 1 1 5BD5DDFB
P 5750 2700
F 0 "C1211" V 5498 2700 50 0000 C CNN
F 1 "100nF" V 5589 2700 50 0000 C CNN
F 2 "Capacitors_SMD:C_0603" H 5788 2550 50 0001 C CNN
F 3 "~" H 5750 2700 50 0001 C CNN
1 5750 2700
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0197
U 1 1 5BD600A4
P 6000 3350
F 0 "#PWR0197" H 6000 3100 50 0001 C CNN
F 1 "GND" H 6005 3177 50 0000 C CNN
F 2 "" H 6000 3350 50 0001 C CNN
F 3 "" H 6000 3350 50 0001 C CNN
1 6000 3350
1 0 0 -1
$EndComp
Wire Wire Line
5100 3350 5100 3300
$Comp
L device:C C1209
U 1 1 5BD62694
P 4450 3200
F 0 "C1209" H 4565 3246 50 0000 L CNN
F 1 "4.7nF" H 4565 3155 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805" H 4488 3050 50 0001 C CNN
F 3 "~" H 4450 3200 50 0001 C CNN
1 4450 3200
1 0 0 -1
$EndComp
$Comp
L device:R R1206
U 1 1 5BD627EB
P 4050 3200
F 0 "R1206" H 4120 3246 50 0000 L CNN
F 1 "39.2k" H 4120 3155 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 3980 3200 50 0001 C CNN
F 3 "~" H 4050 3200 50 0001 C CNN
1 4050 3200
1 0 0 -1
$EndComp
Wire Wire Line
4450 3050 4450 2950
Wire Wire Line
4450 2950 4550 2950
$Comp
L power:GND #PWR0199
U 1 1 5BD64F18
P 4450 3350
F 0 "#PWR0199" H 4450 3100 50 0001 C CNN
F 1 "GND" H 4455 3177 50 0000 C CNN
F 2 "" H 4450 3350 50 0001 C CNN
F 3 "" H 4450 3350 50 0001 C CNN
1 4450 3350
1 0 0 -1
$EndComp
Wire Wire Line
4050 3050 4050 2850
Wire Wire Line
4050 2850 4550 2850
$Comp
L power:GND #PWR0210
U 1 1 5BD6764C
P 4050 3350
F 0 "#PWR0210" H 4050 3100 50 0001 C CNN
F 1 "GND" H 4055 3177 50 0000 C CNN
F 2 "" H 4050 3350 50 0001 C CNN
F 3 "" H 4050 3350 50 0001 C CNN
1 4050 3350
1 0 0 -1
$EndComp
Wire Wire Line
5600 2900 6000 2900
Wire Wire Line
6000 2900 6000 2700
Wire Wire Line
6000 2700 5900 2700
Wire Wire Line
6000 3350 6000 3300
Wire Wire Line
6000 3000 6000 2900
Connection ~ 6000 2900
Wire Wire Line
6100 2900 6000 2900
Wire Wire Line
6400 2900 6500 2900
Wire Wire Line
6500 2900 6500 3000
Connection ~ 6500 2900
Connection ~ 9200 2900
Wire Wire Line
5700 3000 5600 3000
$Comp
L device:D_Zener D1203
U 1 1 5BD99942
P 5700 4350
F 0 "D1203" V 5654 4429 50 0000 L CNN
F 1 "Dz_3.6V" V 5745 4429 50 0000 L CNN
F 2 "Diodes_SMD:D_MiniMELF" H 5700 4350 50 0001 C CNN
F 3 "~" H 5700 4350 50 0001 C CNN
1 5700 4350
0 1 1 0
$EndComp
$Comp
L power:GND #PWR0211
U 1 1 5BD9C1D2
P 5700 4550
F 0 "#PWR0211" H 5700 4300 50 0001 C CNN
F 1 "GND" H 5705 4377 50 0000 C CNN
F 2 "" H 5700 4550 50 0001 C CNN
F 3 "" H 5700 4550 50 0001 C CNN
1 5700 4550
1 0 0 -1
$EndComp
Wire Wire Line
5700 4500 5700 4550
Wire Wire Line
8550 2900 9200 2900
$Comp
L device:CP C1208
U 1 1 5BDAB8F5
P 4550 2150
F 0 "C1208" H 4668 2196 50 0000 L CNN
F 1 "220uF 24V" H 4668 2105 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_8x5.4" H 4588 2000 50 0001 C CNN
F 3 "~" H 4550 2150 50 0001 C CNN
1 4550 2150
1 0 0 -1
$EndComp
Wire Wire Line
5100 2400 5100 1900
Wire Wire Line
4550 1900 4550 2000
Wire Wire Line
5350 1900 5100 1900
Wire Wire Line
5350 1900 5350 2000
Connection ~ 5100 1900
$Comp
L power:GND #PWR0251
U 1 1 5BDB685E
P 5350 2300
F 0 "#PWR0251" H 5350 2050 50 0001 C CNN
F 1 "GND" H 5355 2127 50 0000 C CNN
F 2 "" H 5350 2300 50 0001 C CNN
F 3 "" H 5350 2300 50 0001 C CNN
1 5350 2300
1 0 0 -1
$EndComp
Wire Wire Line
5100 1800 5100 1900
$Comp
L power:GND #PWR0252
U 1 1 5BD31CEA
P 5000 3350
F 0 "#PWR0252" H 5000 3100 50 0001 C CNN
F 1 "GND" H 5005 3177 50 0000 C CNN
F 2 "" H 5000 3350 50 0001 C CNN
F 3 "" H 5000 3350 50 0001 C CNN
1 5000 3350
1 0 0 -1
$EndComp
Wire Wire Line
5000 3350 5000 3300
Text Label 5650 2900 0 50 ~ 0
SW
Text Label 6500 2900 0 50 ~ 0
V_Tube_ripple
Wire Wire Line
6500 2900 6950 2900
$Comp
L device:Q_PMOS_GDS Q1201
U 1 1 5BD30825
P 9450 900
F 0 "Q1201" H 9656 946 50 0000 L CNN
F 1 "Q_PMOS_GDS" H 9656 855 50 0000 L CNN
F 2 "TO_SOT_Packages_SMD:TO-252-2" H 9650 1000 50 0001 C CNN
F 3 "~" H 9450 900 50 0001 C CNN
1 9450 900
1 0 0 -1
$EndComp
$Comp
L device:R R1207
U 1 1 5BD33BBE
P 9300 1400
F 0 "R1207" V 9507 1400 50 0000 C CNN
F 1 "10k" V 9416 1400 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 9230 1400 50 0001 C CNN
F 3 "~" H 9300 1400 50 0001 C CNN
1 9300 1400
0 -1 -1 0
$EndComp
Text GLabel 8100 1400 0 50 Input ~ 0
enable_Tube_Supply
Wire Wire Line
9550 1100 9550 1400
Wire Wire Line
9450 1400 9550 1400
Connection ~ 9550 1400
Wire Wire Line
9550 1400 9550 2900
Wire Wire Line
9150 1400 9050 1400
Wire Wire Line
9050 900 9050 1400
Connection ~ 9050 1400
Wire Wire Line
9050 900 9250 900
Wire Wire Line
5700 3000 5700 4100
$Comp
L device:CP C1207
U 1 1 5BD4B49E
P 8100 3150
F 0 "C1207" H 8218 3196 50 0000 L CNN
F 1 "470uF" H 8218 3105 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 8138 3000 50 0001 C CNN
F 3 "~" H 8100 3150 50 0001 C CNN
1 8100 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0176
U 1 1 5BD4B4A5
P 8100 3350
F 0 "#PWR0176" H 8100 3100 50 0001 C CNN
F 1 "GND" H 8105 3177 50 0000 C CNN
F 2 "" H 8100 3350 50 0001 C CNN
F 3 "" H 8100 3350 50 0001 C CNN
1 8100 3350
1 0 0 -1
$EndComp
Wire Wire Line
8100 3350 8100 3300
Wire Wire Line
8100 3000 8100 2900
Connection ~ 8100 2900
Wire Wire Line
8100 2900 8550 2900
Connection ~ 8550 2900
Wire Wire Line
5700 4100 9400 4100
Connection ~ 5700 4100
Wire Wire Line
5700 4100 5700 4200
$Comp
L device:R R1204
U 1 1 5BD59EF3
P 8350 1400
F 0 "R1204" V 8143 1400 50 0000 C CNN
F 1 "1k" V 8234 1400 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 8280 1400 50 0001 C CNN
F 3 "~" H 8350 1400 50 0001 C CNN
1 8350 1400
0 1 1 0
$EndComp
$Comp
L device:C C1212
U 1 1 5BD59FB7
P 8600 1650
F 0 "C1212" H 8715 1696 50 0000 L CNN
F 1 "100nF" H 8715 1605 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 8638 1500 50 0001 C CNN
F 3 "~" H 8600 1650 50 0001 C CNN
1 8600 1650
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0177
U 1 1 5BD5A2BE
P 8600 1800
F 0 "#PWR0177" H 8600 1550 50 0001 C CNN
F 1 "GND" H 8605 1627 50 0000 C CNN
F 2 "" H 8600 1800 50 0001 C CNN
F 3 "" H 8600 1800 50 0001 C CNN
1 8600 1800
1 0 0 -1
$EndComp
Wire Wire Line
9050 1400 8600 1400
Wire Wire Line
8600 1400 8600 1500
Wire Wire Line
8500 1400 8600 1400
Connection ~ 8600 1400
Wire Wire Line
8100 1400 8200 1400
$Comp
L device:D_Zener D1204
U 1 1 5BD614D4
P 8800 900
F 0 "D1204" H 8800 684 50 0000 C CNN
F 1 "DZ_5.1V" H 8800 775 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 8800 900 50 0001 C CNN
F 3 "~" H 8800 900 50 0001 C CNN
1 8800 900
-1 0 0 1
$EndComp
$Comp
L power:GND #PWR0206
U 1 1 5BD61619
P 8600 1000
F 0 "#PWR0206" H 8600 750 50 0001 C CNN
F 1 "GND" H 8605 827 50 0000 C CNN
F 2 "" H 8600 1000 50 0001 C CNN
F 3 "" H 8600 1000 50 0001 C CNN
1 8600 1000
1 0 0 -1
$EndComp
Wire Wire Line
8600 1000 8600 900
Wire Wire Line
8600 900 8650 900
Wire Wire Line
8950 900 9050 900
Connection ~ 9050 900
Wire Wire Line
9550 2900 9650 2900
$Comp
L device:CP C1202
U 1 1 5BD3D111
P 6950 3150
F 0 "C1202" H 6975 3250 50 0000 L CNN
F 1 "470uF" H 7000 3050 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 6988 3000 50 0001 C CNN
F 3 "" H 6950 3150 50 0001 C CNN
1 6950 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0200
U 1 1 5BD3D118
P 6950 3350
F 0 "#PWR0200" H 6950 3100 50 0001 C CNN
F 1 "GND" H 6950 3200 50 0000 C CNN
F 2 "" H 6950 3350 50 0001 C CNN
F 3 "" H 6950 3350 50 0001 C CNN
1 6950 3350
1 0 0 -1
$EndComp
Wire Wire Line
6950 3350 6950 3300
Wire Wire Line
6950 3000 6950 2900
Connection ~ 6950 2900
Wire Wire Line
6950 2900 7250 2900
Wire Wire Line
4550 1900 5100 1900
$Comp
L device:R R1205
U 1 1 5BDB597C
P 9800 2900
F 0 "R1205" V 9593 2900 50 0000 C CNN
F 1 "10k" V 9684 2900 50 0000 C CNN
F 2 "Resistors_SMD:R_0603" V 9730 2900 50 0001 C CNN
F 3 "~" H 9800 2900 50 0001 C CNN
1 9800 2900
0 1 1 0
$EndComp
$Comp
L device:C C1210
U 1 1 5BDB731E
P 10050 3150
F 0 "C1210" H 10165 3196 50 0000 L CNN
F 1 "100nF" H 10165 3105 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 10088 3000 50 0001 C CNN
F 3 "~" H 10050 3150 50 0001 C CNN
1 10050 3150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0166
U 1 1 5BDB74C9
P 10050 3650
F 0 "#PWR0166" H 10050 3400 50 0001 C CNN
F 1 "GND" H 10055 3477 50 0000 C CNN
F 2 "" H 10050 3650 50 0001 C CNN
F 3 "" H 10050 3650 50 0001 C CNN
1 10050 3650
1 0 0 -1
$EndComp
Wire Wire Line
10050 3650 10050 3300
Wire Wire Line
10050 3000 10050 2900
Wire Wire Line
10050 2900 9950 2900
Wire Wire Line
10150 2900 10050 2900
Connection ~ 10050 2900
Wire Wire Line
2100 4650 2900 4650
Wire Wire Line
2900 5250 2900 5100
$Comp
L device:D_Zener D1205
U 1 1 5BE73486
P 2900 4950
F 0 "D1205" H 2900 5050 50 0000 C CNN
F 1 "DZ_20V" H 2900 4850 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 2900 4950 50 0001 C CNN
F 3 "" H 2900 4950 50 0001 C CNN
1 2900 4950
0 1 1 0
$EndComp
Wire Wire Line
2900 4800 2900 4650
Connection ~ 2900 4650
Wire Wire Line
2900 4650 3000 4650
$Comp
L power:GND #PWR0250
U 1 1 5BE789FA
P 2900 5250
F 0 "#PWR0250" H 2900 5000 50 0001 C CNN
F 1 "GND" H 2905 5077 50 0000 C CNN
F 2 "" H 2900 5250 50 0001 C CNN
F 3 "" H 2900 5250 50 0001 C CNN
1 2900 5250
1 0 0 -1
$EndComp
$Comp
L TI_Simple_Switcher:LMR14050 U1202
U 1 1 5C0A89C7
P 5100 2850
F 0 "U1202" H 4850 3150 50 0000 C CNN
F 1 "LMR14050" H 5400 2550 50 0000 C CNN
F 2 "Housings_SOIC:TI_SO-PowerPAD-8_ThermalVias" H 4350 2200 50 0001 C CNN
F 3 "" H 4350 2200 50 0001 C CNN
1 5100 2850
1 0 0 -1
$EndComp
Wire Wire Line
3300 4350 3300 4450
$Comp
L device:R R1208
U 1 1 5C0A94F0
P 2100 4250
F 0 "R1208" H 2170 4296 50 0000 L CNN
F 1 "10k" H 2170 4205 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 2030 4250 50 0001 C CNN
F 3 "~" H 2100 4250 50 0001 C CNN
1 2100 4250
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0254
U 1 1 5C0A96A0
P 2100 4100
F 0 "#PWR0254" H 2100 3950 50 0001 C CNN
F 1 "+12V" H 2115 4273 50 0000 C CNN
F 2 "" H 2100 4100 50 0001 C CNN
F 3 "" H 2100 4100 50 0001 C CNN
1 2100 4100
1 0 0 -1
$EndComp
$Comp
L device:R R1209
U 1 1 5C0B3AE2
P 10300 1000
F 0 "R1209" H 10370 1046 50 0000 L CNN
F 1 "N.B." H 10370 955 50 0000 L CNN
F 2 "Resistors_SMD:R_0805" V 10230 1000 50 0001 C CNN
F 3 "~" H 10300 1000 50 0001 C CNN
1 10300 1000
1 0 0 -1
$EndComp
Wire Wire Line
9550 650 10300 650
Wire Wire Line
10300 650 10300 850
Wire Wire Line
9550 700 9550 650
Connection ~ 9550 650
Wire Wire Line
9550 1400 10300 1400
Wire Wire Line
10300 1400 10300 1150
$Comp
L power:GND #PWR0260
U 1 1 5BFB37AD
P 10600 350
F 0 "#PWR0260" H 10600 100 50 0001 C CNN
F 1 "GND" H 10605 177 50 0000 C CNN
F 2 "" H 10600 350 50 0001 C CNN
F 3 "" H 10600 350 50 0001 C CNN
1 10600 350
1 0 0 -1
$EndComp
$Comp
L device:LED D1206
U 1 1 5BFB5A45
P 10150 150
F 0 "D1206" V 10188 33 50 0000 R CNN
F 1 "LED" V 10097 33 50 0000 R CNN
F 2 "LEDs:LED_0805" H 10150 150 50 0001 C CNN
F 3 "~" H 10150 150 50 0001 C CNN
1 10150 150
-1 0 0 1
$EndComp
$Comp
L device:R R1211
U 1 1 5BFB5D78
P 9850 150
F 0 "R1211" H 9920 196 50 0000 L CNN
F 1 "2.2k" H 9920 105 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 9780 150 50 0001 C CNN
F 3 "~" H 9850 150 50 0001 C CNN
1 9850 150
0 -1 -1 0
$EndComp
Wire Wire Line
9550 -50 9550 150
Wire Wire Line
10300 150 10600 150
Wire Wire Line
10600 150 10600 350
Wire Wire Line
9700 150 9550 150
Connection ~ 9550 150
Wire Wire Line
9550 150 9550 650
$EndSCHEMATC

371
pcb/5V PSU(1).bak Normal file
View File

@@ -0,0 +1,371 @@
EESchema Schematic File Version 4
LIBS:IV-9_Clock-cache
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 11 15
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L power:GND #PWR0188
U 1 1 5BB49520
P 5500 3600
F 0 "#PWR0188" H 5500 3350 50 0001 C CNN
F 1 "GND" H 5500 3450 50 0000 C CNN
F 2 "" H 5500 3600 50 0001 C CNN
F 3 "" H 5500 3600 50 0001 C CNN
1 5500 3600
1 0 0 -1
$EndComp
$Comp
L device:R R1201
U 1 1 5BB49521
P 5500 2150
F 0 "R1201" V 5580 2150 50 0000 C CNN
F 1 "0.33R" V 5500 2150 50 0000 C CNN
F 2 "Resistors_SMD:R_2512" V 5430 2150 50 0001 C CNN
F 3 "" H 5500 2150 50 0001 C CNN
1 5500 2150
0 1 1 0
$EndComp
$Comp
L device:L L1201
U 1 1 5BB49522
P 6650 3000
F 0 "L1201" V 6600 3000 50 0000 C CNN
F 1 "100uH" V 6725 3000 50 0000 C CNN
F 2 "Inductors_SMD:L_6.3x6.3_H3" H 6650 3000 50 0001 C CNN
F 3 "" H 6650 3000 50 0001 C CNN
1 6650 3000
0 1 1 0
$EndComp
$Comp
L device:C C1203
U 1 1 5BB49524
P 5000 3350
F 0 "C1203" H 5025 3450 50 0000 L CNN
F 1 "83pF" H 5025 3250 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 5038 3200 50 0001 C CNN
F 3 "" H 5000 3350 50 0001 C CNN
1 5000 3350
1 0 0 -1
$EndComp
Wire Wire Line
5900 3100 6000 3100
$Comp
L power:GND #PWR0189
U 1 1 5BB49525
P 5000 3600
F 0 "#PWR0189" H 5000 3350 50 0001 C CNN
F 1 "GND" H 5000 3450 50 0000 C CNN
F 2 "" H 5000 3600 50 0001 C CNN
F 3 "" H 5000 3600 50 0001 C CNN
1 5000 3600
1 0 0 -1
$EndComp
Wire Wire Line
5900 3000 6450 3000
Wire Wire Line
6450 3000 6450 3050
Connection ~ 6450 3000
Text Label 5250 2600 0 39 ~ 0
MC34063_SW_c
$Comp
L power:GND #PWR0190
U 1 1 5BB49526
P 6450 3600
F 0 "#PWR0190" H 6450 3350 50 0001 C CNN
F 1 "GND" H 6450 3450 50 0000 C CNN
F 2 "" H 6450 3600 50 0001 C CNN
F 3 "" H 6450 3600 50 0001 C CNN
1 6450 3600
1 0 0 -1
$EndComp
Wire Wire Line
6450 3350 6450 3600
Text Label 6450 3600 1 39 ~ 0
Freilaufdiode
$Comp
L device:CP C1204
U 1 1 5BB49527
P 6850 3200
F 0 "C1204" H 6875 3300 50 0000 L CNN
F 1 "470uF 5V" H 6900 3100 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 6888 3050 50 0001 C CNN
F 3 "" H 6850 3200 50 0001 C CNN
1 6850 3200
1 0 0 -1
$EndComp
Wire Wire Line
6850 3000 6850 3050
$Comp
L power:GND #PWR0191
U 1 1 59D46680
P 6850 3600
F 0 "#PWR0191" H 6850 3350 50 0001 C CNN
F 1 "GND" H 6850 3450 50 0000 C CNN
F 2 "" H 6850 3600 50 0001 C CNN
F 3 "" H 6850 3600 50 0001 C CNN
1 6850 3600
1 0 0 -1
$EndComp
Wire Wire Line
6850 3600 6850 3350
$Comp
L device:R R1202
U 1 1 59D46945
P 8150 3200
F 0 "R1202" V 8230 3200 50 0000 C CNN
F 1 "3k" V 8150 3200 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 8080 3200 50 0001 C CNN
F 3 "" H 8150 3200 50 0001 C CNN
1 8150 3200
1 0 0 -1
$EndComp
$Comp
L device:R R1203
U 1 1 59D469D9
P 8150 4150
F 0 "R1203" V 8230 4150 50 0000 C CNN
F 1 "1k" V 8150 4150 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 8080 4150 50 0001 C CNN
F 3 "" H 8150 4150 50 0001 C CNN
1 8150 4150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0192
U 1 1 59D46A96
P 8150 4300
F 0 "#PWR0192" H 8150 4050 50 0001 C CNN
F 1 "GND" H 8150 4150 50 0000 C CNN
F 2 "" H 8150 4300 50 0001 C CNN
F 3 "" H 8150 4300 50 0001 C CNN
1 8150 4300
1 0 0 -1
$EndComp
Connection ~ 6850 3000
$Comp
L power:VCC #PWR0193
U 1 1 59D48FF7
P 9000 2900
F 0 "#PWR0193" H 9000 2750 50 0001 C CNN
F 1 "VCC" H 9000 3050 50 0000 C CNN
F 2 "" H 9000 2900 50 0001 C CNN
F 3 "" H 9000 2900 50 0001 C CNN
1 9000 2900
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0194
U 1 1 59DA7D75
P 4150 2050
F 0 "#PWR0194" H 4150 1900 50 0001 C CNN
F 1 "+12V" H 4150 2190 50 0000 C CNN
F 2 "" H 4150 2050 50 0001 C CNN
F 3 "" H 4150 2050 50 0001 C CNN
1 4150 2050
1 0 0 -1
$EndComp
$Comp
L device:D D1201
U 1 1 59D454FD
P 6450 3200
F 0 "D1201" H 6500 3300 50 0000 C CNN
F 1 "SB350" H 6450 3100 50 0000 C CNN
F 2 "Diodes_SMD:D_SMB" H 6450 3200 50 0001 C CNN
F 3 "" H 6450 3200 50 0001 C CNN
1 6450 3200
0 1 1 0
$EndComp
Wire Wire Line
7750 3000 7750 3050
$Comp
L power:GND #PWR0195
U 1 1 5BB4952E
P 7750 3600
F 0 "#PWR0195" H 7750 3350 50 0001 C CNN
F 1 "GND" H 7750 3450 50 0000 C CNN
F 2 "" H 7750 3600 50 0001 C CNN
F 3 "" H 7750 3600 50 0001 C CNN
1 7750 3600
1 0 0 -1
$EndComp
Wire Wire Line
7750 3350 7750 3600
$Comp
L device:D_Zener D1202
U 1 1 5BB4952F
P 9000 3200
F 0 "D1202" H 9000 3300 50 0000 C CNN
F 1 "DZ_5.1V" H 9000 3100 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 9000 3200 50 0001 C CNN
F 3 "" H 9000 3200 50 0001 C CNN
1 9000 3200
0 1 1 0
$EndComp
Wire Wire Line
9000 2900 9000 3000
$Comp
L power:GND #PWR0198
U 1 1 5BB49530
P 9000 3750
F 0 "#PWR0198" H 9000 3500 50 0001 C CNN
F 1 "GND" H 9000 3600 50 0000 C CNN
F 2 "" H 9000 3750 50 0001 C CNN
F 3 "" H 9000 3750 50 0001 C CNN
1 9000 3750
1 0 0 -1
$EndComp
Wire Wire Line
9000 3750 9000 3350
Wire Wire Line
6800 3000 6850 3000
Connection ~ 9000 3000
Wire Wire Line
8150 3000 8150 3050
Wire Wire Line
6450 3000 6500 3000
Wire Wire Line
9000 3000 9000 3050
$Comp
L Regulator_Switching:MC34063AD U1201
U 1 1 5BB74814
P 5500 2800
F 0 "U1201" H 5500 3267 50 0000 C CNN
F 1 "MC34063AD" H 5500 3176 50 0000 C CNN
F 2 "Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm" H 5550 2350 50 0001 L CNN
F 3 "http://www.onsemi.com/pub_link/Collateral/MC34063A-D.PDF" H 6000 2700 50 0001 C CNN
1 5500 2800
1 0 0 -1
$EndComp
Wire Wire Line
5000 3500 5000 3600
Wire Wire Line
5500 3300 5500 3600
Wire Wire Line
5000 3000 5100 3000
Wire Wire Line
5000 3000 5000 3200
Wire Wire Line
5350 2150 5000 2150
Wire Wire Line
5000 2150 5000 2600
Wire Wire Line
5000 2600 5100 2600
Wire Wire Line
5900 2800 6000 2800
Wire Wire Line
6000 2800 6000 2700
Wire Wire Line
6000 2150 5650 2150
Wire Wire Line
5900 2600 6000 2600
Connection ~ 6000 2600
Wire Wire Line
6000 2600 6000 2150
Wire Wire Line
5900 2700 6000 2700
Connection ~ 6000 2700
Wire Wire Line
6000 2700 6000 2600
Connection ~ 5000 2150
$Comp
L device:C C1201
U 1 1 5BB49534
P 4150 2400
F 0 "C1201" H 4265 2446 50 0000 L CNN
F 1 "100nF" H 4265 2355 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 4188 2250 50 0001 C CNN
F 3 "~" H 4150 2400 50 0001 C CNN
1 4150 2400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0201
U 1 1 5BB49536
P 4150 2650
F 0 "#PWR0201" H 4150 2400 50 0001 C CNN
F 1 "GND" H 4155 2477 50 0000 C CNN
F 2 "" H 4150 2650 50 0001 C CNN
F 3 "" H 4150 2650 50 0001 C CNN
1 4150 2650
1 0 0 -1
$EndComp
Wire Wire Line
4150 2650 4150 2550
Wire Wire Line
4150 2250 4150 2150
Wire Wire Line
4150 2050 4150 2150
Connection ~ 4150 2150
Wire Wire Line
6000 3100 6000 3850
$Comp
L device:C C1205
U 1 1 5BB47F9D
P 7750 3200
F 0 "C1205" H 7865 3246 50 0000 L CNN
F 1 "100nF" H 7865 3155 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 7788 3050 50 0001 C CNN
F 3 "~" H 7750 3200 50 0001 C CNN
1 7750 3200
1 0 0 -1
$EndComp
Text Label 6000 3000 0 50 ~ 0
SwE
Wire Wire Line
8150 3350 8150 3850
Connection ~ 8150 3850
Wire Wire Line
8150 3850 8150 4000
Wire Wire Line
6850 3000 7300 3000
$Comp
L device:CP C1102
U 1 1 5BD3749E
P 7300 3200
F 0 "C1102" H 7325 3300 50 0000 L CNN
F 1 "470uF 5V" H 7350 3100 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 7338 3050 50 0001 C CNN
F 3 "" H 7300 3200 50 0001 C CNN
1 7300 3200
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0253
U 1 1 5BD374A5
P 7300 3600
F 0 "#PWR0253" H 7300 3350 50 0001 C CNN
F 1 "GND" H 7300 3450 50 0000 C CNN
F 2 "" H 7300 3600 50 0001 C CNN
F 3 "" H 7300 3600 50 0001 C CNN
1 7300 3600
1 0 0 -1
$EndComp
Wire Wire Line
7300 3600 7300 3350
Wire Wire Line
7300 3050 7300 3000
Connection ~ 7300 3000
Connection ~ 7750 3000
Connection ~ 8150 3000
Wire Wire Line
8150 3000 9000 3000
Wire Wire Line
7750 3000 8150 3000
Wire Wire Line
7300 3000 7750 3000
Wire Wire Line
6000 3850 8150 3850
Wire Wire Line
4150 2150 5000 2150
$EndSCHEMATC

413
pcb/5V PSU.bak Normal file
View File

@@ -0,0 +1,413 @@
EESchema Schematic File Version 4
LIBS:IV-9_Clock-cache
EELAYER 29 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 11 16
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L power:GND #PWR0188
U 1 1 5BB49520
P 5500 3600
F 0 "#PWR0188" H 5500 3350 50 0001 C CNN
F 1 "GND" H 5500 3450 50 0000 C CNN
F 2 "" H 5500 3600 50 0001 C CNN
F 3 "" H 5500 3600 50 0001 C CNN
1 5500 3600
1 0 0 -1
$EndComp
$Comp
L device:R R1201
U 1 1 5BB49521
P 5500 2150
F 0 "R1201" V 5580 2150 50 0000 C CNN
F 1 "0.33R" V 5500 2150 50 0000 C CNN
F 2 "Resistors_SMD:R_2512" V 5430 2150 50 0001 C CNN
F 3 "" H 5500 2150 50 0001 C CNN
1 5500 2150
0 1 1 0
$EndComp
$Comp
L device:L L1201
U 1 1 5BB49522
P 6650 3000
F 0 "L1201" V 6600 3000 50 0000 C CNN
F 1 "100uH" V 6725 3000 50 0000 C CNN
F 2 "Inductors_SMD:L_6.3x6.3_H3" H 6650 3000 50 0001 C CNN
F 3 "" H 6650 3000 50 0001 C CNN
1 6650 3000
0 1 1 0
$EndComp
$Comp
L device:C C1203
U 1 1 5BB49524
P 5000 3350
F 0 "C1203" H 5025 3450 50 0000 L CNN
F 1 "4.7nF" H 5025 3250 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805" H 5038 3200 50 0001 C CNN
F 3 "" H 5000 3350 50 0001 C CNN
1 5000 3350
1 0 0 -1
$EndComp
Wire Wire Line
5900 3100 6000 3100
$Comp
L power:GND #PWR0189
U 1 1 5BB49525
P 5000 3600
F 0 "#PWR0189" H 5000 3350 50 0001 C CNN
F 1 "GND" H 5000 3450 50 0000 C CNN
F 2 "" H 5000 3600 50 0001 C CNN
F 3 "" H 5000 3600 50 0001 C CNN
1 5000 3600
1 0 0 -1
$EndComp
Wire Wire Line
5900 3000 6450 3000
Wire Wire Line
6450 3000 6450 3050
Connection ~ 6450 3000
Text Label 5250 2600 0 39 ~ 0
MC34063_SW_c
$Comp
L power:GND #PWR0190
U 1 1 5BB49526
P 6450 3600
F 0 "#PWR0190" H 6450 3350 50 0001 C CNN
F 1 "GND" H 6450 3450 50 0000 C CNN
F 2 "" H 6450 3600 50 0001 C CNN
F 3 "" H 6450 3600 50 0001 C CNN
1 6450 3600
1 0 0 -1
$EndComp
Wire Wire Line
6450 3350 6450 3600
Text Label 6450 3600 1 39 ~ 0
Freilaufdiode
$Comp
L device:CP C1204
U 1 1 5BB49527
P 6850 3200
F 0 "C1204" H 6875 3300 50 0000 L CNN
F 1 "470uF 5V" H 6900 3100 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 6888 3050 50 0001 C CNN
F 3 "" H 6850 3200 50 0001 C CNN
1 6850 3200
1 0 0 -1
$EndComp
Wire Wire Line
6850 3000 6850 3050
$Comp
L power:GND #PWR0191
U 1 1 59D46680
P 6850 3600
F 0 "#PWR0191" H 6850 3350 50 0001 C CNN
F 1 "GND" H 6850 3450 50 0000 C CNN
F 2 "" H 6850 3600 50 0001 C CNN
F 3 "" H 6850 3600 50 0001 C CNN
1 6850 3600
1 0 0 -1
$EndComp
Wire Wire Line
6850 3600 6850 3350
$Comp
L device:R R1202
U 1 1 59D46945
P 8150 3200
F 0 "R1202" V 8230 3200 50 0000 C CNN
F 1 "3k" V 8150 3200 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 8080 3200 50 0001 C CNN
F 3 "" H 8150 3200 50 0001 C CNN
1 8150 3200
1 0 0 -1
$EndComp
$Comp
L device:R R1203
U 1 1 59D469D9
P 8150 4150
F 0 "R1203" V 8230 4150 50 0000 C CNN
F 1 "1k" V 8150 4150 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 8080 4150 50 0001 C CNN
F 3 "" H 8150 4150 50 0001 C CNN
1 8150 4150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0192
U 1 1 59D46A96
P 8150 4300
F 0 "#PWR0192" H 8150 4050 50 0001 C CNN
F 1 "GND" H 8150 4150 50 0000 C CNN
F 2 "" H 8150 4300 50 0001 C CNN
F 3 "" H 8150 4300 50 0001 C CNN
1 8150 4300
1 0 0 -1
$EndComp
Connection ~ 6850 3000
$Comp
L power:VCC #PWR0193
U 1 1 59D48FF7
P 9000 2900
F 0 "#PWR0193" H 9000 2750 50 0001 C CNN
F 1 "VCC" H 9000 3050 50 0000 C CNN
F 2 "" H 9000 2900 50 0001 C CNN
F 3 "" H 9000 2900 50 0001 C CNN
1 9000 2900
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0194
U 1 1 59DA7D75
P 4150 2050
F 0 "#PWR0194" H 4150 1900 50 0001 C CNN
F 1 "+12V" H 4150 2190 50 0000 C CNN
F 2 "" H 4150 2050 50 0001 C CNN
F 3 "" H 4150 2050 50 0001 C CNN
1 4150 2050
1 0 0 -1
$EndComp
$Comp
L device:D D1201
U 1 1 59D454FD
P 6450 3200
F 0 "D1201" H 6500 3300 50 0000 C CNN
F 1 "SB350" H 6450 3100 50 0000 C CNN
F 2 "Diodes_SMD:D_SMB" H 6450 3200 50 0001 C CNN
F 3 "" H 6450 3200 50 0001 C CNN
1 6450 3200
0 1 1 0
$EndComp
Wire Wire Line
7750 3000 7750 3050
$Comp
L power:GND #PWR0195
U 1 1 5BB4952E
P 7750 3600
F 0 "#PWR0195" H 7750 3350 50 0001 C CNN
F 1 "GND" H 7750 3450 50 0000 C CNN
F 2 "" H 7750 3600 50 0001 C CNN
F 3 "" H 7750 3600 50 0001 C CNN
1 7750 3600
1 0 0 -1
$EndComp
Wire Wire Line
7750 3350 7750 3600
$Comp
L device:D_Zener D1202
U 1 1 5BB4952F
P 9000 3200
F 0 "D1202" H 9000 3300 50 0000 C CNN
F 1 "DZ_5.1V" H 9000 3100 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 9000 3200 50 0001 C CNN
F 3 "" H 9000 3200 50 0001 C CNN
1 9000 3200
0 1 1 0
$EndComp
Wire Wire Line
9000 2900 9000 3000
$Comp
L power:GND #PWR0198
U 1 1 5BB49530
P 9000 3750
F 0 "#PWR0198" H 9000 3500 50 0001 C CNN
F 1 "GND" H 9000 3600 50 0000 C CNN
F 2 "" H 9000 3750 50 0001 C CNN
F 3 "" H 9000 3750 50 0001 C CNN
1 9000 3750
1 0 0 -1
$EndComp
Wire Wire Line
9000 3750 9000 3350
Wire Wire Line
6800 3000 6850 3000
Connection ~ 9000 3000
Wire Wire Line
8150 3000 8150 3050
Wire Wire Line
6450 3000 6500 3000
Wire Wire Line
9000 3000 9000 3050
$Comp
L Regulator_Switching:MC34063AD U1201
U 1 1 5BB74814
P 5500 2800
F 0 "U1201" H 5500 3267 50 0000 C CNN
F 1 "MC34063AD" H 5500 3176 50 0000 C CNN
F 2 "Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm" H 5550 2350 50 0001 L CNN
F 3 "http://www.onsemi.com/pub_link/Collateral/MC34063A-D.PDF" H 6000 2700 50 0001 C CNN
1 5500 2800
1 0 0 -1
$EndComp
Wire Wire Line
5000 3500 5000 3600
Wire Wire Line
5500 3300 5500 3600
Wire Wire Line
5000 3000 5100 3000
Wire Wire Line
5000 3000 5000 3200
Wire Wire Line
5350 2150 5000 2150
Wire Wire Line
5000 2150 5000 2600
Wire Wire Line
5000 2600 5100 2600
Wire Wire Line
5900 2800 6000 2800
Wire Wire Line
6000 2800 6000 2700
Wire Wire Line
6000 2150 5650 2150
Wire Wire Line
5900 2600 6000 2600
Connection ~ 6000 2600
Wire Wire Line
6000 2600 6000 2150
Wire Wire Line
5900 2700 6000 2700
Connection ~ 6000 2700
Wire Wire Line
6000 2700 6000 2600
Connection ~ 5000 2150
$Comp
L device:C C1201
U 1 1 5BB49534
P 4150 2400
F 0 "C1201" H 4265 2446 50 0000 L CNN
F 1 "100nF" H 4265 2355 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 4188 2250 50 0001 C CNN
F 3 "~" H 4150 2400 50 0001 C CNN
1 4150 2400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0201
U 1 1 5BB49536
P 4150 2650
F 0 "#PWR0201" H 4150 2400 50 0001 C CNN
F 1 "GND" H 4155 2477 50 0000 C CNN
F 2 "" H 4150 2650 50 0001 C CNN
F 3 "" H 4150 2650 50 0001 C CNN
1 4150 2650
1 0 0 -1
$EndComp
Wire Wire Line
4150 2650 4150 2550
Wire Wire Line
4150 2250 4150 2150
Wire Wire Line
4150 2050 4150 2150
Connection ~ 4150 2150
Wire Wire Line
6000 3100 6000 3850
$Comp
L device:C C1205
U 1 1 5BB47F9D
P 7750 3200
F 0 "C1205" H 7865 3246 50 0000 L CNN
F 1 "100nF" H 7865 3155 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 7788 3050 50 0001 C CNN
F 3 "~" H 7750 3200 50 0001 C CNN
1 7750 3200
1 0 0 -1
$EndComp
Text Label 6000 3000 0 50 ~ 0
SwE
Wire Wire Line
8150 3350 8150 3850
Connection ~ 8150 3850
Wire Wire Line
8150 3850 8150 4000
Wire Wire Line
6850 3000 7300 3000
$Comp
L device:CP C1102
U 1 1 5BD3749E
P 7300 3200
F 0 "C1102" H 7325 3300 50 0000 L CNN
F 1 "470uF 5V" H 7350 3100 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 7338 3050 50 0001 C CNN
F 3 "" H 7300 3200 50 0001 C CNN
1 7300 3200
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0253
U 1 1 5BD374A5
P 7300 3600
F 0 "#PWR0253" H 7300 3350 50 0001 C CNN
F 1 "GND" H 7300 3450 50 0000 C CNN
F 2 "" H 7300 3600 50 0001 C CNN
F 3 "" H 7300 3600 50 0001 C CNN
1 7300 3600
1 0 0 -1
$EndComp
Wire Wire Line
7300 3600 7300 3350
Wire Wire Line
7300 3050 7300 3000
Connection ~ 7300 3000
Connection ~ 7750 3000
Connection ~ 8150 3000
Wire Wire Line
8150 3000 8600 3000
Wire Wire Line
7750 3000 8150 3000
Wire Wire Line
7300 3000 7750 3000
Wire Wire Line
6000 3850 8150 3850
Wire Wire Line
4150 2150 5000 2150
$Comp
L device:R R1101
U 1 1 5BFA9386
P 8600 3200
F 0 "R1101" H 8670 3246 50 0000 L CNN
F 1 "2.2k" H 8670 3155 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 8530 3200 50 0001 C CNN
F 3 "~" H 8600 3200 50 0001 C CNN
1 8600 3200
1 0 0 -1
$EndComp
Wire Wire Line
8600 3050 8600 3000
Connection ~ 8600 3000
Wire Wire Line
8600 3000 9000 3000
$Comp
L power:GND #PWR0258
U 1 1 5BFA9C70
P 8600 4300
F 0 "#PWR0258" H 8600 4050 50 0001 C CNN
F 1 "GND" H 8605 4127 50 0000 C CNN
F 2 "" H 8600 4300 50 0001 C CNN
F 3 "" H 8600 4300 50 0001 C CNN
1 8600 4300
1 0 0 -1
$EndComp
Wire Wire Line
8600 4300 8600 3950
Wire Wire Line
8600 3650 8600 3350
$Comp
L device:LED D1101
U 1 1 5BFB889A
P 8600 3800
F 0 "D1101" V 8638 3683 50 0000 R CNN
F 1 "LED" V 8547 3683 50 0000 R CNN
F 2 "LEDs:LED_0805" H 8600 3800 50 0001 C CNN
F 3 "~" H 8600 3800 50 0001 C CNN
1 8600 3800
0 -1 -1 0
$EndComp
$EndSCHEMATC

413
pcb/5V PSU.sch Normal file
View File

@@ -0,0 +1,413 @@
EESchema Schematic File Version 4
LIBS:IV-9_Clock-cache
EELAYER 29 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 11 16
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Comp
L power:GND #PWR0188
U 1 1 5BB49520
P 5500 3600
F 0 "#PWR0188" H 5500 3350 50 0001 C CNN
F 1 "GND" H 5500 3450 50 0000 C CNN
F 2 "" H 5500 3600 50 0001 C CNN
F 3 "" H 5500 3600 50 0001 C CNN
1 5500 3600
1 0 0 -1
$EndComp
$Comp
L device:R R1201
U 1 1 5BB49521
P 5500 2150
F 0 "R1201" V 5580 2150 50 0000 C CNN
F 1 "0.33R" V 5500 2150 50 0000 C CNN
F 2 "Resistors_SMD:R_2512" V 5430 2150 50 0001 C CNN
F 3 "" H 5500 2150 50 0001 C CNN
1 5500 2150
0 1 1 0
$EndComp
$Comp
L device:L L1201
U 1 1 5BB49522
P 6650 3000
F 0 "L1201" V 6600 3000 50 0000 C CNN
F 1 "100uH" V 6725 3000 50 0000 C CNN
F 2 "Inductors_SMD:L_6.3x6.3_H3" H 6650 3000 50 0001 C CNN
F 3 "" H 6650 3000 50 0001 C CNN
1 6650 3000
0 1 1 0
$EndComp
$Comp
L device:C C1203
U 1 1 5BB49524
P 5000 3350
F 0 "C1203" H 5025 3450 50 0000 L CNN
F 1 "4.7nF" H 5025 3250 50 0000 L CNN
F 2 "Capacitors_SMD:C_0805" H 5038 3200 50 0001 C CNN
F 3 "" H 5000 3350 50 0001 C CNN
1 5000 3350
1 0 0 -1
$EndComp
Wire Wire Line
5900 3100 6000 3100
$Comp
L power:GND #PWR0189
U 1 1 5BB49525
P 5000 3600
F 0 "#PWR0189" H 5000 3350 50 0001 C CNN
F 1 "GND" H 5000 3450 50 0000 C CNN
F 2 "" H 5000 3600 50 0001 C CNN
F 3 "" H 5000 3600 50 0001 C CNN
1 5000 3600
1 0 0 -1
$EndComp
Wire Wire Line
5900 3000 6450 3000
Wire Wire Line
6450 3000 6450 3050
Connection ~ 6450 3000
Text Label 5250 2600 0 39 ~ 0
MC34063_SW_c
$Comp
L power:GND #PWR0190
U 1 1 5BB49526
P 6450 3600
F 0 "#PWR0190" H 6450 3350 50 0001 C CNN
F 1 "GND" H 6450 3450 50 0000 C CNN
F 2 "" H 6450 3600 50 0001 C CNN
F 3 "" H 6450 3600 50 0001 C CNN
1 6450 3600
1 0 0 -1
$EndComp
Wire Wire Line
6450 3350 6450 3600
Text Label 6450 3600 1 39 ~ 0
Freilaufdiode
$Comp
L device:CP C1204
U 1 1 5BB49527
P 6850 3200
F 0 "C1204" H 6875 3300 50 0000 L CNN
F 1 "470uF 5V" H 6900 3100 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 6888 3050 50 0001 C CNN
F 3 "" H 6850 3200 50 0001 C CNN
1 6850 3200
1 0 0 -1
$EndComp
Wire Wire Line
6850 3000 6850 3050
$Comp
L power:GND #PWR0191
U 1 1 59D46680
P 6850 3600
F 0 "#PWR0191" H 6850 3350 50 0001 C CNN
F 1 "GND" H 6850 3450 50 0000 C CNN
F 2 "" H 6850 3600 50 0001 C CNN
F 3 "" H 6850 3600 50 0001 C CNN
1 6850 3600
1 0 0 -1
$EndComp
Wire Wire Line
6850 3600 6850 3350
$Comp
L device:R R1202
U 1 1 59D46945
P 8150 3200
F 0 "R1202" V 8230 3200 50 0000 C CNN
F 1 "3k" V 8150 3200 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 8080 3200 50 0001 C CNN
F 3 "" H 8150 3200 50 0001 C CNN
1 8150 3200
1 0 0 -1
$EndComp
$Comp
L device:R R1203
U 1 1 59D469D9
P 8150 4150
F 0 "R1203" V 8230 4150 50 0000 C CNN
F 1 "1k" V 8150 4150 50 0000 C CNN
F 2 "Resistors_SMD:R_0805" V 8080 4150 50 0001 C CNN
F 3 "" H 8150 4150 50 0001 C CNN
1 8150 4150
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0192
U 1 1 59D46A96
P 8150 4300
F 0 "#PWR0192" H 8150 4050 50 0001 C CNN
F 1 "GND" H 8150 4150 50 0000 C CNN
F 2 "" H 8150 4300 50 0001 C CNN
F 3 "" H 8150 4300 50 0001 C CNN
1 8150 4300
1 0 0 -1
$EndComp
Connection ~ 6850 3000
$Comp
L power:VCC #PWR0193
U 1 1 59D48FF7
P 9000 2900
F 0 "#PWR0193" H 9000 2750 50 0001 C CNN
F 1 "VCC" H 9000 3050 50 0000 C CNN
F 2 "" H 9000 2900 50 0001 C CNN
F 3 "" H 9000 2900 50 0001 C CNN
1 9000 2900
1 0 0 -1
$EndComp
$Comp
L power:+12V #PWR0194
U 1 1 59DA7D75
P 4150 2050
F 0 "#PWR0194" H 4150 1900 50 0001 C CNN
F 1 "+12V" H 4150 2190 50 0000 C CNN
F 2 "" H 4150 2050 50 0001 C CNN
F 3 "" H 4150 2050 50 0001 C CNN
1 4150 2050
1 0 0 -1
$EndComp
$Comp
L device:D D1201
U 1 1 59D454FD
P 6450 3200
F 0 "D1201" H 6500 3300 50 0000 C CNN
F 1 "SB350" H 6450 3100 50 0000 C CNN
F 2 "Diodes_SMD:D_SMB" H 6450 3200 50 0001 C CNN
F 3 "" H 6450 3200 50 0001 C CNN
1 6450 3200
0 1 1 0
$EndComp
Wire Wire Line
7750 3000 7750 3050
$Comp
L power:GND #PWR0195
U 1 1 5BB4952E
P 7750 3600
F 0 "#PWR0195" H 7750 3350 50 0001 C CNN
F 1 "GND" H 7750 3450 50 0000 C CNN
F 2 "" H 7750 3600 50 0001 C CNN
F 3 "" H 7750 3600 50 0001 C CNN
1 7750 3600
1 0 0 -1
$EndComp
Wire Wire Line
7750 3350 7750 3600
$Comp
L device:D_Zener D1202
U 1 1 5BB4952F
P 9000 3200
F 0 "D1202" H 9000 3300 50 0000 C CNN
F 1 "DZ_5.1V" H 9000 3100 50 0000 C CNN
F 2 "Diodes_SMD:D_MiniMELF" H 9000 3200 50 0001 C CNN
F 3 "" H 9000 3200 50 0001 C CNN
1 9000 3200
0 1 1 0
$EndComp
Wire Wire Line
9000 2900 9000 3000
$Comp
L power:GND #PWR0198
U 1 1 5BB49530
P 9000 3750
F 0 "#PWR0198" H 9000 3500 50 0001 C CNN
F 1 "GND" H 9000 3600 50 0000 C CNN
F 2 "" H 9000 3750 50 0001 C CNN
F 3 "" H 9000 3750 50 0001 C CNN
1 9000 3750
1 0 0 -1
$EndComp
Wire Wire Line
9000 3750 9000 3350
Wire Wire Line
6800 3000 6850 3000
Connection ~ 9000 3000
Wire Wire Line
8150 3000 8150 3050
Wire Wire Line
6450 3000 6500 3000
Wire Wire Line
9000 3000 9000 3050
$Comp
L Regulator_Switching:MC34063AD U1201
U 1 1 5BB74814
P 5500 2800
F 0 "U1201" H 5500 3267 50 0000 C CNN
F 1 "MC34063AD" H 5500 3176 50 0000 C CNN
F 2 "Housings_SOIC:SOIC-8_3.9x4.9mm_Pitch1.27mm" H 5550 2350 50 0001 L CNN
F 3 "http://www.onsemi.com/pub_link/Collateral/MC34063A-D.PDF" H 6000 2700 50 0001 C CNN
1 5500 2800
1 0 0 -1
$EndComp
Wire Wire Line
5000 3500 5000 3600
Wire Wire Line
5500 3300 5500 3600
Wire Wire Line
5000 3000 5100 3000
Wire Wire Line
5000 3000 5000 3200
Wire Wire Line
5350 2150 5000 2150
Wire Wire Line
5000 2150 5000 2600
Wire Wire Line
5000 2600 5100 2600
Wire Wire Line
5900 2800 6000 2800
Wire Wire Line
6000 2800 6000 2700
Wire Wire Line
6000 2150 5650 2150
Wire Wire Line
5900 2600 6000 2600
Connection ~ 6000 2600
Wire Wire Line
6000 2600 6000 2150
Wire Wire Line
5900 2700 6000 2700
Connection ~ 6000 2700
Wire Wire Line
6000 2700 6000 2600
Connection ~ 5000 2150
$Comp
L device:C C1201
U 1 1 5BB49534
P 4150 2400
F 0 "C1201" H 4265 2446 50 0000 L CNN
F 1 "100nF" H 4265 2355 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 4188 2250 50 0001 C CNN
F 3 "~" H 4150 2400 50 0001 C CNN
1 4150 2400
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0201
U 1 1 5BB49536
P 4150 2650
F 0 "#PWR0201" H 4150 2400 50 0001 C CNN
F 1 "GND" H 4155 2477 50 0000 C CNN
F 2 "" H 4150 2650 50 0001 C CNN
F 3 "" H 4150 2650 50 0001 C CNN
1 4150 2650
1 0 0 -1
$EndComp
Wire Wire Line
4150 2650 4150 2550
Wire Wire Line
4150 2250 4150 2150
Wire Wire Line
4150 2050 4150 2150
Connection ~ 4150 2150
Wire Wire Line
6000 3100 6000 3850
$Comp
L device:C C1205
U 1 1 5BB47F9D
P 7750 3200
F 0 "C1205" H 7865 3246 50 0000 L CNN
F 1 "100nF" H 7865 3155 50 0000 L CNN
F 2 "Capacitors_SMD:C_0603" H 7788 3050 50 0001 C CNN
F 3 "~" H 7750 3200 50 0001 C CNN
1 7750 3200
1 0 0 -1
$EndComp
Text Label 6000 3000 0 50 ~ 0
SwE
Wire Wire Line
8150 3350 8150 3850
Connection ~ 8150 3850
Wire Wire Line
8150 3850 8150 4000
Wire Wire Line
6850 3000 7300 3000
$Comp
L device:CP C1102
U 1 1 5BD3749E
P 7300 3200
F 0 "C1102" H 7325 3300 50 0000 L CNN
F 1 "470uF 5V" H 7350 3100 50 0000 L CNN
F 2 "Capacitors_SMD:CP_Elec_6.3x7.7" H 7338 3050 50 0001 C CNN
F 3 "" H 7300 3200 50 0001 C CNN
1 7300 3200
1 0 0 -1
$EndComp
$Comp
L power:GND #PWR0253
U 1 1 5BD374A5
P 7300 3600
F 0 "#PWR0253" H 7300 3350 50 0001 C CNN
F 1 "GND" H 7300 3450 50 0000 C CNN
F 2 "" H 7300 3600 50 0001 C CNN
F 3 "" H 7300 3600 50 0001 C CNN
1 7300 3600
1 0 0 -1
$EndComp
Wire Wire Line
7300 3600 7300 3350
Wire Wire Line
7300 3050 7300 3000
Connection ~ 7300 3000
Connection ~ 7750 3000
Connection ~ 8150 3000
Wire Wire Line
8150 3000 8600 3000
Wire Wire Line
7750 3000 8150 3000
Wire Wire Line
7300 3000 7750 3000
Wire Wire Line
6000 3850 8150 3850
Wire Wire Line
4150 2150 5000 2150
$Comp
L device:R R1101
U 1 1 5BFA9386
P 8600 3200
F 0 "R1101" H 8670 3246 50 0000 L CNN
F 1 "2.2k" H 8670 3155 50 0000 L CNN
F 2 "Resistors_SMD:R_0603" V 8530 3200 50 0001 C CNN
F 3 "~" H 8600 3200 50 0001 C CNN
1 8600 3200
1 0 0 -1
$EndComp
Wire Wire Line
8600 3050 8600 3000
Connection ~ 8600 3000
Wire Wire Line
8600 3000 9000 3000
$Comp
L power:GND #PWR0258
U 1 1 5BFA9C70
P 8600 4300
F 0 "#PWR0258" H 8600 4050 50 0001 C CNN
F 1 "GND" H 8605 4127 50 0000 C CNN
F 2 "" H 8600 4300 50 0001 C CNN
F 3 "" H 8600 4300 50 0001 C CNN
1 8600 4300
1 0 0 -1
$EndComp
Wire Wire Line
8600 4300 8600 3950
Wire Wire Line
8600 3650 8600 3350
$Comp
L device:LED D1101
U 1 1 5BFB889A
P 8600 3800
F 0 "D1101" V 8638 3683 50 0000 R CNN
F 1 "LED" V 8547 3683 50 0000 R CNN
F 2 "LEDs:LED_0805" H 8600 3800 50 0001 C CNN
F 3 "~" H 8600 3800 50 0001 C CNN
1 8600 3800
0 -1 -1 0
$EndComp
$EndSCHEMATC

BIN
pcb/IV-9 Clock BOM.numbers Normal file

Binary file not shown.

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

65
pcb/IV-9_Clock 2.bak Normal file
View File

@@ -0,0 +1,65 @@
EESchema Schematic File Version 4
LIBS:IV-9_Clock-cache
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 15
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Sheet
S 1300 1350 1650 1150
U 5BB1F5A4
F0 "Tubes" 50
F1 "Tubes.sch" 50
$EndSheet
$Sheet
S 3100 1350 1650 1150
U 5BB48B05
F0 "uC" 50
F1 "uC.sch" 50
$EndSheet
$Sheet
S 3100 2700 1650 1400
U 5BB6494F
F0 "RTC" 51
F1 "RTC.sch" 51
$EndSheet
$Sheet
S 1300 2700 1650 1400
U 5BB73C46
F0 "5V PSU " 51
F1 "5V PSU.sch" 51
$EndSheet
$Sheet
S 1300 4350 1650 1150
U 5BB8D2EE
F0 "3_3V PSU" 51
F1 "3_3V PSU.sch" 51
$EndSheet
$Sheet
S 1300 5700 1650 1250
U 5BB7D616
F0 "PWR Input" 50
F1 "PWR Input.sch" 50
$EndSheet
$Sheet
S 3100 4350 1650 1150
U 5BBCA088
F0 "UserInterface" 50
F1 "UserInterface.sch" 50
$EndSheet
$Sheet
S 4900 1350 1650 1150
U 5BCA1C95
F0 "LED" 50
F1 "LED.sch" 50
$EndSheet
$EndSCHEMATC

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

69
pcb/IV-9_Clock 3.bak Normal file
View File

@@ -0,0 +1,69 @@
EESchema Schematic File Version 4
LIBS:IV-9_Clock-cache
EELAYER 26 0
EELAYER END
$Descr A4 11693 8268
encoding utf-8
Sheet 1 15
Title ""
Date ""
Rev ""
Comp ""
Comment1 ""
Comment2 ""
Comment3 ""
Comment4 ""
$EndDescr
$Sheet
S 1300 1350 1650 1150
U 5BB1F5A4
F0 "Tubes" 50
F1 "Tubes.sch" 50
$EndSheet
$Sheet
S 3100 1350 1650 1150
U 5BB48B05
F0 "uC" 50
F1 "uC.sch" 50
$EndSheet
$Sheet
S 3100 2700 1650 1400
U 5BB6494F
F0 "RTC" 51
F1 "RTC.sch" 51
$EndSheet
$Sheet
S 1300 2700 1650 1400
U 5BB73C46
F0 "5V PSU " 51
F1 "5V PSU.sch" 51
$EndSheet
$Sheet
S 1300 4350 1650 1150
U 5BB8D2EE
F0 "3_3V PSU" 51
F1 "3_3V PSU.sch" 51
$EndSheet
$Sheet
S 1300 5700 1650 1250
U 5BB7D616
F0 "PWR Input" 50
F1 "PWR Input.sch" 50
$EndSheet
$Sheet
S 3100 4350 1650 1150
U 5BBCA088
F0 "UserInterface" 50
F1 "UserInterface.sch" 50
$EndSheet
$Sheet
S 4900 1350 1650 1150
U 5BCA1C95
F0 "LED" 50
F1 "LED.sch" 50
$EndSheet
Text Notes 7600 2650 0 394 ~ 0
To Do !\n
Text Notes 7550 3400 0 50 ~ 0
- 34063 timing cap footprint auf 0805 ändern\n- buttonfoot prints vergrößern\n
$EndSCHEMATC

14172
pcb/IV-9_Clock 3.kicad_pcb-bak Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

14246
pcb/IV-9_Clock 4.kicad_pcb-bak Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More