├── LICENSE ├── README.md ├── avr ├── .gitignore ├── Makefile └── main.c ├── linux ├── .gitkeep ├── Makefile └── twilight.c └── pcb ├── .gitkeep ├── i2c-vga.cmp ├── i2c-vga.drl ├── i2c-vga.kicad_pcb ├── i2c-vga.net ├── i2c-vga.pdf ├── i2c-vga.pro ├── i2c-vga.sch └── libs ├── dp_devices.lib ├── dp_devices.mod ├── oshec-burr-brown-3.lib ├── oshec-burr-brown-3.mod ├── oshec-ipc-7351-transistor.lib ├── oshec-ipc-7351-transistor.mod ├── oshec-m-pad-2.1.lib └── oshec-m-pad-2.1.mod /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | {description} 294 | Copyright (C) {year} {fullname} 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | {signature of Ty Coon}, 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | TWILight 2 | ======== 3 | 4 | VGA-I2C Breakout board with few LEDs and Atmega. The footprint libraries used are the ones by [oshec](http://library.oshec.org/) and [Dangerous 5 | Prototypes](http://dangerousprototypes.com/2012/09/18/eagle-parts-our-eagle-library-converted-to-kicad/). 6 | -------------------------------------------------------------------------------- /avr/.gitignore: -------------------------------------------------------------------------------- 1 | .cproject 2 | .map 3 | .project 4 | .settings 5 | -------------------------------------------------------------------------------- /avr/Makefile: -------------------------------------------------------------------------------- 1 | NAME = twilight 2 | MCU = atmega328p 3 | F_CPU = 12000000 4 | FORMAT = ihex 5 | TARGET = $(NAME) 6 | 7 | AVRDUDE = avrdude -p$(MCU) -cusbasp -Uflash:w:$(NAME).hex:a 8 | 9 | SRC = main.c 10 | 11 | 12 | CFLAGS = -DF_CPU=$(F_CPU)UL 13 | CFLAGS += -O3 14 | CFLAGS += -Wall 15 | CFLAGS += -std=gnu99 16 | CFLAGS += -fpack-struct -fshort-enums -ffunction-sections -fdata-sections -funsigned-char -funsigned-bitfields 17 | CFLAGS += -mmcu=$(MCU) 18 | 19 | LDFLAGS = -Wl,-Map,$(PRG).map 20 | 21 | CROSS = avr- 22 | SHELL = sh 23 | CC = $(CROSS)gcc 24 | OBJCOPY = $(CROSS)objcopy 25 | OBJDUMP = $(CROSS)objdump 26 | SIZE = $(CROSS)size 27 | NM = $(CROSS)nm 28 | RM = rm -f 29 | 30 | 31 | OBJ = $(SRC:.c=.o) 32 | LST = $(SRC:.c=.lst) 33 | 34 | all: $(NAME).elf hex 35 | 36 | $(NAME).elf: $(OBJ) 37 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) 38 | 39 | text: hex bin srec 40 | 41 | hex: $(NAME).hex 42 | 43 | avrdude: hex 44 | $(AVRDUDE) 45 | 46 | %.hex: %.elf 47 | $(OBJCOPY) -j .text -j .data -O ihex $< $@ 48 | 49 | clean: 50 | rm -rf *.o *.elf *.hex 51 | -------------------------------------------------------------------------------- /avr/main.c: -------------------------------------------------------------------------------- 1 | /* 2 | * Firmware for TWILight 3 | * 4 | * Copyright (C) Josef Gajdusek 5 | * 6 | * GitHub project: 7 | * https://github.com/atalax/TWILight 8 | * 9 | * This program is free software: you can redistribute it and/or modify 10 | * it under the terms of the GNU General Public License as published by 11 | * the Free Software Foundation, either version 3 of the License, or 12 | * (at your option) any later version. 13 | * 14 | * 15 | * This program is distributed in the hope that it will be useful, 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | * GNU General Public License for more details. 19 | * 20 | * You should have received a copy of the GNU General Public License 21 | * along with this program. If not, see . 22 | * 23 | * */ 24 | 25 | 26 | #include 27 | #include 28 | #include 29 | #include 30 | 31 | #define FW_VERSION 0x02 32 | #define TWI_ADDRESS 0x32 33 | #define TWI_GPIO_BASE 0x00 34 | #define TWI_GPIO0 TWI_GPIO_BASE 35 | #define TWI_GPIO1 TWI_GPIO_BASE + 1 36 | #define TWI_GPIO2 TWI_GPIO_BASE + 2 37 | #define TWI_GPIO3 TWI_GPIO_BASE + 3 38 | #define TWI_GPIO4 TWI_GPIO_BASE + 4 39 | #define TWI_GPIO5 TWI_GPIO_BASE + 5 40 | #define TWI_GPIO6 TWI_GPIO_BASE + 6 41 | #define TWI_GPIO7 TWI_GPIO_BASE + 7 42 | #define TWI_GPIO8 TWI_GPIO_BASE + 8 43 | #define TWI_GPIO9 TWI_GPIO_BASE + 9 44 | #define TWI_LED0A 0x10 45 | #define TWI_LED0B 0x11 46 | #define TWI_LED2A 0x12 47 | #define TWI_LED2B 0x13 48 | #define TWI_MAGIC0 0x14 49 | #define TWI_MAGIC1 0x15 50 | #define TWI_MAGIC2 0x16 51 | #define TWI_VER 0x17 52 | 53 | #define TWS_RX_START 0x60 54 | #define TWS_RX_ACK 0x80 55 | #define TWS_RX_NACK 0x88 56 | #define TWS_RX_END 0xa0 57 | 58 | #define TWS_TX_START 0xa8 59 | #define TWS_TX_ACK 0xb8 60 | #define TWS_TX_NACK 0xc0 61 | #define TWS_TX_END 0xc8 62 | 63 | #define ASSEMBLE_GPIO(bank, bit) \ 64 | (!!(DDR##bank & _BV(bit))) | \ 65 | (!!(PORT##bank & _BV(bit)) << 1) | \ 66 | (!!(PIN##bank & _BV(bit)) << 2) 67 | 68 | #define DISASSEMBLE_GPIO(bank, bit, value) \ 69 | if(!!(DDR##bank & _BV(bit)) != (value & _BV(0))) DDR##bank ^= _BV(bit); \ 70 | if(!!(PORT##bank & _BV(bit)) != !!(value & _BV(1))) PORT##bank ^= _BV(bit); 71 | 72 | int main() { 73 | TWAR = TWI_ADDRESS << 1; 74 | TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWINT) | _BV(TWEA); 75 | 76 | TCCR0A = _BV(WGM00) | _BV(WGM01); 77 | TCCR0B = _BV(CS00); 78 | 79 | TCCR2A = _BV(WGM20) | _BV(WGM21); 80 | TCCR2B = _BV(CS20); 81 | 82 | DDRB = _BV(PIN3); 83 | DDRD = _BV(PIN3) | _BV(PIN5) | _BV(PIN6); 84 | 85 | sei(); 86 | 87 | while(1) {} 88 | } 89 | 90 | uint8_t get_address(uint8_t addr) { 91 | switch(addr) { 92 | /* GPIO (00000) */ 93 | case TWI_GPIO0: 94 | return ASSEMBLE_GPIO(B, 2); 95 | case TWI_GPIO1: 96 | return ASSEMBLE_GPIO(B, 1); 97 | case TWI_GPIO2: 98 | return ASSEMBLE_GPIO(B, 0); 99 | case TWI_GPIO3: 100 | return ASSEMBLE_GPIO(D, 7); 101 | case TWI_GPIO4: 102 | return ASSEMBLE_GPIO(C, 1); 103 | case TWI_GPIO5: 104 | return ASSEMBLE_GPIO(C, 3); 105 | case TWI_GPIO6: 106 | return ASSEMBLE_GPIO(C, 2); 107 | case TWI_GPIO7: 108 | return ASSEMBLE_GPIO(D, 2); 109 | case TWI_GPIO8: 110 | return ASSEMBLE_GPIO(D, 4); 111 | case TWI_GPIO9: 112 | return ASSEMBLE_GPIO(C, 0); 113 | /* LEDs */ 114 | case TWI_LED0B: 115 | return OCR0B; 116 | case TWI_LED0A: 117 | return OCR0A; 118 | case TWI_LED2A: 119 | return OCR2A; 120 | case TWI_LED2B: 121 | return OCR2B; 122 | /* Magic values */ 123 | case TWI_MAGIC0: 124 | return 'A'; 125 | case TWI_MAGIC1: 126 | return 'T'; 127 | case TWI_MAGIC2: 128 | return 'X'; 129 | case TWI_VER: 130 | return FW_VERSION; 131 | } 132 | return 0; 133 | } 134 | 135 | 136 | void set_address(uint8_t addr, uint8_t val) { 137 | switch(addr) { 138 | /* GPIO */ 139 | case TWI_GPIO0: 140 | DISASSEMBLE_GPIO(B, 2, val); 141 | break; 142 | case TWI_GPIO1: 143 | DISASSEMBLE_GPIO(B, 1, val); 144 | break; 145 | case TWI_GPIO2: 146 | DISASSEMBLE_GPIO(B, 0, val); 147 | break; 148 | case TWI_GPIO3: 149 | DISASSEMBLE_GPIO(D, 7, val); 150 | break; 151 | case TWI_GPIO4: 152 | DISASSEMBLE_GPIO(C, 1, val); 153 | break; 154 | case TWI_GPIO5: 155 | DISASSEMBLE_GPIO(C, 3, val); 156 | break; 157 | case TWI_GPIO6: 158 | DISASSEMBLE_GPIO(C, 2, val); 159 | break; 160 | case TWI_GPIO7: 161 | DISASSEMBLE_GPIO(D, 2, val); 162 | break; 163 | case TWI_GPIO8: 164 | DISASSEMBLE_GPIO(D, 4, val); 165 | break; 166 | case TWI_GPIO9: 167 | DISASSEMBLE_GPIO(C, 0, val); 168 | break; 169 | /* LEDs */ 170 | case TWI_LED0B: 171 | if(!val) 172 | TCCR0A &= ~(_BV(COM0B1)); 173 | else 174 | TCCR0A |= _BV(COM0B1); 175 | OCR0B = val; 176 | break; 177 | case TWI_LED0A: 178 | if(!val) 179 | TCCR0A &= ~(_BV(COM0A1)); 180 | else 181 | TCCR0A |= _BV(COM0A1); 182 | OCR0A = val; 183 | break; 184 | case TWI_LED2A: 185 | if(!val) 186 | TCCR2A &= ~(_BV(COM2A1)); 187 | else 188 | TCCR2A |= _BV(COM2A1); 189 | OCR2A = val; 190 | break; 191 | case TWI_LED2B: 192 | if(!val) 193 | TCCR2A &= ~(_BV(COM2B1)); 194 | else 195 | TCCR2A |= _BV(COM2B1); 196 | OCR2B = val; 197 | break; 198 | } 199 | } 200 | 201 | ISR(TWI_vect) { 202 | static uint8_t pointer = 0; 203 | static bool wrflag = false; 204 | 205 | switch(TWSR) { 206 | case TWS_RX_ACK: 207 | if(!wrflag) { 208 | pointer = TWDR; 209 | wrflag = true; 210 | } 211 | else { 212 | set_address(pointer, TWDR); 213 | pointer++; 214 | } 215 | break; 216 | case TWS_RX_END: 217 | wrflag = false; 218 | break; 219 | case TWS_TX_START: 220 | case TWS_TX_ACK: 221 | TWDR = get_address(pointer); 222 | pointer++; 223 | } 224 | TWCR |= _BV(TWEA); 225 | } 226 | 227 | -------------------------------------------------------------------------------- /linux/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atx/TWILight/6bbc33366da5cf09ef78ab6f75f89c56811dc2de/linux/.gitkeep -------------------------------------------------------------------------------- /linux/Makefile: -------------------------------------------------------------------------------- 1 | obj-m += twilight.o 2 | 3 | all: 4 | make -C $(KERNEL_SRC) M=$(PWD) 5 | 6 | clean: 7 | make -C $(KERNEL_SRC) M=$(PWD) clean 8 | -------------------------------------------------------------------------------- /linux/twilight.c: -------------------------------------------------------------------------------- 1 | /* 2 | * i2c Driver for TWILight 3 | * 4 | * Copyright (C) Josef Gajdusek 5 | * 6 | * GitHub project: 7 | * https://github.com/atalax/TWILight 8 | * 9 | * This program is free software; you can redistribute it and/or modify 10 | * it under the terms of the GNU General Public License version 2 as 11 | * published by the Free Software Foundation. 12 | * 13 | * */ 14 | 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | #include 24 | #include 25 | #include 26 | 27 | 28 | #define TWILIGHT_GPIO_BASE 0x00 29 | #define TWILIGHT_LED0 0x10 30 | #define TWILIGHT_LED1 0x11 31 | #define TWILIGHT_LED2 0x12 32 | #define TWILIGHT_LED3 0x13 33 | #define TWILIGHT_MAGIC 0x14 34 | #define TWILIGHT_FW 0x17 35 | 36 | #define TWILIGHT_GPIO_COUNT 10 37 | #define TWILIGHT_GPIO_ADDR(off) (TWILIGHT_GPIO_BASE + (off)) 38 | 39 | struct twilight_led { 40 | struct twilight_data *data; 41 | struct led_classdev cdev; 42 | struct work_struct work; 43 | u8 addr; 44 | char name[20]; 45 | }; 46 | 47 | struct twilight_data { 48 | struct regmap *regmap; 49 | struct mutex mutex; 50 | struct gpio_chip gpio; 51 | struct twilight_led leds[4]; 52 | }; 53 | 54 | static void twilight_gpio_set(struct gpio_chip *gpio, unsigned off, int value) 55 | { 56 | struct twilight_data *data = 57 | container_of(gpio, struct twilight_data, gpio); 58 | regmap_write(data->regmap, TWILIGHT_GPIO_ADDR(off), (!!value << 1) | 1); 59 | } 60 | 61 | static int twilight_gpio_get(struct gpio_chip *gpio, unsigned off) 62 | { 63 | struct twilight_data *data = 64 | container_of(gpio, struct twilight_data, gpio); 65 | int val; 66 | 67 | regmap_read(data->regmap, TWILIGHT_GPIO_ADDR(off), &val); 68 | return !!(val & 0x4); 69 | } 70 | 71 | static int twilight_gpio_set_dir(struct gpio_chip *gpio, unsigned off, bool to) 72 | { 73 | struct twilight_data *data = 74 | container_of(gpio, struct twilight_data, gpio); 75 | return regmap_write(data->regmap, TWILIGHT_GPIO_ADDR(off), !!to); 76 | } 77 | 78 | static int twilight_gpio_output(struct gpio_chip *gpio, unsigned off, int value) 79 | { 80 | return twilight_gpio_set_dir(gpio, off, true); 81 | } 82 | 83 | static int twilight_gpio_input(struct gpio_chip *gpio, unsigned off) 84 | { 85 | return twilight_gpio_set_dir(gpio, off, false); 86 | } 87 | 88 | static void twilight_brightness_set(struct led_classdev *cdev, enum led_brightness bri) 89 | { 90 | struct twilight_led *led = 91 | container_of(cdev, struct twilight_led, cdev); 92 | schedule_work(&led->work); 93 | } 94 | 95 | static void twilight_work(struct work_struct *work) 96 | { 97 | struct twilight_led *led = 98 | container_of(work, struct twilight_led, work); 99 | regmap_write(led->data->regmap, led->addr, led->cdev.brightness); 100 | } 101 | 102 | static struct regmap_access_table twilight_regmap_read = { 103 | .yes_ranges = &(struct regmap_range) 104 | regmap_reg_range(0x00, TWILIGHT_FW), 105 | .n_yes_ranges = 1, 106 | }; 107 | 108 | static struct regmap_access_table twilight_regmap_write = { 109 | .yes_ranges = &(struct regmap_range) 110 | regmap_reg_range(0x00, TWILIGHT_LED3), 111 | .n_yes_ranges = 1, 112 | }; 113 | 114 | static struct regmap_access_table twilight_regmap_volatile = { 115 | .yes_ranges = &(struct regmap_range) 116 | regmap_reg_range(TWILIGHT_GPIO_BASE, TWILIGHT_GPIO_BASE + TWILIGHT_GPIO_COUNT), 117 | .n_yes_ranges = 1, 118 | }; 119 | 120 | static struct regmap_config twilight_regmap_config = { 121 | .reg_bits = 8, 122 | .val_bits = 8, 123 | 124 | .rd_table = &twilight_regmap_read, 125 | .wr_table = &twilight_regmap_write, 126 | .volatile_table = &twilight_regmap_volatile, 127 | 128 | .cache_type = REGCACHE_FLAT, 129 | }; 130 | 131 | static int twilight_probe(struct i2c_client *cli, const struct i2c_device_id *id) 132 | { 133 | struct twilight_data *data; 134 | int i; 135 | int ret; 136 | 137 | data = devm_kzalloc(&cli->dev, sizeof(struct twilight_data), GFP_KERNEL); 138 | 139 | if (data == NULL) 140 | return -ENOMEM; 141 | 142 | mutex_init(&data->mutex); 143 | i2c_set_clientdata(cli, data); 144 | data->regmap = devm_regmap_init_i2c(cli, &twilight_regmap_config); 145 | 146 | /* Init the PWM controlled LEDs */ 147 | data->leds[0].addr = TWILIGHT_LED0; 148 | data->leds[1].addr = TWILIGHT_LED1; 149 | data->leds[2].addr = TWILIGHT_LED2; 150 | data->leds[3].addr = TWILIGHT_LED3; 151 | 152 | /* Generating LED names dynamically allows more TWILights on single system */ 153 | snprintf(data->leds[0].name, ARRAY_SIZE(data->leds[0].name), 154 | "twilight-%d:%s:", cli->adapter->nr, "orange"); 155 | snprintf(data->leds[1].name, ARRAY_SIZE(data->leds[0].name), 156 | "twilight-%d:%s:", cli->adapter->nr, "blue"); 157 | snprintf(data->leds[2].name, ARRAY_SIZE(data->leds[0].name), 158 | "twilight-%d:%s:", cli->adapter->nr, "green"); 159 | snprintf(data->leds[3].name, ARRAY_SIZE(data->leds[0].name), 160 | "twilight-%d:%s:", cli->adapter->nr, "red"); 161 | 162 | for (i = 0; i < ARRAY_SIZE(data->leds); i++) { /* Populate with common values and register */ 163 | data->leds[i].data = data; 164 | data->leds[i].cdev.brightness = LED_OFF; 165 | data->leds[i].cdev.max_brightness = 255; 166 | data->leds[i].cdev.brightness_set = twilight_brightness_set; 167 | data->leds[i].cdev.name = data->leds[i].name; 168 | INIT_WORK(&data->leds[i].work, twilight_work); 169 | 170 | ret = led_classdev_register(&cli->dev, &data->leds[i].cdev); 171 | if (ret) { 172 | dev_err(&cli->dev, "Failed to register LEDs!\n"); 173 | i--; 174 | goto eled; 175 | } 176 | } 177 | 178 | /* Init GPIO */ 179 | data->gpio.dev = &cli->dev; 180 | data->gpio.base = -1; 181 | data->gpio.owner = THIS_MODULE; 182 | data->gpio.ngpio = 10; 183 | data->gpio.can_sleep = true; 184 | data->gpio.set = twilight_gpio_set; 185 | data->gpio.get = twilight_gpio_get; 186 | data->gpio.direction_output = twilight_gpio_output; 187 | data->gpio.direction_input = twilight_gpio_input; 188 | 189 | ret = gpiochip_add(&data->gpio); 190 | if (ret) { 191 | dev_err(&cli->dev, "Failed to register GPIO!\n"); 192 | goto eled; 193 | } 194 | 195 | return 0; 196 | 197 | eled: 198 | for (; i >= 0; i--) 199 | led_classdev_unregister(&data->leds[i].cdev); 200 | 201 | return ret; 202 | } 203 | 204 | static int twilight_remove(struct i2c_client *cli) 205 | { 206 | struct twilight_data *data = i2c_get_clientdata(cli); 207 | int i; 208 | int ret; 209 | 210 | for (i = 0; i < ARRAY_SIZE(data->leds); i++) { 211 | led_classdev_unregister(&data->leds[i].cdev); 212 | flush_work(&data->leds[i].work); 213 | } 214 | 215 | ret = gpiochip_remove(&data->gpio); 216 | if (ret) 217 | dev_err(&cli->dev, "Failed to unregister gpio %d\n", data->gpio.base); 218 | 219 | return ret; 220 | } 221 | 222 | static const struct i2c_device_id twilight_id[] = { 223 | { "twilight", 0 }, 224 | { } 225 | }; 226 | 227 | static struct i2c_driver twilight_driver = { 228 | .driver = { 229 | .name = "twilight", 230 | .owner = THIS_MODULE, 231 | }, 232 | .probe = twilight_probe, 233 | .id_table = twilight_id, 234 | .remove = twilight_remove, 235 | }; 236 | 237 | module_i2c_driver(twilight_driver); 238 | 239 | MODULE_DESCRIPTION("TWILight i2c driver"); 240 | MODULE_AUTHOR("Josef Gajdusek "); 241 | MODULE_LICENSE("GPL"); 242 | -------------------------------------------------------------------------------- /pcb/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atx/TWILight/6bbc33366da5cf09ef78ab6f75f89c56811dc2de/pcb/.gitkeep -------------------------------------------------------------------------------- /pcb/i2c-vga.cmp: -------------------------------------------------------------------------------- 1 | Cmp-Mod V01 Created by CvPcb (2013-may-18)-stable date = Wed 11 Jun 2014 08:20:45 AM CEST 2 | 3 | BeginCmp 4 | TimeStamp = /53732ED8; 5 | Reference = C3; 6 | ValeurCmp = 12pF; 7 | IdModule = SM0805; 8 | EndCmp 9 | 10 | BeginCmp 11 | TimeStamp = /53732EE7; 12 | Reference = C4; 13 | ValeurCmp = 12pF; 14 | IdModule = SM0805; 15 | EndCmp 16 | 17 | BeginCmp 18 | TimeStamp = /53732079; 19 | Reference = C5; 20 | ValeurCmp = 1uF; 21 | IdModule = SM0805; 22 | EndCmp 23 | 24 | BeginCmp 25 | TimeStamp = /5373206A; 26 | Reference = C6; 27 | ValeurCmp = 10uF; 28 | IdModule = SM0805; 29 | EndCmp 30 | 31 | BeginCmp 32 | TimeStamp = /53732524; 33 | Reference = D1; 34 | ValeurCmp = LED-PWR; 35 | IdModule = LED-0805; 36 | EndCmp 37 | 38 | BeginCmp 39 | TimeStamp = /53732531; 40 | Reference = D2; 41 | ValeurCmp = LED; 42 | IdModule = LED-0805; 43 | EndCmp 44 | 45 | BeginCmp 46 | TimeStamp = /5373254B; 47 | Reference = D3; 48 | ValeurCmp = LED; 49 | IdModule = LED-0805; 50 | EndCmp 51 | 52 | BeginCmp 53 | TimeStamp = /53732565; 54 | Reference = D4; 55 | ValeurCmp = LED; 56 | IdModule = LED-0805; 57 | EndCmp 58 | 59 | BeginCmp 60 | TimeStamp = /5373257F; 61 | Reference = D5; 62 | ValeurCmp = LED; 63 | IdModule = LED-0805; 64 | EndCmp 65 | 66 | BeginCmp 67 | TimeStamp = /53732599; 68 | Reference = D6; 69 | ValeurCmp = LED; 70 | IdModule = LED-0805; 71 | EndCmp 72 | 73 | BeginCmp 74 | TimeStamp = /5373695F; 75 | Reference = D7; 76 | ValeurCmp = LED; 77 | IdModule = LED-0805; 78 | EndCmp 79 | 80 | BeginCmp 81 | TimeStamp = /53731B62; 82 | Reference = IC1; 83 | ValeurCmp = ATMEGA328P-A; 84 | IdModule = TQFP32; 85 | EndCmp 86 | 87 | BeginCmp 88 | TimeStamp = /53731D40; 89 | Reference = IC2; 90 | ValeurCmp = REG1117; 91 | IdModule = burr-brown-SOT223; 92 | EndCmp 93 | 94 | BeginCmp 95 | TimeStamp = /53731AB0; 96 | Reference = J1; 97 | ValeurCmp = CON-DSUB-15-VGA; 98 | IdModule = m-pad-2.1-181-015-212-171; 99 | EndCmp 100 | 101 | BeginCmp 102 | TimeStamp = /5373400C; 103 | Reference = J2; 104 | ValeurCmp = UART; 105 | IdModule = dp_devices-M1X3; 106 | EndCmp 107 | 108 | BeginCmp 109 | TimeStamp = /537338EF; 110 | Reference = J3; 111 | ValeurCmp = ICSP; 112 | IdModule = pinhead-1-2X05; 113 | EndCmp 114 | 115 | BeginCmp 116 | TimeStamp = /537343A7; 117 | Reference = J4; 118 | ValeurCmp = I2C-3.3V; 119 | IdModule = pinhead-1-2X06; 120 | EndCmp 121 | 122 | BeginCmp 123 | TimeStamp = /53736118; 124 | Reference = J5; 125 | ValeurCmp = I2C-5V; 126 | IdModule = pinhead-1-2X04; 127 | EndCmp 128 | 129 | BeginCmp 130 | TimeStamp = /53734F25; 131 | Reference = J6; 132 | ValeurCmp = GPIO; 133 | IdModule = pinhead-1-2X05; 134 | EndCmp 135 | 136 | BeginCmp 137 | TimeStamp = /53733539; 138 | Reference = Q1; 139 | ValeurCmp = MOSFET-N; 140 | IdModule = SOT23; 141 | EndCmp 142 | 143 | BeginCmp 144 | TimeStamp = /537337CC; 145 | Reference = Q2; 146 | ValeurCmp = MOSFET-N; 147 | IdModule = SOT23; 148 | EndCmp 149 | 150 | BeginCmp 151 | TimeStamp = /537335E4; 152 | Reference = R2; 153 | ValeurCmp = 3.3kR; 154 | IdModule = SM0805; 155 | EndCmp 156 | 157 | BeginCmp 158 | TimeStamp = /537337D8; 159 | Reference = R3; 160 | ValeurCmp = 3.3kR; 161 | IdModule = SM0805; 162 | EndCmp 163 | 164 | BeginCmp 165 | TimeStamp = /5373252A; 166 | Reference = R4; 167 | ValeurCmp = R; 168 | IdModule = SM0805; 169 | EndCmp 170 | 171 | BeginCmp 172 | TimeStamp = /53732537; 173 | Reference = R5; 174 | ValeurCmp = R; 175 | IdModule = SM0805; 176 | EndCmp 177 | 178 | BeginCmp 179 | TimeStamp = /53732551; 180 | Reference = R7; 181 | ValeurCmp = R; 182 | IdModule = SM0805; 183 | EndCmp 184 | 185 | BeginCmp 186 | TimeStamp = /5373256B; 187 | Reference = R9; 188 | ValeurCmp = R; 189 | IdModule = SM0805; 190 | EndCmp 191 | 192 | BeginCmp 193 | TimeStamp = /53732585; 194 | Reference = R11; 195 | ValeurCmp = R; 196 | IdModule = SM0805; 197 | EndCmp 198 | 199 | BeginCmp 200 | TimeStamp = /5373259F; 201 | Reference = R13; 202 | ValeurCmp = R; 203 | IdModule = SM0805; 204 | EndCmp 205 | 206 | BeginCmp 207 | TimeStamp = /53736965; 208 | Reference = R15; 209 | ValeurCmp = R; 210 | IdModule = SM0805; 211 | EndCmp 212 | 213 | BeginCmp 214 | TimeStamp = /53732C29; 215 | Reference = SW1; 216 | ValeurCmp = SPST; 217 | IdModule = SM1206; 218 | EndCmp 219 | 220 | BeginCmp 221 | TimeStamp = /53732E6D; 222 | Reference = XTAL1; 223 | ValeurCmp = 12M; 224 | IdModule = HC-49V; 225 | EndCmp 226 | 227 | EndListe 228 | -------------------------------------------------------------------------------- /pcb/i2c-vga.drl: -------------------------------------------------------------------------------- 1 | M48 2 | INCH,TZ 3 | T1C0.014 4 | T2C0.020 5 | T3C0.030 6 | T4C0.031 7 | T5C0.040 8 | T6C0.047 9 | T7C0.126 10 | % 11 | G90 12 | G05 13 | T1 14 | X8268Y-15846 15 | X9252Y-18898 16 | X9843Y-16240 17 | X9941Y-20079 18 | X11713Y-17028 19 | X11909Y-15846 20 | X12205Y-17028 21 | X12795Y-11811 22 | X13681Y-13583 23 | X13937Y-13307 24 | X13976Y-13780 25 | X14075Y-17421 26 | X14259Y-13077 27 | X14272Y-17717 28 | X14469Y-13780 29 | X14469Y-18012 30 | X14724Y-18307 31 | X14961Y-13780 32 | X15256Y-11220 33 | X15256Y-11713 34 | X15453Y-13780 35 | X16043Y-12598 36 | X16339Y-18110 37 | X16339Y-19685 38 | X17323Y-13583 39 | X17402Y-14764 40 | X17717Y-14567 41 | X17717Y-16575 42 | X18110Y-19291 43 | T2 44 | X10630Y-17520 45 | X14606Y-19843 46 | X17279Y-15605 47 | X17323Y-9547 48 | X19104Y-13780 49 | X20768Y-13780 50 | T3 51 | X9843Y-11008 52 | X9843Y-13008 53 | T4 54 | X13386Y-10433 55 | X14386Y-10433 56 | X15386Y-10433 57 | T5 58 | X6193Y-10311 59 | X6193Y-11311 60 | X6193Y-12311 61 | X6193Y-13311 62 | X6193Y-15520 63 | X6193Y-16520 64 | X6193Y-17520 65 | X6193Y-18520 66 | X6193Y-19520 67 | X7193Y-10311 68 | X7193Y-11311 69 | X7193Y-12311 70 | X7193Y-13311 71 | X7193Y-15520 72 | X7193Y-16520 73 | X7193Y-17520 74 | X7193Y-18520 75 | X7193Y-19520 76 | X21941Y-8524 77 | X21941Y-9524 78 | X21941Y-10524 79 | X21941Y-11524 80 | X21941Y-12524 81 | X21941Y-13524 82 | X21941Y-15520 83 | X21941Y-16520 84 | X21941Y-17520 85 | X21941Y-18520 86 | X21941Y-19520 87 | X22941Y-8524 88 | X22941Y-9524 89 | X22941Y-10524 90 | X22941Y-11524 91 | X22941Y-12524 92 | X22941Y-13524 93 | X22941Y-15520 94 | X22941Y-16520 95 | X22941Y-17520 96 | X22941Y-18520 97 | X22941Y-19520 98 | T6 99 | X12710Y-6693 100 | X13043Y-5693 101 | X13043Y-7693 102 | X13612Y-6693 103 | X13945Y-5693 104 | X13945Y-7693 105 | X14514Y-6693 106 | X14846Y-5693 107 | X14846Y-7693 108 | X15415Y-6693 109 | X15748Y-5693 110 | X15748Y-7693 111 | X16317Y-6693 112 | X16650Y-5693 113 | X16650Y-7693 114 | T7 115 | X9842Y-6693 116 | X19686Y-6693 117 | T0 118 | M30 119 | -------------------------------------------------------------------------------- /pcb/i2c-vga.net: -------------------------------------------------------------------------------- 1 | (export (version D) 2 | (design 3 | (source /home/atx/git/TWILight/pcb/i2c-vga.sch) 4 | (date "Wed 11 Jun 2014 08:20:59 AM CEST") 5 | (tool "eeschema (2013-may-18)-stable")) 6 | (components 7 | (comp (ref J1) 8 | (value CON-DSUB-15-VGA) 9 | (footprint m-pad-2.1-181-015-212-171) 10 | (libsource (lib oshec-m-pad-2.1) (part CON-DSUB-15-VGA)) 11 | (sheetpath (names /) (tstamps /)) 12 | (tstamp 53731AB0)) 13 | (comp (ref IC1) 14 | (value ATMEGA328P-A) 15 | (footprint TQFP32) 16 | (libsource (lib atmel) (part ATMEGA328P-A)) 17 | (sheetpath (names /) (tstamps /)) 18 | (tstamp 53731B62)) 19 | (comp (ref IC2) 20 | (value REG1117) 21 | (footprint burr-brown-SOT223) 22 | (libsource (lib oshec-burr-brown-3) (part REG1117)) 23 | (sheetpath (names /) (tstamps /)) 24 | (tstamp 53731D40)) 25 | (comp (ref C6) 26 | (value 10uF) 27 | (libsource (lib device) (part C)) 28 | (sheetpath (names /) (tstamps /)) 29 | (tstamp 5373206A)) 30 | (comp (ref C5) 31 | (value 1uF) 32 | (libsource (lib device) (part C)) 33 | (sheetpath (names /) (tstamps /)) 34 | (tstamp 53732079)) 35 | (comp (ref R4) 36 | (value R) 37 | (libsource (lib device) (part R)) 38 | (sheetpath (names /) (tstamps /)) 39 | (tstamp 5373252A)) 40 | (comp (ref D2) 41 | (value LED) 42 | (libsource (lib device) (part LED)) 43 | (sheetpath (names /) (tstamps /)) 44 | (tstamp 53732531)) 45 | (comp (ref R5) 46 | (value R) 47 | (libsource (lib device) (part R)) 48 | (sheetpath (names /) (tstamps /)) 49 | (tstamp 53732537)) 50 | (comp (ref D3) 51 | (value LED) 52 | (libsource (lib device) (part LED)) 53 | (sheetpath (names /) (tstamps /)) 54 | (tstamp 5373254B)) 55 | (comp (ref R7) 56 | (value R) 57 | (libsource (lib device) (part R)) 58 | (sheetpath (names /) (tstamps /)) 59 | (tstamp 53732551)) 60 | (comp (ref D4) 61 | (value LED) 62 | (libsource (lib device) (part LED)) 63 | (sheetpath (names /) (tstamps /)) 64 | (tstamp 53732565)) 65 | (comp (ref R9) 66 | (value R) 67 | (libsource (lib device) (part R)) 68 | (sheetpath (names /) (tstamps /)) 69 | (tstamp 5373256B)) 70 | (comp (ref D5) 71 | (value LED) 72 | (libsource (lib device) (part LED)) 73 | (sheetpath (names /) (tstamps /)) 74 | (tstamp 5373257F)) 75 | (comp (ref R11) 76 | (value R) 77 | (libsource (lib device) (part R)) 78 | (sheetpath (names /) (tstamps /)) 79 | (tstamp 53732585)) 80 | (comp (ref D6) 81 | (value LED) 82 | (libsource (lib device) (part LED)) 83 | (sheetpath (names /) (tstamps /)) 84 | (tstamp 53732599)) 85 | (comp (ref R13) 86 | (value R) 87 | (libsource (lib device) (part R)) 88 | (sheetpath (names /) (tstamps /)) 89 | (tstamp 5373259F)) 90 | (comp (ref SW1) 91 | (value SPST) 92 | (libsource (lib device) (part SPST)) 93 | (sheetpath (names /) (tstamps /)) 94 | (tstamp 53732C29)) 95 | (comp (ref D1) 96 | (value LED-PWR) 97 | (libsource (lib device) (part LED)) 98 | (sheetpath (names /) (tstamps /)) 99 | (tstamp 53732524)) 100 | (comp (ref XTAL1) 101 | (value 12M) 102 | (footprint dp_devices-XTAL_4X6) 103 | (libsource (lib dp_devices) (part OSC-XTAL-12M)) 104 | (sheetpath (names /) (tstamps /)) 105 | (tstamp 53732E6D)) 106 | (comp (ref C3) 107 | (value 12pF) 108 | (libsource (lib device) (part C)) 109 | (sheetpath (names /) (tstamps /)) 110 | (tstamp 53732ED8)) 111 | (comp (ref C4) 112 | (value 12pF) 113 | (libsource (lib device) (part C)) 114 | (sheetpath (names /) (tstamps /)) 115 | (tstamp 53732EE7)) 116 | (comp (ref Q1) 117 | (value MOSFET-N) 118 | (footprint ipc-7351-transistor-SOT95P280X135-3N) 119 | (libsource (lib oshec-ipc-7351-transistor) (part MOSFET-NCH_SOT-23)) 120 | (sheetpath (names /) (tstamps /)) 121 | (tstamp 53733539)) 122 | (comp (ref R2) 123 | (value 3.3kR) 124 | (libsource (lib device) (part R)) 125 | (sheetpath (names /) (tstamps /)) 126 | (tstamp 537335E4)) 127 | (comp (ref Q2) 128 | (value MOSFET-N) 129 | (footprint ipc-7351-transistor-SOT95P280X135-3N) 130 | (libsource (lib oshec-ipc-7351-transistor) (part MOSFET-NCH_SOT-23)) 131 | (sheetpath (names /) (tstamps /)) 132 | (tstamp 537337CC)) 133 | (comp (ref R3) 134 | (value 3.3kR) 135 | (libsource (lib device) (part R)) 136 | (sheetpath (names /) (tstamps /)) 137 | (tstamp 537337D8)) 138 | (comp (ref J3) 139 | (value ICSP) 140 | (footprint dp_devices-M2X5) 141 | (libsource (lib dp_devices) (part CON_HEADER_2X05-PTH)) 142 | (sheetpath (names /) (tstamps /)) 143 | (tstamp 537338EF)) 144 | (comp (ref J2) 145 | (value UART) 146 | (footprint dp_devices-M1X3) 147 | (libsource (lib dp_devices) (part CON_HEADER_1X03-PTH)) 148 | (sheetpath (names /) (tstamps /)) 149 | (tstamp 5373400C)) 150 | (comp (ref J4) 151 | (value I2C-3.3V) 152 | (footprint dp_devices-PINSHRD_PTH_2X06) 153 | (libsource (lib dp_devices) (part CON_HEADER_2X06-PTH+SHROUDED)) 154 | (sheetpath (names /) (tstamps /)) 155 | (tstamp 537343A7)) 156 | (comp (ref J6) 157 | (value GPIO) 158 | (footprint dp_devices-M2X5) 159 | (libsource (lib dp_devices) (part CON_HEADER_2X05-PTH)) 160 | (sheetpath (names /) (tstamps /)) 161 | (tstamp 53734F25)) 162 | (comp (ref J5) 163 | (value I2C-5V) 164 | (footprint dp_devices-M2X4) 165 | (libsource (lib dp_devices) (part CON_HEADER_2X04-PTH)) 166 | (sheetpath (names /) (tstamps /)) 167 | (tstamp 53736118)) 168 | (comp (ref D7) 169 | (value LED) 170 | (libsource (lib device) (part LED)) 171 | (sheetpath (names /) (tstamps /)) 172 | (tstamp 5373695F)) 173 | (comp (ref R15) 174 | (value R) 175 | (libsource (lib device) (part R)) 176 | (sheetpath (names /) (tstamps /)) 177 | (tstamp 53736965))) 178 | (libparts 179 | (libpart (lib device) (part C) 180 | (description "Condensateur non polarise") 181 | (footprints 182 | (fp SM*) 183 | (fp C?) 184 | (fp C1-1)) 185 | (fields 186 | (field (name Reference) C) 187 | (field (name Value) C) 188 | (field (name Footprint) ~) 189 | (field (name Datasheet) ~)) 190 | (pins 191 | (pin (num 1) (name ~) (type passive)) 192 | (pin (num 2) (name ~) (type passive)))) 193 | (libpart (lib device) (part LED) 194 | (footprints 195 | (fp LED-3MM) 196 | (fp LED-5MM) 197 | (fp LED-10MM) 198 | (fp LED-0603) 199 | (fp LED-0805) 200 | (fp LED-1206) 201 | (fp LEDV)) 202 | (fields 203 | (field (name Reference) D) 204 | (field (name Value) LED) 205 | (field (name Footprint) ~) 206 | (field (name Datasheet) ~)) 207 | (pins 208 | (pin (num 1) (name A) (type passive)) 209 | (pin (num 2) (name K) (type passive)))) 210 | (libpart (lib device) (part R) 211 | (description Resistance) 212 | (footprints 213 | (fp R?) 214 | (fp SM0603) 215 | (fp SM0805) 216 | (fp R?-*) 217 | (fp SM1206)) 218 | (fields 219 | (field (name Reference) R) 220 | (field (name Value) R) 221 | (field (name Footprint) ~) 222 | (field (name Datasheet) ~)) 223 | (pins 224 | (pin (num 1) (name ~) (type passive)) 225 | (pin (num 2) (name ~) (type passive)))) 226 | (libpart (lib device) (part SPST) 227 | (description "Interrupteur simple") 228 | (fields 229 | (field (name Reference) SW) 230 | (field (name Value) SPST) 231 | (field (name Footprint) ~) 232 | (field (name Datasheet) ~)) 233 | (pins 234 | (pin (num 1) (name 1) (type input)) 235 | (pin (num 2) (name 2) (type input)))) 236 | (libpart (lib atmel) (part ATMEGA168A-A) 237 | (description "ATMEGA168A, TQFP32, 16k Flash, 1kB SRAM, 512B EEPROM") 238 | (docs http://www.atmel.com/dyn/resources/prod_documents/doc8271.pdf) 239 | (fields 240 | (field (name Reference) IC) 241 | (field (name Value) ATMEGA168A-A) 242 | (field (name Footprint) TQFP32)) 243 | (pins 244 | (pin (num 1) (name "(PCINT19/OC2B/INT1)PD3") (type BiDi)) 245 | (pin (num 2) (name "(PCINT20/XCK/T0)PD4") (type BiDi)) 246 | (pin (num 3) (name GND) (type power_in)) 247 | (pin (num 4) (name VCC) (type power_in)) 248 | (pin (num 5) (name GND) (type power_in)) 249 | (pin (num 6) (name VCC) (type power_in)) 250 | (pin (num 7) (name "(PCINT6/XTAL1/TOSC1)PB6") (type BiDi)) 251 | (pin (num 8) (name "(PCINT7/XTAL2/TOSC2)PB7") (type BiDi)) 252 | (pin (num 9) (name "(PCINT21/OC0B/T1)PD5") (type BiDi)) 253 | (pin (num 10) (name "(PCINT22/OC0A/AIN0)PD6") (type BiDi)) 254 | (pin (num 11) (name "(PCINT23/AIN1)PD7") (type BiDi)) 255 | (pin (num 12) (name "(PCINT0/CLKO/ICP1)PB0") (type BiDi)) 256 | (pin (num 13) (name "(PCINT1/OC1A)PB1") (type BiDi)) 257 | (pin (num 14) (name "(PCINT2/OC1B/~SS~)PB2") (type BiDi)) 258 | (pin (num 15) (name "(PCINT3/OC2A/MOSI)PB3") (type BiDi)) 259 | (pin (num 16) (name "(PCINT4/MISO)PB4") (type BiDi)) 260 | (pin (num 17) (name "(PCINT5/SCK)PB5") (type BiDi)) 261 | (pin (num 18) (name AVCC) (type power_in)) 262 | (pin (num 19) (name ADC6) (type input)) 263 | (pin (num 20) (name AREF) (type BiDi)) 264 | (pin (num 21) (name GND) (type power_in)) 265 | (pin (num 22) (name ADC7) (type input)) 266 | (pin (num 23) (name "(PCINT8/ADC0)PC0") (type BiDi)) 267 | (pin (num 24) (name "(PCINT9/ADC1)PC1") (type BiDi)) 268 | (pin (num 25) (name "(PCINT10/ADC2)PC2") (type BiDi)) 269 | (pin (num 26) (name "(PCINT11/ADC3)PC3") (type BiDi)) 270 | (pin (num 27) (name "(PCINT12/SDA/ADC4)PC4") (type BiDi)) 271 | (pin (num 28) (name "(PCINT14/SCL/ADC5)PC5") (type BiDi)) 272 | (pin (num 29) (name "(PCINT14/~RESET~)PC6") (type BiDi)) 273 | (pin (num 30) (name "(PCINT16/RXD)PD0") (type BiDi)) 274 | (pin (num 31) (name "(PCINT17/TXD)PD1") (type BiDi)) 275 | (pin (num 32) (name "(PCINT18/INT0)PD2") (type BiDi)))) 276 | (libpart (lib dp_devices) (part CON_HEADER_1X03-PTH) 277 | (fields 278 | (field (name Reference) J) 279 | (field (name Value) CON_HEADER_1X03-PTH) 280 | (field (name Footprint) dp_devices-M1X3)) 281 | (pins 282 | (pin (num 1) (name 1) (type BiDi)) 283 | (pin (num 2) (name 2) (type BiDi)) 284 | (pin (num 3) (name 3) (type BiDi)))) 285 | (libpart (lib dp_devices) (part CON_HEADER_2X04-PTH) 286 | (fields 287 | (field (name Reference) J) 288 | (field (name Value) CON_HEADER_2X04-PTH) 289 | (field (name Footprint) dp_devices-M2X4)) 290 | (pins 291 | (pin (num 1) (name P$1) (type passive)) 292 | (pin (num 2) (name P$2) (type passive)) 293 | (pin (num 3) (name P$3) (type passive)) 294 | (pin (num 4) (name P$4) (type passive)) 295 | (pin (num 5) (name P$5) (type passive)) 296 | (pin (num 6) (name P$6) (type passive)) 297 | (pin (num 7) (name P$7) (type passive)) 298 | (pin (num 8) (name P$8) (type passive)))) 299 | (libpart (lib dp_devices) (part CON_HEADER_2X05-PTH) 300 | (fields 301 | (field (name Reference) J) 302 | (field (name Value) CON_HEADER_2X05-PTH) 303 | (field (name Footprint) dp_devices-M2X5)) 304 | (pins 305 | (pin (num 1) (name 1) (type passive)) 306 | (pin (num 2) (name 2) (type passive)) 307 | (pin (num 3) (name 3) (type passive)) 308 | (pin (num 4) (name 4) (type passive)) 309 | (pin (num 5) (name 5) (type passive)) 310 | (pin (num 6) (name 6) (type passive)) 311 | (pin (num 7) (name 7) (type passive)) 312 | (pin (num 8) (name 8) (type passive)) 313 | (pin (num 9) (name 9) (type passive)) 314 | (pin (num 10) (name 10) (type passive)))) 315 | (libpart (lib dp_devices) (part CON_HEADER_2X06-PTH+SHROUDED) 316 | (fields 317 | (field (name Reference) J) 318 | (field (name Value) CON_HEADER_2X06-PTH+SHROUDED) 319 | (field (name Footprint) dp_devices-PINSHRD_PTH_2X06)) 320 | (pins 321 | (pin (num 1) (name 1) (type passive)) 322 | (pin (num 2) (name 2) (type passive)) 323 | (pin (num 3) (name 3) (type passive)) 324 | (pin (num 4) (name 4) (type passive)) 325 | (pin (num 5) (name 5) (type passive)) 326 | (pin (num 6) (name 6) (type passive)) 327 | (pin (num 7) (name 7) (type passive)) 328 | (pin (num 8) (name 8) (type passive)) 329 | (pin (num 9) (name 9) (type passive)) 330 | (pin (num 10) (name 10) (type passive)) 331 | (pin (num 11) (name 11) (type passive)) 332 | (pin (num 12) (name 12) (type passive)))) 333 | (libpart (lib dp_devices) (part OSC-XTAL-12M) 334 | (fields 335 | (field (name Reference) XTAL) 336 | (field (name Value) OSC-XTAL-12M) 337 | (field (name Footprint) dp_devices-XTAL_4X6)) 338 | (pins 339 | (pin (num 1) (name 1) (type passive)) 340 | (pin (num 2) (name 2) (type passive)))) 341 | (libpart (lib oshec-burr-brown-3) (part REG1117) 342 | (fields 343 | (field (name Reference) IC) 344 | (field (name Value) REG1117) 345 | (field (name Footprint) burr-brown-3-SOT223)) 346 | (pins 347 | (pin (num 1) (name GND) (type power_in)) 348 | (pin (num 2) (name VOUT) (type output)) 349 | (pin (num 3) (name VIN) (type input)))) 350 | (libpart (lib oshec-ipc-7351-transistor) (part MOSFET-NCH_SOT-23) 351 | (fields 352 | (field (name Reference) Q) 353 | (field (name Value) MOSFET-NCH_SOT-23) 354 | (field (name Footprint) ipc-7351-transistor-SOT95P280X135-3N)) 355 | (pins 356 | (pin (num 1) (name G) (type passive)) 357 | (pin (num 2) (name S) (type passive)) 358 | (pin (num 3) (name D) (type passive)))) 359 | (libpart (lib oshec-m-pad-2.1) (part CON-DSUB-15-VGA) 360 | (fields 361 | (field (name Reference) J) 362 | (field (name Value) CON-DSUB-15-VGA) 363 | (field (name Footprint) m-pad-2.1-181-015-212-171)) 364 | (pins 365 | (pin (num 1) (name 1) (type passive)) 366 | (pin (num 2) (name 2) (type passive)) 367 | (pin (num 3) (name 3) (type passive)) 368 | (pin (num 4) (name 4) (type passive)) 369 | (pin (num 5) (name 5) (type passive)) 370 | (pin (num 6) (name 6) (type passive)) 371 | (pin (num 7) (name 7) (type passive)) 372 | (pin (num 8) (name 8) (type passive)) 373 | (pin (num 9) (name 9) (type passive)) 374 | (pin (num 10) (name 10) (type passive)) 375 | (pin (num 11) (name 11) (type passive)) 376 | (pin (num 12) (name 12) (type passive)) 377 | (pin (num 13) (name 13) (type passive)) 378 | (pin (num 14) (name 14) (type passive)) 379 | (pin (num 15) (name 15) (type passive)) 380 | (pin (num P$1) (name 16) (type passive)) 381 | (pin (num P$2) (name 17) (type passive))))) 382 | (libraries 383 | (library (logical device) 384 | (uri /usr/share/kicad/library/device.lib)) 385 | (library (logical atmel) 386 | (uri /usr/share/kicad/library/atmel.lib)) 387 | (library (logical oshec-m-pad-2.1) 388 | (uri libs/oshec-m-pad-2.1.lib)) 389 | (library (logical dp_devices) 390 | (uri libs/dp_devices.lib)) 391 | (library (logical oshec-burr-brown-3) 392 | (uri libs/oshec-burr-brown-3.lib)) 393 | (library (logical oshec-ipc-7351-transistor) 394 | (uri libs/oshec-ipc-7351-transistor.lib))) 395 | (nets 396 | (net (code 1) (name +3.3V) 397 | (node (ref R4) (pin 1)) 398 | (node (ref IC2) (pin 2)) 399 | (node (ref C6) (pin 1)) 400 | (node (ref J3) (pin 9)) 401 | (node (ref Q2) (pin 1)) 402 | (node (ref R3) (pin 1)) 403 | (node (ref J4) (pin 5)) 404 | (node (ref J4) (pin 3)) 405 | (node (ref J4) (pin 1)) 406 | (node (ref Q1) (pin 1)) 407 | (node (ref R2) (pin 1)) 408 | (node (ref IC1) (pin 18)) 409 | (node (ref IC1) (pin 4)) 410 | (node (ref IC1) (pin 6))) 411 | (net (code 2) (name RX) 412 | (node (ref IC1) (pin 30)) 413 | (node (ref J2) (pin 3))) 414 | (net (code 3) (name TX) 415 | (node (ref IC1) (pin 31)) 416 | (node (ref J2) (pin 2))) 417 | (net (code 4) (name GND) 418 | (node (ref IC1) (pin 3)) 419 | (node (ref IC1) (pin 5)) 420 | (node (ref J2) (pin 1)) 421 | (node (ref J1) (pin P$2)) 422 | (node (ref J1) (pin P$1)) 423 | (node (ref J1) (pin 5)) 424 | (node (ref D3) (pin 2)) 425 | (node (ref D7) (pin 2)) 426 | (node (ref C6) (pin 2)) 427 | (node (ref C5) (pin 2)) 428 | (node (ref D2) (pin 2)) 429 | (node (ref J4) (pin 2)) 430 | (node (ref SW1) (pin 1)) 431 | (node (ref D4) (pin 2)) 432 | (node (ref D5) (pin 2)) 433 | (node (ref IC1) (pin 21)) 434 | (node (ref D6) (pin 2)) 435 | (node (ref J4) (pin 4)) 436 | (node (ref D1) (pin 2)) 437 | (node (ref C4) (pin 2)) 438 | (node (ref IC2) (pin 1)) 439 | (node (ref C3) (pin 2)) 440 | (node (ref J3) (pin 8)) 441 | (node (ref J4) (pin 6)) 442 | (node (ref J3) (pin 7)) 443 | (node (ref J5) (pin 2)) 444 | (node (ref J3) (pin 3)) 445 | (node (ref J5) (pin 4)) 446 | (node (ref J3) (pin 5)) 447 | (node (ref J3) (pin 1))) 448 | (net (code 5) (name MISO) 449 | (node (ref J3) (pin 2)) 450 | (node (ref IC1) (pin 16))) 451 | (net (code 6) (name SCK) 452 | (node (ref IC1) (pin 17)) 453 | (node (ref J3) (pin 4))) 454 | (net (code 7) (name AVR-RST) 455 | (node (ref IC1) (pin 29)) 456 | (node (ref SW1) (pin 2)) 457 | (node (ref J3) (pin 6))) 458 | (net (code 8) (name MOSI) 459 | (node (ref J3) (pin 10)) 460 | (node (ref IC1) (pin 15)) 461 | (node (ref R9) (pin 1))) 462 | (net (code 9) (name SDA-3.3V) 463 | (node (ref J4) (pin 10)) 464 | (node (ref J4) (pin 12)) 465 | (node (ref R2) (pin 2)) 466 | (node (ref J4) (pin 8)) 467 | (node (ref Q1) (pin 2)) 468 | (node (ref IC1) (pin 27))) 469 | (net (code 10) (name SCL-3.3V) 470 | (node (ref IC1) (pin 28)) 471 | (node (ref J4) (pin 11)) 472 | (node (ref J4) (pin 7)) 473 | (node (ref Q2) (pin 2)) 474 | (node (ref J4) (pin 9)) 475 | (node (ref R3) (pin 2))) 476 | (net (code 11) (name SCL-5V) 477 | (node (ref Q2) (pin 3)) 478 | (node (ref J5) (pin 5)) 479 | (node (ref J1) (pin 15)) 480 | (node (ref J5) (pin 7))) 481 | (net (code 12) (name SDA-5V) 482 | (node (ref J1) (pin 12)) 483 | (node (ref J5) (pin 8)) 484 | (node (ref Q1) (pin 3)) 485 | (node (ref J5) (pin 6))) 486 | (net (code 13) (name +5V) 487 | (node (ref J5) (pin 1)) 488 | (node (ref J1) (pin 9)) 489 | (node (ref C5) (pin 1)) 490 | (node (ref J1) (pin 4)) 491 | (node (ref IC2) (pin 3)) 492 | (node (ref J5) (pin 3))) 493 | (net (code 14) (name GPIO8) 494 | (node (ref IC1) (pin 2)) 495 | (node (ref J6) (pin 8))) 496 | (net (code 15) (name GPIO7) 497 | (node (ref J6) (pin 6)) 498 | (node (ref IC1) (pin 32))) 499 | (net (code 16) (name GPIO5) 500 | (node (ref IC1) (pin 26)) 501 | (node (ref J6) (pin 2))) 502 | (net (code 17) (name GPIO1) 503 | (node (ref R15) (pin 1)) 504 | (node (ref IC1) (pin 13)) 505 | (node (ref J6) (pin 3))) 506 | (net (code 18) (name "") 507 | (node (ref D2) (pin 1)) 508 | (node (ref R5) (pin 2))) 509 | (net (code 19) (name PWM-0A) 510 | (node (ref IC1) (pin 10)) 511 | (node (ref R5) (pin 1))) 512 | (net (code 20) (name GPIO6) 513 | (node (ref J6) (pin 4)) 514 | (node (ref IC1) (pin 25))) 515 | (net (code 21) (name GPIO0) 516 | (node (ref J6) (pin 1)) 517 | (node (ref IC1) (pin 14)) 518 | (node (ref R13) (pin 1))) 519 | (net (code 22) (name "") 520 | (node (ref R15) (pin 2)) 521 | (node (ref D7) (pin 1))) 522 | (net (code 23) (name GPIO9) 523 | (node (ref J6) (pin 10)) 524 | (node (ref IC1) (pin 23))) 525 | (net (code 24) (name GPIO3) 526 | (node (ref IC1) (pin 11)) 527 | (node (ref J6) (pin 7))) 528 | (net (code 25) (name GPIO4) 529 | (node (ref IC1) (pin 24)) 530 | (node (ref J6) (pin 9))) 531 | (net (code 26) (name GPIO2) 532 | (node (ref J6) (pin 5)) 533 | (node (ref IC1) (pin 12))) 534 | (net (code 27) (name "") 535 | (node (ref R4) (pin 2)) 536 | (node (ref D1) (pin 1))) 537 | (net (code 28) (name "") 538 | (node (ref D3) (pin 1)) 539 | (node (ref R7) (pin 2))) 540 | (net (code 29) (name "") 541 | (node (ref IC1) (pin 19))) 542 | (net (code 30) (name "") 543 | (node (ref J1) (pin 13))) 544 | (net (code 31) (name "") 545 | (node (ref J1) (pin 14))) 546 | (net (code 32) (name "") 547 | (node (ref J1) (pin 11))) 548 | (net (code 33) (name "") 549 | (node (ref J1) (pin 10))) 550 | (net (code 34) (name "") 551 | (node (ref J1) (pin 8))) 552 | (net (code 35) (name "") 553 | (node (ref J1) (pin 7))) 554 | (net (code 36) (name "") 555 | (node (ref J1) (pin 6))) 556 | (net (code 37) (name "") 557 | (node (ref J1) (pin 3))) 558 | (net (code 38) (name "") 559 | (node (ref J1) (pin 2))) 560 | (net (code 39) (name "") 561 | (node (ref IC1) (pin 22))) 562 | (net (code 40) (name "") 563 | (node (ref IC1) (pin 20))) 564 | (net (code 41) (name PWM-0B) 565 | (node (ref R7) (pin 1)) 566 | (node (ref IC1) (pin 9))) 567 | (net (code 42) (name PWM-2B) 568 | (node (ref IC1) (pin 1)) 569 | (node (ref R11) (pin 1))) 570 | (net (code 43) (name "") 571 | (node (ref C3) (pin 1)) 572 | (node (ref IC1) (pin 7)) 573 | (node (ref XTAL1) (pin 2))) 574 | (net (code 44) (name "") 575 | (node (ref XTAL1) (pin 1)) 576 | (node (ref C4) (pin 1)) 577 | (node (ref IC1) (pin 8))) 578 | (net (code 45) (name "") 579 | (node (ref R11) (pin 2)) 580 | (node (ref D5) (pin 1))) 581 | (net (code 46) (name "") 582 | (node (ref R13) (pin 2)) 583 | (node (ref D6) (pin 1))) 584 | (net (code 47) (name "") 585 | (node (ref D4) (pin 1)) 586 | (node (ref R9) (pin 2))) 587 | (net (code 48) (name "") 588 | (node (ref J1) (pin 1))))) -------------------------------------------------------------------------------- /pcb/i2c-vga.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atx/TWILight/6bbc33366da5cf09ef78ab6f75f89c56811dc2de/pcb/i2c-vga.pdf -------------------------------------------------------------------------------- /pcb/i2c-vga.pro: -------------------------------------------------------------------------------- 1 | update=Wed 11 Jun 2014 08:19:02 AM CEST 2 | version=1 3 | last_client=pcbnew 4 | [cvpcb] 5 | version=1 6 | NetIExt=net 7 | [cvpcb/libraries] 8 | EquName1=devcms 9 | [general] 10 | version=1 11 | [eeschema] 12 | version=1 13 | LibDir=../libs/Dangerous_Prototypes;../libs/oshec 14 | NetFmtName= 15 | RptD_X=0 16 | RptD_Y=100 17 | RptLab=1 18 | LabSize=60 19 | [eeschema/libraries] 20 | LibName1=power 21 | LibName2=device 22 | LibName3=transistors 23 | LibName4=conn 24 | LibName5=linear 25 | LibName6=regul 26 | LibName7=74xx 27 | LibName8=cmos4000 28 | LibName9=adc-dac 29 | LibName10=memory 30 | LibName11=xilinx 31 | LibName12=special 32 | LibName13=microcontrollers 33 | LibName14=dsp 34 | LibName15=microchip 35 | LibName16=analog_switches 36 | LibName17=motorola 37 | LibName18=texas 38 | LibName19=intel 39 | LibName20=audio 40 | LibName21=interface 41 | LibName22=digital-audio 42 | LibName23=philips 43 | LibName24=display 44 | LibName25=cypress 45 | LibName26=siliconi 46 | LibName27=opto 47 | LibName28=atmel 48 | LibName29=contrib 49 | LibName30=valves 50 | LibName31=libs/dp_devices 51 | LibName32=libs/oshec-burr-brown-3 52 | LibName33=libs/oshec-ipc-7351-transistor 53 | LibName34=libs/oshec-m-pad-2.1 54 | [pcbnew] 55 | version=1 56 | LastNetListRead=i2c-vga.net 57 | UseCmpFile=1 58 | PadDrill=" 3.200400" 59 | PadDrillOvalY=" 3.200400" 60 | PadSizeH=" 4.216400" 61 | PadSizeV=" 4.216400" 62 | PcbTextSizeV=" 1.500000" 63 | PcbTextSizeH=" 1.500000" 64 | PcbTextThickness=" 0.300000" 65 | ModuleTextSizeV=" 1.000000" 66 | ModuleTextSizeH=" 1.000000" 67 | ModuleTextSizeThickness=" 0.150000" 68 | SolderMaskClearance=" 0.000000" 69 | SolderMaskMinWidth=" 0.000000" 70 | DrawSegmentWidth=" 0.200000" 71 | BoardOutlineThickness=" 0.100000" 72 | ModuleOutlineThickness=" 0.150000" 73 | [pcbnew/libraries] 74 | LibDir=../libs/Dangerous_Prototypes;../libs/oshec 75 | LibName1=sockets 76 | LibName2=connect 77 | LibName3=discret 78 | LibName4=pin_array 79 | LibName5=divers 80 | LibName6=smd_capacitors 81 | LibName7=smd_resistors 82 | LibName8=smd_crystal&oscillator 83 | LibName9=smd_dil 84 | LibName10=smd_transistors 85 | LibName11=libcms 86 | LibName12=display 87 | LibName13=led 88 | LibName14=dip_sockets 89 | LibName15=pga_sockets 90 | LibName16=valves 91 | LibName17=dp_devices 92 | LibName18=libs/oshec-burr-brown-3 93 | LibName19=libs/oshec-ipc-7351-transistor 94 | LibName20=libs/oshec-m-pad-2.1 95 | LibName21=libs/dp_devices 96 | -------------------------------------------------------------------------------- /pcb/i2c-vga.sch: -------------------------------------------------------------------------------- 1 | EESchema Schematic File Version 2 2 | LIBS:power 3 | LIBS:device 4 | LIBS:transistors 5 | LIBS:conn 6 | LIBS:linear 7 | LIBS:regul 8 | LIBS:74xx 9 | LIBS:cmos4000 10 | LIBS:adc-dac 11 | LIBS:memory 12 | LIBS:xilinx 13 | LIBS:special 14 | LIBS:microcontrollers 15 | LIBS:dsp 16 | LIBS:microchip 17 | LIBS:analog_switches 18 | LIBS:motorola 19 | LIBS:texas 20 | LIBS:intel 21 | LIBS:audio 22 | LIBS:interface 23 | LIBS:digital-audio 24 | LIBS:philips 25 | LIBS:display 26 | LIBS:cypress 27 | LIBS:siliconi 28 | LIBS:opto 29 | LIBS:atmel 30 | LIBS:contrib 31 | LIBS:valves 32 | LIBS:dp_devices 33 | LIBS:oshec-burr-brown-3 34 | LIBS:oshec-ipc-7351-transistor 35 | LIBS:oshec-m-pad-2.1 36 | EELAYER 27 0 37 | EELAYER END 38 | $Descr A4 11693 8268 39 | encoding utf-8 40 | Sheet 1 1 41 | Title "" 42 | Date "15 may 2014" 43 | Rev "" 44 | Comp "" 45 | Comment1 "" 46 | Comment2 "" 47 | Comment3 "" 48 | Comment4 "" 49 | $EndDescr 50 | $Comp 51 | L CON-DSUB-15-VGA J1 52 | U 1 1 53731AB0 53 | P 1800 1550 54 | F 0 "J1" H 1950 2505 50 0000 L BNN 55 | F 1 "CON-DSUB-15-VGA" H 1950 550 50 0000 L BNN 56 | F 2 "m-pad-2.1-181-015-212-171" H 1800 1700 50 0001 C CNN 57 | F 3 "" H 1800 1550 60 0000 C CNN 58 | 1 1800 1550 59 | 0 -1 -1 0 60 | $EndComp 61 | $Comp 62 | L ATMEGA328P-A IC1 63 | U 1 1 53731B62 64 | P 2350 5900 65 | F 0 "IC1" H 1600 7150 40 0000 L BNN 66 | F 1 "ATMEGA328P-A" H 2750 4500 40 0000 L BNN 67 | F 2 "TQFP32" H 2350 5900 30 0000 C CIN 68 | F 3 "" H 2350 5900 60 0000 C CNN 69 | 1 2350 5900 70 | 1 0 0 -1 71 | $EndComp 72 | $Comp 73 | L REG1117 IC2 74 | U 1 1 53731D40 75 | P 5200 1250 76 | F 0 "IC2" H 4900 1475 50 0000 L BNN 77 | F 1 "REG1117" H 5000 1350 50 0000 L BNN 78 | F 2 "burr-brown-SOT223" H 5200 1400 50 0001 C CNN 79 | F 3 "" H 5200 1250 60 0000 C CNN 80 | 1 5200 1250 81 | 1 0 0 -1 82 | $EndComp 83 | $Comp 84 | L GND #PWR01 85 | U 1 1 53731E88 86 | P 5200 1800 87 | F 0 "#PWR01" H 5200 1800 30 0001 C CNN 88 | F 1 "GND" H 5200 1730 30 0001 C CNN 89 | F 2 "" H 5200 1800 60 0000 C CNN 90 | F 3 "" H 5200 1800 60 0000 C CNN 91 | 1 5200 1800 92 | 1 0 0 -1 93 | $EndComp 94 | Wire Wire Line 95 | 5200 1800 5200 1750 96 | $Comp 97 | L GND #PWR02 98 | U 1 1 53731ED4 99 | P 1400 1600 100 | F 0 "#PWR02" H 1400 1600 30 0001 C CNN 101 | F 1 "GND" H 1400 1530 30 0001 C CNN 102 | F 2 "" H 1400 1600 60 0000 C CNN 103 | F 3 "" H 1400 1600 60 0000 C CNN 104 | 1 1400 1600 105 | 1 0 0 -1 106 | $EndComp 107 | $Comp 108 | L +5V #PWR03 109 | U 1 1 53731EE3 110 | P 1800 1600 111 | F 0 "#PWR03" H 1800 1690 20 0001 C CNN 112 | F 1 "+5V" H 1800 1690 30 0000 C CNN 113 | F 2 "" H 1800 1600 60 0000 C CNN 114 | F 3 "" H 1800 1600 60 0000 C CNN 115 | 1 1800 1600 116 | -1 0 0 1 117 | $EndComp 118 | Wire Wire Line 119 | 1800 1600 1800 1550 120 | Wire Wire Line 121 | 1400 1600 1400 1550 122 | Text GLabel 2100 1600 3 20 Input ~ 0 123 | SDA-5V 124 | Text GLabel 2400 1600 3 20 Input ~ 0 125 | SCL-5V 126 | Wire Wire Line 127 | 2400 1600 2400 1550 128 | Wire Wire Line 129 | 2100 1600 2100 1550 130 | $Comp 131 | L +5V #PWR04 132 | U 1 1 53731F6C 133 | P 4700 1200 134 | F 0 "#PWR04" H 4700 1290 20 0001 C CNN 135 | F 1 "+5V" H 4700 1290 30 0000 C CNN 136 | F 2 "" H 4700 1200 60 0000 C CNN 137 | F 3 "" H 4700 1200 60 0000 C CNN 138 | 1 4700 1200 139 | 1 0 0 -1 140 | $EndComp 141 | Wire Wire Line 142 | 4700 1200 4700 1300 143 | $Comp 144 | L C C6 145 | U 1 1 5373206A 146 | P 5700 1500 147 | F 0 "C6" H 5700 1600 40 0000 L CNN 148 | F 1 "10uF" H 5706 1415 40 0000 L CNN 149 | F 2 "~" H 5738 1350 30 0000 C CNN 150 | F 3 "~" H 5700 1500 60 0000 C CNN 151 | 1 5700 1500 152 | 1 0 0 -1 153 | $EndComp 154 | $Comp 155 | L C C5 156 | U 1 1 53732079 157 | P 4700 1500 158 | F 0 "C5" H 4700 1600 40 0000 L CNN 159 | F 1 "1uF" H 4706 1415 40 0000 L CNN 160 | F 2 "~" H 4738 1350 30 0000 C CNN 161 | F 3 "~" H 4700 1500 60 0000 C CNN 162 | 1 4700 1500 163 | 1 0 0 -1 164 | $EndComp 165 | $Comp 166 | L +3.3V #PWR05 167 | U 1 1 537320A6 168 | P 5700 1200 169 | F 0 "#PWR05" H 5700 1160 30 0001 C CNN 170 | F 1 "+3.3V" H 5700 1310 30 0000 C CNN 171 | F 2 "" H 5700 1200 60 0000 C CNN 172 | F 3 "" H 5700 1200 60 0000 C CNN 173 | 1 5700 1200 174 | 1 0 0 -1 175 | $EndComp 176 | Wire Wire Line 177 | 5700 1200 5700 1300 178 | Connection ~ 5700 1250 179 | Connection ~ 4700 1250 180 | Wire Wire Line 181 | 4700 1700 4700 1750 182 | Wire Wire Line 183 | 4700 1750 5700 1750 184 | Wire Wire Line 185 | 5700 1750 5700 1700 186 | Connection ~ 5200 1750 187 | $Comp 188 | L GND #PWR06 189 | U 1 1 5373240C 190 | P 7900 1900 191 | F 0 "#PWR06" H 7900 1900 30 0001 C CNN 192 | F 1 "GND" H 7900 1830 30 0001 C CNN 193 | F 2 "" H 7900 1900 60 0000 C CNN 194 | F 3 "" H 7900 1900 60 0000 C CNN 195 | 1 7900 1900 196 | 1 0 0 -1 197 | $EndComp 198 | Wire Wire Line 199 | 7900 1400 7900 1450 200 | Wire Wire Line 201 | 7900 1850 7900 1900 202 | $Comp 203 | L +3.3V #PWR07 204 | U 1 1 537324FC 205 | P 7900 850 206 | F 0 "#PWR07" H 7900 810 30 0001 C CNN 207 | F 1 "+3.3V" H 7900 960 30 0000 C CNN 208 | F 2 "" H 7900 850 60 0000 C CNN 209 | F 3 "" H 7900 850 60 0000 C CNN 210 | 1 7900 850 211 | 1 0 0 -1 212 | $EndComp 213 | Wire Wire Line 214 | 7900 850 7900 900 215 | $Comp 216 | L R R4 217 | U 1 1 5373252A 218 | P 7900 1150 219 | F 0 "R4" V 7980 1150 40 0000 C CNN 220 | F 1 "R" V 7907 1151 40 0000 C CNN 221 | F 2 "~" V 7830 1150 30 0000 C CNN 222 | F 3 "~" H 7900 1150 30 0000 C CNN 223 | 1 7900 1150 224 | 1 0 0 -1 225 | $EndComp 226 | $Comp 227 | L LED D2 228 | U 1 1 53732531 229 | P 8250 1650 230 | F 0 "D2" H 8250 1750 50 0000 C CNN 231 | F 1 "LED" H 8250 1550 50 0000 C CNN 232 | F 2 "~" H 8250 1650 60 0000 C CNN 233 | F 3 "~" H 8250 1650 60 0000 C CNN 234 | 1 8250 1650 235 | 0 1 1 0 236 | $EndComp 237 | $Comp 238 | L R R5 239 | U 1 1 53732537 240 | P 8250 1150 241 | F 0 "R5" V 8330 1150 40 0000 C CNN 242 | F 1 "R" V 8257 1151 40 0000 C CNN 243 | F 2 "~" V 8180 1150 30 0000 C CNN 244 | F 3 "~" H 8250 1150 30 0000 C CNN 245 | 1 8250 1150 246 | 1 0 0 -1 247 | $EndComp 248 | $Comp 249 | L LED D3 250 | U 1 1 5373254B 251 | P 8600 1650 252 | F 0 "D3" H 8600 1750 50 0000 C CNN 253 | F 1 "LED" H 8600 1550 50 0000 C CNN 254 | F 2 "~" H 8600 1650 60 0000 C CNN 255 | F 3 "~" H 8600 1650 60 0000 C CNN 256 | 1 8600 1650 257 | 0 1 1 0 258 | $EndComp 259 | $Comp 260 | L R R7 261 | U 1 1 53732551 262 | P 8600 1150 263 | F 0 "R7" V 8680 1150 40 0000 C CNN 264 | F 1 "R" V 8607 1151 40 0000 C CNN 265 | F 2 "~" V 8530 1150 30 0000 C CNN 266 | F 3 "~" H 8600 1150 30 0000 C CNN 267 | 1 8600 1150 268 | 1 0 0 -1 269 | $EndComp 270 | Wire Wire Line 271 | 8600 1400 8600 1450 272 | $Comp 273 | L LED D4 274 | U 1 1 53732565 275 | P 8950 1650 276 | F 0 "D4" H 8950 1750 50 0000 C CNN 277 | F 1 "LED" H 8950 1550 50 0000 C CNN 278 | F 2 "~" H 8950 1650 60 0000 C CNN 279 | F 3 "~" H 8950 1650 60 0000 C CNN 280 | 1 8950 1650 281 | 0 1 1 0 282 | $EndComp 283 | $Comp 284 | L R R9 285 | U 1 1 5373256B 286 | P 8950 1150 287 | F 0 "R9" V 9030 1150 40 0000 C CNN 288 | F 1 "R" V 8957 1151 40 0000 C CNN 289 | F 2 "~" V 8880 1150 30 0000 C CNN 290 | F 3 "~" H 8950 1150 30 0000 C CNN 291 | 1 8950 1150 292 | 1 0 0 -1 293 | $EndComp 294 | Wire Wire Line 295 | 8950 1400 8950 1450 296 | $Comp 297 | L LED D5 298 | U 1 1 5373257F 299 | P 9300 1650 300 | F 0 "D5" H 9300 1750 50 0000 C CNN 301 | F 1 "LED" H 9300 1550 50 0000 C CNN 302 | F 2 "~" H 9300 1650 60 0000 C CNN 303 | F 3 "~" H 9300 1650 60 0000 C CNN 304 | 1 9300 1650 305 | 0 1 1 0 306 | $EndComp 307 | $Comp 308 | L R R11 309 | U 1 1 53732585 310 | P 9300 1150 311 | F 0 "R11" V 9380 1150 40 0000 C CNN 312 | F 1 "R" V 9307 1151 40 0000 C CNN 313 | F 2 "~" V 9230 1150 30 0000 C CNN 314 | F 3 "~" H 9300 1150 30 0000 C CNN 315 | 1 9300 1150 316 | 1 0 0 -1 317 | $EndComp 318 | Wire Wire Line 319 | 9300 1400 9300 1450 320 | $Comp 321 | L LED D6 322 | U 1 1 53732599 323 | P 9650 1650 324 | F 0 "D6" H 9650 1750 50 0000 C CNN 325 | F 1 "LED" H 9650 1550 50 0000 C CNN 326 | F 2 "~" H 9650 1650 60 0000 C CNN 327 | F 3 "~" H 9650 1650 60 0000 C CNN 328 | 1 9650 1650 329 | 0 1 1 0 330 | $EndComp 331 | $Comp 332 | L R R13 333 | U 1 1 5373259F 334 | P 9650 1150 335 | F 0 "R13" V 9730 1150 40 0000 C CNN 336 | F 1 "R" V 9657 1151 40 0000 C CNN 337 | F 2 "~" V 9580 1150 30 0000 C CNN 338 | F 3 "~" H 9650 1150 30 0000 C CNN 339 | 1 9650 1150 340 | 1 0 0 -1 341 | $EndComp 342 | Wire Wire Line 343 | 9650 1400 9650 1450 344 | Connection ~ 8250 1850 345 | Connection ~ 8600 1850 346 | Connection ~ 8950 1850 347 | Wire Wire Line 348 | 7900 1850 10000 1850 349 | Connection ~ 9300 1850 350 | $Comp 351 | L +3.3V #PWR08 352 | U 1 1 5373278D 353 | P 1450 4750 354 | F 0 "#PWR08" H 1450 4710 30 0001 C CNN 355 | F 1 "+3.3V" H 1450 4860 30 0000 C CNN 356 | F 2 "" H 1450 4750 60 0000 C CNN 357 | F 3 "" H 1450 4750 60 0000 C CNN 358 | 1 1450 4750 359 | 1 0 0 -1 360 | $EndComp 361 | Connection ~ 1450 4800 362 | Connection ~ 1450 4900 363 | $Comp 364 | L GND #PWR09 365 | U 1 1 53732875 366 | P 1450 7150 367 | F 0 "#PWR09" H 1450 7150 30 0001 C CNN 368 | F 1 "GND" H 1450 7080 30 0001 C CNN 369 | F 2 "" H 1450 7150 60 0000 C CNN 370 | F 3 "" H 1450 7150 60 0000 C CNN 371 | 1 1450 7150 372 | 1 0 0 -1 373 | $EndComp 374 | Wire Wire Line 375 | 1450 6900 1450 7150 376 | Connection ~ 1450 7100 377 | Connection ~ 1450 7000 378 | Wire Wire Line 379 | 1400 4900 1450 4900 380 | Wire Wire Line 381 | 1450 4750 1450 5100 382 | Text GLabel 3400 6050 2 20 Input ~ 0 383 | SDA-3.3V 384 | Text GLabel 3400 6150 2 20 Input ~ 0 385 | SCL-3.3V 386 | Wire Wire Line 387 | 3350 6050 3400 6050 388 | Wire Wire Line 389 | 3350 6150 3400 6150 390 | Text GLabel 3400 6250 2 20 Input ~ 0 391 | AVR-RST 392 | Wire Wire Line 393 | 3350 6250 3400 6250 394 | $Comp 395 | L SPST SW1 396 | U 1 1 53732C29 397 | P 1050 3700 398 | F 0 "SW1" H 1050 3800 70 0000 C CNN 399 | F 1 "SPST" H 1050 3600 70 0000 C CNN 400 | F 2 "~" H 1050 3700 60 0000 C CNN 401 | F 3 "~" H 1050 3700 60 0000 C CNN 402 | 1 1050 3700 403 | 0 -1 -1 0 404 | $EndComp 405 | $Comp 406 | L GND #PWR010 407 | U 1 1 53732C5B 408 | P 1050 4250 409 | F 0 "#PWR010" H 1050 4250 30 0001 C CNN 410 | F 1 "GND" H 1050 4180 30 0001 C CNN 411 | F 2 "" H 1050 4250 60 0000 C CNN 412 | F 3 "" H 1050 4250 60 0000 C CNN 413 | 1 1050 4250 414 | 1 0 0 -1 415 | $EndComp 416 | Wire Wire Line 417 | 1050 4250 1050 4200 418 | Wire Wire Line 419 | 1050 3100 1050 3200 420 | Text GLabel 1100 3150 2 20 Input ~ 0 421 | AVR-RST 422 | Wire Wire Line 423 | 1100 3150 1050 3150 424 | Connection ~ 1050 3150 425 | $Comp 426 | L LED D1 427 | U 1 1 53732524 428 | P 7900 1650 429 | F 0 "D1" H 7900 1750 50 0000 C CNN 430 | F 1 "LED-PWR" H 7900 1550 50 0000 C CNN 431 | F 2 "~" H 7900 1650 60 0000 C CNN 432 | F 3 "~" H 7900 1650 60 0000 C CNN 433 | 1 7900 1650 434 | 0 1 1 0 435 | $EndComp 436 | $Comp 437 | L OSC-XTAL-12M XTAL1 438 | U 1 1 53732E6D 439 | P 4150 5600 440 | F 0 "XTAL1" H 4050 5690 50 0000 L BNN 441 | F 1 "12M" H 4050 5450 50 0000 L BNN 442 | F 2 "dp_devices-XTAL_4X6" H 4150 5750 50 0001 C CNN 443 | F 3 "" H 4150 5600 60 0000 C CNN 444 | 1 4150 5600 445 | 0 -1 -1 0 446 | $EndComp 447 | Wire Wire Line 448 | 3350 5400 4200 5400 449 | Wire Wire Line 450 | 3350 5500 3900 5500 451 | Wire Wire Line 452 | 3900 5500 3900 5800 453 | Wire Wire Line 454 | 3900 5800 4200 5800 455 | $Comp 456 | L C C3 457 | U 1 1 53732ED8 458 | P 4400 5400 459 | F 0 "C3" H 4400 5500 40 0000 L CNN 460 | F 1 "12pF" H 4406 5315 40 0000 L CNN 461 | F 2 "~" H 4438 5250 30 0000 C CNN 462 | F 3 "~" H 4400 5400 60 0000 C CNN 463 | 1 4400 5400 464 | 0 -1 -1 0 465 | $EndComp 466 | $Comp 467 | L C C4 468 | U 1 1 53732EE7 469 | P 4400 5800 470 | F 0 "C4" H 4400 5900 40 0000 L CNN 471 | F 1 "12pF" H 4406 5715 40 0000 L CNN 472 | F 2 "~" H 4438 5650 30 0000 C CNN 473 | F 3 "~" H 4400 5800 60 0000 C CNN 474 | 1 4400 5800 475 | 0 -1 -1 0 476 | $EndComp 477 | $Comp 478 | L GND #PWR011 479 | U 1 1 53732F0E 480 | P 4650 5400 481 | F 0 "#PWR011" H 4650 5400 30 0001 C CNN 482 | F 1 "GND" H 4650 5330 30 0001 C CNN 483 | F 2 "" H 4650 5400 60 0000 C CNN 484 | F 3 "" H 4650 5400 60 0000 C CNN 485 | 1 4650 5400 486 | 0 -1 -1 0 487 | $EndComp 488 | Wire Wire Line 489 | 4600 5400 4600 5800 490 | Wire Wire Line 491 | 4600 5400 4650 5400 492 | Connection ~ 4150 5400 493 | Connection ~ 4150 5800 494 | Text GLabel 3600 5050 1 20 Input ~ 0 495 | PWM-2A 496 | Text GLabel 3400 6900 2 20 Input ~ 0 497 | PWM-0B 498 | Text GLabel 3400 7000 2 20 Input ~ 0 499 | PWM-0A 500 | Text GLabel 3400 6700 2 20 Input ~ 0 501 | PWM-2B 502 | Wire Wire Line 503 | 3350 7000 3400 7000 504 | Wire Wire Line 505 | 3350 6900 3400 6900 506 | Wire Wire Line 507 | 3350 6700 3400 6700 508 | Text GLabel 8600 850 1 20 Input ~ 0 509 | PWM-0B 510 | Text GLabel 8950 850 1 20 Input ~ 0 511 | PWM-2A 512 | Text GLabel 9300 850 1 20 Input ~ 0 513 | PWM-2B 514 | Wire Wire Line 515 | 8600 850 8600 900 516 | Wire Wire Line 517 | 8950 850 8950 900 518 | Wire Wire Line 519 | 9300 850 9300 900 520 | $Comp 521 | L MOSFET-NCH_SOT-23 Q1 522 | U 1 1 53733539 523 | P 3400 2450 524 | F 0 "Q1" H 3300 2400 50 0000 L BNN 525 | F 1 "MOSFET-N" V 3850 2300 50 0000 L BNN 526 | F 2 "ipc-7351-transistor-SOT95P280X135-3N" H 3400 2600 50 0001 C CNN 527 | F 3 "" H 3400 2450 60 0000 C CNN 528 | 1 3400 2450 529 | 0 1 1 0 530 | $EndComp 531 | $Comp 532 | L +3.3V #PWR012 533 | U 1 1 5373358E 534 | P 3300 2100 535 | F 0 "#PWR012" H 3300 2060 30 0001 C CNN 536 | F 1 "+3.3V" H 3300 2210 30 0000 C CNN 537 | F 2 "" H 3300 2100 60 0000 C CNN 538 | F 3 "" H 3300 2100 60 0000 C CNN 539 | 1 3300 2100 540 | 1 0 0 -1 541 | $EndComp 542 | $Comp 543 | L R R2 544 | U 1 1 537335E4 545 | P 3050 2350 546 | F 0 "R2" V 3130 2350 40 0000 C CNN 547 | F 1 "3.3kR" V 3057 2351 40 0000 C CNN 548 | F 2 "~" V 2980 2350 30 0000 C CNN 549 | F 3 "~" H 3050 2350 30 0000 C CNN 550 | 1 3050 2350 551 | 1 0 0 -1 552 | $EndComp 553 | Wire Wire Line 554 | 3050 2100 3300 2100 555 | Wire Wire Line 556 | 3300 2100 3300 2350 557 | Text GLabel 3000 2650 0 20 Input ~ 0 558 | SDA-3.3V 559 | Wire Wire Line 560 | 3000 2650 3100 2650 561 | Wire Wire Line 562 | 3050 2650 3050 2600 563 | Connection ~ 3050 2650 564 | Text GLabel 3750 2650 2 20 Input ~ 0 565 | SDA-5V 566 | Wire Wire Line 567 | 3700 2650 3750 2650 568 | $Comp 569 | L MOSFET-NCH_SOT-23 Q2 570 | U 1 1 537337CC 571 | P 3400 3400 572 | F 0 "Q2" H 3300 3350 50 0000 L BNN 573 | F 1 "MOSFET-N" V 3850 3250 50 0000 L BNN 574 | F 2 "ipc-7351-transistor-SOT95P280X135-3N" H 3400 3550 50 0001 C CNN 575 | F 3 "" H 3400 3400 60 0000 C CNN 576 | 1 3400 3400 577 | 0 1 1 0 578 | $EndComp 579 | $Comp 580 | L +3.3V #PWR013 581 | U 1 1 537337D2 582 | P 3300 3050 583 | F 0 "#PWR013" H 3300 3010 30 0001 C CNN 584 | F 1 "+3.3V" H 3300 3160 30 0000 C CNN 585 | F 2 "" H 3300 3050 60 0000 C CNN 586 | F 3 "" H 3300 3050 60 0000 C CNN 587 | 1 3300 3050 588 | 1 0 0 -1 589 | $EndComp 590 | $Comp 591 | L R R3 592 | U 1 1 537337D8 593 | P 3050 3300 594 | F 0 "R3" V 3130 3300 40 0000 C CNN 595 | F 1 "3.3kR" V 3057 3301 40 0000 C CNN 596 | F 2 "~" V 2980 3300 30 0000 C CNN 597 | F 3 "~" H 3050 3300 30 0000 C CNN 598 | 1 3050 3300 599 | 1 0 0 -1 600 | $EndComp 601 | Wire Wire Line 602 | 3050 3050 3300 3050 603 | Wire Wire Line 604 | 3300 3050 3300 3300 605 | Text GLabel 3000 3600 0 20 Input ~ 0 606 | SCL-3.3V 607 | Wire Wire Line 608 | 3000 3600 3100 3600 609 | Wire Wire Line 610 | 3050 3600 3050 3550 611 | Connection ~ 3050 3600 612 | Text GLabel 3750 3600 2 20 Input ~ 0 613 | SCL-5V 614 | Wire Wire Line 615 | 3700 3600 3750 3600 616 | $Comp 617 | L CON_HEADER_2X05-PTH J3 618 | U 1 1 537338EF 619 | P 10100 2700 620 | F 0 "J3" H 10050 3025 50 0000 L BNN 621 | F 1 "ICSP" H 10150 2300 50 0000 L BNN 622 | F 2 "dp_devices-M2X5" H 10100 2850 50 0001 C CNN 623 | F 3 "" H 10100 2700 60 0000 C CNN 624 | 1 10100 2700 625 | 1 0 0 -1 626 | $EndComp 627 | Text GLabel 3700 5050 1 20 Input ~ 0 628 | MOSI 629 | Wire Wire Line 630 | 3350 5100 3700 5100 631 | Wire Wire Line 632 | 3600 5100 3600 5050 633 | Wire Wire Line 634 | 3700 5100 3700 5050 635 | Connection ~ 3600 5100 636 | Text GLabel 3400 5200 2 20 Input ~ 0 637 | MISO 638 | Text GLabel 3400 5300 2 20 Input ~ 0 639 | SCK 640 | Wire Wire Line 641 | 3400 5200 3350 5200 642 | Wire Wire Line 643 | 3350 5300 3400 5300 644 | $Comp 645 | L GND #PWR014 646 | U 1 1 53733B4C 647 | P 9950 2500 648 | F 0 "#PWR014" H 9950 2500 30 0001 C CNN 649 | F 1 "GND" H 9950 2430 30 0001 C CNN 650 | F 2 "" H 9950 2500 60 0000 C CNN 651 | F 3 "" H 9950 2500 60 0000 C CNN 652 | 1 9950 2500 653 | 0 1 1 0 654 | $EndComp 655 | Wire Wire Line 656 | 9950 2500 10100 2500 657 | Wire Wire Line 658 | 10100 2500 10100 2800 659 | Connection ~ 10100 2600 660 | Connection ~ 10100 2700 661 | Wire Wire Line 662 | 10100 2800 10400 2800 663 | $Comp 664 | L +3.3V #PWR015 665 | U 1 1 53733CF5 666 | P 9950 2900 667 | F 0 "#PWR015" H 9950 2860 30 0001 C CNN 668 | F 1 "+3.3V" H 9950 3010 30 0000 C CNN 669 | F 2 "" H 9950 2900 60 0000 C CNN 670 | F 3 "" H 9950 2900 60 0000 C CNN 671 | 1 9950 2900 672 | 0 -1 -1 0 673 | $EndComp 674 | Wire Wire Line 675 | 9950 2900 10100 2900 676 | Text GLabel 10500 2500 2 20 Input ~ 0 677 | MISO 678 | Text GLabel 10500 2900 2 20 Input ~ 0 679 | MOSI 680 | Text GLabel 10500 2700 2 20 Input ~ 0 681 | AVR-RST 682 | Text GLabel 10500 2600 2 20 Input ~ 0 683 | SCK 684 | Wire Wire Line 685 | 10500 2900 10400 2900 686 | Wire Wire Line 687 | 10400 2700 10500 2700 688 | Wire Wire Line 689 | 10400 2600 10500 2600 690 | Wire Wire Line 691 | 10500 2500 10400 2500 692 | $Comp 693 | L CON_HEADER_1X03-PTH J2 694 | U 1 1 5373400C 695 | P 9350 2650 696 | F 0 "J2" H 9300 2900 50 0000 L BNN 697 | F 1 "UART" H 9300 2350 50 0000 L BNN 698 | F 2 "dp_devices-M1X3" H 9350 2800 50 0001 C CNN 699 | F 3 "" H 9350 2650 60 0000 C CNN 700 | 1 9350 2650 701 | 1 0 0 -1 702 | $EndComp 703 | Text GLabel 3400 6400 2 20 Input ~ 0 704 | RX 705 | Text GLabel 3400 6500 2 20 Input ~ 0 706 | TX 707 | Wire Wire Line 708 | 3350 6400 3400 6400 709 | Wire Wire Line 710 | 3350 6500 3400 6500 711 | Text GLabel 9250 2650 0 20 Input ~ 0 712 | TX 713 | Text GLabel 9250 2750 0 20 Input ~ 0 714 | RX 715 | $Comp 716 | L GND #PWR016 717 | U 1 1 537340EF 718 | P 9200 2550 719 | F 0 "#PWR016" H 9200 2550 30 0001 C CNN 720 | F 1 "GND" H 9200 2480 30 0001 C CNN 721 | F 2 "" H 9200 2550 60 0000 C CNN 722 | F 3 "" H 9200 2550 60 0000 C CNN 723 | 1 9200 2550 724 | 0 1 1 0 725 | $EndComp 726 | Wire Wire Line 727 | 9200 2550 9350 2550 728 | Wire Wire Line 729 | 9250 2650 9350 2650 730 | Wire Wire Line 731 | 9250 2750 9350 2750 732 | $Comp 733 | L CON_HEADER_2X06-PTH+SHROUDED J4 734 | U 1 1 537343A7 735 | P 10100 3550 736 | F 0 "J4" H 10050 3900 50 0000 L BNN 737 | F 1 "I2C-3.3V" H 10100 3050 50 0000 L BNN 738 | F 2 "dp_devices-PINSHRD_PTH_2X06" H 10100 3700 50 0001 C CNN 739 | F 3 "" H 10100 3550 60 0000 C CNN 740 | 1 10100 3550 741 | 1 0 0 -1 742 | $EndComp 743 | $Comp 744 | L GND #PWR017 745 | U 1 1 537343C5 746 | P 10500 3350 747 | F 0 "#PWR017" H 10500 3350 30 0001 C CNN 748 | F 1 "GND" H 10500 3280 30 0001 C CNN 749 | F 2 "" H 10500 3350 60 0000 C CNN 750 | F 3 "" H 10500 3350 60 0000 C CNN 751 | 1 10500 3350 752 | 0 -1 -1 0 753 | $EndComp 754 | $Comp 755 | L +3.3V #PWR018 756 | U 1 1 537343D4 757 | P 10000 3350 758 | F 0 "#PWR018" H 10000 3310 30 0001 C CNN 759 | F 1 "+3.3V" H 10000 3460 30 0000 C CNN 760 | F 2 "" H 10000 3350 60 0000 C CNN 761 | F 3 "" H 10000 3350 60 0000 C CNN 762 | 1 10000 3350 763 | 1 0 0 -1 764 | $EndComp 765 | Wire Wire Line 766 | 10100 3350 10100 3550 767 | Connection ~ 10100 3450 768 | Wire Wire Line 769 | 10500 3350 10400 3350 770 | Wire Wire Line 771 | 10400 3350 10400 3550 772 | Connection ~ 10400 3450 773 | Text GLabel 10500 3650 2 20 Input ~ 0 774 | SDA-3.3V 775 | Wire Wire Line 776 | 10500 3650 10400 3650 777 | Wire Wire Line 778 | 10400 3650 10400 3850 779 | Connection ~ 10400 3750 780 | Text GLabel 10000 3650 0 20 Input ~ 0 781 | SCL-3.3V 782 | Wire Wire Line 783 | 10000 3650 10100 3650 784 | Wire Wire Line 785 | 10100 3650 10100 3850 786 | Connection ~ 10100 3750 787 | Wire Wire Line 788 | 10100 3350 10000 3350 789 | Text GLabel 3400 5000 2 20 Input ~ 0 790 | GPIO0 791 | Text GLabel 3400 4900 2 20 Input ~ 0 792 | GPIO1 793 | Text GLabel 3400 4800 2 20 Input ~ 0 794 | GPIO2 795 | Text GLabel 3400 7100 2 20 Input ~ 0 796 | GPIO3 797 | Text GLabel 3400 5750 2 20 Input ~ 0 798 | GPIO4 799 | Text GLabel 3400 5950 2 20 Input ~ 0 800 | GPIO5 801 | Text GLabel 3400 5850 2 20 Input ~ 0 802 | GPIO6 803 | Text GLabel 3400 6600 2 20 Input ~ 0 804 | GPIO7 805 | Text GLabel 3400 6800 2 20 Input ~ 0 806 | GPIO8 807 | Text GLabel 3400 5650 2 20 Input ~ 0 808 | GPIO9 809 | $Comp 810 | L CON_HEADER_2X05-PTH J6 811 | U 1 1 53734F25 812 | P 10100 5250 813 | F 0 "J6" H 10050 5575 50 0000 L BNN 814 | F 1 "GPIO" H 10150 4850 50 0000 L BNN 815 | F 2 "dp_devices-M2X5" H 10100 5400 50 0001 C CNN 816 | F 3 "" H 10100 5250 60 0000 C CNN 817 | 1 10100 5250 818 | 1 0 0 -1 819 | $EndComp 820 | Text GLabel 10000 5050 0 20 Input ~ 0 821 | GPIO0 822 | Text GLabel 10000 5150 0 20 Input ~ 0 823 | GPIO1 824 | Text GLabel 10000 5250 0 20 Input ~ 0 825 | GPIO2 826 | Text GLabel 10000 5450 0 20 Input ~ 0 827 | GPIO4 828 | Text GLabel 10500 5050 2 20 Input ~ 0 829 | GPIO5 830 | Text GLabel 10500 5150 2 20 Input ~ 0 831 | GPIO6 832 | Text GLabel 10500 5250 2 20 Input ~ 0 833 | GPIO7 834 | Text GLabel 10500 5350 2 20 Input ~ 0 835 | GPIO8 836 | Text GLabel 10500 5450 2 20 Input ~ 0 837 | GPIO9 838 | Wire Wire Line 839 | 10000 5050 10100 5050 840 | Wire Wire Line 841 | 10000 5150 10100 5150 842 | Wire Wire Line 843 | 10000 5250 10100 5250 844 | Wire Wire Line 845 | 10000 5350 10100 5350 846 | Wire Wire Line 847 | 10000 5450 10100 5450 848 | Wire Wire Line 849 | 10400 5050 10500 5050 850 | Wire Wire Line 851 | 10500 5150 10400 5150 852 | Wire Wire Line 853 | 10400 5250 10500 5250 854 | Wire Wire Line 855 | 10500 5350 10400 5350 856 | Wire Wire Line 857 | 10400 5450 10500 5450 858 | Wire Wire Line 859 | 3350 4800 3400 4800 860 | Wire Wire Line 861 | 3350 4900 3400 4900 862 | Wire Wire Line 863 | 3350 5000 3400 5000 864 | Wire Wire Line 865 | 3350 5650 3400 5650 866 | Wire Wire Line 867 | 3350 5750 3400 5750 868 | Wire Wire Line 869 | 3350 5850 3400 5850 870 | Wire Wire Line 871 | 3350 5950 3400 5950 872 | Wire Wire Line 873 | 3400 6600 3350 6600 874 | Wire Wire Line 875 | 3350 7100 3400 7100 876 | Wire Wire Line 877 | 3400 6800 3350 6800 878 | $Comp 879 | L CON_HEADER_2X04-PTH J5 880 | U 1 1 53736118 881 | P 10100 4400 882 | F 0 "J5" H 10050 4625 50 0000 L BNN 883 | F 1 "I2C-5V" H 10100 4000 50 0000 L BNN 884 | F 2 "dp_devices-M2X4" H 10100 4550 50 0001 C CNN 885 | F 3 "" H 10100 4400 60 0000 C CNN 886 | 1 10100 4400 887 | 1 0 0 -1 888 | $EndComp 889 | $Comp 890 | L +5V #PWR019 891 | U 1 1 53736295 892 | P 10000 4300 893 | F 0 "#PWR019" H 10000 4390 20 0001 C CNN 894 | F 1 "+5V" H 10000 4390 30 0000 C CNN 895 | F 2 "" H 10000 4300 60 0000 C CNN 896 | F 3 "" H 10000 4300 60 0000 C CNN 897 | 1 10000 4300 898 | 0 -1 -1 0 899 | $EndComp 900 | $Comp 901 | L GND #PWR020 902 | U 1 1 537362A4 903 | P 10500 4300 904 | F 0 "#PWR020" H 10500 4300 30 0001 C CNN 905 | F 1 "GND" H 10500 4230 30 0001 C CNN 906 | F 2 "" H 10500 4300 60 0000 C CNN 907 | F 3 "" H 10500 4300 60 0000 C CNN 908 | 1 10500 4300 909 | 0 -1 -1 0 910 | $EndComp 911 | Wire Wire Line 912 | 10000 4300 10100 4300 913 | Wire Wire Line 914 | 10400 4300 10500 4300 915 | Wire Wire Line 916 | 10400 4300 10400 4400 917 | Wire Wire Line 918 | 10100 4300 10100 4400 919 | Text GLabel 10000 4500 0 20 Input ~ 0 920 | SCL-5V 921 | Text GLabel 10500 4500 2 20 Input ~ 0 922 | SDA-5V 923 | Wire Wire Line 924 | 10400 4500 10500 4500 925 | Wire Wire Line 926 | 10400 4500 10400 4600 927 | Wire Wire Line 928 | 10000 4500 10100 4500 929 | Wire Wire Line 930 | 10100 4500 10100 4600 931 | $Comp 932 | L LED D7 933 | U 1 1 5373695F 934 | P 10000 1650 935 | F 0 "D7" H 10000 1750 50 0000 C CNN 936 | F 1 "LED" H 10000 1550 50 0000 C CNN 937 | F 2 "~" H 10000 1650 60 0000 C CNN 938 | F 3 "~" H 10000 1650 60 0000 C CNN 939 | 1 10000 1650 940 | 0 1 1 0 941 | $EndComp 942 | $Comp 943 | L R R15 944 | U 1 1 53736965 945 | P 10000 1150 946 | F 0 "R15" V 10080 1150 40 0000 C CNN 947 | F 1 "R" V 10007 1151 40 0000 C CNN 948 | F 2 "~" V 9930 1150 30 0000 C CNN 949 | F 3 "~" H 10000 1150 30 0000 C CNN 950 | 1 10000 1150 951 | 1 0 0 -1 952 | $EndComp 953 | Wire Wire Line 954 | 10000 1400 10000 1450 955 | Connection ~ 9650 1850 956 | Text GLabel 9650 850 1 20 Input ~ 0 957 | GPIO0 958 | Text GLabel 10000 850 1 20 Input ~ 0 959 | GPIO1 960 | Wire Wire Line 961 | 9650 850 9650 900 962 | Wire Wire Line 963 | 10000 900 10000 850 964 | Wire Wire Line 965 | 8250 850 8250 900 966 | Text GLabel 8250 850 1 20 Input ~ 0 967 | PWM-0A 968 | Wire Wire Line 969 | 8250 1400 8250 1450 970 | $Comp 971 | L +5V #PWR021 972 | U 1 1 5373860B 973 | P 1300 1600 974 | F 0 "#PWR021" H 1300 1690 20 0001 C CNN 975 | F 1 "+5V" H 1300 1690 30 0000 C CNN 976 | F 2 "" H 1300 1600 60 0000 C CNN 977 | F 3 "" H 1300 1600 60 0000 C CNN 978 | 1 1300 1600 979 | -1 0 0 1 980 | $EndComp 981 | Wire Wire Line 982 | 1300 1600 1300 1550 983 | Text GLabel 10000 5350 0 20 Input ~ 0 984 | GPIO3 985 | $Comp 986 | L GND #PWR022 987 | U 1 1 53750189 988 | P 2500 1600 989 | F 0 "#PWR022" H 2500 1600 30 0001 C CNN 990 | F 1 "GND" H 2500 1530 30 0001 C CNN 991 | F 2 "" H 2500 1600 60 0000 C CNN 992 | F 3 "" H 2500 1600 60 0000 C CNN 993 | 1 2500 1600 994 | 1 0 0 -1 995 | $EndComp 996 | Wire Wire Line 997 | 2500 1550 2500 1600 998 | Wire Wire Line 999 | 2500 1550 2600 1550 1000 | $EndSCHEMATC 1001 | -------------------------------------------------------------------------------- /pcb/libs/oshec-ipc-7351-transistor.lib: -------------------------------------------------------------------------------- 1 | EESchema-LIBRARY Version 2.3 29/04/2008-12:22:25 2 | # Converted with eagle2kicad.ulp Version 0.9 3 | # Device count = 24 4 | # 5 | # Dev Name: MOSFET-NCH_SO-8 6 | # Package Name: SOIC127P600X175-8AN 7 | # Dev Tech: '' 8 | # Dev Prefix: Q 9 | # Gate count = 1 10 | # 11 | DEF MOSFET-NCH_SO-8 Q 0 40 Y Y 1 L N 12 | # Gate Name: G$1 13 | # Symbol Name: MOSFET-NCH 14 | F0 "Q" -350 100 50 H V L B 15 | F1 "MOSFET-NCH_SO-8" -350 0 50 H V L B 16 | F2 "ipc-7351-transistor-SOIC127P600X175-8AN" 0 150 50 H I C C 17 | DRAW 18 | P 6 1 1 0 300 20 280 -10 280 -10 320 -10 320 -10 300 20 F 19 | P 6 1 1 0 110 0 150 30 150 30 150 -30 150 -30 110 0 F 20 | P 2 1 0 0 0 -100 52 -100 21 | P 2 1 0 0 100 30 100 0 22 | P 2 1 0 0 100 0 100 -30 23 | P 2 1 0 0 100 145 100 100 24 | P 2 1 0 0 100 100 100 55 25 | P 2 1 0 0 100 0 200 0 26 | P 2 1 0 0 200 0 200 -100 27 | P 2 1 0 0 100 -55 100 -100 28 | P 2 1 0 0 100 -100 100 -145 29 | P 2 1 0 0 55 100 55 -100 30 | P 2 1 0 0 100 100 200 100 31 | P 2 1 0 0 200 -100 100 -100 32 | P 2 1 0 0 300 100 300 20 33 | P 2 1 0 0 300 20 300 -100 34 | P 2 1 0 0 200 -100 300 -100 35 | P 2 1 0 0 200 100 300 100 36 | P 2 1 0 0 320 20 300 20 37 | P 2 1 0 0 300 20 280 20 38 | C 200 -100 14 1 1 0 N 39 | C 200 100 14 1 1 0 N 40 | X D 5 200 300 200 D 40 40 1 1 P 41 | X G 4 -100 -100 100 R 40 40 1 1 P 42 | X S 1 200 -300 200 U 40 40 1 1 P 43 | ENDDRAW 44 | ENDDEF 45 | 46 | # 47 | # Dev Name: MOSFET-NCH_SOT-23 48 | # Package Name: SOT95P280X135-3N 49 | # Dev Tech: '' 50 | # Dev Prefix: Q 51 | # Gate count = 1 52 | # 53 | DEF MOSFET-NCH_SOT-23 Q 0 40 Y Y 1 L N 54 | # Gate Name: G$1 55 | # Symbol Name: MOSFET-NCH 56 | F0 "Q" -350 100 50 H V L B 57 | F1 "MOSFET-NCH_SOT-23" -350 0 50 H V L B 58 | F2 "ipc-7351-transistor-SOT95P280X135-3N" 0 150 50 H I C C 59 | DRAW 60 | P 6 1 1 0 300 20 280 -10 280 -10 320 -10 320 -10 300 20 F 61 | P 6 1 1 0 110 0 150 30 150 30 150 -30 150 -30 110 0 F 62 | P 2 1 0 0 0 -100 52 -100 63 | P 2 1 0 0 100 30 100 0 64 | P 2 1 0 0 100 0 100 -30 65 | P 2 1 0 0 100 145 100 100 66 | P 2 1 0 0 100 100 100 55 67 | P 2 1 0 0 100 0 200 0 68 | P 2 1 0 0 200 0 200 -100 69 | P 2 1 0 0 100 -55 100 -100 70 | P 2 1 0 0 100 -100 100 -145 71 | P 2 1 0 0 55 100 55 -100 72 | P 2 1 0 0 100 100 200 100 73 | P 2 1 0 0 200 -100 100 -100 74 | P 2 1 0 0 300 100 300 20 75 | P 2 1 0 0 300 20 300 -100 76 | P 2 1 0 0 200 -100 300 -100 77 | P 2 1 0 0 200 100 300 100 78 | P 2 1 0 0 320 20 300 20 79 | P 2 1 0 0 300 20 280 20 80 | C 200 -100 14 1 1 0 N 81 | C 200 100 14 1 1 0 N 82 | X D 3 200 300 200 D 40 40 1 1 P 83 | X G 1 -100 -100 100 R 40 40 1 1 P 84 | X S 2 200 -300 200 U 40 40 1 1 P 85 | ENDDRAW 86 | ENDDEF 87 | 88 | # 89 | # Dev Name: MOSFET-NCH_SOT-223 90 | # Package Name: SOT230P700X160-4N 91 | # Dev Tech: '' 92 | # Dev Prefix: Q 93 | # Gate count = 1 94 | # 95 | DEF MOSFET-NCH_SOT-223 Q 0 40 Y Y 1 L N 96 | # Gate Name: G$1 97 | # Symbol Name: MOSFET-NCH 98 | F0 "Q" -350 100 50 H V L B 99 | F1 "MOSFET-NCH_SOT-223" -350 0 50 H V L B 100 | F2 "ipc-7351-transistor-SOT230P700X160-4N" 0 150 50 H I C C 101 | DRAW 102 | P 6 1 1 0 300 20 280 -10 280 -10 320 -10 320 -10 300 20 F 103 | P 6 1 1 0 110 0 150 30 150 30 150 -30 150 -30 110 0 F 104 | P 2 1 0 0 0 -100 52 -100 105 | P 2 1 0 0 100 30 100 0 106 | P 2 1 0 0 100 0 100 -30 107 | P 2 1 0 0 100 145 100 100 108 | P 2 1 0 0 100 100 100 55 109 | P 2 1 0 0 100 0 200 0 110 | P 2 1 0 0 200 0 200 -100 111 | P 2 1 0 0 100 -55 100 -100 112 | P 2 1 0 0 100 -100 100 -145 113 | P 2 1 0 0 55 100 55 -100 114 | P 2 1 0 0 100 100 200 100 115 | P 2 1 0 0 200 -100 100 -100 116 | P 2 1 0 0 300 100 300 20 117 | P 2 1 0 0 300 20 300 -100 118 | P 2 1 0 0 200 -100 300 -100 119 | P 2 1 0 0 200 100 300 100 120 | P 2 1 0 0 320 20 300 20 121 | P 2 1 0 0 300 20 280 20 122 | C 200 -100 14 1 1 0 N 123 | C 200 100 14 1 1 0 N 124 | X D 4 200 300 200 D 40 40 1 1 P 125 | X G 1 -100 -100 100 R 40 40 1 1 P 126 | X S 3 200 -300 200 U 40 40 1 1 P 127 | ENDDRAW 128 | ENDDEF 129 | 130 | # 131 | # Dev Name: MOSFET-PCH_SO-8 132 | # Package Name: SOIC127P600X175-8AN 133 | # Dev Tech: '' 134 | # Dev Prefix: Q 135 | # Gate count = 1 136 | # 137 | DEF MOSFET-PCH_SO-8 Q 0 40 Y Y 1 L N 138 | # Gate Name: G$1 139 | # Symbol Name: MOSFET-PCH 140 | F0 "Q" -350 100 50 H V L B 141 | F1 "MOSFET-PCH_SO-8" -350 0 50 H V L B 142 | F2 "ipc-7351-transistor-SOIC127P600X175-8AN" 0 150 50 H I C C 143 | DRAW 144 | P 6 1 1 0 300 -20 320 10 320 10 280 10 280 10 300 -20 F 145 | P 6 1 1 0 190 0 150 30 150 30 150 -30 150 -30 190 0 F 146 | P 2 1 0 0 0 -100 52 -100 147 | P 2 1 0 0 100 30 100 0 148 | P 2 1 0 0 100 0 100 -30 149 | P 2 1 0 0 100 145 100 100 150 | P 2 1 0 0 100 100 100 55 151 | P 2 1 0 0 100 0 200 0 152 | P 2 1 0 0 200 0 200 -100 153 | P 2 1 0 0 100 -55 100 -100 154 | P 2 1 0 0 100 -100 100 -145 155 | P 2 1 0 0 55 100 55 -100 156 | P 2 1 0 0 100 100 200 100 157 | P 2 1 0 0 200 -100 100 -100 158 | P 2 1 0 0 300 100 300 -20 159 | P 2 1 0 0 300 -20 300 -100 160 | P 2 1 0 0 200 -100 300 -100 161 | P 2 1 0 0 200 100 300 100 162 | P 2 1 0 0 280 -20 300 -20 163 | P 2 1 0 0 300 -20 320 -20 164 | C 200 -100 14 1 1 0 N 165 | C 200 100 14 1 1 0 N 166 | X D 5 200 300 200 D 40 40 1 1 P 167 | X G 4 -100 -100 100 R 40 40 1 1 P 168 | X S 1 200 -300 200 U 40 40 1 1 P 169 | ENDDRAW 170 | ENDDEF 171 | 172 | # 173 | # Dev Name: MOSFET-PCH_SOT-23 174 | # Package Name: SOT95P280X135-3N 175 | # Dev Tech: '' 176 | # Dev Prefix: Q 177 | # Gate count = 1 178 | # 179 | DEF MOSFET-PCH_SOT-23 Q 0 40 Y Y 1 L N 180 | # Gate Name: G$1 181 | # Symbol Name: MOSFET-PCH 182 | F0 "Q" -350 100 50 H V L B 183 | F1 "MOSFET-PCH_SOT-23" -350 0 50 H V L B 184 | F2 "ipc-7351-transistor-SOT95P280X135-3N" 0 150 50 H I C C 185 | DRAW 186 | P 6 1 1 0 300 -20 320 10 320 10 280 10 280 10 300 -20 F 187 | P 6 1 1 0 190 0 150 30 150 30 150 -30 150 -30 190 0 F 188 | P 2 1 0 0 0 -100 52 -100 189 | P 2 1 0 0 100 30 100 0 190 | P 2 1 0 0 100 0 100 -30 191 | P 2 1 0 0 100 145 100 100 192 | P 2 1 0 0 100 100 100 55 193 | P 2 1 0 0 100 0 200 0 194 | P 2 1 0 0 200 0 200 -100 195 | P 2 1 0 0 100 -55 100 -100 196 | P 2 1 0 0 100 -100 100 -145 197 | P 2 1 0 0 55 100 55 -100 198 | P 2 1 0 0 100 100 200 100 199 | P 2 1 0 0 200 -100 100 -100 200 | P 2 1 0 0 300 100 300 -20 201 | P 2 1 0 0 300 -20 300 -100 202 | P 2 1 0 0 200 -100 300 -100 203 | P 2 1 0 0 200 100 300 100 204 | P 2 1 0 0 280 -20 300 -20 205 | P 2 1 0 0 300 -20 320 -20 206 | C 200 -100 14 1 1 0 N 207 | C 200 100 14 1 1 0 N 208 | X D 3 200 300 200 D 40 40 1 1 P 209 | X G 1 -100 -100 100 R 40 40 1 1 P 210 | X S 2 200 -300 200 U 40 40 1 1 P 211 | ENDDRAW 212 | ENDDEF 213 | 214 | # 215 | # Dev Name: MOSFET-PCH_SOT-223 216 | # Package Name: SOT230P700X160-4N 217 | # Dev Tech: '' 218 | # Dev Prefix: Q 219 | # Gate count = 1 220 | # 221 | DEF MOSFET-PCH_SOT-223 Q 0 40 Y Y 1 L N 222 | # Gate Name: G$1 223 | # Symbol Name: MOSFET-PCH 224 | F0 "Q" -350 100 50 H V L B 225 | F1 "MOSFET-PCH_SOT-223" -350 0 50 H V L B 226 | F2 "ipc-7351-transistor-SOT230P700X160-4N" 0 150 50 H I C C 227 | DRAW 228 | P 6 1 1 0 300 -20 320 10 320 10 280 10 280 10 300 -20 F 229 | P 6 1 1 0 190 0 150 30 150 30 150 -30 150 -30 190 0 F 230 | P 2 1 0 0 0 -100 52 -100 231 | P 2 1 0 0 100 30 100 0 232 | P 2 1 0 0 100 0 100 -30 233 | P 2 1 0 0 100 145 100 100 234 | P 2 1 0 0 100 100 100 55 235 | P 2 1 0 0 100 0 200 0 236 | P 2 1 0 0 200 0 200 -100 237 | P 2 1 0 0 100 -55 100 -100 238 | P 2 1 0 0 100 -100 100 -145 239 | P 2 1 0 0 55 100 55 -100 240 | P 2 1 0 0 100 100 200 100 241 | P 2 1 0 0 200 -100 100 -100 242 | P 2 1 0 0 300 100 300 -20 243 | P 2 1 0 0 300 -20 300 -100 244 | P 2 1 0 0 200 -100 300 -100 245 | P 2 1 0 0 200 100 300 100 246 | P 2 1 0 0 280 -20 300 -20 247 | P 2 1 0 0 300 -20 320 -20 248 | C 200 -100 14 1 1 0 N 249 | C 200 100 14 1 1 0 N 250 | X D 4 200 300 200 D 40 40 1 1 P 251 | X G 1 -100 -100 100 R 40 40 1 1 P 252 | X S 3 200 -300 200 U 40 40 1 1 P 253 | ENDDRAW 254 | ENDDEF 255 | 256 | # 257 | # Dev Name: NPN-C_ 258 | # Dev Tech: '' 259 | # Dev Prefix: 260 | # Gate count = 1 261 | # 262 | DEF NPN-C_ ?? 0 40 Y Y 1 L N 263 | # Gate Name: G$1 264 | # Symbol Name: NPN-C 265 | DRAW 266 | P 2 1 0 0 100 100 20 60 267 | P 2 1 0 0 60 -80 12 -56 268 | P 2 1 0 0 100 -120 100 -100 269 | P 2 1 0 0 70 -60 100 -100 270 | P 2 1 0 0 100 -100 50 -100 271 | P 2 1 0 0 50 -100 70 -60 272 | P 2 1 0 0 60 -95 90 -95 273 | P 2 1 0 0 90 -95 70 -70 274 | P 2 1 0 0 70 -70 60 -90 275 | P 2 1 0 0 60 -90 75 -90 276 | P 2 1 0 0 75 -90 70 -80 277 | S -10 -100 20 100 1 1 0 F 278 | X B ~ -100 0 100 R 40 40 1 1 P 279 | X C ~ 100 200 100 D 40 40 1 1 P 280 | ENDDRAW 281 | ENDDEF 282 | 283 | # 284 | # Dev Name: NPN-DARLINGTON_SOT-23 285 | # Package Name: SOT95P280X135-3N 286 | # Dev Tech: '' 287 | # Dev Prefix: Q 288 | # Gate count = 1 289 | # 290 | DEF NPN-DARLINGTON_SOT-23 Q 0 40 Y Y 1 L N 291 | # Gate Name: G$1 292 | # Symbol Name: NPN-DARLINGTON 293 | F0 "Q" -300 -300 50 H V L B 294 | F1 "NPN-DARLINGTON_SOT-23" -300 -400 50 H V L B 295 | F2 "ipc-7351-transistor-SOT95P280X135-3N" 0 150 50 H I C C 296 | DRAW 297 | P 2 1 0 0 200 100 80 100 298 | P 2 1 0 0 56 -56 90 -100 299 | P 2 1 0 0 115 -100 90 -100 300 | P 2 1 0 0 36 -86 56 -56 301 | P 2 1 0 0 90 -100 36 -86 302 | P 2 1 0 0 80 100 20 50 303 | P 2 1 0 0 200 0 145 -50 304 | P 2 1 0 0 200 -200 156 -185 305 | P 2 1 0 0 180 -160 200 -200 306 | P 2 1 0 0 156 -185 180 -160 307 | P 2 1 0 0 46 -72 8 -47 308 | P 2 1 0 0 168 -172 137 -142 309 | P 2 1 0 0 85 -95 55 -60 310 | P 2 1 0 0 55 -60 40 -85 311 | P 2 1 0 0 40 -85 80 -95 312 | P 2 1 0 0 80 -95 55 -65 313 | P 2 1 0 0 55 -65 45 -80 314 | P 2 1 0 0 45 -80 75 -90 315 | P 2 1 0 0 75 -90 55 -70 316 | P 2 1 0 0 55 -70 55 -75 317 | P 2 1 0 0 195 -195 180 -165 318 | P 2 1 0 0 180 -165 160 -185 319 | P 2 1 0 0 160 -185 190 -195 320 | P 2 1 0 0 190 -195 180 -170 321 | P 2 1 0 0 180 -170 165 -185 322 | P 2 1 0 0 165 -185 185 -190 323 | P 2 1 0 0 185 -190 180 -180 324 | P 2 1 0 0 180 -180 175 -180 325 | P 2 1 0 0 200 0 200 100 326 | S -10 -100 20 100 1 1 0 F 327 | S 115 -200 145 0 1 1 0 F 328 | C 200 100 15 1 1 0 N 329 | X B 1 -100 0 100 R 40 40 1 1 P 330 | X C 3 200 200 100 D 40 40 1 1 P 331 | X E 2 200 -300 100 U 40 40 1 1 P 332 | ENDDRAW 333 | ENDDEF 334 | 335 | # 336 | # Dev Name: NPN-DARLINGTON_SOT-223 337 | # Package Name: SOT230P700X160-4N 338 | # Dev Tech: '' 339 | # Dev Prefix: Q 340 | # Gate count = 1 341 | # 342 | DEF NPN-DARLINGTON_SOT-223 Q 0 40 Y Y 1 L N 343 | # Gate Name: G$1 344 | # Symbol Name: NPN-DARLINGTON 345 | F0 "Q" -300 -300 50 H V L B 346 | F1 "NPN-DARLINGTON_SOT-223" -300 -400 50 H V L B 347 | F2 "ipc-7351-transistor-SOT230P700X160-4N" 0 150 50 H I C C 348 | DRAW 349 | P 2 1 0 0 200 100 80 100 350 | P 2 1 0 0 56 -56 90 -100 351 | P 2 1 0 0 115 -100 90 -100 352 | P 2 1 0 0 36 -86 56 -56 353 | P 2 1 0 0 90 -100 36 -86 354 | P 2 1 0 0 80 100 20 50 355 | P 2 1 0 0 200 0 145 -50 356 | P 2 1 0 0 200 -200 156 -185 357 | P 2 1 0 0 180 -160 200 -200 358 | P 2 1 0 0 156 -185 180 -160 359 | P 2 1 0 0 46 -72 8 -47 360 | P 2 1 0 0 168 -172 137 -142 361 | P 2 1 0 0 85 -95 55 -60 362 | P 2 1 0 0 55 -60 40 -85 363 | P 2 1 0 0 40 -85 80 -95 364 | P 2 1 0 0 80 -95 55 -65 365 | P 2 1 0 0 55 -65 45 -80 366 | P 2 1 0 0 45 -80 75 -90 367 | P 2 1 0 0 75 -90 55 -70 368 | P 2 1 0 0 55 -70 55 -75 369 | P 2 1 0 0 195 -195 180 -165 370 | P 2 1 0 0 180 -165 160 -185 371 | P 2 1 0 0 160 -185 190 -195 372 | P 2 1 0 0 190 -195 180 -170 373 | P 2 1 0 0 180 -170 165 -185 374 | P 2 1 0 0 165 -185 185 -190 375 | P 2 1 0 0 185 -190 180 -180 376 | P 2 1 0 0 180 -180 175 -180 377 | P 2 1 0 0 200 0 200 100 378 | S -10 -100 20 100 1 1 0 F 379 | S 115 -200 145 0 1 1 0 F 380 | C 200 100 15 1 1 0 N 381 | X B 1 -100 0 100 R 40 40 1 1 P 382 | X C 2 200 200 100 D 40 40 1 1 P 383 | X E 3 200 -300 100 U 40 40 1 1 P 384 | ENDDRAW 385 | ENDDEF 386 | 387 | # 388 | # Dev Name: NPN-DARLINGTON_SOT-323 389 | # Package Name: SOT65P210X110-3N 390 | # Dev Tech: '' 391 | # Dev Prefix: Q 392 | # Gate count = 1 393 | # 394 | DEF NPN-DARLINGTON_SOT-323 Q 0 40 Y Y 1 L N 395 | # Gate Name: G$1 396 | # Symbol Name: NPN-DARLINGTON 397 | F0 "Q" -300 -300 50 H V L B 398 | F1 "NPN-DARLINGTON_SOT-323" -300 -400 50 H V L B 399 | F2 "ipc-7351-transistor-SOT65P210X110-3N" 0 150 50 H I C C 400 | DRAW 401 | P 2 1 0 0 200 100 80 100 402 | P 2 1 0 0 56 -56 90 -100 403 | P 2 1 0 0 115 -100 90 -100 404 | P 2 1 0 0 36 -86 56 -56 405 | P 2 1 0 0 90 -100 36 -86 406 | P 2 1 0 0 80 100 20 50 407 | P 2 1 0 0 200 0 145 -50 408 | P 2 1 0 0 200 -200 156 -185 409 | P 2 1 0 0 180 -160 200 -200 410 | P 2 1 0 0 156 -185 180 -160 411 | P 2 1 0 0 46 -72 8 -47 412 | P 2 1 0 0 168 -172 137 -142 413 | P 2 1 0 0 85 -95 55 -60 414 | P 2 1 0 0 55 -60 40 -85 415 | P 2 1 0 0 40 -85 80 -95 416 | P 2 1 0 0 80 -95 55 -65 417 | P 2 1 0 0 55 -65 45 -80 418 | P 2 1 0 0 45 -80 75 -90 419 | P 2 1 0 0 75 -90 55 -70 420 | P 2 1 0 0 55 -70 55 -75 421 | P 2 1 0 0 195 -195 180 -165 422 | P 2 1 0 0 180 -165 160 -185 423 | P 2 1 0 0 160 -185 190 -195 424 | P 2 1 0 0 190 -195 180 -170 425 | P 2 1 0 0 180 -170 165 -185 426 | P 2 1 0 0 165 -185 185 -190 427 | P 2 1 0 0 185 -190 180 -180 428 | P 2 1 0 0 180 -180 175 -180 429 | P 2 1 0 0 200 0 200 100 430 | S -10 -100 20 100 1 1 0 F 431 | S 115 -200 145 0 1 1 0 F 432 | C 200 100 15 1 1 0 N 433 | X B 1 -100 0 100 R 40 40 1 1 P 434 | X C 3 200 200 100 D 40 40 1 1 P 435 | X E 2 200 -300 100 U 40 40 1 1 P 436 | ENDDRAW 437 | ENDDEF 438 | 439 | # 440 | # Dev Name: NPN-DIGITAL_SOT-23 441 | # Package Name: SOT95P280X135-3N 442 | # Dev Tech: '' 443 | # Dev Prefix: Q 444 | # Gate count = 1 445 | # 446 | DEF NPN-DIGITAL_SOT-23 Q 0 40 Y Y 1 L N 447 | # Gate Name: G$1 448 | # Symbol Name: NPN-DIGITAL 449 | F0 "Q" -300 300 50 H V L B 450 | F1 "NPN-DIGITAL_SOT-23" -300 200 50 H V L B 451 | F2 "ipc-7351-transistor-SOT95P280X135-3N" 0 150 50 H I C C 452 | DRAW 453 | P 2 1 0 0 200 100 120 60 454 | P 2 1 0 0 170 -60 200 -100 455 | P 2 1 0 0 200 -100 150 -100 456 | P 2 1 0 0 150 -100 170 -60 457 | P 2 1 0 0 160 -80 112 -56 458 | P 2 1 0 0 160 -95 190 -95 459 | P 2 1 0 0 190 -95 170 -70 460 | P 2 1 0 0 170 -70 160 -90 461 | P 2 1 0 0 160 -90 175 -90 462 | P 2 1 0 0 175 -90 170 -80 463 | P 2 1 0 0 -100 0 -90 30 464 | P 2 1 0 0 -90 30 -80 -20 465 | P 2 1 0 0 -80 -20 -70 30 466 | P 2 1 0 0 -70 30 -60 -20 467 | P 2 1 0 0 -60 -20 -50 30 468 | P 2 1 0 0 -50 30 -40 -20 469 | P 2 1 0 0 -40 -20 -30 0 470 | P 2 1 0 0 -30 0 10 0 471 | P 2 1 0 0 10 0 90 0 472 | P 2 1 0 0 10 0 10 -30 473 | P 2 1 0 0 10 -30 30 -40 474 | P 2 1 0 0 30 -40 -10 -50 475 | P 2 1 0 0 -10 -50 30 -60 476 | P 2 1 0 0 30 -60 -10 -70 477 | P 2 1 0 0 -10 -70 30 -80 478 | P 2 1 0 0 30 -80 -10 -90 479 | P 2 1 0 0 -10 -90 10 -100 480 | P 2 1 0 0 10 -100 10 -140 481 | P 2 1 0 0 10 -140 200 -140 482 | S 90 -100 120 100 1 1 0 F 483 | C 10 0 10 1 1 0 N 484 | C 200 -140 10 1 1 0 N 485 | X B 1 -200 0 100 R 40 40 1 1 P 486 | X C 3 200 200 100 D 40 40 1 1 P 487 | X E 2 200 -200 100 U 40 40 1 1 P 488 | ENDDRAW 489 | ENDDEF 490 | 491 | # 492 | # Dev Name: NPN-DIGITAL_SOT-323 493 | # Package Name: SOT65P210X110-3N 494 | # Dev Tech: '' 495 | # Dev Prefix: Q 496 | # Gate count = 1 497 | # 498 | DEF NPN-DIGITAL_SOT-323 Q 0 40 Y Y 1 L N 499 | # Gate Name: G$1 500 | # Symbol Name: NPN-DIGITAL 501 | F0 "Q" -300 300 50 H V L B 502 | F1 "NPN-DIGITAL_SOT-323" -300 200 50 H V L B 503 | F2 "ipc-7351-transistor-SOT65P210X110-3N" 0 150 50 H I C C 504 | DRAW 505 | P 2 1 0 0 200 100 120 60 506 | P 2 1 0 0 170 -60 200 -100 507 | P 2 1 0 0 200 -100 150 -100 508 | P 2 1 0 0 150 -100 170 -60 509 | P 2 1 0 0 160 -80 112 -56 510 | P 2 1 0 0 160 -95 190 -95 511 | P 2 1 0 0 190 -95 170 -70 512 | P 2 1 0 0 170 -70 160 -90 513 | P 2 1 0 0 160 -90 175 -90 514 | P 2 1 0 0 175 -90 170 -80 515 | P 2 1 0 0 -100 0 -90 30 516 | P 2 1 0 0 -90 30 -80 -20 517 | P 2 1 0 0 -80 -20 -70 30 518 | P 2 1 0 0 -70 30 -60 -20 519 | P 2 1 0 0 -60 -20 -50 30 520 | P 2 1 0 0 -50 30 -40 -20 521 | P 2 1 0 0 -40 -20 -30 0 522 | P 2 1 0 0 -30 0 10 0 523 | P 2 1 0 0 10 0 90 0 524 | P 2 1 0 0 10 0 10 -30 525 | P 2 1 0 0 10 -30 30 -40 526 | P 2 1 0 0 30 -40 -10 -50 527 | P 2 1 0 0 -10 -50 30 -60 528 | P 2 1 0 0 30 -60 -10 -70 529 | P 2 1 0 0 -10 -70 30 -80 530 | P 2 1 0 0 30 -80 -10 -90 531 | P 2 1 0 0 -10 -90 10 -100 532 | P 2 1 0 0 10 -100 10 -140 533 | P 2 1 0 0 10 -140 200 -140 534 | S 90 -100 120 100 1 1 0 F 535 | C 10 0 10 1 1 0 N 536 | C 200 -140 10 1 1 0 N 537 | X B 1 -200 0 100 R 40 40 1 1 P 538 | X C 3 200 200 100 D 40 40 1 1 P 539 | X E 2 200 -200 100 U 40 40 1 1 P 540 | ENDDRAW 541 | ENDDEF 542 | 543 | # 544 | # Dev Name: NPN-E_ 545 | # Dev Tech: '' 546 | # Dev Prefix: 547 | # Gate count = 1 548 | # 549 | DEF NPN-E_ ?? 0 40 Y Y 1 L N 550 | # Gate Name: G$1 551 | # Symbol Name: NPN-E 552 | DRAW 553 | P 2 1 0 0 100 100 20 60 554 | P 2 1 0 0 60 -80 12 -56 555 | P 2 1 0 0 100 100 100 130 556 | P 2 1 0 0 70 -60 100 -100 557 | P 2 1 0 0 100 -100 50 -100 558 | P 2 1 0 0 50 -100 70 -60 559 | P 2 1 0 0 60 -95 90 -95 560 | P 2 1 0 0 90 -95 70 -70 561 | P 2 1 0 0 70 -70 60 -90 562 | P 2 1 0 0 60 -90 75 -90 563 | P 2 1 0 0 75 -90 70 -80 564 | S -10 -100 20 100 1 1 0 F 565 | X B ~ -100 0 100 R 40 40 1 1 P 566 | X E ~ 100 -200 100 U 40 40 1 1 P 567 | ENDDRAW 568 | ENDDEF 569 | 570 | # 571 | # Dev Name: NPN_SOT-23 572 | # Package Name: SOT95P280X135-3N 573 | # Dev Tech: '' 574 | # Dev Prefix: Q 575 | # Gate count = 1 576 | # 577 | DEF NPN_SOT-23 Q 0 40 Y Y 1 L N 578 | # Gate Name: G$1 579 | # Symbol Name: NPN 580 | F0 "Q" -400 300 50 H V L B 581 | F1 "NPN_SOT-23" -400 200 50 H V L B 582 | F2 "ipc-7351-transistor-SOT95P280X135-3N" 0 150 50 H I C C 583 | DRAW 584 | P 2 1 0 0 100 100 20 60 585 | P 2 1 0 0 70 -60 100 -100 586 | P 2 1 0 0 100 -100 50 -100 587 | P 2 1 0 0 50 -100 70 -60 588 | P 2 1 0 0 60 -80 12 -56 589 | P 2 1 0 0 60 -95 90 -95 590 | P 2 1 0 0 90 -95 70 -70 591 | P 2 1 0 0 70 -70 60 -90 592 | P 2 1 0 0 60 -90 75 -90 593 | P 2 1 0 0 75 -90 70 -80 594 | S -10 -100 20 100 1 1 0 F 595 | X B 1 -100 0 100 R 40 40 1 1 P 596 | X C 3 100 200 100 D 40 40 1 1 P 597 | X E 2 100 -200 100 U 40 40 1 1 P 598 | ENDDRAW 599 | ENDDEF 600 | 601 | # 602 | # Dev Name: NPN_SOT-223 603 | # Package Name: SOT230P700X160-4N 604 | # Dev Tech: '' 605 | # Dev Prefix: Q 606 | # Gate count = 1 607 | # 608 | DEF NPN_SOT-223 Q 0 40 Y Y 1 L N 609 | # Gate Name: G$1 610 | # Symbol Name: NPN 611 | F0 "Q" -400 300 50 H V L B 612 | F1 "NPN_SOT-223" -400 200 50 H V L B 613 | F2 "ipc-7351-transistor-SOT230P700X160-4N" 0 150 50 H I C C 614 | DRAW 615 | P 2 1 0 0 100 100 20 60 616 | P 2 1 0 0 70 -60 100 -100 617 | P 2 1 0 0 100 -100 50 -100 618 | P 2 1 0 0 50 -100 70 -60 619 | P 2 1 0 0 60 -80 12 -56 620 | P 2 1 0 0 60 -95 90 -95 621 | P 2 1 0 0 90 -95 70 -70 622 | P 2 1 0 0 70 -70 60 -90 623 | P 2 1 0 0 60 -90 75 -90 624 | P 2 1 0 0 75 -90 70 -80 625 | S -10 -100 20 100 1 1 0 F 626 | X B 1 -100 0 100 R 40 40 1 1 P 627 | X C 2 100 200 100 D 40 40 1 1 P 628 | X E 3 100 -200 100 U 40 40 1 1 P 629 | ENDDRAW 630 | ENDDEF 631 | 632 | # 633 | # Dev Name: NPN_SOT-323 634 | # Package Name: SOT65P210X110-3N 635 | # Dev Tech: '' 636 | # Dev Prefix: Q 637 | # Gate count = 1 638 | # 639 | DEF NPN_SOT-323 Q 0 40 Y Y 1 L N 640 | # Gate Name: G$1 641 | # Symbol Name: NPN 642 | F0 "Q" -400 300 50 H V L B 643 | F1 "NPN_SOT-323" -400 200 50 H V L B 644 | F2 "ipc-7351-transistor-SOT65P210X110-3N" 0 150 50 H I C C 645 | DRAW 646 | P 2 1 0 0 100 100 20 60 647 | P 2 1 0 0 70 -60 100 -100 648 | P 2 1 0 0 100 -100 50 -100 649 | P 2 1 0 0 50 -100 70 -60 650 | P 2 1 0 0 60 -80 12 -56 651 | P 2 1 0 0 60 -95 90 -95 652 | P 2 1 0 0 90 -95 70 -70 653 | P 2 1 0 0 70 -70 60 -90 654 | P 2 1 0 0 60 -90 75 -90 655 | P 2 1 0 0 75 -90 70 -80 656 | S -10 -100 20 100 1 1 0 F 657 | X B 1 -100 0 100 R 40 40 1 1 P 658 | X C 3 100 200 100 D 40 40 1 1 P 659 | X E 2 100 -200 100 U 40 40 1 1 P 660 | ENDDRAW 661 | ENDDEF 662 | 663 | # 664 | # Dev Name: PNP-DARLINGTON_SOT-23 665 | # Package Name: SOT95P280X135-3N 666 | # Dev Tech: '' 667 | # Dev Prefix: Q 668 | # Gate count = 1 669 | # 670 | DEF PNP-DARLINGTON_SOT-23 Q 0 40 Y Y 1 L N 671 | # Gate Name: G$1 672 | # Symbol Name: PNP-DARLINGTON 673 | F0 "Q" -300 300 50 H V L B 674 | F1 "PNP-DARLINGTON_SOT-23" -300 200 50 H V L B 675 | F2 "ipc-7351-transistor-SOT95P280X135-3N" 0 150 50 H I C C 676 | DRAW 677 | P 2 1 0 0 200 -100 80 -100 678 | P 2 1 0 0 80 -100 20 -50 679 | P 2 1 0 0 200 0 135 50 680 | P 2 1 0 0 53 88 20 45 681 | P 2 1 0 0 73 58 53 88 682 | P 2 1 0 0 20 45 73 58 683 | P 2 1 0 0 63 72 101 97 684 | P 2 1 0 0 25 50 55 85 685 | P 2 1 0 0 55 85 70 60 686 | P 2 1 0 0 70 60 30 50 687 | P 2 1 0 0 30 50 55 80 688 | P 2 1 0 0 55 80 65 65 689 | P 2 1 0 0 65 65 35 55 690 | P 2 1 0 0 35 55 55 75 691 | P 2 1 0 0 55 75 55 70 692 | P 2 1 0 0 145 150 188 165 693 | P 2 1 0 0 165 190 145 150 694 | P 2 1 0 0 188 165 165 190 695 | P 2 1 0 0 176 177 197 197 696 | P 2 1 0 0 150 155 165 185 697 | P 2 1 0 0 165 185 185 165 698 | P 2 1 0 0 185 165 155 155 699 | P 2 1 0 0 155 155 165 180 700 | P 2 1 0 0 165 180 180 165 701 | P 2 1 0 0 180 165 160 160 702 | P 2 1 0 0 160 160 165 170 703 | P 2 1 0 0 165 170 170 170 704 | P 2 1 0 0 200 -100 200 0 705 | P 2 1 0 0 105 100 115 100 706 | S -10 -100 20 100 1 1 0 F 707 | S 115 0 145 200 1 1 0 F 708 | C 200 -100 15 1 1 0 N 709 | X B 1 -100 0 100 R 40 40 1 1 P 710 | X C 3 200 -200 100 U 40 40 1 1 P 711 | X E 2 200 300 100 D 40 40 1 1 P 712 | ENDDRAW 713 | ENDDEF 714 | 715 | # 716 | # Dev Name: PNP-DARLINGTON_SOT-223 717 | # Package Name: SOT230P700X160-4N 718 | # Dev Tech: '' 719 | # Dev Prefix: Q 720 | # Gate count = 1 721 | # 722 | DEF PNP-DARLINGTON_SOT-223 Q 0 40 Y Y 1 L N 723 | # Gate Name: G$1 724 | # Symbol Name: PNP-DARLINGTON 725 | F0 "Q" -300 300 50 H V L B 726 | F1 "PNP-DARLINGTON_SOT-223" -300 200 50 H V L B 727 | F2 "ipc-7351-transistor-SOT230P700X160-4N" 0 150 50 H I C C 728 | DRAW 729 | P 2 1 0 0 200 -100 80 -100 730 | P 2 1 0 0 80 -100 20 -50 731 | P 2 1 0 0 200 0 135 50 732 | P 2 1 0 0 53 88 20 45 733 | P 2 1 0 0 73 58 53 88 734 | P 2 1 0 0 20 45 73 58 735 | P 2 1 0 0 63 72 101 97 736 | P 2 1 0 0 25 50 55 85 737 | P 2 1 0 0 55 85 70 60 738 | P 2 1 0 0 70 60 30 50 739 | P 2 1 0 0 30 50 55 80 740 | P 2 1 0 0 55 80 65 65 741 | P 2 1 0 0 65 65 35 55 742 | P 2 1 0 0 35 55 55 75 743 | P 2 1 0 0 55 75 55 70 744 | P 2 1 0 0 145 150 188 165 745 | P 2 1 0 0 165 190 145 150 746 | P 2 1 0 0 188 165 165 190 747 | P 2 1 0 0 176 177 197 197 748 | P 2 1 0 0 150 155 165 185 749 | P 2 1 0 0 165 185 185 165 750 | P 2 1 0 0 185 165 155 155 751 | P 2 1 0 0 155 155 165 180 752 | P 2 1 0 0 165 180 180 165 753 | P 2 1 0 0 180 165 160 160 754 | P 2 1 0 0 160 160 165 170 755 | P 2 1 0 0 165 170 170 170 756 | P 2 1 0 0 200 -100 200 0 757 | P 2 1 0 0 105 100 115 100 758 | S -10 -100 20 100 1 1 0 F 759 | S 115 0 145 200 1 1 0 F 760 | C 200 -100 15 1 1 0 N 761 | X B 1 -100 0 100 R 40 40 1 1 P 762 | X C 2 200 -200 100 U 40 40 1 1 P 763 | X E 3 200 300 100 D 40 40 1 1 P 764 | ENDDRAW 765 | ENDDEF 766 | 767 | # 768 | # Dev Name: PNP-DARLINGTON_SOT-323 769 | # Package Name: SOT65P210X110-3N 770 | # Dev Tech: '' 771 | # Dev Prefix: Q 772 | # Gate count = 1 773 | # 774 | DEF PNP-DARLINGTON_SOT-323 Q 0 40 Y Y 1 L N 775 | # Gate Name: G$1 776 | # Symbol Name: PNP-DARLINGTON 777 | F0 "Q" -300 300 50 H V L B 778 | F1 "PNP-DARLINGTON_SOT-323" -300 200 50 H V L B 779 | F2 "ipc-7351-transistor-SOT65P210X110-3N" 0 150 50 H I C C 780 | DRAW 781 | P 2 1 0 0 200 -100 80 -100 782 | P 2 1 0 0 80 -100 20 -50 783 | P 2 1 0 0 200 0 135 50 784 | P 2 1 0 0 53 88 20 45 785 | P 2 1 0 0 73 58 53 88 786 | P 2 1 0 0 20 45 73 58 787 | P 2 1 0 0 63 72 101 97 788 | P 2 1 0 0 25 50 55 85 789 | P 2 1 0 0 55 85 70 60 790 | P 2 1 0 0 70 60 30 50 791 | P 2 1 0 0 30 50 55 80 792 | P 2 1 0 0 55 80 65 65 793 | P 2 1 0 0 65 65 35 55 794 | P 2 1 0 0 35 55 55 75 795 | P 2 1 0 0 55 75 55 70 796 | P 2 1 0 0 145 150 188 165 797 | P 2 1 0 0 165 190 145 150 798 | P 2 1 0 0 188 165 165 190 799 | P 2 1 0 0 176 177 197 197 800 | P 2 1 0 0 150 155 165 185 801 | P 2 1 0 0 165 185 185 165 802 | P 2 1 0 0 185 165 155 155 803 | P 2 1 0 0 155 155 165 180 804 | P 2 1 0 0 165 180 180 165 805 | P 2 1 0 0 180 165 160 160 806 | P 2 1 0 0 160 160 165 170 807 | P 2 1 0 0 165 170 170 170 808 | P 2 1 0 0 200 -100 200 0 809 | P 2 1 0 0 105 100 115 100 810 | S -10 -100 20 100 1 1 0 F 811 | S 115 0 145 200 1 1 0 F 812 | C 200 -100 15 1 1 0 N 813 | X B 1 -100 0 100 R 40 40 1 1 P 814 | X C 3 200 -200 100 U 40 40 1 1 P 815 | X E 2 200 300 100 D 40 40 1 1 P 816 | ENDDRAW 817 | ENDDEF 818 | 819 | # 820 | # Dev Name: PNP-DIGITAL_SOT-23 821 | # Package Name: SOT95P280X135-3N 822 | # Dev Tech: '' 823 | # Dev Prefix: Q 824 | # Gate count = 1 825 | # 826 | DEF PNP-DIGITAL_SOT-23 Q 0 40 Y Y 1 L N 827 | # Gate Name: G$1 828 | # Symbol Name: PNP-DIGITAL 829 | F0 "Q" -300 300 50 H V L B 830 | F1 "PNP-DIGITAL_SOT-23" -300 200 50 H V L B 831 | F2 "ipc-7351-transistor-SOT95P280X135-3N" 0 150 50 H I C C 832 | DRAW 833 | P 2 1 0 0 -100 0 -90 30 834 | P 2 1 0 0 -90 30 -80 -20 835 | P 2 1 0 0 -80 -20 -70 30 836 | P 2 1 0 0 -70 30 -60 -20 837 | P 2 1 0 0 -60 -20 -50 30 838 | P 2 1 0 0 -50 30 -40 -20 839 | P 2 1 0 0 -40 -20 -30 0 840 | P 2 1 0 0 -30 0 10 0 841 | P 2 1 0 0 10 0 90 0 842 | P 2 1 0 0 10 0 10 30 843 | P 2 1 0 0 10 30 -10 40 844 | P 2 1 0 0 -10 40 30 50 845 | P 2 1 0 0 30 50 -10 60 846 | P 2 1 0 0 -10 60 30 70 847 | P 2 1 0 0 30 70 -10 80 848 | P 2 1 0 0 -10 80 30 90 849 | P 2 1 0 0 30 90 10 100 850 | P 2 1 0 0 10 100 10 140 851 | P 2 1 0 0 10 140 200 140 852 | P 2 1 0 0 182 66 162 102 853 | P 2 1 0 0 162 102 120 58 854 | P 2 1 0 0 120 58 182 66 855 | P 2 1 0 0 200 100 171 83 856 | P 2 1 0 0 200 -100 120 -60 857 | P 2 1 0 0 175 70 160 95 858 | P 2 1 0 0 160 95 130 65 859 | P 2 1 0 0 130 65 170 70 860 | P 2 1 0 0 170 70 160 85 861 | P 2 1 0 0 160 85 145 75 862 | P 2 1 0 0 145 75 160 75 863 | S 90 -100 120 100 1 1 0 F 864 | C 10 0 10 1 1 0 N 865 | C 200 140 10 1 1 0 N 866 | X B 1 -200 0 100 R 40 40 1 1 P 867 | X C 3 200 -200 100 U 40 40 1 1 P 868 | X E 2 200 200 100 D 40 40 1 1 P 869 | ENDDRAW 870 | ENDDEF 871 | 872 | # 873 | # Dev Name: PNP-DIGITAL_SOT-323 874 | # Package Name: SOT65P210X110-3N 875 | # Dev Tech: '' 876 | # Dev Prefix: Q 877 | # Gate count = 1 878 | # 879 | DEF PNP-DIGITAL_SOT-323 Q 0 40 Y Y 1 L N 880 | # Gate Name: G$1 881 | # Symbol Name: PNP-DIGITAL 882 | F0 "Q" -300 300 50 H V L B 883 | F1 "PNP-DIGITAL_SOT-323" -300 200 50 H V L B 884 | F2 "ipc-7351-transistor-SOT65P210X110-3N" 0 150 50 H I C C 885 | DRAW 886 | P 2 1 0 0 -100 0 -90 30 887 | P 2 1 0 0 -90 30 -80 -20 888 | P 2 1 0 0 -80 -20 -70 30 889 | P 2 1 0 0 -70 30 -60 -20 890 | P 2 1 0 0 -60 -20 -50 30 891 | P 2 1 0 0 -50 30 -40 -20 892 | P 2 1 0 0 -40 -20 -30 0 893 | P 2 1 0 0 -30 0 10 0 894 | P 2 1 0 0 10 0 90 0 895 | P 2 1 0 0 10 0 10 30 896 | P 2 1 0 0 10 30 -10 40 897 | P 2 1 0 0 -10 40 30 50 898 | P 2 1 0 0 30 50 -10 60 899 | P 2 1 0 0 -10 60 30 70 900 | P 2 1 0 0 30 70 -10 80 901 | P 2 1 0 0 -10 80 30 90 902 | P 2 1 0 0 30 90 10 100 903 | P 2 1 0 0 10 100 10 140 904 | P 2 1 0 0 10 140 200 140 905 | P 2 1 0 0 182 66 162 102 906 | P 2 1 0 0 162 102 120 58 907 | P 2 1 0 0 120 58 182 66 908 | P 2 1 0 0 200 100 171 83 909 | P 2 1 0 0 200 -100 120 -60 910 | P 2 1 0 0 175 70 160 95 911 | P 2 1 0 0 160 95 130 65 912 | P 2 1 0 0 130 65 170 70 913 | P 2 1 0 0 170 70 160 85 914 | P 2 1 0 0 160 85 145 75 915 | P 2 1 0 0 145 75 160 75 916 | S 90 -100 120 100 1 1 0 F 917 | C 10 0 10 1 1 0 N 918 | C 200 140 10 1 1 0 N 919 | X B 1 -200 0 100 R 40 40 1 1 P 920 | X C 3 200 -200 100 U 40 40 1 1 P 921 | X E 2 200 200 100 D 40 40 1 1 P 922 | ENDDRAW 923 | ENDDEF 924 | 925 | # 926 | # Dev Name: PNP_SOT-23 927 | # Package Name: SOT95P280X135-3N 928 | # Dev Tech: '' 929 | # Dev Prefix: Q 930 | # Gate count = 1 931 | # 932 | DEF PNP_SOT-23 Q 0 40 Y Y 1 L N 933 | # Gate Name: G$1 934 | # Symbol Name: PNP 935 | F0 "Q" -400 300 50 H V L B 936 | F1 "PNP_SOT-23" -400 200 50 H V L B 937 | F2 "ipc-7351-transistor-SOT95P280X135-3N" 0 150 50 H I C C 938 | DRAW 939 | P 2 1 0 0 82 66 62 102 940 | P 2 1 0 0 62 102 20 58 941 | P 2 1 0 0 20 58 82 66 942 | P 2 1 0 0 100 100 71 83 943 | P 2 1 0 0 100 -100 20 -60 944 | P 2 1 0 0 75 70 60 95 945 | P 2 1 0 0 60 95 30 65 946 | P 2 1 0 0 30 65 70 70 947 | P 2 1 0 0 70 70 60 85 948 | P 2 1 0 0 60 85 45 75 949 | P 2 1 0 0 45 75 60 75 950 | S -10 -100 20 100 1 1 0 F 951 | X B 1 -100 0 100 R 40 40 1 1 P 952 | X C 3 100 -200 100 U 40 40 1 1 P 953 | X E 2 100 200 100 D 40 40 1 1 P 954 | ENDDRAW 955 | ENDDEF 956 | 957 | # 958 | # Dev Name: PNP_SOT-223 959 | # Package Name: SOT230P700X160-4N 960 | # Dev Tech: '' 961 | # Dev Prefix: Q 962 | # Gate count = 1 963 | # 964 | DEF PNP_SOT-223 Q 0 40 Y Y 1 L N 965 | # Gate Name: G$1 966 | # Symbol Name: PNP 967 | F0 "Q" -400 300 50 H V L B 968 | F1 "PNP_SOT-223" -400 200 50 H V L B 969 | F2 "ipc-7351-transistor-SOT230P700X160-4N" 0 150 50 H I C C 970 | DRAW 971 | P 2 1 0 0 82 66 62 102 972 | P 2 1 0 0 62 102 20 58 973 | P 2 1 0 0 20 58 82 66 974 | P 2 1 0 0 100 100 71 83 975 | P 2 1 0 0 100 -100 20 -60 976 | P 2 1 0 0 75 70 60 95 977 | P 2 1 0 0 60 95 30 65 978 | P 2 1 0 0 30 65 70 70 979 | P 2 1 0 0 70 70 60 85 980 | P 2 1 0 0 60 85 45 75 981 | P 2 1 0 0 45 75 60 75 982 | S -10 -100 20 100 1 1 0 F 983 | X B 1 -100 0 100 R 40 40 1 1 P 984 | X C 2 100 -200 100 U 40 40 1 1 P 985 | X E 3 100 200 100 D 40 40 1 1 P 986 | ENDDRAW 987 | ENDDEF 988 | 989 | # 990 | # Dev Name: PNP_SOT-323 991 | # Package Name: SOT65P210X110-3N 992 | # Dev Tech: '' 993 | # Dev Prefix: Q 994 | # Gate count = 1 995 | # 996 | DEF PNP_SOT-323 Q 0 40 Y Y 1 L N 997 | # Gate Name: G$1 998 | # Symbol Name: PNP 999 | F0 "Q" -400 300 50 H V L B 1000 | F1 "PNP_SOT-323" -400 200 50 H V L B 1001 | F2 "ipc-7351-transistor-SOT65P210X110-3N" 0 150 50 H I C C 1002 | DRAW 1003 | P 2 1 0 0 82 66 62 102 1004 | P 2 1 0 0 62 102 20 58 1005 | P 2 1 0 0 20 58 82 66 1006 | P 2 1 0 0 100 100 71 83 1007 | P 2 1 0 0 100 -100 20 -60 1008 | P 2 1 0 0 75 70 60 95 1009 | P 2 1 0 0 60 95 30 65 1010 | P 2 1 0 0 30 65 70 70 1011 | P 2 1 0 0 70 70 60 85 1012 | P 2 1 0 0 60 85 45 75 1013 | P 2 1 0 0 45 75 60 75 1014 | S -10 -100 20 100 1 1 0 F 1015 | X B 1 -100 0 100 R 40 40 1 1 P 1016 | X C 3 100 -200 100 U 40 40 1 1 P 1017 | X E 2 100 200 100 D 40 40 1 1 P 1018 | ENDDRAW 1019 | ENDDEF 1020 | 1021 | #End Library 1022 | -------------------------------------------------------------------------------- /pcb/libs/oshec-ipc-7351-transistor.mod: -------------------------------------------------------------------------------- 1 | PCBNEW-LibModule-V1 29/04/2008-12:22:25 2 | $INDEX 3 | ipc-7351-transistor-SOIC127P600X175-8AN 4 | ipc-7351-transistor-SOT65P210X110-3N 5 | ipc-7351-transistor-SOT95P280X135-3N 6 | ipc-7351-transistor-SOT230P700X160-4N 7 | $EndINDEX 8 | $MODULE ipc-7351-transistor-SOIC127P600X175-8AN 9 | Po 0 0 0 15 00200000 00000000 ~~ 10 | Li ipc-7351-transistor-SOIC127P600X175-8AN 11 | Cd 12 | Kw 13 | Sc 00000000 14 | Op 0 0 0 15 | At SMD 16 | DS -1181 -666 -787 -666 26 21 17 | DS -787 -666 -787 -833 26 21 18 | DS -1181 -833 -787 -833 26 21 19 | DS -1181 -666 -1181 -833 26 21 20 | DS -1181 -166 -787 -166 26 21 21 | DS -787 -166 -787 -333 26 21 22 | DS -1181 -333 -787 -333 26 21 23 | DS -1181 -166 -1181 -333 26 21 24 | DS -1181 333 -787 333 26 21 25 | DS -787 333 -787 166 26 21 26 | DS -1181 166 -787 166 26 21 27 | DS -1181 333 -1181 166 26 21 28 | DS -1181 833 -787 833 26 21 29 | DS -787 833 -787 666 26 21 30 | DS -1181 666 -787 666 26 21 31 | DS -1181 833 -1181 666 26 21 32 | DS 787 833 1181 833 26 21 33 | DS 1181 833 1181 666 26 21 34 | DS 787 666 1181 666 26 21 35 | DS 787 833 787 666 26 21 36 | DS 787 333 1181 333 26 21 37 | DS 1181 333 1181 166 26 21 38 | DS 787 166 1181 166 26 21 39 | DS 787 333 787 166 26 21 40 | DS 787 -166 1181 -166 26 21 41 | DS 1181 -166 1181 -333 26 21 42 | DS 787 -333 1181 -333 26 21 43 | DS 787 -166 787 -333 26 21 44 | DS 787 -666 1181 -666 26 21 45 | DS 1181 -666 1181 -833 26 21 46 | DS 787 -833 1181 -833 26 21 47 | DS 787 -666 787 -833 26 21 48 | DS -1476 1082 -1476 -1082 0 21 49 | DS -1476 -1082 1476 -1082 0 21 50 | DS 1476 -1082 1476 1082 0 21 51 | DS 1476 1082 -1476 1082 0 21 52 | DS -610 984 -610 -984 50 21 53 | DS -610 -984 610 -984 50 21 54 | DS 610 -984 610 984 50 21 55 | DS 610 984 -610 984 50 21 56 | DS -787 984 -787 -984 50 21 57 | DS -787 -984 787 -984 50 21 58 | DS 787 -984 787 984 50 21 59 | DS 787 984 -787 984 50 21 60 | DC -1269 -1066 -1318 -1115 0 21 61 | DC -314 -688 -387 -761 0 21 62 | DC -393 -590 -491 -688 25 21 63 | T0 178 -1359 500 500 0 35 N V ">NAME" 64 | T1 428 1359 500 500 0 35 N V ">VALUE" 65 | $PAD 66 | Sh "1" O 236 610 0 0 0 67 | Dr 0 0 0 68 | At SMD N 00888000 69 | Ne 0 "" 70 | Po -1062 -750 71 | $EndPAD 72 | $PAD 73 | Sh "2" O 236 610 0 0 0 74 | Dr 0 0 0 75 | At SMD N 00888000 76 | Ne 0 "" 77 | Po -1062 -250 78 | $EndPAD 79 | $PAD 80 | Sh "3" O 236 610 0 0 0 81 | Dr 0 0 0 82 | At SMD N 00888000 83 | Ne 0 "" 84 | Po -1062 250 85 | $EndPAD 86 | $PAD 87 | Sh "4" O 236 610 0 0 0 88 | Dr 0 0 0 89 | At SMD N 00888000 90 | Ne 0 "" 91 | Po -1062 750 92 | $EndPAD 93 | $PAD 94 | Sh "5" O 236 610 0 0 0 95 | Dr 0 0 0 96 | At SMD N 00888000 97 | Ne 0 "" 98 | Po 1062 750 99 | $EndPAD 100 | $PAD 101 | Sh "6" O 236 610 0 0 0 102 | Dr 0 0 0 103 | At SMD N 00888000 104 | Ne 0 "" 105 | Po 1062 250 106 | $EndPAD 107 | $PAD 108 | Sh "7" O 236 610 0 0 0 109 | Dr 0 0 0 110 | At SMD N 00888000 111 | Ne 0 "" 112 | Po 1062 -250 113 | $EndPAD 114 | $PAD 115 | Sh "8" O 236 610 0 0 0 116 | Dr 0 0 0 117 | At SMD N 00888000 118 | Ne 0 "" 119 | Po 1062 -750 120 | $EndPAD 121 | $EndMODULE SOIC127P600X175-8AN 122 | $MODULE ipc-7351-transistor-SOT65P210X110-3N 123 | Po 0 0 0 15 00200000 00000000 ~~ 124 | Li ipc-7351-transistor-SOT65P210X110-3N 125 | Cd 126 | Kw 127 | Sc 00000000 128 | Op 0 0 0 129 | At SMD 130 | DS -413 -187 -265 -187 26 21 131 | DS -265 -187 -265 -324 26 21 132 | DS -413 -324 -265 -324 26 21 133 | DS -413 -187 -413 -324 26 21 134 | DS -413 -187 -265 -187 26 21 135 | DS -265 -187 -265 -324 26 21 136 | DS -413 -324 -265 -324 26 21 137 | DS -413 -187 -413 -324 26 21 138 | DS -413 324 -265 324 26 21 139 | DS -265 324 -265 187 26 21 140 | DS -413 187 -265 187 26 21 141 | DS -413 324 -413 187 26 21 142 | DS -413 324 -265 324 26 21 143 | DS -265 324 -265 187 26 21 144 | DS -413 187 -265 187 26 21 145 | DS -413 324 -413 187 26 21 146 | DS 265 68 413 68 26 21 147 | DS 413 68 413 -68 26 21 148 | DS 265 -68 413 -68 26 21 149 | DS 265 68 265 -68 26 21 150 | DS 265 68 413 68 26 21 151 | DS 413 68 413 -68 26 21 152 | DS 265 -68 413 -68 26 21 153 | DS 265 68 265 -68 26 21 154 | DS -669 531 -669 -531 0 21 155 | DS -669 -531 669 -531 0 21 156 | DS 669 -531 669 531 0 21 157 | DS 669 531 -669 531 0 21 158 | DS 0 -433 0 433 50 21 159 | DS -265 433 -265 -433 50 21 160 | DS -265 -433 265 -433 50 21 161 | DS 265 -433 265 433 50 21 162 | DS 265 433 -265 433 50 21 163 | DC -472 -562 -521 -611 0 21 164 | T0 975 -808 500 500 0 35 N V ">NAME" 165 | T1 1225 808 500 500 0 35 N V ">VALUE" 166 | $PAD 167 | Sh "1" O 216 393 0 0 0 168 | Dr 0 0 0 169 | At SMD N 00888000 170 | Ne 0 "" 171 | Po -374 -255 172 | $EndPAD 173 | $PAD 174 | Sh "2" O 216 393 0 0 0 175 | Dr 0 0 0 176 | At SMD N 00888000 177 | Ne 0 "" 178 | Po -374 255 179 | $EndPAD 180 | $PAD 181 | Sh "3" O 216 393 0 0 0 182 | Dr 0 0 0 183 | At SMD N 00888000 184 | Ne 0 "" 185 | Po 374 0 186 | $EndPAD 187 | $EndMODULE SOT65P210X110-3N 188 | $MODULE ipc-7351-transistor-SOT95P280X135-3N 189 | Po 0 0 0 15 00200000 00000000 ~~ 190 | Li ipc-7351-transistor-SOT95P280X135-3N 191 | Cd 192 | Kw 193 | Sc 00000000 194 | Op 0 0 0 195 | At SMD 196 | DS -551 -279 -255 -279 26 21 197 | DS -255 -279 -255 -468 26 21 198 | DS -551 -468 -255 -468 26 21 199 | DS -551 -279 -551 -468 26 21 200 | DS -551 -279 -255 -279 26 21 201 | DS -255 -279 -255 -468 26 21 202 | DS -551 -468 -255 -468 26 21 203 | DS -551 -279 -551 -468 26 21 204 | DS -551 468 -255 468 26 21 205 | DS -255 468 -255 279 26 21 206 | DS -551 279 -255 279 26 21 207 | DS -551 468 -551 279 26 21 208 | DS -551 468 -255 468 26 21 209 | DS -255 468 -255 279 26 21 210 | DS -551 279 -255 279 26 21 211 | DS -551 468 -551 279 26 21 212 | DS 255 94 551 94 26 21 213 | DS 551 94 551 -94 26 21 214 | DS 255 -94 551 -94 26 21 215 | DS 255 94 255 -94 26 21 216 | DS 255 94 551 94 26 21 217 | DS 551 94 551 -94 26 21 218 | DS 255 -94 551 -94 26 21 219 | DS 255 94 255 -94 26 21 220 | DS -826 669 -826 -669 0 21 221 | DS -826 -669 826 -669 0 21 222 | DS 826 -669 826 669 0 21 223 | DS 826 669 -826 669 0 21 224 | DS 0 -570 0 570 50 21 225 | DS -255 570 -255 -570 50 21 226 | DS -255 -570 255 -570 50 21 227 | DS 255 -570 255 570 50 21 228 | DS 255 570 -255 570 50 21 229 | DC -629 -700 -678 -749 0 21 230 | T0 818 -945 500 500 0 35 N V ">NAME" 231 | T1 1068 945 500 500 0 35 N V ">VALUE" 232 | $PAD 233 | Sh "1" O 255 551 0 0 0 234 | Dr 0 0 0 235 | At SMD N 00888000 236 | Ne 0 "" 237 | Po -452 -374 238 | $EndPAD 239 | $PAD 240 | Sh "2" O 255 551 0 0 0 241 | Dr 0 0 0 242 | At SMD N 00888000 243 | Ne 0 "" 244 | Po -452 374 245 | $EndPAD 246 | $PAD 247 | Sh "3" O 255 551 0 0 0 248 | Dr 0 0 0 249 | At SMD N 00888000 250 | Ne 0 "" 251 | Po 452 0 252 | $EndPAD 253 | $EndMODULE SOT95P280X135-3N 254 | $MODULE ipc-7351-transistor-SOT230P700X160-4N 255 | Po 0 0 0 15 00200000 00000000 ~~ 256 | Li ipc-7351-transistor-SOT230P700X160-4N 257 | Cd 258 | Kw 259 | Sc 00000000 260 | Op 0 0 0 261 | At SMD 262 | DS -1377 137 -688 137 26 21 263 | DS -688 137 -688 -137 26 21 264 | DS -1377 -137 -688 -137 26 21 265 | DS -1377 137 -1377 -137 26 21 266 | DS -1377 -767 -688 -767 26 21 267 | DS -688 -767 -688 -1043 26 21 268 | DS -1377 -1043 -688 -1043 26 21 269 | DS -1377 -767 -1377 -1043 26 21 270 | DS -1377 1043 -688 1043 26 21 271 | DS -688 1043 -688 767 26 21 272 | DS -1377 767 -688 767 26 21 273 | DS -1377 1043 -1377 767 26 21 274 | DS 688 590 1377 590 26 21 275 | DS 1377 590 1377 -590 26 21 276 | DS 688 -590 1377 -590 26 21 277 | DS 688 590 688 -590 26 21 278 | DS -688 1279 -688 -1279 50 21 279 | DS -688 -1279 688 -1279 50 21 280 | DS 688 -1279 688 1279 50 21 281 | DS 688 1279 -688 1279 50 21 282 | DS -551 1279 -551 -1279 50 21 283 | DS -551 -1279 551 -1279 50 21 284 | DS 551 -1279 551 1279 50 21 285 | DS 551 1279 -551 1279 50 21 286 | DS -1673 1417 -1673 -1417 0 21 287 | DS -1673 -1417 1673 -1417 0 21 288 | DS 1673 -1417 1673 1417 0 21 289 | DS 1673 1417 -1673 1417 0 21 290 | DC -1141 -1290 -1190 -1339 0 21 291 | DC -393 -984 -466 -1057 25 21 292 | T0 673 -1654 500 500 0 35 N V ">NAME" 293 | T1 923 1654 500 500 0 35 N V ">VALUE" 294 | $PAD 295 | Sh "1" R 374 846 0 0 0 296 | Dr 0 0 0 297 | At SMD N 00888000 298 | Ne 0 "" 299 | Po -1141 -905 300 | $EndPAD 301 | $PAD 302 | Sh "2" R 374 846 0 0 0 303 | Dr 0 0 0 304 | At SMD N 00888000 305 | Ne 0 "" 306 | Po -1141 0 307 | $EndPAD 308 | $PAD 309 | Sh "3" R 374 846 0 0 0 310 | Dr 0 0 0 311 | At SMD N 00888000 312 | Ne 0 "" 313 | Po -1141 905 314 | $EndPAD 315 | $PAD 316 | Sh "4" R 1240 846 0 0 0 317 | Dr 0 0 0 318 | At SMD N 00888000 319 | Ne 0 "" 320 | Po 1141 0 321 | $EndPAD 322 | $EndMODULE SOT230P700X160-4N 323 | -------------------------------------------------------------------------------- /pcb/libs/oshec-m-pad-2.1.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/atx/TWILight/6bbc33366da5cf09ef78ab6f75f89c56811dc2de/pcb/libs/oshec-m-pad-2.1.mod --------------------------------------------------------------------------------