How to use the skidl.TEMPLATE function in skidl

To help you get started, we’ve selected a few skidl examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github xesscorp / skidl / skidl / libs / rfcom_sklib.py View on Github external
Pin(num='14',name='UART_TX',func=Pin.OUTPUT,do_erc=True),
            Pin(num='24',name='SPI_MISO',func=Pin.OUTPUT,do_erc=True),
            Pin(num='34',name='GPIO11',func=Pin.BIDIR,do_erc=True),
            Pin(num='15',name='UART_RTS',func=Pin.OUTPUT,do_erc=True),
            Pin(num='25',name='GND',func=Pin.PWRIN,do_erc=True),
            Pin(num='35',name='AIO1',do_erc=True),
            Pin(num='16',name='UART_CTS',do_erc=True),
            Pin(num='26',name='RF_ANT',func=Pin.BIDIR,do_erc=True),
            Pin(num='36',name='SHIELD',do_erc=True),
            Pin(num='17',name='USB_D+',func=Pin.BIDIR,do_erc=True),
            Pin(num='27',name='GND',func=Pin.PWRIN,do_erc=True),
            Pin(num='18',name='USB_D-',func=Pin.BIDIR,do_erc=True),
            Pin(num='28',name='GND',func=Pin.PWRIN,do_erc=True),
            Pin(num='19',name='GPIO2',func=Pin.BIDIR,do_erc=True),
            Pin(num='29',name='GND',func=Pin.PWRIN,do_erc=True)]),
        Part(name='SA605D',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='SIM900',dest=TEMPLATE,tool=SKIDL,keywords='GSM GPRS Quad-Band SMS FAX',description='GSM Quad-Band Communication Module, GPRS, Audio Engine, AT Command Set',ref_prefix='U',num_units=1,do_erc=True,pins=[
            Pin(num='1',name='PWRKEY',func=Pin.PASSIVE,do_erc=True),
            Pin(num='2',name='PWRKEY_OUT',func=Pin.PASSIVE,do_erc=True),
            Pin(num='3',name='DTR',func=Pin.OUTPUT,do_erc=True),
            Pin(num='4',name='RI',func=Pin.OUTPUT,do_erc=True),
            Pin(num='5',name='DCD',func=Pin.OUTPUT,do_erc=True),
            Pin(num='6',name='DSR',func=Pin.OUTPUT,do_erc=True),
            Pin(num='7',name='CTS',func=Pin.OUTPUT,do_erc=True),
            Pin(num='8',name='RTS',do_erc=True),
            Pin(num='9',name='TXD',func=Pin.OUTPUT,do_erc=True),
            Pin(num='10',name='RXD',do_erc=True),
            Pin(num='20',name='MIC_N',func=Pin.PASSIVE,do_erc=True),
            Pin(num='30',name='SIM_VDD',func=Pin.PWROUT,do_erc=True),
            Pin(num='40',name='GPIO1/KBR4',func=Pin.BIDIR,do_erc=True),
            Pin(num='50',name='GPIO9/KBC1',func=Pin.BIDIR,do_erc=True),
            Pin(num='60',name='RF_ANT',func=Pin.PASSIVE,do_erc=True),
github xesscorp / skidl / skidl / libs / motors_sklib.py View on Github external
from skidl import SKIDL, TEMPLATE, Part, Pin, SchLib

SKIDL_lib_version = '0.0.1'

motors = SchLib(tool=SKIDL).add_parts(*[
        Part(name='Fan',dest=TEMPLATE,tool=SKIDL,keywords='Fan Motor',description='Fan',ref_prefix='M',num_units=1,fplist=['Pin_Headers:Pin_Header_Straight_1x02', 'Connect:bornier2', 'TerminalBlock*2pol'],do_erc=True,pins=[
            Pin(num='1',name='+',func=Pin.PASSIVE,do_erc=True),
            Pin(num='2',name='-',func=Pin.PASSIVE,do_erc=True)]),
        Part(name='Fan_ALT',dest=TEMPLATE,tool=SKIDL,keywords='Fan Motor',description='Fan without PWM or tach, alternative symbol',ref_prefix='M',num_units=1,fplist=['Pin_Headers:Pin_Header_Straight_1x02', 'Connect:bornier2', 'TerminalBlock*2pol'],do_erc=True,pins=[
            Pin(num='1',name='+',func=Pin.PASSIVE,do_erc=True),
            Pin(num='2',name='-',func=Pin.PASSIVE,do_erc=True)]),
        Part(name='Fan_IEC60617',dest=TEMPLATE,tool=SKIDL,keywords='Fan Motor IEC-60617',description='Fan (according to IEC-60617)',ref_prefix='M',num_units=1,fplist=['Pin_Headers:Pin_Header_Straight_1x02', 'Connect:bornier2', 'TerminalBlock*2pol'],do_erc=True,pins=[
            Pin(num='1',name='+',func=Pin.PASSIVE,do_erc=True),
            Pin(num='2',name='-',func=Pin.PASSIVE,do_erc=True)]),
        Part(name='Fan_Tacho',dest=TEMPLATE,tool=SKIDL,keywords='Fan Motor tacho',description='Fan, tacho output, 3-pin connector',ref_prefix='M',num_units=1,fplist=['Pin_Headers:Fan_Pin_Header_Straight_1x03', 'Pin_Headers:Pin_Header_Straight_1x03', 'TerminalBlock*3pol', 'bornier3'],do_erc=True,aliases=['Fan_3pin', 'Fan_PC_Chassis'],pins=[
            Pin(num='1',name='Tacho',func=Pin.PASSIVE,do_erc=True),
            Pin(num='2',name='+',func=Pin.PASSIVE,do_erc=True),
            Pin(num='3',name='-',func=Pin.PASSIVE,do_erc=True)]),
        Part(name='Fan_Tacho_PWM',dest=TEMPLATE,tool=SKIDL,keywords='Fan Motor tacho PWM',description='Fan, tacho output, PWM input, 4-pin connector',ref_prefix='M',num_units=1,fplist=['Pin_Headers:Fan_Pin_Header_Straight_1x04', 'Pin_Headers:Pin_Header_Straight_1x04', 'TerminalBlock*4pol', 'bornier4'],do_erc=True,aliases=['Fan_CPU_4pin', 'Fan_4pin'],pins=[
            Pin(num='1',name='-',func=Pin.PASSIVE,do_erc=True),
            Pin(num='2',name='+',func=Pin.PASSIVE,do_erc=True),
            Pin(num='3',name='Tacho',func=Pin.PASSIVE,do_erc=True),
github xesscorp / skidl / skidl / libs / pspice_sklib.py View on Github external
from skidl import SKIDL, TEMPLATE, Part, Pin, SchLib

SKIDL_lib_version = '0.0.1'

pspice = SchLib(tool=SKIDL).add_parts(*[
        Part(name='0',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='CAP',dest=TEMPLATE,tool=SKIDL,do_erc=True,aliases=['C']),
        Part(name='DIODE',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='INDUCTOR',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='ISOURCE',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='QNPN',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='QPNP',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='R',dest=TEMPLATE,tool=SKIDL,keywords='R DEV',description='Resistance',ref_prefix='R',num_units=1,do_erc=True,pins=[
            Pin(num='1',name='~',func=Pin.PASSIVE,do_erc=True),
            Pin(num='2',name='~',func=Pin.PASSIVE,do_erc=True)]),
        Part(name='VSOURCE',dest=TEMPLATE,tool=SKIDL,do_erc=True)])
github xesscorp / skidl / skidl / libs / LEM_sklib.py View on Github external
from skidl import SKIDL, TEMPLATE, Part, Pin, SchLib

SKIDL_lib_version = '0.0.1'

LEM = SchLib(tool=SKIDL).add_parts(*[
        Part(name='LEM_HO-NP',dest=TEMPLATE,tool=SKIDL,keywords='current transducer',description='LEM current transducer HO 8-NP-xxxx, 5V supply voltage, Nominal measurement current (Ipn) 8A, Standard option xxxx = 0000: 2.5V reference, 3.5us response time, EEPROM Control=yes, over current detection = 2,9*Ipn',ref_prefix='MT',num_units=1,do_erc=True,aliases=['LEM_HO_8-NP', 'LEM_HO_15-NP', 'LEM_HO_25-NP'],pins=[
            Pin(num='1',name='5V',func=Pin.PWRIN,do_erc=True),
            Pin(num='2',name='GND',func=Pin.PWRIN,do_erc=True),
            Pin(num='3',name='Vout',func=Pin.OUTPUT,do_erc=True),
            Pin(num='4',name='Vref',func=Pin.BIDIR,do_erc=True),
            Pin(num='5',name='Over_Current',func=Pin.OPENCOLL,do_erc=True),
            Pin(num='6',name='Standby',do_erc=True),
            Pin(num='7',name='N/A(GND)',do_erc=True),
            Pin(num='8',name='L1_1',func=Pin.PASSIVE,do_erc=True),
            Pin(num='9',name='L2_1',func=Pin.PASSIVE,do_erc=True),
            Pin(num='10',name='L3_1',func=Pin.PASSIVE,do_erc=True),
            Pin(num='11',name='L3_2',func=Pin.PASSIVE,do_erc=True),
            Pin(num='12',name='L2_2',func=Pin.PASSIVE,do_erc=True),
            Pin(num='13',name='L1_2',func=Pin.PASSIVE,do_erc=True)]),
        Part(name='LEM_HO-NP_SP33',dest=TEMPLATE,tool=SKIDL,keywords='current transducer',description='LEM current transducer HO 8-NP/SP33-xxxx, 3.3V supply voltage, Nominal measurement current (Ipn) 8A, Standard option xxxx = 1000: 1.65V reference, 3.5us response time, EEPROM Control=yes, over current detection = 2,9*Ipn',ref_prefix='MT',num_units=1,do_erc=True,aliases=['LEM_HO_8-NP_SP33', 'LEM_HO_15-NP_SP33', 'LEM_HO_25-NP_SP33'],pins=[
            Pin(num='1',name='3V3',func=Pin.PWRIN,do_erc=True),
            Pin(num='2',name='GND',func=Pin.PWRIN,do_erc=True),
github xesscorp / skidl / skidl / libs / brooktre_sklib.py View on Github external
from skidl import SKIDL, TEMPLATE, Part, Pin, SchLib

SKIDL_lib_version = '0.0.1'

brooktre = SchLib(tool=SKIDL).add_parts(*[
        Part(name='BT106',dest=TEMPLATE,tool=SKIDL,keywords='video CDA',description='Convertisseur Video D->A 8 bits',ref_prefix='U',num_units=1,do_erc=True,pins=[
            Pin(num='17',name='AGND',do_erc=True),
            Pin(num='18',name='AGND',do_erc=True),
            Pin(num='15',name='VAA',do_erc=True),
            Pin(num='19',name='VAA',do_erc=True),
            Pin(num='14',name='COMP',func=Pin.PASSIVE,do_erc=True),
            Pin(num='16',name='IOUT',func=Pin.OUTPUT,do_erc=True),
            Pin(num='1',name='CLK',do_erc=True),
            Pin(num='10',name='REF',do_erc=True),
            Pin(num='11',name='BLANK',do_erc=True),
            Pin(num='20',name='SYNC',do_erc=True),
            Pin(num='13',name='FSADJ',do_erc=True),
            Pin(num='12',name='VREF',do_erc=True),
            Pin(num='2',name='D7',do_erc=True),
            Pin(num='3',name='D6',do_erc=True),
            Pin(num='4',name='D5',do_erc=True),
            Pin(num='5',name='D4',do_erc=True),
github xesscorp / skidl / skidl / libs / interface_sklib.py View on Github external
from skidl import SKIDL, TEMPLATE, Part, Pin, SchLib

SKIDL_lib_version = '0.0.1'

interface = SchLib(tool=SKIDL).add_parts(*[
        Part(name='75LBC176',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='AD5280',dest=TEMPLATE,tool=SKIDL,keywords='digital potentiometer',description='Digital potentiometer, 256 position, single output, I2C interface',ref_prefix='U',num_units=1,do_erc=True,pins=[
            Pin(num='1',name='A',func=Pin.PASSIVE,do_erc=True),
            Pin(num='2',name='W',func=Pin.PASSIVE,do_erc=True),
            Pin(num='3',name='B',func=Pin.PASSIVE,do_erc=True),
            Pin(num='4',name='VDD',func=Pin.PWRIN,do_erc=True),
            Pin(num='5',name='~SHDN~',do_erc=True),
            Pin(num='6',name='SCL',do_erc=True),
            Pin(num='7',name='SDA',func=Pin.BIDIR,do_erc=True),
            Pin(num='8',name='AD0',do_erc=True),
            Pin(num='9',name='AD1',do_erc=True),
            Pin(num='10',name='GND',func=Pin.PWRIN,do_erc=True),
            Pin(num='11',name='VSS',func=Pin.PWRIN,do_erc=True),
            Pin(num='12',name='O2',func=Pin.OUTPUT,do_erc=True),
            Pin(num='13',name='VLOG',func=Pin.PWRIN,do_erc=True),
            Pin(num='14',name='O1',func=Pin.OUTPUT,do_erc=True)]),
        Part(name='AD5282',dest=TEMPLATE,tool=SKIDL,keywords='digital potentiometer',description='Digital potentiometer, 256 position, dual output, I2C interface',ref_prefix='U',num_units=1,do_erc=True,pins=[
github xesscorp / skidl / skidl / libs / graphic_sklib.py View on Github external
from skidl import SKIDL, TEMPLATE, Part, Pin, SchLib

SKIDL_lib_version = '0.0.1'

graphic = SchLib(tool=SKIDL).add_parts(*[
        Part(name='ARROW1',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='ARROW2',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='ARROW3',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='ARROW4',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='BOX1',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='BOX2',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='BOX3',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='BOX4',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='C1',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='CIRCLE1',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='CIRCLE2',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='CIRCLE3',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='CIRCLE4',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='DIAMOND1',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='DIAMOND2',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='DIAMOND3',dest=TEMPLATE,tool=SKIDL,do_erc=True),
        Part(name='DIAMOND4',dest=TEMPLATE,tool=SKIDL,do_erc=True),
github xesscorp / skidl / skidl / libs / battery_management_sklib.py View on Github external
from skidl import SKIDL, TEMPLATE, Part, Pin, SchLib

SKIDL_lib_version = '0.0.1'

battery_management = SchLib(tool=SKIDL).add_parts(*[
        Part(name='AS8506C',dest=TEMPLATE,tool=SKIDL,keywords='battery balance lithium charge afe',description='Stackable cell monitor, cell balancer, 3-7 Cells, SPI Interface',ref_prefix='U',num_units=1,do_erc=True,pins=[
            Pin(num='1',name='TSECH',do_erc=True),
            Pin(num='2',name='TSECL',do_erc=True),
            Pin(num='3',name='VC7',do_erc=True),
            Pin(num='4',name='VC6',do_erc=True),
            Pin(num='5',name='VS5',do_erc=True),
            Pin(num='6',name='VC4',do_erc=True),
            Pin(num='7',name='VC3',do_erc=True),
            Pin(num='8',name='VC2',do_erc=True),
            Pin(num='9',name='VC1',do_erc=True),
            Pin(num='10',name='CGND',do_erc=True),
            Pin(num='20',name='NC_T',func=Pin.NOCONNECT,do_erc=True),
            Pin(num='30',name='V5V',do_erc=True),
            Pin(num='40',name='VREF_H',do_erc=True),
            Pin(num='11',name='NC',func=Pin.NOCONNECT,do_erc=True),
            Pin(num='21',name='SDO',do_erc=True),
            Pin(num='31',name='V5V_IN',do_erc=True),
github xesscorp / skidl / skidl / libs / hc11_sklib.py View on Github external
Pin(num='26',name='VDD',func=Pin.PWRIN,do_erc=True),
            Pin(num='36',name='A14/PB6',func=Pin.OUTPUT,do_erc=True),
            Pin(num='46',name='PE5',do_erc=True),
            Pin(num='17',name='~RESET',do_erc=True),
            Pin(num='27',name='PA7',func=Pin.BIDIR,do_erc=True),
            Pin(num='37',name='A13/PB5',func=Pin.OUTPUT,do_erc=True),
            Pin(num='47',name='PE2',do_erc=True),
            Pin(num='18',name='~XIRQ',do_erc=True),
            Pin(num='28',name='PA6',func=Pin.OUTPUT,do_erc=True),
            Pin(num='38',name='A12/PB4',func=Pin.OUTPUT,do_erc=True),
            Pin(num='48',name='PE6',do_erc=True),
            Pin(num='19',name='~IRQ',do_erc=True),
            Pin(num='29',name='PA5',func=Pin.OUTPUT,do_erc=True),
            Pin(num='39',name='A11/PB3',func=Pin.OUTPUT,do_erc=True),
            Pin(num='49',name='PE3',do_erc=True)]),
        Part(name='MC68HC11F1CC',dest=TEMPLATE,tool=SKIDL,keywords='HC11 MCU Microcontroller',description='ROMless, 1K RAM, 512B EEPROM, PLCC-68',ref_prefix='U',num_units=1,fplist=['PLCC-68*'],do_erc=True,pins=[
            Pin(num='1',name='VSS',func=Pin.PWRIN,do_erc=True),
            Pin(num='2',name='MODB',do_erc=True),
            Pin(num='3',name='MODA',func=Pin.BIDIR,do_erc=True),
            Pin(num='4',name='E',func=Pin.OUTPUT,do_erc=True),
            Pin(num='5',name='R/W',func=Pin.OUTPUT,do_erc=True),
            Pin(num='6',name='EXTAL',func=Pin.OUTPUT,do_erc=True),
            Pin(num='7',name='XTAL',do_erc=True),
            Pin(num='8',name='4XOUT',func=Pin.OUTPUT,do_erc=True),
            Pin(num='9',name='D0/PC0',func=Pin.BIDIR,do_erc=True),
            Pin(num='10',name='D1/PC1',func=Pin.BIDIR,do_erc=True),
            Pin(num='20',name='CSPROG/PG7',func=Pin.BIDIR,do_erc=True),
            Pin(num='30',name='MIS/PD2',func=Pin.BIDIR,do_erc=True),
            Pin(num='40',name='PA2',func=Pin.BIDIR,do_erc=True),
            Pin(num='50',name='A8/PB0',func=Pin.OUTPUT,do_erc=True),
            Pin(num='60',name='PE4',do_erc=True),
            Pin(num='11',name='D2/PC2',func=Pin.BIDIR,do_erc=True),
github xesscorp / skidl / skidl / libs / onsemi_sklib.py View on Github external
Pin(num='6',name='PG',func=Pin.OPENCOLL,do_erc=True),
            Pin(num='7',name='BLEED',do_erc=True),
            Pin(num='8',name='VOUT',func=Pin.PASSIVE,do_erc=True),
            Pin(num='9',name='VOUT',func=Pin.PASSIVE,do_erc=True),
            Pin(num='10',name='VOUT',func=Pin.PASSIVE,do_erc=True),
            Pin(num='11',name='VOUT',func=Pin.PASSIVE,do_erc=True),
            Pin(num='12',name='VOUT',func=Pin.PWROUT,do_erc=True),
            Pin(num='13',name='VIN',func=Pin.PWRIN,do_erc=True)]),
        Part(name='NUP2202',dest=TEMPLATE,tool=SKIDL,keywords='ESD Protection diodes transient suppressor',description='Transient voltage suppressor designed to protect high speed data lines from ESD, EFT, and lightning',ref_prefix='U',num_units=1,fplist=['*SC-70*'],do_erc=True,pins=[
            Pin(num='1',name='~',func=Pin.PASSIVE,do_erc=True),
            Pin(num='2',name='~',func=Pin.PASSIVE,do_erc=True),
            Pin(num='3',name='~',func=Pin.NOCONNECT,do_erc=True),
            Pin(num='4',name='~',func=Pin.NOCONNECT,do_erc=True),
            Pin(num='5',name='~',func=Pin.PASSIVE,do_erc=True),
            Pin(num='6',name='~',func=Pin.PASSIVE,do_erc=True)]),
        Part(name='NUP4202',dest=TEMPLATE,tool=SKIDL,keywords='ESD Protection diodes transient suppressor',description='Transient voltage suppressor designed to protect high speed data lines from ESD, EFT, and lightning',ref_prefix='U',num_units=1,fplist=['*SC-70*'],do_erc=True,pins=[
            Pin(num='1',name='~',func=Pin.PASSIVE,do_erc=True),
            Pin(num='2',name='~',func=Pin.PASSIVE,do_erc=True),
            Pin(num='3',name='~',func=Pin.PASSIVE,do_erc=True),
            Pin(num='4',name='~',func=Pin.PASSIVE,do_erc=True),
            Pin(num='5',name='~',func=Pin.PASSIVE,do_erc=True),
            Pin(num='6',name='~',func=Pin.PASSIVE,do_erc=True)])])