├── software ├── open433.pyc ├── main.py └── rcswitch.py ├── hardware ├── pcb_gerber │ ├── How-to-order-PCB.txt │ ├── Gerber_Drill_PTH.DRL │ ├── Gerber_TopPasteMaskLayer.GTP │ ├── Gerber_BottomPasteMaskLayer.GBP │ ├── Gerber_BoardOutline.GKO │ ├── Gerber_Drill_NPTH.DRL │ ├── Gerber_BottomSolderMaskLayer.GBS │ ├── Gerber_TopSolderMaskLayer.GTS │ ├── Gerber_TopSilkLayer.GTO │ ├── Gerber_BottomSilkLayer.GBO │ └── ReadOnly.Mechanical ├── BOM_Open433_2020-06-17_02-08-53.csv ├── PCB_PDF_V2_2020-06-20_13-23-43.zip └── Schematic_Open433_2020-06-20_13-23-12.pdf ├── homeassistant_open433 ├── manifest.json ├── __init__.py ├── binary_sensor.py ├── switch.py ├── light.py └── rcswitch.py ├── arduino ├── board_definition.h ├── packets.h └── arduino.ino ├── README.md └── LICENSE /software/open433.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheStaticTurtle/Open433/HEAD/software/open433.pyc -------------------------------------------------------------------------------- /hardware/pcb_gerber/How-to-order-PCB.txt: -------------------------------------------------------------------------------- 1 | How to Order PCB 2 | 3 | Please refer to: 4 | https://docs.easyeda.com/en/PCB/Order-PCB -------------------------------------------------------------------------------- /hardware/BOM_Open433_2020-06-17_02-08-53.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheStaticTurtle/Open433/HEAD/hardware/BOM_Open433_2020-06-17_02-08-53.csv -------------------------------------------------------------------------------- /hardware/PCB_PDF_V2_2020-06-20_13-23-43.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheStaticTurtle/Open433/HEAD/hardware/PCB_PDF_V2_2020-06-20_13-23-43.zip -------------------------------------------------------------------------------- /hardware/Schematic_Open433_2020-06-20_13-23-12.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheStaticTurtle/Open433/HEAD/hardware/Schematic_Open433_2020-06-20_13-23-12.pdf -------------------------------------------------------------------------------- /homeassistant_open433/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "1.0.2", 3 | "domain": "open433", 4 | "name": "Open433 board", 5 | "documentation": "https://github.com/TheStaticTurtle/Open433", 6 | "requirements": ["pyserial>=3.4"], 7 | "codeowners": ["TheStaticTurtle"] 8 | } 9 | -------------------------------------------------------------------------------- /arduino/board_definition.h: -------------------------------------------------------------------------------- 1 | 2 | 3 | #ifdef BOARD_V01 4 | 5 | #define PIN_MODULE_RX 2 6 | #define PIN_MODULE_TX 10 7 | #define PIN_LED_TX 3 8 | #define PIN_LED_RX 4 9 | 10 | #endif 11 | 12 | #ifdef BOARD_V00 13 | 14 | #define PIN_MODULE_RX 2 15 | #define PIN_MODULE_TX 10 16 | #define PIN_LED_TX 9 17 | #define PIN_LED_RX 8 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /arduino/packets.h: -------------------------------------------------------------------------------- 1 | typedef struct { 2 | char ptype[17]; 3 | unsigned long t; 4 | unsigned long decimal; 5 | unsigned int length; 6 | unsigned int delay; 7 | unsigned int protocol; 8 | } received_signal_packet_t; 9 | 10 | typedef struct { 11 | char ptype[17]; 12 | unsigned long t; 13 | char msg[32]; 14 | } ack_packet_t; 15 | 16 | typedef struct { 17 | char ptype[17]; 18 | unsigned long decimal; 19 | unsigned int length; 20 | unsigned int delay; 21 | unsigned int protocol; 22 | char end[3]; 23 | } send_decimal_packet_t; 24 | 25 | typedef struct { 26 | char ptype[17]; 27 | unsigned int repeat; 28 | unsigned int receiveTolerance; 29 | char end[3]; 30 | } rcswitch_config_t; 31 | -------------------------------------------------------------------------------- /software/main.py: -------------------------------------------------------------------------------- 1 | # import open433 2 | import logging 3 | import time 4 | 5 | logging.basicConfig(level=logging.INFO, format='[%(asctime)s] [%(levelname)8s] %(name)10s - %(message)s') 6 | 7 | import rcswitch 8 | 9 | mySwitch = rcswitch.RCSwitch("COM3") 10 | time.sleep(2) 11 | 12 | for packet in mySwitch.listen(): 13 | print(packet) 14 | 15 | packet_on = rcswitch.packets.SendDecimal(value=2523794944, length=32, protocol=2, delay=700) 16 | packet_off = rcswitch.packets.SendDecimal(value=2658012672, length=32, protocol=2, delay=700) 17 | 18 | mySwitch.setRepeatTransmit(5) 19 | mySwitch.libWaitForAck(True, timeout=5) 20 | 21 | t=0.1 22 | while True: 23 | print(mySwitch.send(packet_on)) 24 | #mySwitch.receive_packet(timeout=0.1) #Would be great to receive an ACK 25 | time.sleep(t) 26 | 27 | print(mySwitch.send(packet_off)) 28 | #mySwitch.receive_packet(timeout=0.1) #Would be great to receive an ACK 29 | time.sleep(t) 30 | -------------------------------------------------------------------------------- /hardware/pcb_gerber/Gerber_Drill_PTH.DRL: -------------------------------------------------------------------------------- 1 | ;Layer: Drill PTH 2 | ;EasyEDA v6.3.53, 2020-06-17T01:54:55+02:00 3 | ;e9d571a3f1504c91a96fab9e56f28b91,9eabfb72a9474bef872f988307f0334b,10 4 | ;Gerber Generator version 0.2 5 | M48 6 | METRIC,LZ,000.000 7 | ;Holesize 1 = 0.305 METRIC 8 | T01C0.305 9 | ;Holesize 2 = 0.889 METRIC 10 | T02C0.889 11 | ;Holesize 3 = 0.915 METRIC 12 | T03C0.915 13 | ;Holesize 4 = 1.000 METRIC 14 | T04C1.000 15 | ;Holesize 5 = 1.101 METRIC 16 | T05C1.101 17 | ;Holesize 6 = 1.200 METRIC 18 | T06C1.200 19 | % 20 | G05 21 | G90 22 | T01 23 | X+004864Y+066521 24 | X+005753Y+067029 25 | X+003086Y+067283 26 | X+003086Y+068172 27 | X+003467Y+076173 28 | X+004737Y+076681 29 | X+006515Y+081634 30 | X+007404Y+080872 31 | X+007620Y+083666 32 | X+017056Y+083412 33 | X+008928Y+077189 34 | X+008928Y+072109 35 | X+013500Y+074903 36 | X+012611Y+074014 37 | X+008420Y+068299 38 | X+017056Y+068299 39 | X+013119Y+075665 40 | X+014389Y+070204 41 | X+013246Y+070331 42 | X+015405Y+071474 43 | X+014643Y+071855 44 | X+019469Y+071220 45 | X+042202Y+081253 46 | X+043472Y+081253 47 | X+042837Y+081253 48 | X+042202Y+071220 49 | X+043472Y+071220 50 | X+042837Y+071220 51 | X+010833Y+071601 52 | X+017818Y+080110 53 | X+019469Y+080110 54 | X+016929Y+071982 55 | X+018580Y+071982 56 | X+019342Y+069950 57 | X+021501Y+069950 58 | X+011722Y+068299 59 | X+013754Y+068299 60 | X+016167Y+072236 61 | X+012729Y+083539 62 | X+017056Y+080872 63 | X+019596Y+066648 64 | X+032804Y+067029 65 | T02 66 | X+022009Y+081380 67 | X+022009Y+083920 68 | X+024549Y+081380 69 | X+024549Y+083920 70 | X+027089Y+081380 71 | X+027089Y+083920 72 | X+016167Y+077316 73 | X+018707Y+077316 74 | X+016167Y+074776 75 | X+018707Y+074776 76 | T03 77 | X+040932Y+081253 78 | X+040551Y+071220 79 | T04 80 | X+002359Y+081746G85X+004059Y+081746 81 | X+002359Y+070347G85X+004059Y+070347 82 | T05 83 | X+025184Y+078078 84 | X+027724Y+078078 85 | X+030264Y+078078 86 | X+032804Y+078078 87 | T06 88 | X+042510Y+067029 89 | X+039970Y+067029 90 | X+037430Y+067029 91 | X+034890Y+067029 92 | X+022590Y+067029 93 | X+036562Y+080527 94 | X+030062Y+080527 95 | X+036562Y+085027 96 | X+030062Y+085027 97 | M30 98 | -------------------------------------------------------------------------------- /homeassistant_open433/__init__.py: -------------------------------------------------------------------------------- 1 | import logging 2 | 3 | import serial 4 | from homeassistant.const import EVENT_HOMEASSISTANT_START, EVENT_HOMEASSISTANT_STOP 5 | import homeassistant.helpers.config_validation as cv 6 | import voluptuous as vol 7 | import threading 8 | 9 | from homeassistant.exceptions import PlatformNotReady 10 | 11 | from . import rcswitch 12 | 13 | _LOGGER = logging.getLogger(__name__) 14 | 15 | DOMAIN = "open433" 16 | 17 | CONF_COMPORT = "port" 18 | CONF_COMSPEED = "speed" 19 | 20 | REQ_LOCK = threading.Lock() 21 | CONFIG_SCHEMA = vol.Schema( 22 | { 23 | DOMAIN: vol.Schema({ 24 | vol.Required(CONF_COMPORT): cv.string, 25 | vol.Optional(CONF_COMSPEED, default=9600): cv.positive_int, 26 | }) 27 | }, 28 | extra=vol.ALLOW_EXTRA, 29 | ) 30 | 31 | 32 | 33 | def setup(hass, config): 34 | conf = config[DOMAIN] 35 | comport = conf.get(CONF_COMPORT) 36 | comspeed = conf.get(CONF_COMSPEED) 37 | 38 | failure = None 39 | try: 40 | rf = rcswitch.RCSwitch(comport, speed=comspeed) 41 | rf.libWaitForAck(True, timeout=1) 42 | 43 | def cleanup(event): 44 | rf.cleanup() 45 | 46 | def packet_listener(packet): 47 | if isinstance(packet, rcswitch.packets.ReceivedSignal): 48 | hass.bus.fire("open433_rx", {"code": packet.decimal, "protocol": packet.protocol, "bitlength": packet.length, "delay": packet.delay}) 49 | 50 | def handle_event(event): 51 | code = int(event.data.get("code")) if event.data.get("code") else 2658012672 52 | protocol = int(event.data.get("protocol")) if event.data.get("protocol") else 1 53 | bitlength = int(event.data.get("bitlength")) if event.data.get("bitlength") else 32 54 | packet = rcswitch.packets.SendDecimal(value=code, length=bitlength, protocol=protocol, delay=700) 55 | rf.send(packet) 56 | 57 | def prepare(event): 58 | rf.prepare() 59 | rf.startReceivingThread() 60 | rf.addIncomingPacketListener(packet_listener) 61 | hass.bus.listen("open433_tx", handle_event) 62 | hass.bus.listen_once(EVENT_HOMEASSISTANT_STOP, cleanup) 63 | 64 | hass.bus.listen_once(EVENT_HOMEASSISTANT_START, prepare) 65 | hass.data[DOMAIN] = rf 66 | return True 67 | 68 | except serial.serialutil.SerialException as e: 69 | failure = e 70 | 71 | if failure is not None: 72 | raise PlatformNotReady(failure) 73 | -------------------------------------------------------------------------------- /hardware/pcb_gerber/Gerber_TopPasteMaskLayer.GTP: -------------------------------------------------------------------------------- 1 | G04 Layer: TopPasteMaskLayer* 2 | G04 EasyEDA v6.3.53, 2020-06-17T01:54:55+02:00* 3 | G04 e9d571a3f1504c91a96fab9e56f28b91,9eabfb72a9474bef872f988307f0334b,10* 4 | G04 Gerber Generator version 0.2* 5 | G04 Scale: 100 percent, Rotated: No, Reflected: No * 6 | G04 Dimensions in millimeters * 7 | G04 leading zeros omitted , absolute positions ,3 integer and 3 decimal * 8 | %FSLAX33Y33*% 9 | %MOMM*% 10 | G90* 11 | G71D02* 12 | 13 | %ADD13C,0.450012*% 14 | %ADD15R,1.099998X0.599999*% 15 | %ADD16R,2.499995X1.199998*% 16 | %ADD17R,1.899996X1.199998*% 17 | %ADD18R,1.092200X0.990600*% 18 | %ADD19R,5.499989X1.999996*% 19 | 20 | %LPD*% 21 | G54D13* 22 | G01X12455Y73252D02* 23 | G01X13655Y73252D01* 24 | G01X12455Y74053D02* 25 | G01X13655Y74053D01* 26 | G01X12455Y74853D02* 27 | G01X13655Y74853D01* 28 | G01X12455Y75653D02* 29 | G01X13655Y75653D01* 30 | G01X12455Y76450D02* 31 | G01X13655Y76450D01* 32 | G01X12455Y77250D02* 33 | G01X13655Y77250D01* 34 | G01X12455Y78051D02* 35 | G01X13655Y78051D01* 36 | G01X12455Y78851D02* 37 | G01X13655Y78851D01* 38 | G01X14630Y79815D02* 39 | G01X14630Y81015D01* 40 | G01X15430Y79815D02* 41 | G01X15430Y81015D01* 42 | G01X16230Y79815D02* 43 | G01X16230Y81015D01* 44 | G01X17030Y79815D02* 45 | G01X17030Y81015D01* 46 | G01X17828Y79815D02* 47 | G01X17828Y81015D01* 48 | G01X18628Y79815D02* 49 | G01X18628Y81015D01* 50 | G01X19428Y79815D02* 51 | G01X19428Y81015D01* 52 | G01X20228Y79815D02* 53 | G01X20228Y81015D01* 54 | G01X21218Y78840D02* 55 | G01X22418Y78840D01* 56 | G01X21218Y78040D02* 57 | G01X22418Y78040D01* 58 | G01X21218Y77240D02* 59 | G01X22418Y77240D01* 60 | G01X21218Y76440D02* 61 | G01X22418Y76440D01* 62 | G01X21218Y75643D02* 63 | G01X22418Y75643D01* 64 | G01X21218Y74843D02* 65 | G01X22418Y74843D01* 66 | G01X21218Y74042D02* 67 | G01X22418Y74042D01* 68 | G01X21218Y73242D02* 69 | G01X22418Y73242D01* 70 | G01X20218Y71078D02* 71 | G01X20218Y72278D01* 72 | G01X19418Y71078D02* 73 | G01X19418Y72278D01* 74 | G01X18618Y71078D02* 75 | G01X18618Y72278D01* 76 | G01X17818Y71078D02* 77 | G01X17818Y72278D01* 78 | G01X17020Y71078D02* 79 | G01X17020Y72278D01* 80 | G01X16220Y71078D02* 81 | G01X16220Y72278D01* 82 | G01X15420Y71078D02* 83 | G01X15420Y72278D01* 84 | G01X14620Y71078D02* 85 | G01X14620Y72278D01* 86 | G54D15* 87 | G01X3655Y68115D03* 88 | G01X3655Y67214D03* 89 | G01X1755Y68115D03* 90 | G01X1755Y67214D03* 91 | G54D16* 92 | G01X6010Y72546D03* 93 | G01X6010Y75046D03* 94 | G01X6010Y77046D03* 95 | G01X6010Y79546D03* 96 | G54D17* 97 | G01X8928Y76860D03* 98 | G01X8928Y80060D03* 99 | G01X8928Y74979D03* 100 | G01X8928Y71779D03* 101 | G01X1689Y79805D03* 102 | G01X1689Y76605D03* 103 | G54D18* 104 | G01X1981Y83666D03* 105 | G01X3683Y83666D03* 106 | G54D19* 107 | G01X17488Y83412D03* 108 | G01X7988Y83412D03* 109 | G01X7988Y68553D03* 110 | G01X17488Y68553D03* 111 | M00* 112 | M02* 113 | -------------------------------------------------------------------------------- /hardware/pcb_gerber/Gerber_BottomPasteMaskLayer.GBP: -------------------------------------------------------------------------------- 1 | G04 Layer: BottomPasteMaskLayer* 2 | G04 EasyEDA v6.3.53, 2020-06-17T01:54:55+02:00* 3 | G04 e9d571a3f1504c91a96fab9e56f28b91,9eabfb72a9474bef872f988307f0334b,10* 4 | G04 Gerber Generator version 0.2* 5 | G04 Scale: 100 percent, Rotated: No, Reflected: No * 6 | G04 Dimensions in millimeters * 7 | G04 leading zeros omitted , absolute positions ,3 integer and 3 decimal * 8 | %FSLAX33Y33*% 9 | %MOMM*% 10 | G90* 11 | G71D02* 12 | 13 | %ADD27C,0.599999*% 14 | 15 | %LPD*% 16 | G54D27* 17 | G01X10156Y80491D02* 18 | G01X11356Y80491D01* 19 | G01X10156Y79221D02* 20 | G01X11356Y79221D01* 21 | G01X10156Y77951D02* 22 | G01X11356Y77951D01* 23 | G01X10156Y76681D02* 24 | G01X11356Y76681D01* 25 | G01X10156Y75411D02* 26 | G01X11356Y75411D01* 27 | G01X10156Y74141D02* 28 | G01X11356Y74141D01* 29 | G01X10156Y72871D02* 30 | G01X11356Y72871D01* 31 | G01X10156Y71601D02* 32 | G01X11356Y71601D01* 33 | G01X4213Y80491D02* 34 | G01X5413Y80491D01* 35 | G01X4213Y79221D02* 36 | G01X5413Y79221D01* 37 | G01X4213Y77951D02* 38 | G01X5413Y77951D01* 39 | G01X4213Y76681D02* 40 | G01X5413Y76681D01* 41 | G01X4213Y75411D02* 42 | G01X5413Y75411D01* 43 | G01X4213Y74141D02* 44 | G01X5413Y74141D01* 45 | G01X4213Y72871D02* 46 | G01X5413Y72871D01* 47 | G01X4213Y71601D02* 48 | G01X5413Y71601D01* 49 | G36* 50 | G01X17605Y84490D02* 51 | G01X16405Y84490D01* 52 | G01X16405Y82589D01* 53 | G01X17605Y82589D01* 54 | G01X17605Y84490D01* 55 | G37* 56 | G36* 57 | G01X14404Y84490D02* 58 | G01X13204Y84490D01* 59 | G01X13204Y82589D01* 60 | G01X14404Y82589D01* 61 | G01X14404Y84490D01* 62 | G37* 63 | G36* 64 | G01X7871Y82589D02* 65 | G01X9071Y82589D01* 66 | G01X9071Y84490D01* 67 | G01X7871Y84490D01* 68 | G01X7871Y82589D01* 69 | G37* 70 | G36* 71 | G01X11071Y82589D02* 72 | G01X12271Y82589D01* 73 | G01X12271Y84490D01* 74 | G01X11071Y84490D01* 75 | G01X11071Y82589D01* 76 | G37* 77 | G36* 78 | G01X7871Y67349D02* 79 | G01X9071Y67349D01* 80 | G01X9071Y69250D01* 81 | G01X7871Y69250D01* 82 | G01X7871Y67349D01* 83 | G37* 84 | G36* 85 | G01X11071Y67349D02* 86 | G01X12271Y67349D01* 87 | G01X12271Y69250D01* 88 | G01X11071Y69250D01* 89 | G01X11071Y67349D01* 90 | G37* 91 | G36* 92 | G01X13332Y67349D02* 93 | G01X14532Y67349D01* 94 | G01X14532Y69250D01* 95 | G01X13332Y69250D01* 96 | G01X13332Y67349D01* 97 | G37* 98 | G36* 99 | G01X16532Y67349D02* 100 | G01X17732Y67349D01* 101 | G01X17732Y69250D01* 102 | G01X16532Y69250D01* 103 | G01X16532Y67349D01* 104 | G37* 105 | G36* 106 | G01X4148Y68130D02* 107 | G01X5148Y68130D01* 108 | G01X5148Y69231D01* 109 | G01X4148Y69231D01* 110 | G01X4148Y68130D01* 111 | G37* 112 | G36* 113 | G01X2548Y68130D02* 114 | G01X3548Y68130D01* 115 | G01X3548Y69231D01* 116 | G01X2548Y69231D01* 117 | G01X2548Y68130D01* 118 | G37* 119 | G36* 120 | G01X4148Y66479D02* 121 | G01X5148Y66479D01* 122 | G01X5148Y67580D01* 123 | G01X4148Y67580D01* 124 | G01X4148Y66479D01* 125 | G37* 126 | G36* 127 | G01X2548Y66479D02* 128 | G01X3548Y66479D01* 129 | G01X3548Y67580D01* 130 | G01X2548Y67580D01* 131 | G01X2548Y66479D01* 132 | G37* 133 | G36* 134 | G01X12550Y77332D02* 135 | G01X12550Y76132D01* 136 | G01X14450Y76132D01* 137 | G01X14450Y77332D01* 138 | G01X12550Y77332D01* 139 | G37* 140 | G36* 141 | G01X12550Y80533D02* 142 | G01X12550Y79333D01* 143 | G01X14450Y79333D01* 144 | G01X14450Y80533D01* 145 | G01X12550Y80533D01* 146 | G37* 147 | M00* 148 | M02* 149 | -------------------------------------------------------------------------------- /homeassistant_open433/binary_sensor.py: -------------------------------------------------------------------------------- 1 | """Support for binary sensor using RPi GPIO.""" 2 | import logging 3 | from threading import Timer 4 | 5 | import voluptuous as vol 6 | 7 | from homeassistant.components.binary_sensor import PLATFORM_SCHEMA, BinarySensorEntity 8 | from homeassistant.const import CONF_NAME, CONF_SWITCHES, DEVICE_DEFAULT_NAME 9 | import homeassistant.helpers.config_validation as cv 10 | from . import DOMAIN, REQ_LOCK, rcswitch 11 | 12 | _LOGGER = logging.getLogger(__name__) 13 | 14 | CONF_CODE_OFF = "code_off" 15 | CONF_CODE_ON = "code_on" 16 | CONF_PROTOCOL = "protocol" 17 | CONF_LENGTH = "length" 18 | CONF_SIGNAL_REPETITIONS = "signal_repetitions" 19 | CONF_ON_TIMEOUT = "on_timeout" 20 | 21 | SWITCH_SCHEMA = vol.Schema( 22 | { 23 | vol.Required(CONF_CODE_OFF): vol.All(cv.ensure_list_csv, [cv.positive_int]), 24 | vol.Required(CONF_CODE_ON): vol.All(cv.ensure_list_csv, [cv.positive_int]), 25 | vol.Optional(CONF_LENGTH, default=32): cv.positive_int, 26 | vol.Optional(CONF_SIGNAL_REPETITIONS, default=15): cv.positive_int, 27 | vol.Optional(CONF_PROTOCOL, default=2): cv.positive_int, 28 | vol.Optional(CONF_PROTOCOL, default=2): cv.positive_int, 29 | vol.Optional(CONF_ON_TIMEOUT, default=0): cv.positive_int, 30 | } 31 | ) 32 | 33 | PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend( 34 | { 35 | vol.Required(CONF_SWITCHES): vol.Schema({cv.string: SWITCH_SCHEMA}), 36 | } 37 | ) 38 | 39 | 40 | def setup_platform(hass, config, add_entities, discovery_info=None): 41 | rf = hass.data[DOMAIN] 42 | 43 | switches = config.get(CONF_SWITCHES) 44 | devices = [] 45 | for dev_name, properties in switches.items(): 46 | devices.append( 47 | Open433BinarySensor( 48 | properties.get(CONF_NAME, dev_name), 49 | rf, 50 | properties.get(CONF_PROTOCOL), 51 | properties.get(CONF_LENGTH), 52 | properties.get(CONF_CODE_ON), 53 | properties.get(CONF_CODE_OFF), 54 | properties.get(CONF_ON_TIMEOUT), 55 | ) 56 | ) 57 | 58 | add_entities(devices, True) 59 | 60 | 61 | class Open433BinarySensor(BinarySensorEntity): 62 | def __init__(self, name, rf, protocol, length, code_on, code_off, on_timeout): 63 | self._name = name 64 | self._state = False 65 | self._rf = rf 66 | self._protocol = protocol 67 | self._length = length 68 | self._code_on = code_on 69 | self._code_off = code_off 70 | self._on_timeout = on_timeout 71 | self._available = True 72 | self._rf.addIncomingPacketListener(self._incoming) 73 | 74 | self._rf.addErrorListener(self._rcSwitchError) 75 | 76 | def _rcSwitchError(self, err): 77 | self._available = False 78 | self.schedule_update_ha_state() 79 | 80 | def _turn_off(self): 81 | self._state = False 82 | self.schedule_update_ha_state() 83 | 84 | def _incoming(self, packet): 85 | if isinstance(packet, rcswitch.packets.ReceivedSignal): 86 | if packet.length == self._length and packet.protocol == self._protocol: 87 | if packet.decimal in self._code_on: 88 | self._state = True 89 | self.schedule_update_ha_state() 90 | if self._on_timeout != 0: 91 | Timer(self._on_timeout, self._turn_off).start() 92 | 93 | if packet.decimal in self._code_off: 94 | self._state = False 95 | self.schedule_update_ha_state() 96 | 97 | @property 98 | def available(self): 99 | return self._available 100 | 101 | @property 102 | def should_poll(self): 103 | return False 104 | 105 | @property 106 | def name(self): 107 | return self._name 108 | 109 | @property 110 | def is_on(self): 111 | return self._state 112 | 113 | def update(self): 114 | pass 115 | -------------------------------------------------------------------------------- /homeassistant_open433/switch.py: -------------------------------------------------------------------------------- 1 | import logging 2 | 3 | import voluptuous as vol 4 | 5 | from homeassistant.components.switch import SwitchEntity, PLATFORM_SCHEMA 6 | from homeassistant.const import CONF_NAME, CONF_SWITCHES 7 | import homeassistant.helpers.config_validation as cv 8 | from . import DOMAIN, REQ_LOCK, rcswitch 9 | 10 | _LOGGER = logging.getLogger(__name__) 11 | 12 | CONF_CODE_OFF = "code_off" 13 | CONF_CODE_ON = "code_on" 14 | CONF_PROTOCOL = "protocol" 15 | CONF_LENGTH = "length" 16 | CONF_SIGNAL_REPETITIONS = "signal_repetitions" 17 | CONF_ENABLE_RECEIVE = "enable_receive" 18 | 19 | SWITCH_SCHEMA = vol.Schema( 20 | { 21 | vol.Required(CONF_CODE_OFF): vol.All(cv.ensure_list_csv, [cv.positive_int]), 22 | vol.Required(CONF_CODE_ON): vol.All(cv.ensure_list_csv, [cv.positive_int]), 23 | vol.Optional(CONF_LENGTH, default=32): cv.positive_int, 24 | vol.Optional(CONF_SIGNAL_REPETITIONS, default=15): cv.positive_int, 25 | vol.Optional(CONF_PROTOCOL, default=2): cv.positive_int, 26 | vol.Optional(CONF_ENABLE_RECEIVE, default=False): cv.boolean, 27 | } 28 | ) 29 | 30 | PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend( 31 | { 32 | vol.Required(CONF_SWITCHES): vol.Schema({cv.string: SWITCH_SCHEMA}), 33 | } 34 | ) 35 | 36 | 37 | def setup_platform(hass, config, add_entities, discovery_info=None): 38 | rf = hass.data[DOMAIN] 39 | 40 | switches = config.get(CONF_SWITCHES) 41 | devices = [] 42 | for dev_name, properties in switches.items(): 43 | devices.append( 44 | Open433Switch( 45 | properties.get(CONF_NAME, dev_name), 46 | rf, 47 | properties.get(CONF_PROTOCOL), 48 | properties.get(CONF_LENGTH), 49 | properties.get(CONF_SIGNAL_REPETITIONS), 50 | properties.get(CONF_CODE_ON), 51 | properties.get(CONF_CODE_OFF), 52 | properties.get(CONF_ENABLE_RECEIVE), 53 | ) 54 | ) 55 | 56 | add_entities(devices) 57 | 58 | 59 | class Open433Switch(SwitchEntity): 60 | def __init__(self, name, rf, protocol, length, signal_repetitions, code_on, code_off,enable_rx): 61 | self._name = name 62 | self._state = False 63 | self._rf = rf 64 | self._protocol = protocol 65 | self._length = length 66 | self._code_on = code_on 67 | self._code_off = code_off 68 | self._signal_repetitions = signal_repetitions 69 | self._available = True 70 | if enable_rx: 71 | self._rf.addIncomingPacketListener(self._incoming) 72 | 73 | self._rf.addErrorListener(self._rcSwitchError) 74 | 75 | def _rcSwitchError(self, err): 76 | self._available = False 77 | self.schedule_update_ha_state() 78 | 79 | def _incoming(self, packet): 80 | if isinstance(packet, rcswitch.packets.ReceivedSignal): 81 | if packet.length == self._length and packet.protocol == self._protocol: 82 | if packet.decimal in self._code_on: 83 | self._state = True 84 | self.schedule_update_ha_state() 85 | if packet.decimal in self._code_off: 86 | self._state = False 87 | self.schedule_update_ha_state() 88 | 89 | @property 90 | def available(self): 91 | return self._available 92 | 93 | @property 94 | def should_poll(self): 95 | return False 96 | 97 | @property 98 | def name(self): 99 | return self._name 100 | 101 | @property 102 | def is_on(self): 103 | return self._state 104 | 105 | def _send_code(self, code_list, protocol, length): 106 | with REQ_LOCK: 107 | self._rf.setRepeatTransmit(self._signal_repetitions) 108 | for code in code_list: 109 | packet = rcswitch.packets.SendDecimal(value=code, length=length, protocol=protocol, delay=700) 110 | self._rf.send(packet) 111 | return True 112 | 113 | def turn_on(self, **kwargs): 114 | if self._send_code(self._code_on, self._protocol, self._length): 115 | self._state = True 116 | self.schedule_update_ha_state() 117 | 118 | def turn_off(self, **kwargs): 119 | if self._send_code(self._code_off, self._protocol, self._length): 120 | self._state = False 121 | self.schedule_update_ha_state() -------------------------------------------------------------------------------- /hardware/pcb_gerber/Gerber_BoardOutline.GKO: -------------------------------------------------------------------------------- 1 | G04 Layer: BoardOutline* 2 | G04 EasyEDA v6.3.53, 2020-06-17T01:54:55+02:00* 3 | G04 e9d571a3f1504c91a96fab9e56f28b91,9eabfb72a9474bef872f988307f0334b,10* 4 | G04 Gerber Generator version 0.2* 5 | G04 Scale: 100 percent, Rotated: No, Reflected: No * 6 | G04 Dimensions in millimeters * 7 | G04 leading zeros omitted , absolute positions ,3 integer and 3 decimal * 8 | %FSLAX33Y33*% 9 | %MOMM*% 10 | G90* 11 | G71D02* 12 | 13 | %ADD10C,0.254000*% 14 | G54D10* 15 | G01X2540Y86079D02* 16 | G01X44107Y86079D01* 17 | G01X44107Y65759D01* 18 | G01X2540Y65759D01* 19 | G01X0Y83539D02* 20 | G01X0Y68299D01* 21 | G75* 22 | G01X2540Y86080D02* 23 | G03X0Y83540I0J-2540D01* 24 | G01* 25 | G75* 26 | G01X0Y68300D02* 27 | G03X2540Y65760I2540J0D01* 28 | G01* 29 | G01X48247Y86079D02* 30 | G01X89814Y86079D01* 31 | G01X89814Y65759D01* 32 | G01X48247Y65759D01* 33 | G01X45707Y83539D02* 34 | G01X45707Y68299D01* 35 | G75* 36 | G01X48247Y86080D02* 37 | G03X45707Y83540I0J-2540D01* 38 | G01* 39 | G75* 40 | G01X45707Y68300D02* 41 | G03X48247Y65760I2540J0D01* 42 | G01* 43 | G01X2540Y64159D02* 44 | G01X44107Y64159D01* 45 | G01X44107Y43839D01* 46 | G01X2540Y43839D01* 47 | G01X0Y61619D02* 48 | G01X0Y46379D01* 49 | G75* 50 | G01X2540Y64160D02* 51 | G03X0Y61620I0J-2540D01* 52 | G01* 53 | G75* 54 | G01X0Y46380D02* 55 | G03X2540Y43840I2540J0D01* 56 | G01* 57 | G01X48247Y64159D02* 58 | G01X89814Y64159D01* 59 | G01X89814Y43839D01* 60 | G01X48247Y43839D01* 61 | G01X45707Y61619D02* 62 | G01X45707Y46379D01* 63 | G75* 64 | G01X48247Y64160D02* 65 | G03X45707Y61620I0J-2540D01* 66 | G01* 67 | G75* 68 | G01X45707Y46380D02* 69 | G03X48247Y43840I2540J0D01* 70 | G01* 71 | G01X2540Y42239D02* 72 | G01X44107Y42239D01* 73 | G01X44107Y21919D01* 74 | G01X2540Y21919D01* 75 | G01X0Y39699D02* 76 | G01X0Y24459D01* 77 | G75* 78 | G01X2540Y42240D02* 79 | G03X0Y39700I0J-2540D01* 80 | G01* 81 | G75* 82 | G01X0Y24460D02* 83 | G03X2540Y21920I2540J0D01* 84 | G01* 85 | G01X48247Y42239D02* 86 | G01X89814Y42239D01* 87 | G01X89814Y21919D01* 88 | G01X48247Y21919D01* 89 | G01X45707Y39699D02* 90 | G01X45707Y24459D01* 91 | G75* 92 | G01X48247Y42240D02* 93 | G03X45707Y39700I0J-2540D01* 94 | G01* 95 | G75* 96 | G01X45707Y24460D02* 97 | G03X48247Y21920I2540J0D01* 98 | G01* 99 | G01X2540Y20320D02* 100 | G01X44107Y20320D01* 101 | G01X44107Y0D01* 102 | G01X2540Y0D01* 103 | G01X0Y17780D02* 104 | G01X0Y2540D01* 105 | G75* 106 | G01X2540Y20320D02* 107 | G03X0Y17780I0J-2540D01* 108 | G01* 109 | G75* 110 | G01X0Y2540D02* 111 | G03X2540Y0I2540J0D01* 112 | G01* 113 | G01X48247Y20320D02* 114 | G01X89814Y20320D01* 115 | G01X89814Y0D01* 116 | G01X48247Y0D01* 117 | G01X45707Y17780D02* 118 | G01X45707Y2540D01* 119 | G75* 120 | G01X48247Y20320D02* 121 | G03X45707Y17780I0J-2540D01* 122 | G01* 123 | G75* 124 | G01X45707Y2540D02* 125 | G03X48247Y0I2540J0D01* 126 | G01* 127 | G01X0Y86079D02* 128 | G01X89814Y86079D01* 129 | G01X89814Y0D01* 130 | G01X0Y0D01* 131 | G01X0Y86079D01* 132 | G01X17953Y64159D02* 133 | G01X17953Y65759D01* 134 | G01X26153Y64159D02* 135 | G01X26153Y65759D01* 136 | G01X63660Y64159D02* 137 | G01X63660Y65759D01* 138 | G01X71860Y64159D02* 139 | G01X71860Y65759D01* 140 | G01X17953Y42239D02* 141 | G01X17953Y43839D01* 142 | G01X26153Y42239D02* 143 | G01X26153Y43839D01* 144 | G01X63660Y42239D02* 145 | G01X63660Y43839D01* 146 | G01X71860Y42239D02* 147 | G01X71860Y43839D01* 148 | G01X17953Y20320D02* 149 | G01X17953Y21919D01* 150 | G01X26153Y20320D02* 151 | G01X26153Y21919D01* 152 | G01X63660Y20320D02* 153 | G01X63660Y21919D01* 154 | G01X71860Y20320D02* 155 | G01X71860Y21919D01* 156 | G01X45707Y80020D02* 157 | G01X44107Y80020D01* 158 | G01X45707Y71819D02* 159 | G01X44107Y71819D01* 160 | G01X45707Y58100D02* 161 | G01X44107Y58100D01* 162 | G01X45707Y49899D02* 163 | G01X44107Y49899D01* 164 | G01X45707Y36180D02* 165 | G01X44107Y36180D01* 166 | G01X45707Y27979D02* 167 | G01X44107Y27979D01* 168 | G01X45707Y14260D02* 169 | G01X44107Y14260D01* 170 | G01X45707Y6059D02* 171 | G01X44107Y6059D01* 172 | 173 | %LPD*% 174 | M00* 175 | M02* 176 | -------------------------------------------------------------------------------- /hardware/pcb_gerber/Gerber_Drill_NPTH.DRL: -------------------------------------------------------------------------------- 1 | ;Layer: Drill NPTH 2 | ;EasyEDA v6.3.53, 2020-06-17T01:54:55+02:00 3 | ;e9d571a3f1504c91a96fab9e56f28b91,9eabfb72a9474bef872f988307f0334b,10 4 | ;Gerber Generator version 0.2 5 | M48 6 | METRIC,LZ,000.000 7 | ;Holesize 1 = 0.551 METRIC 8 | T01C0.551 9 | ;Holesize 2 = 1.101 METRIC 10 | T02C1.101 11 | ;Holesize 3 = 3.000 METRIC 12 | T03C3.000 13 | % 14 | G05 15 | G90 16 | T01 17 | X+019078Y+064159 18 | X+019928Y+064159 19 | X+020778Y+064159 20 | X+021628Y+064159 21 | X+022478Y+064159 22 | X+023328Y+064159 23 | X+024178Y+064159 24 | X+025028Y+064159 25 | X+019078Y+065759 26 | X+019928Y+065759 27 | X+020778Y+065759 28 | X+021628Y+065759 29 | X+022478Y+065759 30 | X+023328Y+065759 31 | X+024178Y+065759 32 | X+025028Y+065759 33 | X+064785Y+064159 34 | X+065635Y+064159 35 | X+066485Y+064159 36 | X+067335Y+064159 37 | X+068185Y+064159 38 | X+069035Y+064159 39 | X+069885Y+064159 40 | X+070735Y+064159 41 | X+064785Y+065759 42 | X+065635Y+065759 43 | X+066485Y+065759 44 | X+067335Y+065759 45 | X+068185Y+065759 46 | X+069035Y+065759 47 | X+069885Y+065759 48 | X+070735Y+065759 49 | X+019078Y+042239 50 | X+019928Y+042239 51 | X+020778Y+042239 52 | X+021628Y+042239 53 | X+022478Y+042239 54 | X+023328Y+042239 55 | X+024178Y+042239 56 | X+025028Y+042239 57 | X+019078Y+043839 58 | X+019928Y+043839 59 | X+020778Y+043839 60 | X+021628Y+043839 61 | X+022478Y+043839 62 | X+023328Y+043839 63 | X+024178Y+043839 64 | X+025028Y+043839 65 | X+064785Y+042239 66 | X+065635Y+042239 67 | X+066485Y+042239 68 | X+067335Y+042239 69 | X+068185Y+042239 70 | X+069035Y+042239 71 | X+069885Y+042239 72 | X+070735Y+042239 73 | X+064785Y+043839 74 | X+065635Y+043839 75 | X+066485Y+043839 76 | X+067335Y+043839 77 | X+068185Y+043839 78 | X+069035Y+043839 79 | X+069885Y+043839 80 | X+070735Y+043839 81 | X+019078Y+020320 82 | X+019928Y+020320 83 | X+020778Y+020320 84 | X+021628Y+020320 85 | X+022478Y+020320 86 | X+023328Y+020320 87 | X+024178Y+020320 88 | X+025028Y+020320 89 | X+019078Y+021919 90 | X+019928Y+021919 91 | X+020778Y+021919 92 | X+021628Y+021919 93 | X+022478Y+021919 94 | X+023328Y+021919 95 | X+024178Y+021919 96 | X+025028Y+021919 97 | X+064785Y+020320 98 | X+065635Y+020320 99 | X+066485Y+020320 100 | X+067335Y+020320 101 | X+068185Y+020320 102 | X+069035Y+020320 103 | X+069885Y+020320 104 | X+070735Y+020320 105 | X+064785Y+021919 106 | X+065635Y+021919 107 | X+066485Y+021919 108 | X+067335Y+021919 109 | X+068185Y+021919 110 | X+069035Y+021919 111 | X+069885Y+021919 112 | X+070735Y+021919 113 | X+045707Y+078895 114 | X+045707Y+078045 115 | X+045707Y+077194 116 | X+045707Y+076344 117 | X+045707Y+075494 118 | X+045707Y+074644 119 | X+045707Y+073794 120 | X+045707Y+072944 121 | X+044107Y+078895 122 | X+044107Y+078045 123 | X+044107Y+077194 124 | X+044107Y+076344 125 | X+044107Y+075494 126 | X+044107Y+074644 127 | X+044107Y+073794 128 | X+044107Y+072944 129 | X+045707Y+056975 130 | X+045707Y+056125 131 | X+045707Y+055274 132 | X+045707Y+054424 133 | X+045707Y+053574 134 | X+045707Y+052724 135 | X+045707Y+051874 136 | X+045707Y+051024 137 | X+044107Y+056975 138 | X+044107Y+056125 139 | X+044107Y+055274 140 | X+044107Y+054424 141 | X+044107Y+053574 142 | X+044107Y+052724 143 | X+044107Y+051874 144 | X+044107Y+051024 145 | X+045707Y+035055 146 | X+045707Y+034205 147 | X+045707Y+033355 148 | X+045707Y+032504 149 | X+045707Y+031654 150 | X+045707Y+030804 151 | X+045707Y+029954 152 | X+045707Y+029104 153 | X+044107Y+035055 154 | X+044107Y+034205 155 | X+044107Y+033355 156 | X+044107Y+032504 157 | X+044107Y+031654 158 | X+044107Y+030804 159 | X+044107Y+029954 160 | X+044107Y+029104 161 | X+045707Y+013135 162 | X+045707Y+012285 163 | X+045707Y+011435 164 | X+045707Y+010584 165 | X+045707Y+009734 166 | X+045707Y+008884 167 | X+045707Y+008034 168 | X+045707Y+007184 169 | X+044107Y+013135 170 | X+044107Y+012285 171 | X+044107Y+011435 172 | X+044107Y+010584 173 | X+044107Y+009734 174 | X+044107Y+008884 175 | X+044107Y+008034 176 | X+044107Y+007184 177 | T02 178 | X+003210Y+078296 179 | X+003210Y+073796 180 | T03 181 | X+042202Y+076173 182 | M30 183 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Open433 2 | 3 | This project is an opensource usb 433Mhz rf transmitter / receiver based on an atmega328p the board uses a serial communication with a "packet" based systems (simples structs that are sent over the serial port). 4 | The project has a basic but working implementation of a custom component for homeassistant which is similar to the rpi_rf configuration) 5 | 6 | See my blog articles on the implementation / creation of the project: 7 | 8 | [https://blog.thestaticturtle.fr/open433-lets-turn-light-on-with-the-computer](https://blog.thestaticturtle.fr/open433-lets-turn-light-on-with-the-computer) 9 | 10 | [https://blog.thestaticturtle.fr/creating-a-custom-component-for-homeassistant](https://blog.thestaticturtle.fr/creating-a-custom-component-for-homeassistant) 11 | 12 | # Building the project 13 | 14 | If you just got your own barebone pcbs you just need to flash the arduino bootloader to do that you can use any iscp programmer (or even "arduino as isp") for the bootloader I use the arduino uno bootloader the hardware is using an atmega328p running at 16MHz at 5V. 15 | After that you just have to compile compile and upload the scketch in the arduino folder 16 | 17 | # Using the project 18 | 19 | ## Using the library 20 | 21 | If you don't use homeassistant you can see an example in the software folder. 22 | 23 | 24 | ## From homeassistant 25 | If you want to use the board with homeassistant you need to create a `custom_components` folder in the homeassistant configuration directory (same one as the configuration.yaml) then you need to rename the `homeassistant_open433` to `open433` and put it in the `custom_components`. 26 | Then after restarting the server you need to set the configure homeassistant to use the module: 27 | ``` 28 | open433: 29 | port: COM3 30 | speed: 9600 #(Optional default to 9600) 31 | ``` 32 | Then you can add switches like this: 33 | ``` 34 | switch: 35 | - platform: open433 36 | switches: 37 | KitchenLamp: 38 | code_on: 2523794944 39 | code_off: 2658012672 40 | protocol: 2 #(Optional default to 2) 41 | length: 32 #(Optional default to 32) 42 | signal_repetitions: 5 #(Optional default to 15) 43 | enable_receive: true #(Optional default to false) enable listening to incoming rf message of the switch codes 44 | ``` 45 | Or add binary sensors (with a possible timeout) like this: 46 | ``` 47 | binary_sensor: 48 | - platform: open433 49 | switches: 50 | inputA: 51 | code_on: 2389577216 52 | code_off: 2171473408 53 | protocol: 2 #(Optional default to 2) 54 | length: 32 #(Optional default to 32) 55 | on_timeout: 2 #(Optional 0 to turn off) Will turn off 2sec after receiving code_on, code_off will still be functional 56 | ``` 57 | 58 | An implementation of the light component has been done and can be used like this: 59 | ``` 60 | light: 61 | - platform: open433 62 | switches: 63 | BedSideLamp: 64 | levels: 65 | - brightness: 0 66 | code: 2658045484 67 | - brightness: 100 68 | code: 2523827756 69 | protocol: 2 70 | length: 32 71 | signal_repetitions: 5 72 | enable_receive: true 73 | force_levels: true 74 | ``` 75 | For this example, the entity KitchenLamp will send the code `2658045484` from brightness 0 to 99 and `2523827756` to 100 76 | The `force_levels` option allows the module to clamp homeassistant brightness slider to the specific value set in the config (ie. here sending the value 42 will go back to 0) 77 | You can add multiple brightness stages with different codes, example: 78 | ``` 79 | - brightness: 0 80 | code: 2658045484 81 | - brightness: 50 82 | code: 2926480940 83 | - brightness: 100 84 | code: 2523827756 85 | ``` 86 | This will send the code `2658045484` from 0 to 49 , the code `2926480940` from 50 to 99 and the code `2523827756` at 100 87 | 88 | You can also listen to events (open433_rx) to get received codes and send events to open433_tx with the following data to send an rf code: 89 | ``` 90 | code: 2658012672 91 | protocol: 2 92 | bitlength: 32 93 | ``` 94 | 95 | ## Licences 96 | - Software License: GPL v. 3 97 | - Hardware License: CERN OHL v. 1.2 98 | - Documentation License: CC BY-SA 4.0 International 99 | -------------------------------------------------------------------------------- /arduino/arduino.ino: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | #define BOARD_V01 4 | #include "packets.h" 5 | #include "board_definition.h" 6 | 7 | #define BUFFER_SIZE 512 8 | 9 | RCSwitch mySwitch = RCSwitch(); 10 | received_signal_packet_t packet_received_signal = {"receive_signal",0,0,0,0,0}; 11 | ack_packet_t ack_packet = {"ack",0,"hello world"}; 12 | 13 | uint8_t serial_buffer[BUFFER_SIZE]; 14 | uint8_t data_buffer[BUFFER_SIZE]; 15 | int bufferCounter = 0; 16 | int dataBufferCounter = 0; 17 | unsigned long last_message = 0; 18 | 19 | void setup() { 20 | Serial.begin(9600); 21 | mySwitch.enableReceive(digitalPinToInterrupt(PIN_MODULE_RX)); // Receiver on interrupt 0 => that is pin #2 22 | mySwitch.enableTransmit(PIN_MODULE_TX); 23 | mySwitch.setRepeatTransmit(3); 24 | 25 | pinMode(PIN_LED_TX,OUTPUT); 26 | pinMode(PIN_LED_RX,OUTPUT); 27 | pinMode(PIN_LED_RX,HIGH); 28 | Serial.println("HELLO"); 29 | } 30 | 31 | void sendAck() { 32 | ack_packet.t = millis(); 33 | Serial.println("START"); //Send start marker 34 | uint8_t payload[sizeof(ack_packet)]; //Create temporary buffer to store the struct 35 | memcpy(payload,&ack_packet,sizeof(ack_packet)); //copy the struct to the tmp buffer 36 | for(int i=0;i < sizeof(payload);i++) Serial.write(payload[i]); //Write the tmp buffer to serial port 37 | Serial.println("END"); //Send end marker 38 | } 39 | 40 | void loop() { 41 | digitalWrite(PIN_LED_RX,HIGH); 42 | if (mySwitch.available()) { 43 | //Assign values to send struct 44 | packet_received_signal.t = millis(); 45 | packet_received_signal.decimal = mySwitch.getReceivedValue(); 46 | packet_received_signal.length = mySwitch.getReceivedBitlength(); 47 | packet_received_signal.delay = mySwitch.getReceivedDelay(); 48 | packet_received_signal.protocol = mySwitch.getReceivedProtocol(); 49 | 50 | Serial.println("START"); //Send start marker 51 | uint8_t payload[sizeof(packet_received_signal)]; //Create temporary buffer to store the struct 52 | memcpy(payload,&packet_received_signal,sizeof(packet_received_signal)); //copy the struct to the tmp buffer 53 | for(int i=0;i < sizeof(payload);i++) Serial.write(payload[i]); //Write the tmp buffer to serial port 54 | Serial.println("END"); //Send end marker 55 | 56 | mySwitch.resetAvailable(); 57 | } 58 | 59 | if(Serial.available()){ 60 | last_message = millis(); 61 | serial_buffer[bufferCounter] = Serial.read(); 62 | 63 | char* search_start_pointer; 64 | search_start_pointer = strstr(serial_buffer, "START\r\n"); //Search for the "START\r\n" string in the serial receive buffer 65 | if (search_start_pointer != NULL) { 66 | data_buffer[dataBufferCounter] = serial_buffer[bufferCounter]; //Start copying incoming data to the data buffer but offseted so that it can be cast as a struc later 67 | if(data_buffer[dataBufferCounter-2] == 'E' && data_buffer[dataBufferCounter-1] == 'N' && data_buffer[dataBufferCounter] == 'D') { //Last 3 chars were END -> end of data 68 | char type[17]; //Create a tmp buffer to store the type of packet received 69 | memcpy (&type, &data_buffer, 17); //Copy only the first 17bytes to the tmp buffer (See ptype in each struct in packet.h) 70 | 71 | if(strstr(type,"send_decimal")!=NULL) { //SendDecimal packet found 72 | send_decimal_packet_t *test = (send_decimal_packet_t*) data_buffer; //Cast the data buffer to the struct representing the packet 73 | 74 | digitalWrite(PIN_LED_RX,LOW); //Led blinking 75 | digitalWrite(PIN_LED_TX,HIGH); 76 | mySwitch.setProtocol(test->protocol); //Set the correct protocol according to the received packet 77 | mySwitch.send(test->decimal, test->length); //Send the value over the air 78 | digitalWrite(PIN_LED_TX,LOW); //Led blinking 79 | 80 | memset(data_buffer , '\0', sizeof(char)*BUFFER_SIZE ); //Reset both buffers 81 | memset(serial_buffer, '\0', sizeof(char)*BUFFER_SIZE ); 82 | sendAck(); 83 | } 84 | if(strstr(type,"rcswitch_conf")!=NULL) { //SendDecimal packet found 85 | rcswitch_config_t *test = (rcswitch_config_t*) data_buffer; //Cast the data buffer to the struct representing the packet 86 | 87 | mySwitch.setRepeatTransmit(test->repeat); 88 | #if not defined( RCSwitchDisableReceiving ) 89 | mySwitch.setReceiveTolerance(test->receiveTolerance); 90 | #endif 91 | 92 | memset(data_buffer , '\0', sizeof(char)*BUFFER_SIZE ); //Reset both buffers 93 | memset(serial_buffer, '\0', sizeof(char)*BUFFER_SIZE ); 94 | sendAck(); 95 | } 96 | 97 | dataBufferCounter = -1; //Reset both buffers counters (-1 needed because of the ++ at the end of the loop) 98 | bufferCounter = -1; 99 | } 100 | dataBufferCounter++; 101 | } 102 | bufferCounter++; 103 | 104 | 105 | //Security measure. Ensure that the buffer will not overflow if the message. It also reset the buffers if the last message eceived was more than 30sec ago 106 | if((bufferCounter >= BUFFER_SIZE && dataBufferCounter >= BUFFER_SIZE) || last_message+30000 < millis()) { 107 | memset(data_buffer , '\0', sizeof(char)*BUFFER_SIZE ); 108 | memset(serial_buffer, '\0', sizeof(char)*BUFFER_SIZE ); 109 | dataBufferCounter = 0; 110 | bufferCounter = 0; 111 | } 112 | } 113 | } 114 | -------------------------------------------------------------------------------- /homeassistant_open433/light.py: -------------------------------------------------------------------------------- 1 | import logging 2 | 3 | import voluptuous as vol 4 | 5 | from homeassistant.components.light import LightEntity, PLATFORM_SCHEMA, SUPPORT_BRIGHTNESS, ATTR_BRIGHTNESS 6 | from homeassistant.const import CONF_NAME, CONF_SWITCHES 7 | import homeassistant.helpers.config_validation as cv 8 | from . import DOMAIN, REQ_LOCK, rcswitch 9 | 10 | _LOGGER = logging.getLogger(__name__) 11 | 12 | CONF_BRIGHTNESS = "brightness" 13 | CONF_LEVELS = "levels" 14 | CONF_CODE_ON = "code_on" 15 | CONF_CODE = "code" 16 | CONF_PROTOCOL = "protocol" 17 | CONF_LENGTH = "length" 18 | CONF_SIGNAL_REPETITIONS = "signal_repetitions" 19 | CONF_ENABLE_RECEIVE = "enable_receive" 20 | CONF_FORCE_LEVELS = "force_levels" 21 | 22 | BRIGHTNESS_STATES = vol.Schema( 23 | { 24 | vol.Required(CONF_BRIGHTNESS): cv.positive_int, 25 | vol.Required(CONF_CODE): vol.All(cv.ensure_list_csv, [cv.positive_int]), 26 | } 27 | ) 28 | 29 | SWITCH_SCHEMA = vol.Schema( 30 | { 31 | vol.Required(CONF_LEVELS): vol.All(cv.ensure_list, [BRIGHTNESS_STATES]), 32 | 33 | vol.Optional(CONF_CODE_ON): vol.All(cv.ensure_list_csv, [cv.positive_int]), 34 | 35 | vol.Optional(CONF_LENGTH, default=32): cv.positive_int, 36 | vol.Optional(CONF_SIGNAL_REPETITIONS, default=15): cv.positive_int, 37 | vol.Optional(CONF_PROTOCOL, default=2): cv.positive_int, 38 | vol.Optional(CONF_ENABLE_RECEIVE, default=False): cv.boolean, 39 | vol.Optional(CONF_FORCE_LEVELS, default=False): cv.boolean, 40 | 41 | } 42 | ) 43 | 44 | PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend( 45 | { 46 | vol.Required(CONF_SWITCHES): vol.Schema({cv.string: SWITCH_SCHEMA}), 47 | } 48 | ) 49 | 50 | 51 | def fill_array(arr): 52 | setArrayTpo = None 53 | for i in range(0, len(arr)): 54 | if arr[i] != setArrayTpo and arr[i] is not None: 55 | setArrayTpo = arr[i] 56 | arr[i] = setArrayTpo 57 | return arr 58 | 59 | 60 | def setup_platform(hass, config, add_entities, discovery_info=None): 61 | rf = hass.data[DOMAIN] 62 | 63 | switches = config.get(CONF_SWITCHES) 64 | devices = [] 65 | for dev_name, properties in switches.items(): 66 | 67 | levels_raw = properties.get(CONF_LEVELS) 68 | levels = [None] * 101 69 | 70 | for l in levels_raw: 71 | bright = l.popitem(0)[1] 72 | if bright < 0 or bright > 100: 73 | raise ValueError("Brightness value is invalid 0<" + str(bright) + "<100") 74 | 75 | levels[bright] = l.popitem(1)[1] 76 | 77 | levels = fill_array(levels) 78 | if None in levels: 79 | raise KeyError("Failed to create brightness map, may you don't have a brigthness 0 entry") 80 | 81 | devices.append( 82 | Open433Light( 83 | properties.get(CONF_NAME, dev_name), 84 | rf, 85 | properties.get(CONF_PROTOCOL), 86 | properties.get(CONF_LENGTH), 87 | properties.get(CONF_SIGNAL_REPETITIONS), 88 | levels, 89 | properties.get(CONF_CODE_ON), 90 | properties.get(CONF_ENABLE_RECEIVE), 91 | properties.get(CONF_FORCE_LEVELS), 92 | ) 93 | ) 94 | 95 | add_entities(devices) 96 | 97 | 98 | class Open433Light(LightEntity): 99 | def __init__(self, name, rf, protocol, length, signal_repetitions, levels, code_on, enable_rx, force_levels): 100 | self._name = name 101 | self._brightness = 0 102 | self._rf = rf 103 | self._protocol = protocol 104 | self._length = length 105 | self._levels = levels 106 | self._code_on = code_on 107 | 108 | self._signal_repetitions = signal_repetitions 109 | self._available = True 110 | if enable_rx: 111 | self._rf.addIncomingPacketListener(self._incoming) 112 | 113 | self._rf.addErrorListener(self._rcSwitchError) 114 | self._force_levels = force_levels 115 | 116 | def _rcSwitchError(self, err): 117 | self._available = False 118 | self.schedule_update_ha_state() 119 | 120 | def _searchForCode(self, code): 121 | for i, level in enumerate(self._levels): 122 | if code in level: 123 | return i, code 124 | return None 125 | 126 | def _incoming(self, packet): 127 | if isinstance(packet, rcswitch.packets.ReceivedSignal): 128 | if packet.length == self._length and packet.protocol == self._protocol: 129 | x, _ = self._searchForCode(packet.decimal) 130 | if x is not None: 131 | self._brightness = x 132 | self.schedule_update_ha_state() 133 | 134 | @property 135 | def available(self): 136 | return self._available 137 | 138 | @property 139 | def should_poll(self): 140 | return False 141 | 142 | @property 143 | def name(self): 144 | return self._name 145 | 146 | @property 147 | def supported_features(self): 148 | """Flag supported features.""" 149 | return SUPPORT_BRIGHTNESS 150 | 151 | @property 152 | def brightness(self): 153 | return int(self._brightness / 100 * 255) 154 | 155 | @property 156 | def is_on(self): 157 | return self._brightness > 0 158 | 159 | def turn_on(self, **kwargs) -> None: 160 | b = 100 161 | if ATTR_BRIGHTNESS in kwargs: 162 | b = int((kwargs[ATTR_BRIGHTNESS] / 255) * 100) 163 | 164 | b = max(min(b, 100), 0) 165 | 166 | codes_to_send = self._levels[b] 167 | 168 | if self._force_levels: 169 | b, _ = self._searchForCode(codes_to_send[0]) # Not great but works 170 | 171 | if self._code_on is not None: 172 | codes_to_send = self._code_on + codes_to_send 173 | 174 | if self._send_code(codes_to_send, self._protocol, self._length): 175 | self._brightness = b 176 | 177 | self.schedule_update_ha_state() 178 | 179 | def turn_off(self, **kwargs) -> None: 180 | codes_to_send = self._levels[0] 181 | if self._send_code(codes_to_send, self._protocol, self._length): 182 | self._brightness = 0 183 | self.schedule_update_ha_state() 184 | 185 | def _send_code(self, code_list, protocol, length): 186 | with REQ_LOCK: 187 | self._rf.setRepeatTransmit(self._signal_repetitions) 188 | for code in code_list: 189 | packet = rcswitch.packets.SendDecimal(value=code, length=length, protocol=protocol, delay=700) 190 | self._rf.send(packet) 191 | return True 192 | -------------------------------------------------------------------------------- /hardware/pcb_gerber/Gerber_BottomSolderMaskLayer.GBS: -------------------------------------------------------------------------------- 1 | G04 Layer: BottomSolderMaskLayer* 2 | G04 EasyEDA v6.3.53, 2020-06-17T01:54:55+02:00* 3 | G04 e9d571a3f1504c91a96fab9e56f28b91,9eabfb72a9474bef872f988307f0334b,10* 4 | G04 Gerber Generator version 0.2* 5 | G04 Scale: 100 percent, Rotated: No, Reflected: No * 6 | G04 Dimensions in millimeters * 7 | G04 leading zeros omitted , absolute positions ,3 integer and 3 decimal * 8 | %FSLAX33Y33*% 9 | %MOMM*% 10 | G90* 11 | G71D02* 12 | 13 | %ADD12C,0.381000*% 14 | %ADD36C,1.703197*% 15 | %ADD41C,2.203196*% 16 | %ADD43C,1.778000*% 17 | %ADD47C,2.003196*% 18 | %ADD49C,1.727200*% 19 | %ADD50C,0.803199*% 20 | 21 | %LPD*% 22 | G54D12* 23 | G01X44168Y79475D02* 24 | G01X41059Y79475D01* 25 | G01X41059Y83031D02* 26 | G01X44168Y83031D01* 27 | G01X43914Y69442D02* 28 | G01X40805Y69442D01* 29 | G01X40805Y72998D02* 30 | G01X43914Y72998D01* 31 | G54D36* 32 | G01X4460Y81746D02* 33 | G01X1960Y81746D01* 34 | G01X4460Y70346D02* 35 | G01X1960Y70346D01* 36 | G54D50* 37 | G01X10156Y80491D02* 38 | G01X11356Y80491D01* 39 | G01X10156Y79221D02* 40 | G01X11356Y79221D01* 41 | G01X10156Y77951D02* 42 | G01X11356Y77951D01* 43 | G01X10156Y76681D02* 44 | G01X11356Y76681D01* 45 | G01X10156Y75411D02* 46 | G01X11356Y75411D01* 47 | G01X10156Y74141D02* 48 | G01X11356Y74141D01* 49 | G01X10156Y72871D02* 50 | G01X11356Y72871D01* 51 | G01X10156Y71601D02* 52 | G01X11356Y71601D01* 53 | G01X4213Y80491D02* 54 | G01X5413Y80491D01* 55 | G01X4213Y79221D02* 56 | G01X5413Y79221D01* 57 | G01X4213Y77951D02* 58 | G01X5413Y77951D01* 59 | G01X4213Y76681D02* 60 | G01X5413Y76681D01* 61 | G01X4213Y75411D02* 62 | G01X5413Y75411D01* 63 | G01X4213Y74141D02* 64 | G01X5413Y74141D01* 65 | G01X4213Y72871D02* 66 | G01X5413Y72871D01* 67 | G01X4213Y71601D02* 68 | G01X5413Y71601D01* 69 | G54D41* 70 | G01X42509Y67029D03* 71 | G01X39969Y67029D03* 72 | G01X37429Y67029D03* 73 | G01X34889Y67029D03* 74 | G01X22589Y67029D03* 75 | G01X25184Y78078D03* 76 | G01X27724Y78078D03* 77 | G01X30264Y78078D03* 78 | G36* 79 | G01X31701Y76976D02* 80 | G01X31701Y79181D01* 81 | G01X33906Y79181D01* 82 | G01X33906Y76976D01* 83 | G01X31701Y76976D01* 84 | G37* 85 | G54D43* 86 | G01X22009Y81380D03* 87 | G01X22009Y83920D03* 88 | G01X24549Y81380D03* 89 | G01X24549Y83920D03* 90 | G01X27089Y81380D03* 91 | G36* 92 | G01X26200Y83031D02* 93 | G01X26200Y84809D01* 94 | G01X27978Y84809D01* 95 | G01X27978Y83031D01* 96 | G01X26200Y83031D01* 97 | G37* 98 | G54D47* 99 | G01X36562Y80528D03* 100 | G01X30062Y80528D03* 101 | G01X36562Y85027D03* 102 | G01X30062Y85027D03* 103 | G54D49* 104 | G01X40932Y81253D03* 105 | G01X40551Y71220D03* 106 | G36* 107 | G01X16304Y82488D02* 108 | G01X16304Y84591D01* 109 | G01X17706Y84591D01* 110 | G01X17706Y82488D01* 111 | G01X16304Y82488D01* 112 | G37* 113 | G36* 114 | G01X13103Y82488D02* 115 | G01X13103Y84591D01* 116 | G01X14505Y84591D01* 117 | G01X14505Y82488D01* 118 | G01X13103Y82488D01* 119 | G37* 120 | G36* 121 | G01X7769Y82488D02* 122 | G01X7769Y84591D01* 123 | G01X9171Y84591D01* 124 | G01X9171Y82488D01* 125 | G01X7769Y82488D01* 126 | G37* 127 | G36* 128 | G01X10970Y82488D02* 129 | G01X10970Y84591D01* 130 | G01X12372Y84591D01* 131 | G01X12372Y82488D01* 132 | G01X10970Y82488D01* 133 | G37* 134 | G36* 135 | G01X7769Y67248D02* 136 | G01X7769Y69351D01* 137 | G01X9171Y69351D01* 138 | G01X9171Y67248D01* 139 | G01X7769Y67248D01* 140 | G37* 141 | G36* 142 | G01X10970Y67248D02* 143 | G01X10970Y69351D01* 144 | G01X12372Y69351D01* 145 | G01X12372Y67248D01* 146 | G01X10970Y67248D01* 147 | G37* 148 | G36* 149 | G01X13230Y67248D02* 150 | G01X13230Y69351D01* 151 | G01X14632Y69351D01* 152 | G01X14632Y67248D01* 153 | G01X13230Y67248D01* 154 | G37* 155 | G36* 156 | G01X16431Y67248D02* 157 | G01X16431Y69351D01* 158 | G01X17833Y69351D01* 159 | G01X17833Y67248D01* 160 | G01X16431Y67248D01* 161 | G37* 162 | G36* 163 | G01X4046Y68028D02* 164 | G01X4046Y69333D01* 165 | G01X5250Y69333D01* 166 | G01X5250Y68028D01* 167 | G01X4046Y68028D01* 168 | G37* 169 | G36* 170 | G01X2446Y68028D02* 171 | G01X2446Y69333D01* 172 | G01X3649Y69333D01* 173 | G01X3649Y68028D01* 174 | G01X2446Y68028D01* 175 | G37* 176 | G36* 177 | G01X4046Y66377D02* 178 | G01X4046Y67682D01* 179 | G01X5250Y67682D01* 180 | G01X5250Y66377D01* 181 | G01X4046Y66377D01* 182 | G37* 183 | G36* 184 | G01X2446Y66377D02* 185 | G01X2446Y67682D01* 186 | G01X3649Y67682D01* 187 | G01X3649Y66377D01* 188 | G01X2446Y66377D01* 189 | G37* 190 | G36* 191 | G01X15278Y76427D02* 192 | G01X15278Y78205D01* 193 | G01X17056Y78205D01* 194 | G01X17056Y76427D01* 195 | G01X15278Y76427D01* 196 | G37* 197 | G54D43* 198 | G01X18707Y77316D03* 199 | G01X16167Y74776D03* 200 | G01X18707Y74776D03* 201 | G36* 202 | G01X12448Y76031D02* 203 | G01X12448Y77433D01* 204 | G01X14551Y77433D01* 205 | G01X14551Y76031D01* 206 | G01X12448Y76031D01* 207 | G37* 208 | G36* 209 | G01X12448Y79232D02* 210 | G01X12448Y80634D01* 211 | G01X14551Y80634D01* 212 | G01X14551Y79232D01* 213 | G01X12448Y79232D01* 214 | G37* 215 | G54D12* 216 | G75* 217 | G01X41059Y83032D02* 218 | G03X41059Y79476I127J-1778D01* 219 | G01* 220 | G75* 221 | G01X40805Y72999D02* 222 | G03X40805Y69443I127J-1778D01* 223 | G01* 224 | 225 | %LPD*% 226 | G36* 227 | G01X44041Y72998D02* 228 | G01X40231Y72998D01* 229 | G01X39596Y72363D01* 230 | G01X39596Y72236D01* 231 | G01X39342Y71982D01* 232 | G01X39342Y71728D01* 233 | G01X39215Y71601D01* 234 | G01X39215Y70458D01* 235 | G01X39977Y69696D01* 236 | G01X40104Y69696D01* 237 | G01X40231Y69569D01* 238 | G01X40358Y69569D01* 239 | G01X40485Y69442D01* 240 | G01X40739Y69442D01* 241 | G01X40866Y69315D01* 242 | G01X42771Y69315D01* 243 | G01X42898Y69442D01* 244 | G01X44041Y69442D01* 245 | G01X44041Y72998D01* 246 | G37* 247 | 248 | %LPD*% 249 | G36* 250 | G01X44295Y83031D02* 251 | G01X40485Y83031D01* 252 | G01X39850Y82396D01* 253 | G01X39850Y82269D01* 254 | G01X39596Y82015D01* 255 | G01X39596Y81761D01* 256 | G01X39469Y81634D01* 257 | G01X39469Y80491D01* 258 | G01X40231Y79729D01* 259 | G01X40358Y79729D01* 260 | G01X40485Y79602D01* 261 | G01X40612Y79602D01* 262 | G01X40739Y79475D01* 263 | G01X40993Y79475D01* 264 | G01X41120Y79348D01* 265 | G01X43025Y79348D01* 266 | G01X43152Y79475D01* 267 | G01X44295Y79475D01* 268 | G01X44295Y83031D01* 269 | G37* 270 | M00* 271 | M02* 272 | -------------------------------------------------------------------------------- /hardware/pcb_gerber/Gerber_TopSolderMaskLayer.GTS: -------------------------------------------------------------------------------- 1 | G04 Layer: TopSolderMaskLayer* 2 | G04 EasyEDA v6.3.53, 2020-06-17T01:54:55+02:00* 3 | G04 e9d571a3f1504c91a96fab9e56f28b91,9eabfb72a9474bef872f988307f0334b,10* 4 | G04 Gerber Generator version 0.2* 5 | G04 Scale: 100 percent, Rotated: No, Reflected: No * 6 | G04 Dimensions in millimeters * 7 | G04 leading zeros omitted , absolute positions ,3 integer and 3 decimal * 8 | %FSLAX33Y33*% 9 | %MOMM*% 10 | G90* 11 | G71D02* 12 | 13 | %ADD12C,0.381000*% 14 | %ADD36C,1.703197*% 15 | %ADD37C,0.653212*% 16 | %ADD41C,2.203196*% 17 | %ADD43C,1.778000*% 18 | %ADD47C,2.003196*% 19 | %ADD49C,1.727200*% 20 | 21 | %LPD*% 22 | G54D12* 23 | G01X43787Y69442D02* 24 | G01X40678Y69442D01* 25 | G01X40678Y72998D02* 26 | G01X43787Y72998D01* 27 | G01X40997Y83031D02* 28 | G01X44107Y83031D01* 29 | G01X44107Y79475D02* 30 | G01X40997Y79475D01* 31 | G54D36* 32 | G01X4460Y81746D02* 33 | G01X1960Y81746D01* 34 | G01X4460Y70346D02* 35 | G01X1960Y70346D01* 36 | G54D37* 37 | G01X12455Y73252D02* 38 | G01X13655Y73252D01* 39 | G01X12455Y74053D02* 40 | G01X13655Y74053D01* 41 | G01X12455Y74853D02* 42 | G01X13655Y74853D01* 43 | G01X12455Y75653D02* 44 | G01X13655Y75653D01* 45 | G01X12455Y76450D02* 46 | G01X13655Y76450D01* 47 | G01X12455Y77250D02* 48 | G01X13655Y77250D01* 49 | G01X12455Y78051D02* 50 | G01X13655Y78051D01* 51 | G01X12455Y78851D02* 52 | G01X13655Y78851D01* 53 | G01X14630Y79815D02* 54 | G01X14630Y81015D01* 55 | G01X15430Y79815D02* 56 | G01X15430Y81015D01* 57 | G01X16230Y79815D02* 58 | G01X16230Y81015D01* 59 | G01X17030Y79815D02* 60 | G01X17030Y81015D01* 61 | G01X17828Y79815D02* 62 | G01X17828Y81015D01* 63 | G01X18628Y79815D02* 64 | G01X18628Y81015D01* 65 | G01X19428Y79815D02* 66 | G01X19428Y81015D01* 67 | G01X20228Y79815D02* 68 | G01X20228Y81015D01* 69 | G01X21218Y78840D02* 70 | G01X22418Y78840D01* 71 | G01X21218Y78040D02* 72 | G01X22418Y78040D01* 73 | G01X21218Y77240D02* 74 | G01X22418Y77240D01* 75 | G01X21218Y76440D02* 76 | G01X22418Y76440D01* 77 | G01X21218Y75643D02* 78 | G01X22418Y75643D01* 79 | G01X21218Y74843D02* 80 | G01X22418Y74843D01* 81 | G01X21218Y74042D02* 82 | G01X22418Y74042D01* 83 | G01X21218Y73242D02* 84 | G01X22418Y73242D01* 85 | G01X20218Y71078D02* 86 | G01X20218Y72278D01* 87 | G01X19418Y71078D02* 88 | G01X19418Y72278D01* 89 | G01X18618Y71078D02* 90 | G01X18618Y72278D01* 91 | G01X17818Y71078D02* 92 | G01X17818Y72278D01* 93 | G01X17020Y71078D02* 94 | G01X17020Y72278D01* 95 | G01X16220Y71078D02* 96 | G01X16220Y72278D01* 97 | G01X15420Y71078D02* 98 | G01X15420Y72278D01* 99 | G01X14620Y71078D02* 100 | G01X14620Y72278D01* 101 | G36* 102 | G01X3002Y67713D02* 103 | G01X3002Y68515D01* 104 | G01X4307Y68515D01* 105 | G01X4307Y67713D01* 106 | G01X3002Y67713D01* 107 | G37* 108 | G36* 109 | G01X3002Y66814D02* 110 | G01X3002Y67616D01* 111 | G01X4307Y67616D01* 112 | G01X4307Y66814D01* 113 | G01X3002Y66814D01* 114 | G37* 115 | G36* 116 | G01X1102Y67713D02* 117 | G01X1102Y68515D01* 118 | G01X2407Y68515D01* 119 | G01X2407Y67713D01* 120 | G01X1102Y67713D01* 121 | G37* 122 | G36* 123 | G01X1102Y66814D02* 124 | G01X1102Y67616D01* 125 | G01X2407Y67616D01* 126 | G01X2407Y66814D01* 127 | G01X1102Y66814D01* 128 | G37* 129 | G36* 130 | G01X4658Y71845D02* 131 | G01X4658Y73247D01* 132 | G01X7360Y73247D01* 133 | G01X7360Y71845D01* 134 | G01X4658Y71845D01* 135 | G37* 136 | G36* 137 | G01X4658Y74345D02* 138 | G01X4658Y75747D01* 139 | G01X7360Y75747D01* 140 | G01X7360Y74345D01* 141 | G01X4658Y74345D01* 142 | G37* 143 | G36* 144 | G01X4658Y76344D02* 145 | G01X4658Y77748D01* 146 | G01X7360Y77748D01* 147 | G01X7360Y76344D01* 148 | G01X4658Y76344D01* 149 | G37* 150 | G36* 151 | G01X4658Y78846D02* 152 | G01X4658Y80248D01* 153 | G01X7360Y80248D01* 154 | G01X7360Y78846D01* 155 | G01X4658Y78846D01* 156 | G37* 157 | G54D41* 158 | G01X42509Y67029D03* 159 | G01X39969Y67029D03* 160 | G01X37429Y67029D03* 161 | G01X34889Y67029D03* 162 | G01X22589Y67029D03* 163 | G01X25184Y78078D03* 164 | G01X27724Y78078D03* 165 | G01X30264Y78078D03* 166 | G36* 167 | G01X31701Y76976D02* 168 | G01X31701Y79181D01* 169 | G01X33906Y79181D01* 170 | G01X33906Y76976D01* 171 | G01X31701Y76976D01* 172 | G37* 173 | G54D43* 174 | G01X22009Y81380D03* 175 | G01X22009Y83920D03* 176 | G01X24549Y81380D03* 177 | G01X24549Y83920D03* 178 | G01X27089Y81380D03* 179 | G36* 180 | G01X26200Y83031D02* 181 | G01X26200Y84809D01* 182 | G01X27978Y84809D01* 183 | G01X27978Y83031D01* 184 | G01X26200Y83031D01* 185 | G37* 186 | G36* 187 | G01X7876Y76158D02* 188 | G01X7876Y77560D01* 189 | G01X9979Y77560D01* 190 | G01X9979Y76158D01* 191 | G01X7876Y76158D01* 192 | G37* 193 | G36* 194 | G01X7876Y79359D02* 195 | G01X7876Y80761D01* 196 | G01X9979Y80761D01* 197 | G01X9979Y79359D01* 198 | G01X7876Y79359D01* 199 | G37* 200 | G36* 201 | G01X7876Y74279D02* 202 | G01X7876Y75681D01* 203 | G01X9979Y75681D01* 204 | G01X9979Y74279D01* 205 | G01X7876Y74279D01* 206 | G37* 207 | G36* 208 | G01X7876Y71078D02* 209 | G01X7876Y72480D01* 210 | G01X9979Y72480D01* 211 | G01X9979Y71078D01* 212 | G01X7876Y71078D01* 213 | G37* 214 | G36* 215 | G01X637Y79105D02* 216 | G01X637Y80507D01* 217 | G01X2740Y80507D01* 218 | G01X2740Y79105D01* 219 | G01X637Y79105D01* 220 | G37* 221 | G36* 222 | G01X637Y75904D02* 223 | G01X637Y77306D01* 224 | G01X2740Y77306D01* 225 | G01X2740Y75904D01* 226 | G01X637Y75904D01* 227 | G37* 228 | G36* 229 | G01X1333Y83070D02* 230 | G01X1333Y84263D01* 231 | G01X2628Y84263D01* 232 | G01X2628Y83070D01* 233 | G01X1333Y83070D01* 234 | G37* 235 | G36* 236 | G01X3035Y83070D02* 237 | G01X3035Y84263D01* 238 | G01X4330Y84263D01* 239 | G01X4330Y83070D01* 240 | G01X3035Y83070D01* 241 | G37* 242 | G54D47* 243 | G01X36562Y80528D03* 244 | G01X30062Y80528D03* 245 | G01X36562Y85027D03* 246 | G01X30062Y85027D03* 247 | G36* 248 | G01X14635Y82310D02* 249 | G01X14635Y84515D01* 250 | G01X20340Y84515D01* 251 | G01X20340Y82310D01* 252 | G01X14635Y82310D01* 253 | G37* 254 | G36* 255 | G01X5135Y82310D02* 256 | G01X5135Y84515D01* 257 | G01X10840Y84515D01* 258 | G01X10840Y82310D01* 259 | G01X5135Y82310D01* 260 | G37* 261 | G36* 262 | G01X5135Y67451D02* 263 | G01X5135Y69656D01* 264 | G01X10840Y69656D01* 265 | G01X10840Y67451D01* 266 | G01X5135Y67451D01* 267 | G37* 268 | G36* 269 | G01X14635Y67451D02* 270 | G01X14635Y69656D01* 271 | G01X20340Y69656D01* 272 | G01X20340Y67451D01* 273 | G01X14635Y67451D01* 274 | G37* 275 | G54D49* 276 | G01X40932Y81253D03* 277 | G01X40551Y71220D03* 278 | G36* 279 | G01X15278Y76427D02* 280 | G01X15278Y78205D01* 281 | G01X17056Y78205D01* 282 | G01X17056Y76427D01* 283 | G01X15278Y76427D01* 284 | G37* 285 | G54D43* 286 | G01X18707Y77316D03* 287 | G01X16167Y74776D03* 288 | G01X18707Y74776D03* 289 | G54D12* 290 | G75* 291 | G01X40998Y83032D02* 292 | G03X40998Y79476I127J-1778D01* 293 | G01* 294 | G75* 295 | G01X40678Y72999D02* 296 | G03X40678Y69443I127J-1778D01* 297 | G01* 298 | 299 | %LPD*% 300 | G36* 301 | G01X44234Y83031D02* 302 | G01X40424Y83031D01* 303 | G01X39789Y82396D01* 304 | G01X39789Y82269D01* 305 | G01X39535Y82015D01* 306 | G01X39535Y81761D01* 307 | G01X39408Y81634D01* 308 | G01X39408Y80491D01* 309 | G01X40170Y79729D01* 310 | G01X40297Y79729D01* 311 | G01X40424Y79602D01* 312 | G01X40551Y79602D01* 313 | G01X40678Y79475D01* 314 | G01X40932Y79475D01* 315 | G01X41059Y79348D01* 316 | G01X42964Y79348D01* 317 | G01X43091Y79475D01* 318 | G01X44234Y79475D01* 319 | G01X44234Y83031D01* 320 | G37* 321 | 322 | %LPD*% 323 | G36* 324 | G01X43914Y72998D02* 325 | G01X40104Y72998D01* 326 | G01X39469Y72363D01* 327 | G01X39469Y72236D01* 328 | G01X39215Y71982D01* 329 | G01X39215Y71728D01* 330 | G01X39088Y71601D01* 331 | G01X39088Y70458D01* 332 | G01X39850Y69696D01* 333 | G01X39977Y69696D01* 334 | G01X40104Y69569D01* 335 | G01X40231Y69569D01* 336 | G01X40358Y69442D01* 337 | G01X40612Y69442D01* 338 | G01X40739Y69315D01* 339 | G01X42644Y69315D01* 340 | G01X42771Y69442D01* 341 | G01X43914Y69442D01* 342 | G01X43914Y72998D01* 343 | G37* 344 | M00* 345 | M02* 346 | -------------------------------------------------------------------------------- /software/rcswitch.py: -------------------------------------------------------------------------------- 1 | import base64 2 | import threading 3 | import time 4 | from threading import Thread 5 | 6 | import serial 7 | import logging 8 | import struct 9 | 10 | root_logger = logging.getLogger(__name__) 11 | 12 | 13 | def zero_cut(raw): 14 | if type(raw) != str: 15 | raw = raw.decode("utf-8") 16 | try: 17 | return raw[:raw.index('\x00')] 18 | except ValueError: 19 | return raw 20 | 21 | 22 | def getPacketType(raw): 23 | if raw == "timeout": 24 | return raw 25 | fmt = "16s" 26 | size = struct.calcsize(fmt) 27 | data = struct.unpack(fmt, raw[:size]) 28 | return zero_cut(data[0].decode("utf-8")) 29 | 30 | 31 | class packets(object): 32 | def __init__(self): 33 | super(packets, self).__init__() 34 | self.ReceiveTypes = [self.ReceivedSignal, self.ReceivedAck] 35 | self.SendTypes = [self.SendDecimal, self.SendConfig] 36 | 37 | class ReceivedSignal(object): 38 | """docstring for received_signal_packet_t""" 39 | 40 | def __init__(self, logger): 41 | super(packets.ReceivedSignal, self).__init__() 42 | self.format = "<17sIIHHH" 43 | 44 | self.time = -1 45 | self.decimal = -1 46 | self.length = -1 47 | self.delay = -1 48 | # self.raw = None 49 | self.protocol = 0 50 | self.logger = logger 51 | 52 | def __str__(self): 53 | return "" 56 | 57 | def parse(self, raw): 58 | try: 59 | unpacked = struct.unpack(self.format, bytearray(raw)) 60 | self.time = unpacked[1] 61 | self.decimal = unpacked[2] 62 | self.length = unpacked[3] 63 | self.delay = unpacked[4] 64 | self.protocol = unpacked[5] 65 | return self 66 | except struct.error: 67 | if self.logger is not None: 68 | self.logger.error("[ReceivedSignal] Error decode packet: " + base64.b64encode(raw) + " ") 69 | return self 70 | 71 | class ReceivedAck(object): 72 | """docstring for received_signal_packet_t""" 73 | 74 | def __init__(self, logger): 75 | super(packets.ReceivedAck, self).__init__() 76 | self.format = "<17sI32s" 77 | 78 | self.time = -1 79 | self.msg = "" 80 | self.logger = logger 81 | 82 | def __str__(self): 83 | return "" 84 | 85 | def parse(self, raw): 86 | try: 87 | unpacked = struct.unpack(self.format, bytearray(raw)) 88 | self.time = unpacked[1] 89 | self.msg = unpacked[2].decode("utf-8") 90 | return self 91 | except struct.error: 92 | if self.logger is not None: 93 | self.logger.error("[ReceivedAck] Error decode packet: " + base64.b64encode(raw) + " ") 94 | return self 95 | 96 | class SendDecimal(object): 97 | """This packet is used to send a decimal code over the air""" 98 | 99 | def __init__(self, value, length, delay, protocol): 100 | super(packets.SendDecimal, self).__init__() 101 | self.format = "<16sIHHH" 102 | 103 | self.value = value 104 | self.length = length 105 | self.delay = delay 106 | self.protocol = protocol 107 | 108 | def __str__(self): 109 | return " " 111 | 112 | def pack(self): 113 | packed = struct.pack( 114 | self.format, 115 | b"send_decimal", 116 | self.value, 117 | self.length, 118 | self.delay, 119 | self.protocol 120 | ) 121 | return packed 122 | 123 | class SendConfig(object): 124 | """This packet is used to send a decimal code over the air""" 125 | 126 | def __init__(self, signal_reapeat, receive_tolerance=60): 127 | super(packets.SendConfig, self).__init__() 128 | self.format = "<16sHH" 129 | 130 | self.signal_reapeat = signal_reapeat 131 | self.receive_tolerance = receive_tolerance 132 | 133 | def __str__(self): 134 | return " " 136 | 137 | def pack(self): 138 | packed = struct.pack( 139 | self.format, 140 | b"rcswitch_conf", 141 | self.signal_reapeat, 142 | self.receive_tolerance, 143 | ) 144 | return packed 145 | 146 | 147 | class RCSwitch(object): 148 | """docstring for RCSwitch""" 149 | 150 | def __init__(self, port, speed=9600, logger=root_logger): 151 | super(RCSwitch, self).__init__() 152 | self._gotAck = False 153 | self.logger = logger 154 | self.signal_repeat = 3 155 | self.receive_tolerance = 60 156 | self.com_port = port 157 | self.com_speed = speed 158 | self._shouldWaitForAck = False 159 | self._timeout = 0.1 160 | self._incomingPacketListeners = [] 161 | self._bufferedPackets = [] 162 | self._error_listeners = [] 163 | self._polling_thread = None 164 | self.serial = serial.Serial(self.com_port, self.com_speed, timeout=0.1, xonxoff=False, rtscts=False) 165 | 166 | def serial_sync(self, sync_word, timeout: float = 20, should_print_timeout_error=True): 167 | try: 168 | tstart = time.time() 169 | buf = bytes() 170 | while buf[-len(sync_word):] != bytes(sync_word.encode("ascii")): 171 | buf += bytes(self.serial.read()) 172 | if timeout != -1 and (tstart + timeout < time.time()): 173 | if should_print_timeout_error: 174 | self.logger.error("Timeout while reading start sync") 175 | return "timeout" 176 | self.serial.read(2) 177 | except serial.serialutil.SerialException as e: 178 | for listener in self._error_listeners: 179 | listener(e) 180 | raise e 181 | 182 | def serial_sync_end(self, sync_word, timeout: float = -1, should_print_timeout_error=True): 183 | try: 184 | time_start = time.time() 185 | buf = bytes() 186 | while buf[-len(sync_word):] != bytes(sync_word.encode("ascii")): 187 | buf += bytes(self.serial.read()) 188 | if timeout != -1 and (time_start + timeout < time.time()): 189 | if should_print_timeout_error: 190 | self.logger.error("Timeout while reading end sync") 191 | return "timeout" 192 | return buf[:-len(sync_word)] 193 | except serial.serialutil.SerialException as e: 194 | for listener in self._error_listeners: 195 | listener(e) 196 | raise e 197 | 198 | def receive_packet(self, timeout: float = -1): 199 | try: 200 | time_start = time.time() 201 | while (timeout == -1) or (time_start + timeout > time.time()): 202 | self.serial_sync("START", should_print_timeout_error=False) 203 | raw = self.serial_sync_end("END", timeout=timeout, should_print_timeout_error=False) 204 | packet_type = getPacketType(raw) 205 | if packet_type == "receive_signal": 206 | p = packets.ReceivedSignal(self.logger).parse(raw) 207 | self.logger.info("Received packet: " + str(p)) 208 | return p 209 | if packet_type == "ack": 210 | self.logger.info("Received ACK message") 211 | return packets.ReceivedAck(self.logger).parse(raw) 212 | return None 213 | except Exception as e: 214 | for listener in self._error_listeners: 215 | listener(e) 216 | raise e 217 | 218 | def listen(self, timeout=-1): 219 | return self._listen(self, timeout=timeout) 220 | 221 | class _listen: 222 | def __init__(self, parent, timeout=-1): 223 | self.parent = parent 224 | self.timeout = timeout 225 | self.closed = False 226 | 227 | def __iter__(self): 228 | return self 229 | 230 | def next(self): 231 | return self.__next__() 232 | 233 | def __next__(self): 234 | time_start = time.time() 235 | while True: 236 | if self.closed or (self.timeout != -1 and (time_start + self.timeout < time.time())): 237 | raise StopIteration 238 | 239 | data = self.parent.receive_packet(timeout=0.75 if self.timeout == -1 else self.timeout) 240 | if data is not None: 241 | return data 242 | 243 | def libWaitForAck(self, should_wait, timeout=0.1): 244 | self._shouldWaitForAck = should_wait 245 | self._timeout = timeout 246 | 247 | def setRepeatTransmit(self, repeat): 248 | if self.signal_repeat == repeat: 249 | # No need it's the same 250 | return True 251 | self.signal_repeat = max(repeat, 1) 252 | return self.send(packets.SendConfig(self.signal_repeat, self.receive_tolerance)) 253 | 254 | def setReceiveTolerance(self, tol): 255 | if self.receive_tolerance == tol: 256 | # No need it's the same 257 | return True 258 | self.receive_tolerance = min(max(tol, 0), 100) 259 | return self.send(packets.SendConfig(self.signal_repeat, self.receive_tolerance)) 260 | 261 | def send(self, packet): 262 | try: 263 | if type(packet) in packets().SendTypes: 264 | self.serial.write(b"START\r\n") 265 | self.serial.write(packet.pack()) 266 | self.serial.write(b"END\r\n") 267 | self.logger.info("Sending packet: " + str(packet)) 268 | if self._shouldWaitForAck: 269 | return self._waitForAck(timeout=self._timeout) 270 | else: 271 | return True 272 | else: 273 | self.logger.error("Passed packet can't be sent " + str(type(packet))) 274 | raise ValueError("Passed packet can't be sent " + str(type(packet))) 275 | except Exception as e: 276 | for listener in self._error_listeners: 277 | listener(e) 278 | raise e 279 | 280 | def _waitForAck(self, timeout=-1.0): 281 | tstart = time.time() 282 | while not self._gotAck: 283 | time.sleep(.05) 284 | if timeout != -1 and (tstart + timeout < time.time()): 285 | self.logger.warning("Timedout while reading ack") 286 | return False 287 | self._gotAck = False 288 | return True 289 | 290 | def _packetReceiver(self): 291 | iterator = self._listen(self, timeout=-1) 292 | for packet in iterator: 293 | if isinstance(packet, packets.ReceivedAck): 294 | self._gotAck = True 295 | elif packet is not None: 296 | self._bufferedPackets.append(packet) 297 | self._dispatchPacketsToListeners() 298 | else: 299 | continue 300 | 301 | def startReceivingThread(self): 302 | if self._polling_thread is None: 303 | self._polling_thread = Thread(target=self._packetReceiver) 304 | self._polling_thread.start() 305 | 306 | def _dispatchPacketsToListeners(self): 307 | if len(self._incomingPacketListeners) > 0: 308 | while len(self._bufferedPackets) > 0: 309 | packet = self._bufferedPackets.pop() 310 | for listener in self._incomingPacketListeners: 311 | listener(packet) 312 | 313 | def addIncomingPacketListener(self, who): 314 | self._incomingPacketListeners.append(who) 315 | 316 | def removeIncomingPacketListener(self, who): 317 | if who in self._incomingPacketListeners: 318 | self._incomingPacketListeners.remove(who) 319 | 320 | def addErrorListener(self, who): 321 | self._error_listeners.append(who) 322 | 323 | def removeErrorListener(self, who): 324 | if who in self._incomingPacketListeners: 325 | self._incomingPacketListeners.remove(who) 326 | 327 | def cleanup(self): 328 | self.serial.close() 329 | if self._polling_thread is not None: 330 | self._polling_thread.join() 331 | 332 | def prepare(self): 333 | pass 334 | -------------------------------------------------------------------------------- /homeassistant_open433/rcswitch.py: -------------------------------------------------------------------------------- 1 | import base64 2 | import threading 3 | import time 4 | from threading import Thread 5 | 6 | import serial 7 | import logging 8 | import struct 9 | 10 | root_logger = logging.getLogger(__name__) 11 | 12 | 13 | def zero_cut(raw): 14 | if type(raw) != str: 15 | raw = raw.decode("utf-8") 16 | try: 17 | return raw[:raw.index('\x00')] 18 | except ValueError: 19 | return raw 20 | 21 | 22 | def getPacketType(raw): 23 | if raw == "timeout": 24 | return raw 25 | fmt = "16s" 26 | size = struct.calcsize(fmt) 27 | data = struct.unpack(fmt, raw[:size]) 28 | return zero_cut(data[0].decode("utf-8")) 29 | 30 | 31 | class packets(object): 32 | def __init__(self): 33 | super(packets, self).__init__() 34 | self.ReceiveTypes = [self.ReceivedSignal, self.ReceivedAck] 35 | self.SendTypes = [self.SendDecimal, self.SendConfig] 36 | 37 | class ReceivedSignal(object): 38 | """docstring for received_signal_packet_t""" 39 | 40 | def __init__(self, logger): 41 | super(packets.ReceivedSignal, self).__init__() 42 | self.format = "<17sIIHHH" 43 | 44 | self.time = -1 45 | self.decimal = -1 46 | self.length = -1 47 | self.delay = -1 48 | # self.raw = None 49 | self.protocol = 0 50 | self.logger = logger 51 | 52 | def __str__(self): 53 | return "" 56 | 57 | def parse(self, raw): 58 | try: 59 | unpacked = struct.unpack(self.format, bytearray(raw)) 60 | self.time = unpacked[1] 61 | self.decimal = unpacked[2] 62 | self.length = unpacked[3] 63 | self.delay = unpacked[4] 64 | self.protocol = unpacked[5] 65 | return self 66 | except struct.error: 67 | if self.logger is not None: 68 | self.logger.error("[ReceivedSignal] Error decode packet: " + base64.b64encode(raw) + " ") 69 | return self 70 | 71 | class ReceivedAck(object): 72 | """docstring for received_signal_packet_t""" 73 | 74 | def __init__(self, logger): 75 | super(packets.ReceivedAck, self).__init__() 76 | self.format = "<17sI32s" 77 | 78 | self.time = -1 79 | self.msg = "" 80 | self.logger = logger 81 | 82 | def __str__(self): 83 | return "" 84 | 85 | def parse(self, raw): 86 | try: 87 | unpacked = struct.unpack(self.format, bytearray(raw)) 88 | self.time = unpacked[1] 89 | self.msg = unpacked[2].decode("utf-8") 90 | return self 91 | except struct.error: 92 | if self.logger is not None: 93 | self.logger.error("[ReceivedAck] Error decode packet: " + base64.b64encode(raw) + " ") 94 | return self 95 | 96 | class SendDecimal(object): 97 | """This packet is used to send a decimal code over the air""" 98 | 99 | def __init__(self, value, length, delay, protocol): 100 | super(packets.SendDecimal, self).__init__() 101 | self.format = "<16sIHHH" 102 | 103 | self.value = value 104 | self.length = length 105 | self.delay = delay 106 | self.protocol = protocol 107 | 108 | def __str__(self): 109 | return " " 111 | 112 | def pack(self): 113 | packed = struct.pack( 114 | self.format, 115 | b"send_decimal", 116 | self.value, 117 | self.length, 118 | self.delay, 119 | self.protocol 120 | ) 121 | return packed 122 | 123 | class SendConfig(object): 124 | """This packet is used to send a decimal code over the air""" 125 | 126 | def __init__(self, signal_reapeat, receive_tolerance=60): 127 | super(packets.SendConfig, self).__init__() 128 | self.format = "<16sHH" 129 | 130 | self.signal_reapeat = signal_reapeat 131 | self.receive_tolerance = receive_tolerance 132 | 133 | def __str__(self): 134 | return " " 136 | 137 | def pack(self): 138 | packed = struct.pack( 139 | self.format, 140 | b"rcswitch_conf", 141 | self.signal_reapeat, 142 | self.receive_tolerance, 143 | ) 144 | return packed 145 | 146 | 147 | class RCSwitch(object): 148 | """docstring for RCSwitch""" 149 | 150 | def __init__(self, port, speed=9600, logger=root_logger): 151 | super(RCSwitch, self).__init__() 152 | self._gotAck = False 153 | self.logger = logger 154 | self.signal_repeat = 3 155 | self.receive_tolerance = 60 156 | self.com_port = port 157 | self.com_speed = speed 158 | self._shouldWaitForAck = False 159 | self._timeout = 0.1 160 | self._incomingPacketListeners = [] 161 | self._bufferedPackets = [] 162 | self._error_listeners = [] 163 | self._polling_thread = None 164 | self.serial = serial.Serial(self.com_port, self.com_speed, timeout=0.1, xonxoff=False, rtscts=False) 165 | 166 | def serial_sync(self, sync_word, timeout: float = 20, should_print_timeout_error=True): 167 | try: 168 | tstart = time.time() 169 | buf = bytes() 170 | while buf[-len(sync_word):] != bytes(sync_word.encode("ascii")): 171 | buf += bytes(self.serial.read()) 172 | if timeout != -1 and (tstart + timeout < time.time()): 173 | if should_print_timeout_error: 174 | self.logger.error("Timeout while reading start sync") 175 | return "timeout" 176 | self.serial.read(2) 177 | except serial.serialutil.SerialException as e: 178 | for listener in self._error_listeners: 179 | listener(e) 180 | raise e 181 | 182 | def serial_sync_end(self, sync_word, timeout: float = -1, should_print_timeout_error=True): 183 | try: 184 | time_start = time.time() 185 | buf = bytes() 186 | while buf[-len(sync_word):] != bytes(sync_word.encode("ascii")): 187 | buf += bytes(self.serial.read()) 188 | if timeout != -1 and (time_start + timeout < time.time()): 189 | if should_print_timeout_error: 190 | self.logger.error("Timeout while reading end sync") 191 | return "timeout" 192 | return buf[:-len(sync_word)] 193 | except serial.serialutil.SerialException as e: 194 | for listener in self._error_listeners: 195 | listener(e) 196 | raise e 197 | 198 | def receive_packet(self, timeout: float = -1): 199 | try: 200 | time_start = time.time() 201 | while (timeout == -1) or (time_start + timeout > time.time()): 202 | self.serial_sync("START", should_print_timeout_error=False) 203 | raw = self.serial_sync_end("END", timeout=timeout, should_print_timeout_error=False) 204 | packet_type = getPacketType(raw) 205 | if packet_type == "receive_signal": 206 | p = packets.ReceivedSignal(self.logger).parse(raw) 207 | self.logger.info("Received packet: " + str(p)) 208 | return p 209 | if packet_type == "ack": 210 | self.logger.info("Received ACK message") 211 | return packets.ReceivedAck(self.logger).parse(raw) 212 | return None 213 | except Exception as e: 214 | for listener in self._error_listeners: 215 | listener(e) 216 | raise e 217 | 218 | def listen(self, timeout=-1): 219 | return self._listen(self, timeout=timeout) 220 | 221 | class _listen: 222 | def __init__(self, parent, timeout=-1): 223 | self.parent = parent 224 | self.timeout = timeout 225 | self.closed = False 226 | 227 | def __iter__(self): 228 | return self 229 | 230 | def next(self): 231 | return self.__next__() 232 | 233 | def __next__(self): 234 | time_start = time.time() 235 | while True: 236 | if self.closed or (self.timeout != -1 and (time_start + self.timeout < time.time())): 237 | raise StopIteration 238 | 239 | data = self.parent.receive_packet(timeout=0.75 if self.timeout == -1 else self.timeout) 240 | if data is not None: 241 | return data 242 | 243 | def libWaitForAck(self, should_wait, timeout=0.1): 244 | self._shouldWaitForAck = should_wait 245 | self._timeout = timeout 246 | 247 | def setRepeatTransmit(self, repeat): 248 | if self.signal_repeat == repeat: 249 | # No need it's the same 250 | return True 251 | self.signal_repeat = max(repeat, 1) 252 | return self.send(packets.SendConfig(self.signal_repeat, self.receive_tolerance)) 253 | 254 | def setReceiveTolerance(self, tol): 255 | if self.receive_tolerance == tol: 256 | # No need it's the same 257 | return True 258 | self.receive_tolerance = min(max(tol, 0), 100) 259 | return self.send(packets.SendConfig(self.signal_repeat, self.receive_tolerance)) 260 | 261 | def send(self, packet): 262 | try: 263 | if type(packet) in packets().SendTypes: 264 | self.serial.write(b"START\r\n") 265 | self.serial.write(packet.pack()) 266 | self.serial.write(b"END\r\n") 267 | self.logger.info("Sending packet: " + str(packet)) 268 | if self._shouldWaitForAck: 269 | return self._waitForAck(timeout=self._timeout) 270 | else: 271 | return True 272 | else: 273 | self.logger.error("Passed packet can't be sent " + str(type(packet))) 274 | raise ValueError("Passed packet can't be sent " + str(type(packet))) 275 | except Exception as e: 276 | for listener in self._error_listeners: 277 | listener(e) 278 | raise e 279 | 280 | def _waitForAck(self, timeout=-1.0): 281 | tstart = time.time() 282 | while not self._gotAck: 283 | time.sleep(.05) 284 | if timeout != -1 and (tstart + timeout < time.time()): 285 | self.logger.warning("Timedout while reading ack") 286 | return False 287 | self._gotAck = False 288 | return True 289 | 290 | def _packetReceiver(self): 291 | iterator = self._listen(self, timeout=-1) 292 | for packet in iterator: 293 | if isinstance(packet, packets.ReceivedAck): 294 | self._gotAck = True 295 | elif packet is not None: 296 | self._bufferedPackets.append(packet) 297 | self._dispatchPacketsToListeners() 298 | else: 299 | continue 300 | 301 | def startReceivingThread(self): 302 | if self._polling_thread is None: 303 | self._polling_thread = Thread(target=self._packetReceiver) 304 | self._polling_thread.start() 305 | 306 | def _dispatchPacketsToListeners(self): 307 | if len(self._incomingPacketListeners) > 0: 308 | while len(self._bufferedPackets) > 0: 309 | packet = self._bufferedPackets.pop() 310 | for listener in self._incomingPacketListeners: 311 | listener(packet) 312 | 313 | def addIncomingPacketListener(self, who): 314 | self._incomingPacketListeners.append(who) 315 | 316 | def removeIncomingPacketListener(self, who): 317 | if who in self._incomingPacketListeners: 318 | self._incomingPacketListeners.remove(who) 319 | 320 | def addErrorListener(self, who): 321 | self._error_listeners.append(who) 322 | 323 | def removeErrorListener(self, who): 324 | if who in self._incomingPacketListeners: 325 | self._incomingPacketListeners.remove(who) 326 | 327 | def cleanup(self): 328 | self.serial.close() 329 | if self._polling_thread is not None: 330 | self._polling_thread.join() 331 | 332 | def prepare(self): 333 | pass 334 | -------------------------------------------------------------------------------- /hardware/pcb_gerber/Gerber_TopSilkLayer.GTO: -------------------------------------------------------------------------------- 1 | G04 Layer: TopSilkLayer* 2 | G04 EasyEDA v6.3.53, 2020-06-17T01:54:55+02:00* 3 | G04 e9d571a3f1504c91a96fab9e56f28b91,9eabfb72a9474bef872f988307f0334b,10* 4 | G04 Gerber Generator version 0.2* 5 | G04 Scale: 100 percent, Rotated: No, Reflected: No * 6 | G04 Dimensions in millimeters * 7 | G04 leading zeros omitted , absolute positions ,3 integer and 3 decimal * 8 | %FSLAX33Y33*% 9 | %MOMM*% 10 | G90* 11 | G71D02* 12 | 13 | %ADD10C,0.254000*% 14 | %ADD30C,0.100000*% 15 | %ADD31C,0.203200*% 16 | %ADD32C,0.202997*% 17 | %ADD33C,0.299999*% 18 | %ADD34C,0.399999*% 19 | %ADD35C,0.152400*% 20 | 21 | %LPD*% 22 | G54D30* 23 | G01X1905Y66914D02* 24 | G01X3505Y66914D01* 25 | G01X1905Y68415D02* 26 | G01X3505Y68415D01* 27 | G54D10* 28 | G01X8039Y81634D02* 29 | G01X5434Y81634D01* 30 | G01X985Y81634D02* 31 | G01X-14569Y81619D01* 32 | G01X-14569Y70443D01* 33 | G01X985Y70458D01* 34 | G01X5434Y70458D02* 35 | G01X8039Y70458D01* 36 | G01X8039Y81634D01* 37 | G01X-3Y81634D02* 38 | G01X-3Y70458D01* 39 | G01X-7965Y74761D02* 40 | G01X-7965Y72221D01* 41 | G01X-10505Y72221D01* 42 | G01X-10505Y74761D01* 43 | G01X-7965Y74761D01* 44 | G01X-7965Y80095D02* 45 | G01X-7965Y77555D01* 46 | G01X-10505Y77555D01* 47 | G01X-10505Y80095D01* 48 | G01X-7965Y80095D01* 49 | G01X21047Y74822D02* 50 | G01X43547Y74822D01* 51 | G01X44034Y74822D01* 52 | G01X44034Y74776D01* 53 | G01X44034Y65759D01* 54 | G01X21047Y65759D01* 55 | G01X21047Y65886D01* 56 | G01X21047Y74886D01* 57 | G01X34328Y68680D02* 58 | G01X23787Y68680D01* 59 | G01X23787Y79221D01* 60 | G01X34328Y79221D01* 61 | G01X34328Y68680D01* 62 | G54D31* 63 | G01X28359Y80110D02* 64 | G01X20358Y80110D01* 65 | G01X20358Y85190D01* 66 | G01X28359Y85190D01* 67 | G01X28359Y80110D01* 68 | G54D10* 69 | G01X7928Y80960D02* 70 | G01X9928Y80960D01* 71 | G01X7728Y77459D02* 72 | G01X7728Y76259D01* 73 | G01X10128Y77459D02* 74 | G01X10128Y76259D01* 75 | G01X7728Y79460D02* 76 | G01X7728Y80659D01* 77 | G01X10128Y79460D02* 78 | G01X10128Y80659D01* 79 | G01X7928Y75959D02* 80 | G01X9928Y75959D01* 81 | G01X7728Y76159D02* 82 | G01X7728Y76259D01* 83 | G01X10128Y76159D02* 84 | G01X10128Y76259D01* 85 | G01X7728Y80760D02* 86 | G01X7728Y80659D01* 87 | G01X10128Y80760D02* 88 | G01X10128Y80659D01* 89 | G01X9928Y70879D02* 90 | G01X7928Y70879D01* 91 | G01X10128Y74379D02* 92 | G01X10128Y75579D01* 93 | G01X7728Y74379D02* 94 | G01X7728Y75579D01* 95 | G01X10128Y72379D02* 96 | G01X10128Y71179D01* 97 | G01X7728Y72379D02* 98 | G01X7728Y71179D01* 99 | G01X9928Y75879D02* 100 | G01X7928Y75879D01* 101 | G01X10128Y75679D02* 102 | G01X10128Y75579D01* 103 | G01X7728Y75679D02* 104 | G01X7728Y75579D01* 105 | G01X10128Y71079D02* 106 | G01X10128Y71179D01* 107 | G01X7728Y71079D02* 108 | G01X7728Y71179D01* 109 | G01X489Y75705D02* 110 | G01X2889Y75705D01* 111 | G01X2889Y79205D02* 112 | G01X2889Y80705D01* 113 | G01X489Y79205D02* 114 | G01X489Y80705D01* 115 | G01X2889Y77205D02* 116 | G01X2889Y75705D01* 117 | G01X489Y77205D02* 118 | G01X489Y75705D01* 119 | G01X489Y80705D02* 120 | G01X2889Y80705D01* 121 | G01X1066Y82803D02* 122 | G01X2540Y82803D01* 123 | G01X1066Y84530D02* 124 | G01X2540Y84530D01* 125 | G01X1066Y84530D02* 126 | G01X1066Y82803D01* 127 | G01X3124Y82803D02* 128 | G01X4292Y82803D01* 129 | G01X3149Y84530D02* 130 | G01X4292Y84530D01* 131 | G01X4292Y84530D02* 132 | G01X4648Y84174D01* 133 | G01X4648Y83158D01* 134 | G01X4292Y82803D01* 135 | G54D32* 136 | G01X2755Y84073D02* 137 | G01X2755Y83285D01* 138 | G01X2755Y83674D02* 139 | G01X2931Y83674D01* 140 | G54D10* 141 | G01X14474Y78996D02* 142 | G01X14474Y73097D01* 143 | G01X20374Y73097D01* 144 | G01X20374Y78996D01* 145 | G01X14474Y78996D01* 146 | G01X35716Y79777D02* 147 | G01X30907Y79777D01* 148 | G01X30312Y81631D02* 149 | G01X30312Y83924D01* 150 | G01X30907Y85777D02* 151 | G01X35716Y85777D01* 152 | G01X36312Y83924D02* 153 | G01X36312Y81631D01* 154 | G01X18453Y84555D02* 155 | G01X18453Y85571D01* 156 | G01X16167Y82142D02* 157 | G01X9309Y82142D01* 158 | G01X16167Y81380D02* 159 | G01X9309Y81380D01* 160 | G01X9309Y84682D02* 161 | G01X16167Y84682D01* 162 | G01X18199Y80999D02* 163 | G01X7277Y80999D01* 164 | G01X18453Y81253D02* 165 | G01X18453Y82269D01* 166 | G01X13373Y83412D02* 167 | G01X13754Y83412D01* 168 | G01X7023Y81253D02* 169 | G01X7023Y82269D01* 170 | G01X13373Y83412D02* 171 | G01X13373Y82777D01* 172 | G01X9309Y85444D02* 173 | G01X16167Y85444D01* 174 | G01X13373Y84047D02* 175 | G01X13373Y83412D01* 176 | G01X18199Y85825D02* 177 | G01X7277Y85825D01* 178 | G01X12103Y83412D02* 179 | G01X11722Y83412D01* 180 | G01X12484Y84047D02* 181 | G01X12484Y82777D01* 182 | G01X12103Y83412D02* 183 | G01X12103Y82777D01* 184 | G01X12484Y82777D02* 185 | G01X12992Y82777D01* 186 | G01X12103Y84047D02* 187 | G01X12103Y83412D01* 188 | G01X12992Y82777D02* 189 | G01X12992Y84047D01* 190 | G01X12992Y84047D02* 191 | G01X12484Y84047D01* 192 | G01X7023Y84555D02* 193 | G01X7023Y85571D01* 194 | G01X7023Y67410D02* 195 | G01X7023Y66394D01* 196 | G01X9309Y69823D02* 197 | G01X16167Y69823D01* 198 | G01X9309Y70585D02* 199 | G01X16167Y70585D01* 200 | G01X16167Y67283D02* 201 | G01X9309Y67283D01* 202 | G01X7277Y70966D02* 203 | G01X18199Y70966D01* 204 | G01X7023Y70712D02* 205 | G01X7023Y69696D01* 206 | G01X12103Y68553D02* 207 | G01X11722Y68553D01* 208 | G01X18453Y70712D02* 209 | G01X18453Y69696D01* 210 | G01X12103Y68553D02* 211 | G01X12103Y69188D01* 212 | G01X16167Y66521D02* 213 | G01X9309Y66521D01* 214 | G01X12103Y67918D02* 215 | G01X12103Y68553D01* 216 | G01X7277Y66140D02* 217 | G01X18199Y66140D01* 218 | G01X13373Y68553D02* 219 | G01X13754Y68553D01* 220 | G01X12992Y67918D02* 221 | G01X12992Y69188D01* 222 | G01X13373Y68553D02* 223 | G01X13373Y69188D01* 224 | G01X12992Y69188D02* 225 | G01X12484Y69188D01* 226 | G01X13373Y67918D02* 227 | G01X13373Y68553D01* 228 | G01X12484Y69188D02* 229 | G01X12484Y67918D01* 230 | G01X12484Y67918D02* 231 | G01X12992Y67918D01* 232 | G01X18453Y67410D02* 233 | G01X18453Y66394D01* 234 | G01X41925Y81253D02* 235 | G01X46012Y81253D01* 236 | G01X46012Y81380D01* 237 | G01X46012Y83793D01* 238 | G01X47282Y83793D01* 239 | G01X47282Y78713D01* 240 | G01X48552Y78713D01* 241 | G01X48552Y83666D01* 242 | G01X49822Y83666D01* 243 | G01X49822Y78713D01* 244 | G01X51092Y78713D01* 245 | G01X51092Y83793D01* 246 | G01X52362Y83793D01* 247 | G01X52362Y78713D01* 248 | G01X53632Y78713D01* 249 | G01X53632Y83793D01* 250 | G01X54902Y83793D01* 251 | G01X54902Y78713D01* 252 | G01X56172Y78713D01* 253 | G01X56172Y83793D01* 254 | G01X57569Y83793D01* 255 | G01X57569Y78713D01* 256 | G01X58839Y78713D01* 257 | G01X58839Y83793D01* 258 | G01X60109Y83793D01* 259 | G01X60109Y78713D01* 260 | G01X61252Y78713D01* 261 | G01X61252Y83793D01* 262 | G01X62522Y83793D01* 263 | G01X62522Y78713D01* 264 | G01X63792Y78713D01* 265 | G01X63792Y83793D01* 266 | G01X65189Y83793D01* 267 | G01X65189Y78713D01* 268 | G01X66459Y78713D01* 269 | G01X66459Y83793D01* 270 | G01X67729Y83793D01* 271 | G01X67729Y78713D01* 272 | G01X68872Y78713D01* 273 | G01X68872Y83793D01* 274 | G01X41544Y71220D02* 275 | G01X45631Y71220D01* 276 | G01X45631Y71347D01* 277 | G01X45631Y73760D01* 278 | G01X46901Y73760D01* 279 | G01X46901Y68680D01* 280 | G01X48171Y68680D01* 281 | G01X48171Y73633D01* 282 | G01X49441Y73633D01* 283 | G01X49441Y68680D01* 284 | G01X50711Y68680D01* 285 | G01X50711Y73760D01* 286 | G01X51981Y73760D01* 287 | G01X51981Y68680D01* 288 | G01X53251Y68680D01* 289 | G01X53251Y73760D01* 290 | G01X54521Y73760D01* 291 | G01X54521Y68680D01* 292 | G01X55791Y68680D01* 293 | G01X55791Y73760D01* 294 | G01X57188Y73760D01* 295 | G01X57188Y68680D01* 296 | G01X58458Y68680D01* 297 | G01X58458Y73760D01* 298 | G01X59728Y73760D01* 299 | G01X59728Y68680D01* 300 | G01X60871Y68680D01* 301 | G01X60871Y73760D01* 302 | G01X62141Y73760D01* 303 | G01X62141Y68680D01* 304 | G01X63411Y68680D01* 305 | G01X63411Y73760D01* 306 | G01X64808Y73760D01* 307 | G01X64808Y68680D01* 308 | G01X66078Y68680D01* 309 | G01X66078Y73760D01* 310 | G01X67348Y73760D01* 311 | G01X67348Y68680D01* 312 | G01X68491Y68680D01* 313 | G01X68491Y73760D01* 314 | G54D31* 315 | G01X19977Y78586D02* 316 | G01X19977Y73506D01* 317 | G01X14897Y73506D01* 318 | G01X14897Y78586D01* 319 | G01X19977Y78586D01* 320 | G54D35* 321 | G01X1181Y69707D02* 322 | G01X1181Y68617D01* 323 | G01X1181Y68617D02* 324 | G01X1803Y68617D01* 325 | G01X2146Y69707D02* 326 | G01X2146Y68617D01* 327 | G01X2146Y69707D02* 328 | G01X2821Y69707D01* 329 | G01X2146Y69188D02* 330 | G01X2562Y69188D01* 331 | G01X2146Y68617D02* 332 | G01X2821Y68617D01* 333 | G01X3164Y69707D02* 334 | G01X3164Y68617D01* 335 | G01X3164Y69707D02* 336 | G01X3530Y69707D01* 337 | G01X3685Y69656D01* 338 | G01X3789Y69552D01* 339 | G01X3840Y69448D01* 340 | G01X3893Y69290D01* 341 | G01X3893Y69031D01* 342 | G01X3840Y68876D01* 343 | G01X3789Y68772D01* 344 | G01X3685Y68668D01* 345 | G01X3530Y68617D01* 346 | G01X3164Y68617D01* 347 | G01X4236Y69498D02* 348 | G01X4340Y69552D01* 349 | G01X4495Y69707D01* 350 | G01X4495Y68617D01* 351 | G01X-3263Y83169D02* 352 | G01X-3263Y82389D01* 353 | G01X-3213Y82234D01* 354 | G01X-3108Y82130D01* 355 | G01X-2951Y82079D01* 356 | G01X-2847Y82079D01* 357 | G01X-2692Y82130D01* 358 | G01X-2588Y82234D01* 359 | G01X-2537Y82389D01* 360 | G01X-2537Y83169D01* 361 | G01X-1465Y83014D02* 362 | G01X-1569Y83118D01* 363 | G01X-1727Y83169D01* 364 | G01X-1932Y83169D01* 365 | G01X-2090Y83118D01* 366 | G01X-2194Y83014D01* 367 | G01X-2194Y82910D01* 368 | G01X-2141Y82805D01* 369 | G01X-2090Y82752D01* 370 | G01X-1986Y82701D01* 371 | G01X-1673Y82597D01* 372 | G01X-1569Y82546D01* 373 | G01X-1518Y82493D01* 374 | G01X-1465Y82389D01* 375 | G01X-1465Y82234D01* 376 | G01X-1569Y82130D01* 377 | G01X-1727Y82079D01* 378 | G01X-1932Y82079D01* 379 | G01X-2090Y82130D01* 380 | G01X-2194Y82234D01* 381 | G01X-1122Y83169D02* 382 | G01X-1122Y82079D01* 383 | G01X-1122Y83169D02* 384 | G01X-655Y83169D01* 385 | G01X-500Y83118D01* 386 | G01X-447Y83065D01* 387 | G01X-396Y82960D01* 388 | G01X-396Y82856D01* 389 | G01X-447Y82752D01* 390 | G01X-500Y82701D01* 391 | G01X-655Y82650D01* 392 | G01X-1122Y82650D02* 393 | G01X-655Y82650D01* 394 | G01X-500Y82597D01* 395 | G01X-447Y82546D01* 396 | G01X-396Y82442D01* 397 | G01X-396Y82285D01* 398 | G01X-447Y82181D01* 399 | G01X-500Y82130D01* 400 | G01X-655Y82079D01* 401 | G01X-1122Y82079D01* 402 | G01X-53Y82960D02* 403 | G01X50Y83014D01* 404 | G01X205Y83169D01* 405 | G01X205Y82079D01* 406 | G01X26962Y67294D02* 407 | G01X26962Y66204D01* 408 | G01X26962Y67294D02* 409 | G01X27429Y67294D01* 410 | G01X27584Y67243D01* 411 | G01X27637Y67190D01* 412 | G01X27688Y67085D01* 413 | G01X27688Y66981D01* 414 | G01X27637Y66877D01* 415 | G01X27584Y66826D01* 416 | G01X27429Y66775D01* 417 | G01X26962Y66775D01* 418 | G01X27325Y66775D02* 419 | G01X27688Y66204D01* 420 | G01X28031Y67294D02* 421 | G01X28760Y66204D01* 422 | G01X28760Y67294D02* 423 | G01X28031Y66204D01* 424 | G01X29519Y75655D02* 425 | G01X29519Y76745D01* 426 | G01X29883Y75655D02* 427 | G01X29156Y75655D01* 428 | G01X28813Y75655D02* 429 | G01X28084Y76745D01* 430 | G01X28084Y75655D02* 431 | G01X28813Y76745D01* 432 | G01X9291Y78073D02* 433 | G01X9344Y77969D01* 434 | G01X9448Y77865D01* 435 | G01X9550Y77814D01* 436 | G01X9758Y77814D01* 437 | G01X9862Y77865D01* 438 | G01X9966Y77969D01* 439 | G01X10020Y78073D01* 440 | G01X10071Y78231D01* 441 | G01X10071Y78490D01* 442 | G01X10020Y78645D01* 443 | G01X9966Y78749D01* 444 | G01X9862Y78853D01* 445 | G01X9758Y78904D01* 446 | G01X9550Y78904D01* 447 | G01X9448Y78853D01* 448 | G01X9344Y78749D01* 449 | G01X9291Y78645D01* 450 | G01X8430Y77814D02* 451 | G01X8948Y78541D01* 452 | G01X8168Y78541D01* 453 | G01X8430Y77814D02* 454 | G01X8430Y78904D01* 455 | G01X8818Y73639D02* 456 | G01X8765Y73743D01* 457 | G01X8661Y73847D01* 458 | G01X8559Y73898D01* 459 | G01X8351Y73898D01* 460 | G01X8247Y73847D01* 461 | G01X8143Y73743D01* 462 | G01X8089Y73639D01* 463 | G01X8039Y73481D01* 464 | G01X8039Y73222D01* 465 | G01X8089Y73067D01* 466 | G01X8143Y72963D01* 467 | G01X8247Y72859D01* 468 | G01X8351Y72808D01* 469 | G01X8559Y72808D01* 470 | G01X8661Y72859D01* 471 | G01X8765Y72963D01* 472 | G01X8818Y73067D01* 473 | G01X9265Y73898D02* 474 | G01X9837Y73898D01* 475 | G01X9525Y73481D01* 476 | G01X9679Y73481D01* 477 | G01X9784Y73430D01* 478 | G01X9837Y73379D01* 479 | G01X9888Y73222D01* 480 | G01X9888Y73118D01* 481 | G01X9837Y72963D01* 482 | G01X9733Y72859D01* 483 | G01X9575Y72808D01* 484 | G01X9420Y72808D01* 485 | G01X9265Y72859D01* 486 | G01X9212Y72910D01* 487 | G01X9161Y73014D01* 488 | G01X927Y75421D02* 489 | G01X927Y74332D01* 490 | G01X927Y75421D02* 491 | G01X1394Y75421D01* 492 | G01X1549Y75371D01* 493 | G01X1602Y75317D01* 494 | G01X1653Y75213D01* 495 | G01X1653Y75109D01* 496 | G01X1602Y75005D01* 497 | G01X1549Y74954D01* 498 | G01X1394Y74903D01* 499 | G01X927Y74903D01* 500 | G01X1290Y74903D02* 501 | G01X1653Y74332D01* 502 | G01X2517Y75421D02* 503 | G01X1996Y74695D01* 504 | G01X2776Y74695D01* 505 | G01X2517Y75421D02* 506 | G01X2517Y74332D01* 507 | G01X2324Y85836D02* 508 | G01X2324Y84746D01* 509 | G01X2324Y84746D02* 510 | G01X2946Y84746D01* 511 | G01X3289Y85836D02* 512 | G01X3289Y84746D01* 513 | G01X3289Y85836D02* 514 | G01X3964Y85836D01* 515 | G01X3289Y85317D02* 516 | G01X3705Y85317D01* 517 | G01X3289Y84746D02* 518 | G01X3964Y84746D01* 519 | G01X4307Y85836D02* 520 | G01X4307Y84746D01* 521 | G01X4307Y85836D02* 522 | G01X4673Y85836D01* 523 | G01X4828Y85785D01* 524 | G01X4932Y85681D01* 525 | G01X4983Y85577D01* 526 | G01X5036Y85419D01* 527 | G01X5036Y85160D01* 528 | G01X4983Y85005D01* 529 | G01X4932Y84901D01* 530 | G01X4828Y84797D01* 531 | G01X4673Y84746D01* 532 | G01X4307Y84746D01* 533 | G01X5430Y85577D02* 534 | G01X5430Y85627D01* 535 | G01X5483Y85732D01* 536 | G01X5534Y85785D01* 537 | G01X5638Y85836D01* 538 | G01X5847Y85836D01* 539 | G01X5951Y85785D01* 540 | G01X6002Y85732D01* 541 | G01X6055Y85627D01* 542 | G01X6055Y85523D01* 543 | G01X6002Y85419D01* 544 | G01X5897Y85264D01* 545 | G01X5379Y84746D01* 546 | G01X6106Y84746D01* 547 | G01X20866Y72501D02* 548 | G01X20866Y71721D01* 549 | G01X20916Y71566D01* 550 | G01X21021Y71462D01* 551 | G01X21178Y71411D01* 552 | G01X21282Y71411D01* 553 | G01X21437Y71462D01* 554 | G01X21541Y71566D01* 555 | G01X21592Y71721D01* 556 | G01X21592Y72501D01* 557 | G01X22560Y72501D02* 558 | G01X22039Y72501D01* 559 | G01X21988Y72033D01* 560 | G01X22039Y72084D01* 561 | G01X22197Y72137D01* 562 | G01X22352Y72137D01* 563 | G01X22506Y72084D01* 564 | G01X22611Y71982D01* 565 | G01X22664Y71825D01* 566 | G01X22664Y71721D01* 567 | G01X22611Y71566D01* 568 | G01X22506Y71462D01* 569 | G01X22352Y71411D01* 570 | G01X22197Y71411D01* 571 | G01X22039Y71462D01* 572 | G01X21988Y71513D01* 573 | G01X21935Y71617D01* 574 | G01X36730Y81380D02* 575 | G01X37820Y81380D01* 576 | G01X36730Y81380D02* 577 | G01X36730Y81848D01* 578 | G01X36781Y82003D01* 579 | G01X36835Y82056D01* 580 | G01X36939Y82107D01* 581 | G01X37043Y82107D01* 582 | G01X37147Y82056D01* 583 | G01X37198Y82003D01* 584 | G01X37249Y81848D01* 585 | G01X37249Y81380D01* 586 | G01X37249Y81744D02* 587 | G01X37820Y82107D01* 588 | G01X36885Y83179D02* 589 | G01X36781Y83075D01* 590 | G01X36730Y82917D01* 591 | G01X36730Y82711D01* 592 | G01X36781Y82554D01* 593 | G01X36885Y82450D01* 594 | G01X36990Y82450D01* 595 | G01X37094Y82503D01* 596 | G01X37147Y82554D01* 597 | G01X37198Y82658D01* 598 | G01X37302Y82971D01* 599 | G01X37353Y83075D01* 600 | G01X37406Y83125D01* 601 | G01X37510Y83179D01* 602 | G01X37665Y83179D01* 603 | G01X37769Y83075D01* 604 | G01X37820Y82917D01* 605 | G01X37820Y82711D01* 606 | G01X37769Y82554D01* 607 | G01X37665Y82450D01* 608 | G01X36730Y83885D02* 609 | G01X37820Y83885D01* 610 | G01X36730Y83522D02* 611 | G01X36730Y84248D01* 612 | G01X20104Y84418D02* 613 | G01X19377Y85508D01* 614 | G01X19377Y84418D02* 615 | G01X20104Y85508D01* 616 | G01X19034Y84627D02* 617 | G01X18930Y84573D01* 618 | G01X18773Y84418D01* 619 | G01X18773Y85508D01* 620 | G01X5118Y67421D02* 621 | G01X5844Y66331D01* 622 | G01X5844Y67421D02* 623 | G01X5118Y66331D01* 624 | G01X6240Y67162D02* 625 | G01X6240Y67212D01* 626 | G01X6291Y67317D01* 627 | G01X6344Y67370D01* 628 | G01X6449Y67421D01* 629 | G01X6654Y67421D01* 630 | G01X6758Y67370D01* 631 | G01X6812Y67317D01* 632 | G01X6863Y67212D01* 633 | G01X6863Y67108D01* 634 | G01X6812Y67004D01* 635 | G01X6708Y66849D01* 636 | G01X6187Y66331D01* 637 | G01X6916Y66331D01* 638 | G01X54394Y85201D02* 639 | G01X54394Y84421D01* 640 | G01X54444Y84266D01* 641 | G01X54549Y84162D01* 642 | G01X54706Y84111D01* 643 | G01X54810Y84111D01* 644 | G01X54965Y84162D01* 645 | G01X55069Y84266D01* 646 | G01X55120Y84421D01* 647 | G01X55120Y85201D01* 648 | G01X55984Y85201D02* 649 | G01X55463Y84474D01* 650 | G01X56243Y84474D01* 651 | G01X55984Y85201D02* 652 | G01X55984Y84111D01* 653 | G01X54013Y75168D02* 654 | G01X54013Y74388D01* 655 | G01X54063Y74233D01* 656 | G01X54168Y74129D01* 657 | G01X54325Y74078D01* 658 | G01X54429Y74078D01* 659 | G01X54584Y74129D01* 660 | G01X54688Y74233D01* 661 | G01X54739Y74388D01* 662 | G01X54739Y75168D01* 663 | G01X55707Y75013D02* 664 | G01X55653Y75117D01* 665 | G01X55499Y75168D01* 666 | G01X55394Y75168D01* 667 | G01X55239Y75117D01* 668 | G01X55135Y74959D01* 669 | G01X55082Y74700D01* 670 | G01X55082Y74441D01* 671 | G01X55135Y74233D01* 672 | G01X55239Y74129D01* 673 | G01X55394Y74078D01* 674 | G01X55448Y74078D01* 675 | G01X55603Y74129D01* 676 | G01X55707Y74233D01* 677 | G01X55758Y74388D01* 678 | G01X55758Y74441D01* 679 | G01X55707Y74596D01* 680 | G01X55603Y74700D01* 681 | G01X55448Y74751D01* 682 | G01X55394Y74751D01* 683 | G01X55239Y74700D01* 684 | G01X55135Y74596D01* 685 | G01X55082Y74441D01* 686 | G54D10* 687 | G75* 688 | G01X7928Y75960D02* 689 | G02X7728Y76160I0J200D01* 690 | G01* 691 | G75* 692 | G01X9928Y75960D02* 693 | G03X10128Y76160I0J200D01* 694 | G01* 695 | G75* 696 | G01X7928Y80960D02* 697 | G03X7728Y80760I0J-200D01* 698 | G01* 699 | G75* 700 | G01X9928Y80960D02* 701 | G02X10128Y80760I0J-200D01* 702 | G01* 703 | G75* 704 | G01X9928Y75880D02* 705 | G02X10128Y75680I0J-200D01* 706 | G01* 707 | G75* 708 | G01X7928Y75880D02* 709 | G03X7728Y75680I0J-200D01* 710 | G01* 711 | G75* 712 | G01X9928Y70880D02* 713 | G03X10128Y71080I0J200D01* 714 | G01* 715 | G75* 716 | G01X7928Y70880D02* 717 | G02X7728Y71080I0J200D01* 718 | G01* 719 | G54D33* 720 | G75* 721 | G01X13724Y71897D02* 722 | G03X13726Y71897I1J-150D01* 723 | G01* 724 | G54D34* 725 | G75* 726 | G01X15225Y74048D02* 727 | G03X15227Y74048I1J-200D01* 728 | G01* 729 | G54D10* 730 | G75* 731 | G01X7023Y85572D02* 732 | G02X7277Y85826I254J0D01* 733 | G01* 734 | G75* 735 | G01X18199Y85826D02* 736 | G02X18453Y85572I0J-254D01* 737 | G01* 738 | G75* 739 | G01X7023Y81254D02* 740 | G03X7277Y81000I254J0D01* 741 | G01* 742 | G75* 743 | G01X8756Y84556D02* 744 | G02X9309Y84683I553J-1143D01* 745 | G01* 746 | G75* 747 | G01X8756Y82270D02* 748 | G03X9309Y82143I553J1143D01* 749 | G01* 750 | G75* 751 | G01X7629Y82270D02* 752 | G03X9309Y81381I1680J1143D01* 753 | G01* 754 | G75* 755 | G01X16167Y81381D02* 756 | G03X17847Y82270I0J2032D01* 757 | G01* 758 | G75* 759 | G01X16167Y84683D02* 760 | G02X16721Y84556I0J-1270D01* 761 | G01* 762 | G75* 763 | G01X16167Y82143D02* 764 | G03X16721Y82270I0J1270D01* 765 | G01* 766 | G75* 767 | G01X18199Y81000D02* 768 | G03X18453Y81254I0J254D01* 769 | G01* 770 | G75* 771 | G01X16167Y85445D02* 772 | G02X17847Y84556I0J-2032D01* 773 | G01* 774 | G75* 775 | G01X7629Y84556D02* 776 | G02X9309Y85445I1680J-1143D01* 777 | G01* 778 | G75* 779 | G01X18453Y66395D02* 780 | G02X18199Y66141I-254J0D01* 781 | G01* 782 | G75* 783 | G01X7277Y66141D02* 784 | G02X7023Y66395I0J254D01* 785 | G01* 786 | G75* 787 | G01X18453Y70713D02* 788 | G03X18199Y70967I-254J0D01* 789 | G01* 790 | G75* 791 | G01X16721Y67411D02* 792 | G02X16167Y67284I-554J1143D01* 793 | G01* 794 | G75* 795 | G01X16721Y69697D02* 796 | G03X16167Y69824I-554J-1143D01* 797 | G01* 798 | G75* 799 | G01X17847Y69697D02* 800 | G03X16167Y70586I-1680J-1143D01* 801 | G01* 802 | G75* 803 | G01X9309Y70586D02* 804 | G03X7629Y69697I0J-2032D01* 805 | G01* 806 | G75* 807 | G01X9309Y67284D02* 808 | G02X8756Y67411I0J1270D01* 809 | G01* 810 | G75* 811 | G01X9309Y69824D02* 812 | G03X8756Y69697I0J-1270D01* 813 | G01* 814 | G75* 815 | G01X7277Y70967D02* 816 | G03X7023Y70713I0J-254D01* 817 | G01* 818 | G75* 819 | G01X9309Y66522D02* 820 | G02X7629Y67411I0J2032D01* 821 | G01* 822 | G75* 823 | G01X17847Y67411D02* 824 | G02X16167Y66522I-1680J1143D01* 825 | G01* 826 | G75* 827 | G01X35112Y82778D02* 828 | G03X35112Y82778I-1800J0D01* 829 | G01* 830 | G75* 831 | G01X31959Y80978D02* 832 | G03X31959Y80978I-447J0D01* 833 | G01* 834 | G75* 835 | G01X35559Y80978D02* 836 | G03X35559Y80978I-447J0D01* 837 | G01* 838 | G75* 839 | G01X35559Y84578D02* 840 | G03X35559Y84578I-447J0D01* 841 | G01* 842 | G75* 843 | G01X31959Y84578D02* 844 | G03X31959Y84578I-447J0D01* 845 | G01* 846 | 847 | %LPD*% 848 | G36* 849 | G01X2805Y67864D02* 850 | G01X2455Y67864D01* 851 | G01X2455Y67464D01* 852 | G01X2805Y67464D01* 853 | G01X2805Y67864D01* 854 | G37* 855 | 856 | %LPD*% 857 | G36* 858 | G01X2955Y68314D02* 859 | G01X2705Y68314D01* 860 | G01X2705Y67014D01* 861 | G01X2955Y67014D01* 862 | G01X2955Y68314D01* 863 | G37* 864 | M00* 865 | M02* 866 | -------------------------------------------------------------------------------- /hardware/pcb_gerber/Gerber_BottomSilkLayer.GBO: -------------------------------------------------------------------------------- 1 | G04 Layer: BottomSilkLayer* 2 | G04 EasyEDA v6.3.53, 2020-06-17T01:54:55+02:00* 3 | G04 e9d571a3f1504c91a96fab9e56f28b91,9eabfb72a9474bef872f988307f0334b,10* 4 | G04 Gerber Generator version 0.2* 5 | G04 Scale: 100 percent, Rotated: No, Reflected: No * 6 | G04 Dimensions in millimeters * 7 | G04 leading zeros omitted , absolute positions ,3 integer and 3 decimal * 8 | %FSLAX33Y33*% 9 | %MOMM*% 10 | G90* 11 | G71D02* 12 | 13 | %ADD10C,0.254000*% 14 | %ADD30C,0.100000*% 15 | %ADD31C,0.203200*% 16 | %ADD35C,0.152400*% 17 | 18 | %LPD*% 19 | G54D10* 20 | G01X12905Y84539D02* 21 | G01X12905Y82539D01* 22 | G01X16405Y84739D02* 23 | G01X17605Y84739D01* 24 | G01X16405Y82339D02* 25 | G01X17605Y82339D01* 26 | G01X14405Y84739D02* 27 | G01X13205Y84739D01* 28 | G01X14405Y82339D02* 29 | G01X13205Y82339D01* 30 | G01X17905Y84539D02* 31 | G01X17905Y82539D01* 32 | G01X17705Y84739D02* 33 | G01X17605Y84739D01* 34 | G01X17705Y82339D02* 35 | G01X17605Y82339D01* 36 | G01X13105Y84739D02* 37 | G01X13205Y84739D01* 38 | G01X13105Y82339D02* 39 | G01X13205Y82339D01* 40 | G01X12571Y82539D02* 41 | G01X12571Y84539D01* 42 | G01X9071Y82339D02* 43 | G01X7871Y82339D01* 44 | G01X9071Y84739D02* 45 | G01X7871Y84739D01* 46 | G01X11071Y82339D02* 47 | G01X12271Y82339D01* 48 | G01X11071Y84739D02* 49 | G01X12271Y84739D01* 50 | G01X7571Y82539D02* 51 | G01X7571Y84539D01* 52 | G01X7771Y82339D02* 53 | G01X7871Y82339D01* 54 | G01X7771Y84739D02* 55 | G01X7871Y84739D01* 56 | G01X12371Y82339D02* 57 | G01X12271Y82339D01* 58 | G01X12371Y84739D02* 59 | G01X12271Y84739D01* 60 | G01X12571Y67299D02* 61 | G01X12571Y69299D01* 62 | G01X9071Y67099D02* 63 | G01X7871Y67099D01* 64 | G01X9071Y69499D02* 65 | G01X7871Y69499D01* 66 | G01X11071Y67099D02* 67 | G01X12271Y67099D01* 68 | G01X11071Y69499D02* 69 | G01X12271Y69499D01* 70 | G01X7571Y67299D02* 71 | G01X7571Y69299D01* 72 | G01X7771Y67099D02* 73 | G01X7871Y67099D01* 74 | G01X7771Y69499D02* 75 | G01X7871Y69499D01* 76 | G01X12371Y67099D02* 77 | G01X12271Y67099D01* 78 | G01X12371Y69499D02* 79 | G01X12271Y69499D01* 80 | G01X18032Y67299D02* 81 | G01X18032Y69299D01* 82 | G01X14532Y67099D02* 83 | G01X13332Y67099D01* 84 | G01X14532Y69499D02* 85 | G01X13332Y69499D01* 86 | G01X16532Y67099D02* 87 | G01X17732Y67099D01* 88 | G01X16532Y69499D02* 89 | G01X17732Y69499D01* 90 | G01X13032Y67299D02* 91 | G01X13032Y69299D01* 92 | G01X13232Y67099D02* 93 | G01X13332Y67099D01* 94 | G01X13232Y69499D02* 95 | G01X13332Y69499D01* 96 | G01X17832Y67099D02* 97 | G01X17732Y67099D01* 98 | G01X17832Y69499D02* 99 | G01X17732Y69499D01* 100 | G01X5930Y71119D02* 101 | G01X5930Y81022D01* 102 | G01X9613Y81022D01* 103 | G01X9613Y71071D01* 104 | G01X9613Y71071D02* 105 | G01X8369Y71071D01* 106 | G01X7200Y71093D02* 107 | G01X5930Y71093D01* 108 | G01X2298Y67880D02* 109 | G01X2298Y69481D01* 110 | G01X4148Y69475D02* 111 | G01X5398Y69475D01* 112 | G01X4148Y67875D02* 113 | G01X5398Y67875D01* 114 | G01X3548Y69481D02* 115 | G01X2298Y69481D01* 116 | G01X3548Y67880D02* 117 | G01X2298Y67880D01* 118 | G01X5398Y67875D02* 119 | G01X5398Y69475D01* 120 | G01X2298Y66229D02* 121 | G01X2298Y67830D01* 122 | G01X4148Y67824D02* 123 | G01X5398Y67824D01* 124 | G01X4148Y66224D02* 125 | G01X5398Y66224D01* 126 | G01X3548Y67830D02* 127 | G01X2298Y67830D01* 128 | G01X3548Y66229D02* 129 | G01X2298Y66229D01* 130 | G01X5398Y66224D02* 131 | G01X5398Y67824D01* 132 | G01X12300Y80833D02* 133 | G01X14700Y80833D01* 134 | G01X14700Y77333D02* 135 | G01X14700Y75833D01* 136 | G01X12300Y77333D02* 137 | G01X12300Y75833D01* 138 | G01X14700Y79333D02* 139 | G01X14700Y80833D01* 140 | G01X12300Y79333D02* 141 | G01X12300Y80833D01* 142 | G01X12300Y75833D02* 143 | G01X14700Y75833D01* 144 | G54D31* 145 | G01X37329Y76192D02* 146 | G01X37514Y76100D01* 147 | G01X37699Y75915D01* 148 | G01X37791Y75730D01* 149 | G01X37884Y75453D01* 150 | G01X37884Y74991D01* 151 | G01X37791Y74714D01* 152 | G01X37699Y74529D01* 153 | G01X37514Y74345D01* 154 | G01X37329Y74252D01* 155 | G01X36960Y74252D01* 156 | G01X36775Y74345D01* 157 | G01X36591Y74529D01* 158 | G01X36498Y74714D01* 159 | G01X36406Y74991D01* 160 | G01X36406Y75453D01* 161 | G01X36498Y75730D01* 162 | G01X36591Y75915D01* 163 | G01X36775Y76100D01* 164 | G01X36960Y76192D01* 165 | G01X37329Y76192D01* 166 | G01X35796Y75545D02* 167 | G01X35796Y73606D01* 168 | G01X35796Y75268D02* 169 | G01X35611Y75453D01* 170 | G01X35427Y75545D01* 171 | G01X35150Y75545D01* 172 | G01X34965Y75453D01* 173 | G01X34780Y75268D01* 174 | G01X34688Y74991D01* 175 | G01X34688Y74807D01* 176 | G01X34780Y74529D01* 177 | G01X34965Y74345D01* 178 | G01X35150Y74252D01* 179 | G01X35427Y74252D01* 180 | G01X35611Y74345D01* 181 | G01X35796Y74529D01* 182 | G01X34078Y74991D02* 183 | G01X32970Y74991D01* 184 | G01X32970Y75176D01* 185 | G01X33062Y75361D01* 186 | G01X33155Y75453D01* 187 | G01X33339Y75545D01* 188 | G01X33616Y75545D01* 189 | G01X33801Y75453D01* 190 | G01X33986Y75268D01* 191 | G01X34078Y74991D01* 192 | G01X34078Y74807D01* 193 | G01X33986Y74529D01* 194 | G01X33801Y74345D01* 195 | G01X33616Y74252D01* 196 | G01X33339Y74252D01* 197 | G01X33155Y74345D01* 198 | G01X32970Y74529D01* 199 | G01X32360Y75545D02* 200 | G01X32360Y74252D01* 201 | G01X32360Y75176D02* 202 | G01X32083Y75453D01* 203 | G01X31898Y75545D01* 204 | G01X31621Y75545D01* 205 | G01X31437Y75453D01* 206 | G01X31344Y75176D01* 207 | G01X31344Y74252D01* 208 | G01X29811Y76192D02* 209 | G01X30735Y74899D01* 210 | G01X29349Y74899D01* 211 | G01X29811Y76192D02* 212 | G01X29811Y74252D01* 213 | G01X28555Y76192D02* 214 | G01X27539Y76192D01* 215 | G01X28093Y75453D01* 216 | G01X27816Y75453D01* 217 | G01X27631Y75361D01* 218 | G01X27539Y75268D01* 219 | G01X27447Y74991D01* 220 | G01X27447Y74807D01* 221 | G01X27539Y74529D01* 222 | G01X27724Y74345D01* 223 | G01X28001Y74252D01* 224 | G01X28278Y74252D01* 225 | G01X28555Y74345D01* 226 | G01X28647Y74437D01* 227 | G01X28740Y74622D01* 228 | G01X26652Y76192D02* 229 | G01X25636Y76192D01* 230 | G01X26190Y75453D01* 231 | G01X25913Y75453D01* 232 | G01X25729Y75361D01* 233 | G01X25636Y75268D01* 234 | G01X25544Y74991D01* 235 | G01X25544Y74807D01* 236 | G01X25636Y74529D01* 237 | G01X25821Y74345D01* 238 | G01X26098Y74252D01* 239 | G01X26375Y74252D01* 240 | G01X26652Y74345D01* 241 | G01X26745Y74437D01* 242 | G01X26837Y74622D01* 243 | G54D30* 244 | G01X37630Y73500D02* 245 | G01X37630Y72545D01* 246 | G01X37630Y73500D02* 247 | G01X37221Y73500D01* 248 | G01X37084Y73454D01* 249 | G01X37039Y73409D01* 250 | G01X36993Y73318D01* 251 | G01X36993Y73227D01* 252 | G01X37039Y73136D01* 253 | G01X37084Y73090D01* 254 | G01X37221Y73045D01* 255 | G01X37630Y73045D02* 256 | G01X37221Y73045D01* 257 | G01X37084Y73000D01* 258 | G01X37039Y72954D01* 259 | G01X36993Y72863D01* 260 | G01X36993Y72727D01* 261 | G01X37039Y72636D01* 262 | G01X37084Y72590D01* 263 | G01X37221Y72545D01* 264 | G01X37630Y72545D01* 265 | G01X36648Y73181D02* 266 | G01X36375Y72545D01* 267 | G01X36102Y73181D02* 268 | G01X36375Y72545D01* 269 | G01X36466Y72363D01* 270 | G01X36557Y72272D01* 271 | G01X36648Y72227D01* 272 | G01X36693Y72227D01* 273 | G01X34784Y73500D02* 274 | G01X34784Y72545D01* 275 | G01X35102Y73500D02* 276 | G01X34466Y73500D01* 277 | G01X34166Y73181D02* 278 | G01X34166Y72727D01* 279 | G01X34121Y72590D01* 280 | G01X34030Y72545D01* 281 | G01X33893Y72545D01* 282 | G01X33802Y72590D01* 283 | G01X33666Y72727D01* 284 | G01X33666Y73181D02* 285 | G01X33666Y72545D01* 286 | G01X33366Y73181D02* 287 | G01X33366Y72545D01* 288 | G01X33366Y72909D02* 289 | G01X33321Y73045D01* 290 | G01X33230Y73136D01* 291 | G01X33139Y73181D01* 292 | G01X33002Y73181D01* 293 | G01X32566Y73500D02* 294 | G01X32566Y72727D01* 295 | G01X32521Y72590D01* 296 | G01X32430Y72545D01* 297 | G01X32339Y72545D01* 298 | G01X32702Y73181D02* 299 | G01X32384Y73181D01* 300 | G01X32039Y73500D02* 301 | G01X32039Y72545D01* 302 | G01X31739Y72909D02* 303 | G01X31193Y72909D01* 304 | G01X31193Y73000D01* 305 | G01X31239Y73090D01* 306 | G01X31284Y73136D01* 307 | G01X31375Y73181D01* 308 | G01X31511Y73181D01* 309 | G01X31602Y73136D01* 310 | G01X31693Y73045D01* 311 | G01X31739Y72909D01* 312 | G01X31739Y72818D01* 313 | G01X31693Y72681D01* 314 | G01X31602Y72590D01* 315 | G01X31511Y72545D01* 316 | G01X31375Y72545D01* 317 | G01X31284Y72590D01* 318 | G01X31193Y72681D01* 319 | G01X30893Y73500D02* 320 | G01X30893Y72545D01* 321 | G01X30893Y73500D02* 322 | G01X30302Y73500D01* 323 | G01X30893Y73045D02* 324 | G01X30530Y73045D01* 325 | G01X29775Y73181D02* 326 | G01X29866Y73136D01* 327 | G01X29957Y73045D01* 328 | G01X30002Y72909D01* 329 | G01X30002Y72818D01* 330 | G01X29957Y72681D01* 331 | G01X29866Y72590D01* 332 | G01X29775Y72545D01* 333 | G01X29639Y72545D01* 334 | G01X29548Y72590D01* 335 | G01X29457Y72681D01* 336 | G01X29411Y72818D01* 337 | G01X29411Y72909D01* 338 | G01X29457Y73045D01* 339 | G01X29548Y73136D01* 340 | G01X29639Y73181D01* 341 | G01X29775Y73181D01* 342 | G01X29111Y73181D02* 343 | G01X29111Y72545D01* 344 | G01X29111Y72909D02* 345 | G01X29066Y73045D01* 346 | G01X28975Y73136D01* 347 | G01X28884Y73181D01* 348 | G01X28748Y73181D01* 349 | G01X27766Y73272D02* 350 | G01X27811Y73363D01* 351 | G01X27902Y73454D01* 352 | G01X27993Y73500D01* 353 | G01X28175Y73500D01* 354 | G01X28266Y73454D01* 355 | G01X28357Y73363D01* 356 | G01X28402Y73272D01* 357 | G01X28448Y73136D01* 358 | G01X28448Y72909D01* 359 | G01X28402Y72772D01* 360 | G01X28357Y72681D01* 361 | G01X28266Y72590D01* 362 | G01X28175Y72545D01* 363 | G01X27993Y72545D01* 364 | G01X27902Y72590D01* 365 | G01X27811Y72681D01* 366 | G01X27766Y72772D01* 367 | G01X27766Y72909D01* 368 | G01X27993Y72909D02* 369 | G01X27766Y72909D01* 370 | G01X26921Y73181D02* 371 | G01X26921Y72545D01* 372 | G01X26921Y73045D02* 373 | G01X27011Y73136D01* 374 | G01X27102Y73181D01* 375 | G01X27239Y73181D01* 376 | G01X27330Y73136D01* 377 | G01X27421Y73045D01* 378 | G01X27466Y72909D01* 379 | G01X27466Y72818D01* 380 | G01X27421Y72681D01* 381 | G01X27330Y72590D01* 382 | G01X27239Y72545D01* 383 | G01X27102Y72545D01* 384 | G01X27011Y72590D01* 385 | G01X26921Y72681D01* 386 | G01X26621Y73181D02* 387 | G01X26621Y72545D01* 388 | G01X26621Y73000D02* 389 | G01X26484Y73136D01* 390 | G01X26393Y73181D01* 391 | G01X26257Y73181D01* 392 | G01X26166Y73136D01* 393 | G01X26121Y73000D01* 394 | G01X26121Y72545D01* 395 | G01X26121Y73000D02* 396 | G01X25984Y73136D01* 397 | G01X25893Y73181D01* 398 | G01X25757Y73181D01* 399 | G01X25666Y73136D01* 400 | G01X25621Y73000D01* 401 | G01X25621Y72545D01* 402 | G01X25321Y73500D02* 403 | G01X25275Y73454D01* 404 | G01X25230Y73500D01* 405 | G01X25275Y73545D01* 406 | G01X25321Y73500D01* 407 | G01X25275Y73181D02* 408 | G01X25275Y72545D01* 409 | G01X24930Y73181D02* 410 | G01X24930Y72545D01* 411 | G01X24930Y73000D02* 412 | G01X24793Y73136D01* 413 | G01X24702Y73181D01* 414 | G01X24566Y73181D01* 415 | G01X24475Y73136D01* 416 | G01X24430Y73000D01* 417 | G01X24430Y72545D01* 418 | G01X23584Y73181D02* 419 | G01X23584Y72454D01* 420 | G01X23630Y72318D01* 421 | G01X23675Y72272D01* 422 | G01X23766Y72227D01* 423 | G01X23902Y72227D01* 424 | G01X23993Y72272D01* 425 | G01X23584Y73045D02* 426 | G01X23675Y73136D01* 427 | G01X23766Y73181D01* 428 | G01X23902Y73181D01* 429 | G01X23993Y73136D01* 430 | G01X24084Y73045D01* 431 | G01X24130Y72909D01* 432 | G01X24130Y72818D01* 433 | G01X24084Y72681D01* 434 | G01X23993Y72590D01* 435 | G01X23902Y72545D01* 436 | G01X23766Y72545D01* 437 | G01X23675Y72590D01* 438 | G01X23584Y72681D01* 439 | G01X37416Y71596D02* 440 | G01X37416Y71051D01* 441 | G01X37450Y70949D01* 442 | G01X37484Y70914D01* 443 | G01X37552Y70880D01* 444 | G01X37620Y70880D01* 445 | G01X37688Y70914D01* 446 | G01X37723Y70949D01* 447 | G01X37757Y71051D01* 448 | G01X37757Y71119D01* 449 | G01X37191Y71596D02* 450 | G01X37191Y70880D01* 451 | G01X37191Y70880D02* 452 | G01X36782Y70880D01* 453 | G01X36045Y71426D02* 454 | G01X36079Y71494D01* 455 | G01X36148Y71562D01* 456 | G01X36216Y71596D01* 457 | G01X36352Y71596D01* 458 | G01X36420Y71562D01* 459 | G01X36488Y71494D01* 460 | G01X36523Y71426D01* 461 | G01X36557Y71324D01* 462 | G01X36557Y71153D01* 463 | G01X36523Y71051D01* 464 | G01X36488Y70983D01* 465 | G01X36420Y70914D01* 466 | G01X36352Y70880D01* 467 | G01X36216Y70880D01* 468 | G01X36148Y70914D01* 469 | G01X36079Y70983D01* 470 | G01X36045Y71051D01* 471 | G01X35479Y71596D02* 472 | G01X35479Y71051D01* 473 | G01X35513Y70949D01* 474 | G01X35548Y70914D01* 475 | G01X35616Y70880D01* 476 | G01X35684Y70880D01* 477 | G01X35752Y70914D01* 478 | G01X35786Y70949D01* 479 | G01X35820Y71051D01* 480 | G01X35820Y71119D01* 481 | G01X35254Y71596D02* 482 | G01X35254Y70880D01* 483 | G01X35254Y70880D02* 484 | G01X34845Y70880D01* 485 | G01X34109Y71426D02* 486 | G01X34143Y71494D01* 487 | G01X34211Y71562D01* 488 | G01X34279Y71596D01* 489 | G01X34416Y71596D01* 490 | G01X34484Y71562D01* 491 | G01X34552Y71494D01* 492 | G01X34586Y71426D01* 493 | G01X34620Y71324D01* 494 | G01X34620Y71153D01* 495 | G01X34586Y71051D01* 496 | G01X34552Y70983D01* 497 | G01X34484Y70914D01* 498 | G01X34416Y70880D01* 499 | G01X34279Y70880D01* 500 | G01X34211Y70914D01* 501 | G01X34143Y70983D01* 502 | G01X34109Y71051D01* 503 | G01X33543Y71596D02* 504 | G01X33543Y71051D01* 505 | G01X33577Y70949D01* 506 | G01X33611Y70914D01* 507 | G01X33679Y70880D01* 508 | G01X33748Y70880D01* 509 | G01X33816Y70914D01* 510 | G01X33850Y70949D01* 511 | G01X33884Y71051D01* 512 | G01X33884Y71119D01* 513 | G01X33318Y71596D02* 514 | G01X33318Y70880D01* 515 | G01X33318Y70880D02* 516 | G01X32909Y70880D01* 517 | G01X32173Y71426D02* 518 | G01X32207Y71494D01* 519 | G01X32275Y71562D01* 520 | G01X32343Y71596D01* 521 | G01X32479Y71596D01* 522 | G01X32548Y71562D01* 523 | G01X32616Y71494D01* 524 | G01X32650Y71426D01* 525 | G01X32684Y71324D01* 526 | G01X32684Y71153D01* 527 | G01X32650Y71051D01* 528 | G01X32616Y70983D01* 529 | G01X32548Y70914D01* 530 | G01X32479Y70880D01* 531 | G01X32343Y70880D01* 532 | G01X32275Y70914D01* 533 | G01X32207Y70983D01* 534 | G01X32173Y71051D01* 535 | G01X31607Y71596D02* 536 | G01X31607Y71051D01* 537 | G01X31641Y70949D01* 538 | G01X31675Y70914D01* 539 | G01X31743Y70880D01* 540 | G01X31811Y70880D01* 541 | G01X31879Y70914D01* 542 | G01X31913Y70949D01* 543 | G01X31948Y71051D01* 544 | G01X31948Y71119D01* 545 | G01X31382Y71596D02* 546 | G01X31382Y70880D01* 547 | G01X31382Y70880D02* 548 | G01X30973Y70880D01* 549 | G01X30236Y71426D02* 550 | G01X30270Y71494D01* 551 | G01X30338Y71562D01* 552 | G01X30407Y71596D01* 553 | G01X30543Y71596D01* 554 | G01X30611Y71562D01* 555 | G01X30679Y71494D01* 556 | G01X30713Y71426D01* 557 | G01X30748Y71324D01* 558 | G01X30748Y71153D01* 559 | G01X30713Y71051D01* 560 | G01X30679Y70983D01* 561 | G01X30611Y70914D01* 562 | G01X30543Y70880D01* 563 | G01X30407Y70880D01* 564 | G01X30338Y70914D01* 565 | G01X30270Y70983D01* 566 | G01X30236Y71051D01* 567 | G54D35* 568 | G01X19458Y84174D02* 569 | G01X20548Y84174D01* 570 | G01X19613Y83105D02* 571 | G01X19509Y83209D01* 572 | G01X19458Y83364D01* 573 | G01X19458Y83573D01* 574 | G01X19509Y83727D01* 575 | G01X19613Y83832D01* 576 | G01X19718Y83832D01* 577 | G01X19822Y83781D01* 578 | G01X19875Y83727D01* 579 | G01X19926Y83623D01* 580 | G01X20030Y83311D01* 581 | G01X20081Y83209D01* 582 | G01X20134Y83156D01* 583 | G01X20238Y83105D01* 584 | G01X20393Y83105D01* 585 | G01X20497Y83209D01* 586 | G01X20548Y83364D01* 587 | G01X20548Y83573D01* 588 | G01X20497Y83727D01* 589 | G01X20393Y83832D01* 590 | G01X19718Y81982D02* 591 | G01X19613Y82033D01* 592 | G01X19509Y82137D01* 593 | G01X19458Y82242D01* 594 | G01X19458Y82450D01* 595 | G01X19509Y82554D01* 596 | G01X19613Y82658D01* 597 | G01X19718Y82709D01* 598 | G01X19875Y82762D01* 599 | G01X20134Y82762D01* 600 | G01X20289Y82709D01* 601 | G01X20393Y82658D01* 602 | G01X20497Y82554D01* 603 | G01X20548Y82450D01* 604 | G01X20548Y82242D01* 605 | G01X20497Y82137D01* 606 | G01X20393Y82033D01* 607 | G01X20289Y81982D01* 608 | G01X19458Y81640D02* 609 | G01X20548Y81640D01* 610 | G01X19458Y81640D02* 611 | G01X19458Y81172D01* 612 | G01X19509Y81015D01* 613 | G01X19563Y80964D01* 614 | G01X19667Y80911D01* 615 | G01X19822Y80911D01* 616 | G01X19926Y80964D01* 617 | G01X19977Y81015D01* 618 | G01X20030Y81172D01* 619 | G01X20030Y81640D01* 620 | G01X15387Y81639D02* 621 | G01X15439Y81743D01* 622 | G01X15543Y81847D01* 623 | G01X15647Y81899D01* 624 | G01X15855Y81899D01* 625 | G01X15959Y81847D01* 626 | G01X16063Y81743D01* 627 | G01X16115Y81639D01* 628 | G01X16167Y81483D01* 629 | G01X16167Y81223D01* 630 | G01X16115Y81068D01* 631 | G01X16063Y80964D01* 632 | G01X15959Y80860D01* 633 | G01X15855Y80808D01* 634 | G01X15647Y80808D01* 635 | G01X15543Y80860D01* 636 | G01X15439Y80964D01* 637 | G01X15387Y81068D01* 638 | G01X14993Y81639D02* 639 | G01X14993Y81691D01* 640 | G01X14941Y81795D01* 641 | G01X14889Y81847D01* 642 | G01X14785Y81899D01* 643 | G01X14577Y81899D01* 644 | G01X14473Y81847D01* 645 | G01X14421Y81795D01* 646 | G01X14369Y81691D01* 647 | G01X14369Y81587D01* 648 | G01X14421Y81483D01* 649 | G01X14525Y81327D01* 650 | G01X15045Y80808D01* 651 | G01X14317Y80808D01* 652 | G01X10180Y81766D02* 653 | G01X10232Y81870D01* 654 | G01X10336Y81974D01* 655 | G01X10440Y82026D01* 656 | G01X10648Y82026D01* 657 | G01X10752Y81974D01* 658 | G01X10856Y81870D01* 659 | G01X10908Y81766D01* 660 | G01X10960Y81610D01* 661 | G01X10960Y81350D01* 662 | G01X10908Y81195D01* 663 | G01X10856Y81091D01* 664 | G01X10752Y80987D01* 665 | G01X10648Y80935D01* 666 | G01X10440Y80935D01* 667 | G01X10336Y80987D01* 668 | G01X10232Y81091D01* 669 | G01X10180Y81195D01* 670 | G01X9837Y81818D02* 671 | G01X9733Y81870D01* 672 | G01X9578Y82026D01* 673 | G01X9578Y80935D01* 674 | G01X10307Y70463D02* 675 | G01X10359Y70567D01* 676 | G01X10463Y70671D01* 677 | G01X10567Y70723D01* 678 | G01X10775Y70723D01* 679 | G01X10879Y70671D01* 680 | G01X10983Y70567D01* 681 | G01X11035Y70463D01* 682 | G01X11087Y70307D01* 683 | G01X11087Y70047D01* 684 | G01X11035Y69892D01* 685 | G01X10983Y69788D01* 686 | G01X10879Y69684D01* 687 | G01X10775Y69632D01* 688 | G01X10567Y69632D01* 689 | G01X10463Y69684D01* 690 | G01X10359Y69788D01* 691 | G01X10307Y69892D01* 692 | G01X9341Y70723D02* 693 | G01X9860Y70723D01* 694 | G01X9912Y70255D01* 695 | G01X9860Y70307D01* 696 | G01X9705Y70359D01* 697 | G01X9549Y70359D01* 698 | G01X9393Y70307D01* 699 | G01X9289Y70203D01* 700 | G01X9237Y70047D01* 701 | G01X9237Y69944D01* 702 | G01X9289Y69788D01* 703 | G01X9393Y69684D01* 704 | G01X9549Y69632D01* 705 | G01X9705Y69632D01* 706 | G01X9860Y69684D01* 707 | G01X9912Y69736D01* 708 | G01X9964Y69840D01* 709 | G01X15641Y70336D02* 710 | G01X15693Y70440D01* 711 | G01X15797Y70544D01* 712 | G01X15901Y70596D01* 713 | G01X16109Y70596D01* 714 | G01X16213Y70544D01* 715 | G01X16317Y70440D01* 716 | G01X16369Y70336D01* 717 | G01X16421Y70180D01* 718 | G01X16421Y69920D01* 719 | G01X16369Y69765D01* 720 | G01X16317Y69661D01* 721 | G01X16213Y69557D01* 722 | G01X16109Y69505D01* 723 | G01X15901Y69505D01* 724 | G01X15797Y69557D01* 725 | G01X15693Y69661D01* 726 | G01X15641Y69765D01* 727 | G01X14675Y70440D02* 728 | G01X14727Y70544D01* 729 | G01X14883Y70596D01* 730 | G01X14987Y70596D01* 731 | G01X15143Y70544D01* 732 | G01X15246Y70388D01* 733 | G01X15298Y70128D01* 734 | G01X15298Y69869D01* 735 | G01X15246Y69661D01* 736 | G01X15143Y69557D01* 737 | G01X14987Y69505D01* 738 | G01X14935Y69505D01* 739 | G01X14779Y69557D01* 740 | G01X14675Y69661D01* 741 | G01X14623Y69817D01* 742 | G01X14623Y69869D01* 743 | G01X14675Y70024D01* 744 | G01X14779Y70128D01* 745 | G01X14935Y70180D01* 746 | G01X14987Y70180D01* 747 | G01X15143Y70128D01* 748 | G01X15246Y70024D01* 749 | G01X15298Y69869D01* 750 | G01X5753Y69813D02* 751 | G01X5753Y70593D01* 752 | G01X5803Y70748D01* 753 | G01X5908Y70852D01* 754 | G01X6065Y70903D01* 755 | G01X6169Y70903D01* 756 | G01X6324Y70852D01* 757 | G01X6428Y70748D01* 758 | G01X6479Y70593D01* 759 | G01X6479Y69813D01* 760 | G01X6926Y69813D02* 761 | G01X7498Y69813D01* 762 | G01X7188Y70230D01* 763 | G01X7343Y70230D01* 764 | G01X7447Y70281D01* 765 | G01X7498Y70331D01* 766 | G01X7551Y70489D01* 767 | G01X7551Y70593D01* 768 | G01X7498Y70748D01* 769 | G01X7393Y70852D01* 770 | G01X7239Y70903D01* 771 | G01X7084Y70903D01* 772 | G01X6926Y70852D01* 773 | G01X6875Y70801D01* 774 | G01X6822Y70697D01* 775 | G01X1943Y69199D02* 776 | G01X1943Y68109D01* 777 | G01X1943Y69199D02* 778 | G01X1475Y69199D01* 779 | G01X1320Y69148D01* 780 | G01X1267Y69095D01* 781 | G01X1216Y68990D01* 782 | G01X1216Y68886D01* 783 | G01X1267Y68782D01* 784 | G01X1320Y68731D01* 785 | G01X1475Y68680D01* 786 | G01X1943Y68680D01* 787 | G01X1579Y68680D02* 788 | G01X1216Y68109D01* 789 | G01X248Y69199D02* 790 | G01X769Y69199D01* 791 | G01X820Y68731D01* 792 | G01X769Y68782D01* 793 | G01X612Y68835D01* 794 | G01X457Y68835D01* 795 | G01X302Y68782D01* 796 | G01X198Y68680D01* 797 | G01X144Y68523D01* 798 | G01X144Y68419D01* 799 | G01X198Y68264D01* 800 | G01X302Y68160D01* 801 | G01X457Y68109D01* 802 | G01X612Y68109D01* 803 | G01X769Y68160D01* 804 | G01X820Y68211D01* 805 | G01X873Y68315D01* 806 | G01X1816Y67548D02* 807 | G01X1816Y66458D01* 808 | G01X1816Y67548D02* 809 | G01X1348Y67548D01* 810 | G01X1193Y67497D01* 811 | G01X1140Y67444D01* 812 | G01X1089Y67339D01* 813 | G01X1089Y67235D01* 814 | G01X1140Y67131D01* 815 | G01X1193Y67080D01* 816 | G01X1348Y67029D01* 817 | G01X1816Y67029D01* 818 | G01X1452Y67029D02* 819 | G01X1089Y66458D01* 820 | G01X121Y67393D02* 821 | G01X175Y67497D01* 822 | G01X330Y67548D01* 823 | G01X434Y67548D01* 824 | G01X589Y67497D01* 825 | G01X693Y67339D01* 826 | G01X746Y67080D01* 827 | G01X746Y66821D01* 828 | G01X693Y66613D01* 829 | G01X589Y66509D01* 830 | G01X434Y66458D01* 831 | G01X381Y66458D01* 832 | G01X226Y66509D01* 833 | G01X121Y66613D01* 834 | G01X71Y66768D01* 835 | G01X71Y66821D01* 836 | G01X121Y66976D01* 837 | G01X226Y67080D01* 838 | G01X381Y67131D01* 839 | G01X434Y67131D01* 840 | G01X589Y67080D01* 841 | G01X693Y66976D01* 842 | G01X746Y66821D01* 843 | G01X20093Y77443D02* 844 | G01X21183Y77443D01* 845 | G01X20093Y77443D02* 846 | G01X20093Y76768D01* 847 | G01X20612Y77443D02* 848 | G01X20612Y77027D01* 849 | G01X21183Y77443D02* 850 | G01X21183Y76768D01* 851 | G01X20093Y76425D02* 852 | G01X21183Y75699D01* 853 | G01X20093Y75699D02* 854 | G01X21183Y76425D01* 855 | G01X20093Y74992D02* 856 | G01X21183Y74992D01* 857 | G01X20093Y75356D02* 858 | G01X20093Y74627D01* 859 | G01X11584Y79221D02* 860 | G01X12674Y79221D01* 861 | G01X11584Y79221D02* 862 | G01X11584Y78754D01* 863 | G01X11635Y78599D01* 864 | G01X11689Y78546D01* 865 | G01X11793Y78495D01* 866 | G01X11897Y78495D01* 867 | G01X12001Y78546D01* 868 | G01X12052Y78599D01* 869 | G01X12103Y78754D01* 870 | G01X12103Y79221D01* 871 | G01X12103Y78858D02* 872 | G01X12674Y78495D01* 873 | G01X11793Y78152D02* 874 | G01X11739Y78048D01* 875 | G01X11584Y77891D01* 876 | G01X12674Y77891D01* 877 | G54D10* 878 | G75* 879 | G01X17905Y84540D02* 880 | G03X17705Y84740I-200J0D01* 881 | G01* 882 | G75* 883 | G01X17905Y82540D02* 884 | G02X17705Y82340I-200J0D01* 885 | G01* 886 | G75* 887 | G01X12905Y84540D02* 888 | G02X13105Y84740I200J0D01* 889 | G01* 890 | G75* 891 | G01X12905Y82540D02* 892 | G03X13105Y82340I200J0D01* 893 | G01* 894 | G75* 895 | G01X7571Y82540D02* 896 | G03X7771Y82340I200J0D01* 897 | G01* 898 | G75* 899 | G01X7571Y84540D02* 900 | G02X7771Y84740I200J0D01* 901 | G01* 902 | G75* 903 | G01X12571Y82540D02* 904 | G02X12371Y82340I-200J0D01* 905 | G01* 906 | G75* 907 | G01X12571Y84540D02* 908 | G03X12371Y84740I-200J0D01* 909 | G01* 910 | G75* 911 | G01X7571Y67300D02* 912 | G03X7771Y67100I200J0D01* 913 | G01* 914 | G75* 915 | G01X7571Y69300D02* 916 | G02X7771Y69500I200J0D01* 917 | G01* 918 | G75* 919 | G01X12571Y67300D02* 920 | G02X12371Y67100I-200J0D01* 921 | G01* 922 | G75* 923 | G01X12571Y69300D02* 924 | G03X12371Y69500I-200J0D01* 925 | G01* 926 | G75* 927 | G01X13032Y67300D02* 928 | G03X13232Y67100I200J0D01* 929 | G01* 930 | G75* 931 | G01X13032Y69300D02* 932 | G02X13232Y69500I200J0D01* 933 | G01* 934 | G75* 935 | G01X18032Y67300D02* 936 | G02X17832Y67100I-200J0D01* 937 | G01* 938 | G75* 939 | G01X18032Y69300D02* 940 | G03X17832Y69500I-200J0D01* 941 | G01* 942 | G75* 943 | G01X7201Y71094D02* 944 | G02X8369Y71097I584J25D01* 945 | G01* 946 | M00* 947 | M02* 948 | -------------------------------------------------------------------------------- /hardware/pcb_gerber/ReadOnly.Mechanical: -------------------------------------------------------------------------------- 1 | G04 Layer: Mechanical* 2 | G04 Panelize: Stamp Hole, Column: 2, Row: 4, Board Size: 44.11mm x 20.32mm, Panelized Board Size: 89.81mm x 86.08mm* 3 | G04 EasyEDA v6.3.53, 2020-06-17T01:54:55+02:00* 4 | G04 e9d571a3f1504c91a96fab9e56f28b91,9eabfb72a9474bef872f988307f0334b,10* 5 | G04 Gerber Generator version 0.2* 6 | G04 Scale: 100 percent, Rotated: No, Reflected: No * 7 | G04 Dimensions in millimeters * 8 | G04 leading zeros omitted , absolute positions ,3 integer and 3 decimal * 9 | %FSLAX33Y33*% 10 | %MOMM*% 11 | G90* 12 | G71D02* 13 | 14 | %ADD10C,0.254000*% 15 | 16 | %LPD*% 17 | G54D10* 18 | G01X0Y100321D02* 19 | G01X0Y98383D01* 20 | G01X0Y100321D02* 21 | G01X830Y100321D01* 22 | G01X1107Y100230D01* 23 | G01X1201Y100138D01* 24 | G01X1292Y99953D01* 25 | G01X1292Y99768D01* 26 | G01X1201Y99582D01* 27 | G01X1107Y99491D01* 28 | G01X830Y99399D01* 29 | G01X0Y99399D01* 30 | G01X647Y99399D02* 31 | G01X1292Y98383D01* 32 | G01X2364Y99676D02* 33 | G01X2179Y99582D01* 34 | G01X1993Y99399D01* 35 | G01X1902Y99122D01* 36 | G01X1902Y98937D01* 37 | G01X1993Y98660D01* 38 | G01X2179Y98475D01* 39 | G01X2364Y98383D01* 40 | G01X2641Y98383D01* 41 | G01X2827Y98475D01* 42 | G01X3009Y98660D01* 43 | G01X3103Y98937D01* 44 | G01X3103Y99122D01* 45 | G01X3009Y99399D01* 46 | G01X2827Y99582D01* 47 | G01X2641Y99676D01* 48 | G01X2364Y99676D01* 49 | G01X3713Y99676D02* 50 | G01X4081Y98383D01* 51 | G01X4452Y99676D02* 52 | G01X4081Y98383D01* 53 | G01X4452Y99676D02* 54 | G01X4820Y98383D01* 55 | G01X5191Y99676D02* 56 | G01X4820Y98383D01* 57 | G01X8516Y100044D02* 58 | G01X8331Y100230D01* 59 | G01X8054Y100321D01* 60 | G01X7683Y100321D01* 61 | G01X7406Y100230D01* 62 | G01X7223Y100044D01* 63 | G01X7223Y99859D01* 64 | G01X7315Y99676D01* 65 | G01X7406Y99582D01* 66 | G01X7592Y99491D01* 67 | G01X8145Y99305D01* 68 | G01X8331Y99214D01* 69 | G01X8422Y99122D01* 70 | G01X8516Y98937D01* 71 | G01X8516Y98660D01* 72 | G01X8331Y98475D01* 73 | G01X8054Y98383D01* 74 | G01X7683Y98383D01* 75 | G01X7406Y98475D01* 76 | G01X7223Y98660D01* 77 | G01X9126Y99676D02* 78 | G01X9126Y97736D01* 79 | G01X9126Y99399D02* 80 | G01X9309Y99582D01* 81 | G01X9494Y99676D01* 82 | G01X9771Y99676D01* 83 | G01X9956Y99582D01* 84 | G01X10142Y99399D01* 85 | G01X10233Y99122D01* 86 | G01X10233Y98937D01* 87 | G01X10142Y98660D01* 88 | G01X9956Y98475D01* 89 | G01X9771Y98383D01* 90 | G01X9494Y98383D01* 91 | G01X9309Y98475D01* 92 | G01X9126Y98660D01* 93 | G01X11950Y99676D02* 94 | G01X11950Y98383D01* 95 | G01X11950Y99399D02* 96 | G01X11767Y99582D01* 97 | G01X11582Y99676D01* 98 | G01X11305Y99676D01* 99 | G01X11120Y99582D01* 100 | G01X10934Y99399D01* 101 | G01X10843Y99122D01* 102 | G01X10843Y98937D01* 103 | G01X10934Y98660D01* 104 | G01X11120Y98475D01* 105 | G01X11305Y98383D01* 106 | G01X11582Y98383D01* 107 | G01X11767Y98475D01* 108 | G01X11950Y98660D01* 109 | G01X13670Y99399D02* 110 | G01X13484Y99582D01* 111 | G01X13299Y99676D01* 112 | G01X13022Y99676D01* 113 | G01X12839Y99582D01* 114 | G01X12654Y99399D01* 115 | G01X12560Y99122D01* 116 | G01X12560Y98937D01* 117 | G01X12654Y98660D01* 118 | G01X12839Y98475D01* 119 | G01X13022Y98383D01* 120 | G01X13299Y98383D01* 121 | G01X13484Y98475D01* 122 | G01X13670Y98660D01* 123 | G01X14279Y100321D02* 124 | G01X14371Y100230D01* 125 | G01X14465Y100321D01* 126 | G01X14371Y100415D01* 127 | G01X14279Y100321D01* 128 | G01X14371Y99676D02* 129 | G01X14371Y98383D01* 130 | G01X15074Y99676D02* 131 | G01X15074Y98383D01* 132 | G01X15074Y99305D02* 133 | G01X15351Y99582D01* 134 | G01X15534Y99676D01* 135 | G01X15811Y99676D01* 136 | G01X15996Y99582D01* 137 | G01X16090Y99305D01* 138 | G01X16090Y98383D01* 139 | G01X17807Y99676D02* 140 | G01X17807Y98198D01* 141 | G01X17716Y97921D01* 142 | G01X17622Y97827D01* 143 | G01X17437Y97736D01* 144 | G01X17160Y97736D01* 145 | G01X16977Y97827D01* 146 | G01X17807Y99399D02* 147 | G01X17622Y99582D01* 148 | G01X17437Y99676D01* 149 | G01X17160Y99676D01* 150 | G01X16977Y99582D01* 151 | G01X16791Y99399D01* 152 | G01X16700Y99122D01* 153 | G01X16700Y98937D01* 154 | G01X16791Y98660D01* 155 | G01X16977Y98475D01* 156 | G01X17160Y98383D01* 157 | G01X17437Y98383D01* 158 | G01X17622Y98475D01* 159 | G01X17807Y98660D01* 160 | G01X18508Y99491D02* 161 | G01X18417Y99399D01* 162 | G01X18508Y99305D01* 163 | G01X18602Y99399D01* 164 | G01X18508Y99491D01* 165 | G01X18508Y98843D02* 166 | G01X18417Y98752D01* 167 | G01X18508Y98660D01* 168 | G01X18602Y98752D01* 169 | G01X18508Y98843D01* 170 | G01X20634Y99953D02* 171 | G01X20817Y100044D01* 172 | G01X21094Y100321D01* 173 | G01X21094Y98383D01* 174 | G01X21798Y98843D02* 175 | G01X21704Y98752D01* 176 | G01X21798Y98660D01* 177 | G01X21889Y98752D01* 178 | G01X21798Y98843D01* 179 | G01X23609Y100044D02* 180 | G01X23515Y100230D01* 181 | G01X23238Y100321D01* 182 | G01X23053Y100321D01* 183 | G01X22776Y100230D01* 184 | G01X22593Y99953D01* 185 | G01X22499Y99491D01* 186 | G01X22499Y99028D01* 187 | G01X22593Y98660D01* 188 | G01X22776Y98475D01* 189 | G01X23053Y98383D01* 190 | G01X23147Y98383D01* 191 | G01X23423Y98475D01* 192 | G01X23609Y98660D01* 193 | G01X23700Y98937D01* 194 | G01X23700Y99028D01* 195 | G01X23609Y99305D01* 196 | G01X23423Y99491D01* 197 | G01X23147Y99582D01* 198 | G01X23053Y99582D01* 199 | G01X22776Y99491D01* 200 | G01X22593Y99305D01* 201 | G01X22499Y99028D01* 202 | G01X24310Y99676D02* 203 | G01X24310Y98383D01* 204 | G01X24310Y99305D02* 205 | G01X24587Y99582D01* 206 | G01X24772Y99676D01* 207 | G01X25049Y99676D01* 208 | G01X25234Y99582D01* 209 | G01X25326Y99305D01* 210 | G01X25326Y98383D01* 211 | G01X25326Y99305D02* 212 | G01X25603Y99582D01* 213 | G01X25788Y99676D01* 214 | G01X26065Y99676D01* 215 | G01X26250Y99582D01* 216 | G01X26342Y99305D01* 217 | G01X26342Y98383D01* 218 | G01X26951Y99676D02* 219 | G01X26951Y98383D01* 220 | G01X26951Y99305D02* 221 | G01X27228Y99582D01* 222 | G01X27414Y99676D01* 223 | G01X27691Y99676D01* 224 | G01X27876Y99582D01* 225 | G01X27967Y99305D01* 226 | G01X27967Y98383D01* 227 | G01X27967Y99305D02* 228 | G01X28244Y99582D01* 229 | G01X28430Y99676D01* 230 | G01X28707Y99676D01* 231 | G01X28892Y99582D01* 232 | G01X28983Y99305D01* 233 | G01X28983Y98383D01* 234 | G01X1384Y96811D02* 235 | G01X1292Y96996D01* 236 | G01X1107Y97182D01* 237 | G01X924Y97273D01* 238 | G01X553Y97273D01* 239 | G01X368Y97182D01* 240 | G01X185Y96996D01* 241 | G01X91Y96811D01* 242 | G01X0Y96534D01* 243 | G01X0Y96074D01* 244 | G01X91Y95795D01* 245 | G01X185Y95612D01* 246 | G01X368Y95427D01* 247 | G01X553Y95335D01* 248 | G01X924Y95335D01* 249 | G01X1107Y95427D01* 250 | G01X1292Y95612D01* 251 | G01X1384Y95795D01* 252 | G01X2456Y96628D02* 253 | G01X2273Y96534D01* 254 | G01X2087Y96351D01* 255 | G01X1993Y96074D01* 256 | G01X1993Y95889D01* 257 | G01X2087Y95612D01* 258 | G01X2273Y95427D01* 259 | G01X2456Y95335D01* 260 | G01X2733Y95335D01* 261 | G01X2918Y95427D01* 262 | G01X3103Y95612D01* 263 | G01X3195Y95889D01* 264 | G01X3195Y96074D01* 265 | G01X3103Y96351D01* 266 | G01X2918Y96534D01* 267 | G01X2733Y96628D01* 268 | G01X2456Y96628D01* 269 | G01X3804Y97273D02* 270 | G01X3804Y95335D01* 271 | G01X4414Y96628D02* 272 | G01X4414Y95704D01* 273 | G01X4508Y95427D01* 274 | G01X4691Y95335D01* 275 | G01X4968Y95335D01* 276 | G01X5153Y95427D01* 277 | G01X5430Y95704D01* 278 | G01X5430Y96628D02* 279 | G01X5430Y95335D01* 280 | G01X6040Y96628D02* 281 | G01X6040Y95335D01* 282 | G01X6040Y96257D02* 283 | G01X6316Y96534D01* 284 | G01X6502Y96628D01* 285 | G01X6779Y96628D01* 286 | G01X6964Y96534D01* 287 | G01X7056Y96257D01* 288 | G01X7056Y95335D01* 289 | G01X7056Y96257D02* 290 | G01X7332Y96534D01* 291 | G01X7518Y96628D01* 292 | G01X7795Y96628D01* 293 | G01X7980Y96534D01* 294 | G01X8072Y96257D01* 295 | G01X8072Y95335D01* 296 | G01X8681Y96628D02* 297 | G01X8681Y95335D01* 298 | G01X8681Y96257D02* 299 | G01X8958Y96534D01* 300 | G01X9144Y96628D01* 301 | G01X9420Y96628D01* 302 | G01X9606Y96534D01* 303 | G01X9697Y96257D01* 304 | G01X9697Y95335D01* 305 | G01X13022Y96996D02* 306 | G01X12839Y97182D01* 307 | G01X12560Y97273D01* 308 | G01X12192Y97273D01* 309 | G01X11915Y97182D01* 310 | G01X11729Y96996D01* 311 | G01X11729Y96811D01* 312 | G01X11823Y96628D01* 313 | G01X11915Y96534D01* 314 | G01X12100Y96443D01* 315 | G01X12654Y96257D01* 316 | G01X12839Y96166D01* 317 | G01X12931Y96074D01* 318 | G01X13022Y95889D01* 319 | G01X13022Y95612D01* 320 | G01X12839Y95427D01* 321 | G01X12560Y95335D01* 322 | G01X12192Y95335D01* 323 | G01X11915Y95427D01* 324 | G01X11729Y95612D01* 325 | G01X13632Y96628D02* 326 | G01X13632Y94688D01* 327 | G01X13632Y96351D02* 328 | G01X13817Y96534D01* 329 | G01X14003Y96628D01* 330 | G01X14279Y96628D01* 331 | G01X14465Y96534D01* 332 | G01X14648Y96351D01* 333 | G01X14742Y96074D01* 334 | G01X14742Y95889D01* 335 | G01X14648Y95612D01* 336 | G01X14465Y95427D01* 337 | G01X14279Y95335D01* 338 | G01X14003Y95335D01* 339 | G01X13817Y95427D01* 340 | G01X13632Y95612D01* 341 | G01X16459Y96628D02* 342 | G01X16459Y95335D01* 343 | G01X16459Y96351D02* 344 | G01X16273Y96534D01* 345 | G01X16090Y96628D01* 346 | G01X15811Y96628D01* 347 | G01X15628Y96534D01* 348 | G01X15443Y96351D01* 349 | G01X15351Y96074D01* 350 | G01X15351Y95889D01* 351 | G01X15443Y95612D01* 352 | G01X15628Y95427D01* 353 | G01X15811Y95335D01* 354 | G01X16090Y95335D01* 355 | G01X16273Y95427D01* 356 | G01X16459Y95612D01* 357 | G01X18176Y96351D02* 358 | G01X17993Y96534D01* 359 | G01X17807Y96628D01* 360 | G01X17531Y96628D01* 361 | G01X17345Y96534D01* 362 | G01X17160Y96351D01* 363 | G01X17068Y96074D01* 364 | G01X17068Y95889D01* 365 | G01X17160Y95612D01* 366 | G01X17345Y95427D01* 367 | G01X17531Y95335D01* 368 | G01X17807Y95335D01* 369 | G01X17993Y95427D01* 370 | G01X18176Y95612D01* 371 | G01X18785Y97273D02* 372 | G01X18879Y97182D01* 373 | G01X18971Y97273D01* 374 | G01X18879Y97367D01* 375 | G01X18785Y97273D01* 376 | G01X18879Y96628D02* 377 | G01X18879Y95335D01* 378 | G01X19580Y96628D02* 379 | G01X19580Y95335D01* 380 | G01X19580Y96257D02* 381 | G01X19857Y96534D01* 382 | G01X20043Y96628D01* 383 | G01X20320Y96628D01* 384 | G01X20505Y96534D01* 385 | G01X20596Y96257D01* 386 | G01X20596Y95335D01* 387 | G01X22313Y96628D02* 388 | G01X22313Y95150D01* 389 | G01X22222Y94873D01* 390 | G01X22131Y94779D01* 391 | G01X21945Y94688D01* 392 | G01X21668Y94688D01* 393 | G01X21483Y94779D01* 394 | G01X22313Y96351D02* 395 | G01X22131Y96534D01* 396 | G01X21945Y96628D01* 397 | G01X21668Y96628D01* 398 | G01X21483Y96534D01* 399 | G01X21297Y96351D01* 400 | G01X21206Y96074D01* 401 | G01X21206Y95889D01* 402 | G01X21297Y95612D01* 403 | G01X21483Y95427D01* 404 | G01X21668Y95335D01* 405 | G01X21945Y95335D01* 406 | G01X22131Y95427D01* 407 | G01X22313Y95612D01* 408 | G01X23017Y96443D02* 409 | G01X22923Y96351D01* 410 | G01X23017Y96257D01* 411 | G01X23108Y96351D01* 412 | G01X23017Y96443D01* 413 | G01X23017Y95795D02* 414 | G01X22923Y95704D01* 415 | G01X23017Y95612D01* 416 | G01X23108Y95704D01* 417 | G01X23017Y95795D01* 418 | G01X25140Y96905D02* 419 | G01X25326Y96996D01* 420 | G01X25603Y97273D01* 421 | G01X25603Y95335D01* 422 | G01X26304Y95795D02* 423 | G01X26212Y95704D01* 424 | G01X26304Y95612D01* 425 | G01X26398Y95704D01* 426 | G01X26304Y95795D01* 427 | G01X28115Y96996D02* 428 | G01X28023Y97182D01* 429 | G01X27746Y97273D01* 430 | G01X27561Y97273D01* 431 | G01X27284Y97182D01* 432 | G01X27099Y96905D01* 433 | G01X27007Y96443D01* 434 | G01X27007Y95980D01* 435 | G01X27099Y95612D01* 436 | G01X27284Y95427D01* 437 | G01X27561Y95335D01* 438 | G01X27652Y95335D01* 439 | G01X27929Y95427D01* 440 | G01X28115Y95612D01* 441 | G01X28206Y95889D01* 442 | G01X28206Y95980D01* 443 | G01X28115Y96257D01* 444 | G01X27929Y96443D01* 445 | G01X27652Y96534D01* 446 | G01X27561Y96534D01* 447 | G01X27284Y96443D01* 448 | G01X27099Y96257D01* 449 | G01X27007Y95980D01* 450 | G01X28816Y96628D02* 451 | G01X28816Y95335D01* 452 | G01X28816Y96257D02* 453 | G01X29095Y96534D01* 454 | G01X29278Y96628D01* 455 | G01X29555Y96628D01* 456 | G01X29740Y96534D01* 457 | G01X29832Y96257D01* 458 | G01X29832Y95335D01* 459 | G01X29832Y96257D02* 460 | G01X30111Y96534D01* 461 | G01X30294Y96628D01* 462 | G01X30571Y96628D01* 463 | G01X30756Y96534D01* 464 | G01X30848Y96257D01* 465 | G01X30848Y95335D01* 466 | G01X31457Y96628D02* 467 | G01X31457Y95335D01* 468 | G01X31457Y96257D02* 469 | G01X31737Y96534D01* 470 | G01X31920Y96628D01* 471 | G01X32197Y96628D01* 472 | G01X32382Y96534D01* 473 | G01X32473Y96257D01* 474 | G01X32473Y95335D01* 475 | G01X32473Y96257D02* 476 | G01X32753Y96534D01* 477 | G01X32936Y96628D01* 478 | G01X33213Y96628D01* 479 | G01X33398Y96534D01* 480 | G01X33489Y96257D01* 481 | G01X33489Y95335D01* 482 | G01X1384Y93763D02* 483 | G01X1292Y93948D01* 484 | G01X1107Y94134D01* 485 | G01X924Y94225D01* 486 | G01X553Y94225D01* 487 | G01X368Y94134D01* 488 | G01X185Y93948D01* 489 | G01X91Y93763D01* 490 | G01X0Y93486D01* 491 | G01X0Y93026D01* 492 | G01X91Y92747D01* 493 | G01X185Y92564D01* 494 | G01X368Y92379D01* 495 | G01X553Y92287D01* 496 | G01X924Y92287D01* 497 | G01X1107Y92379D01* 498 | G01X1292Y92564D01* 499 | G01X1384Y92747D01* 500 | G01X2456Y93580D02* 501 | G01X2273Y93486D01* 502 | G01X2087Y93303D01* 503 | G01X1993Y93026D01* 504 | G01X1993Y92841D01* 505 | G01X2087Y92564D01* 506 | G01X2273Y92379D01* 507 | G01X2456Y92287D01* 508 | G01X2733Y92287D01* 509 | G01X2918Y92379D01* 510 | G01X3103Y92564D01* 511 | G01X3195Y92841D01* 512 | G01X3195Y93026D01* 513 | G01X3103Y93303D01* 514 | G01X2918Y93486D01* 515 | G01X2733Y93580D01* 516 | G01X2456Y93580D01* 517 | G01X3804Y93580D02* 518 | G01X3804Y92656D01* 519 | G01X3898Y92379D01* 520 | G01X4081Y92287D01* 521 | G01X4358Y92287D01* 522 | G01X4544Y92379D01* 523 | G01X4820Y92656D01* 524 | G01X4820Y93580D02* 525 | G01X4820Y92287D01* 526 | G01X5430Y93580D02* 527 | G01X5430Y92287D01* 528 | G01X5430Y93209D02* 529 | G01X5707Y93486D01* 530 | G01X5892Y93580D01* 531 | G01X6169Y93580D01* 532 | G01X6355Y93486D01* 533 | G01X6446Y93209D01* 534 | G01X6446Y92287D01* 535 | G01X7332Y94225D02* 536 | G01X7332Y92656D01* 537 | G01X7426Y92379D01* 538 | G01X7609Y92287D01* 539 | G01X7795Y92287D01* 540 | G01X7056Y93580D02* 541 | G01X7703Y93580D01* 542 | G01X8496Y93395D02* 543 | G01X8404Y93303D01* 544 | G01X8496Y93209D01* 545 | G01X8590Y93303D01* 546 | G01X8496Y93395D01* 547 | G01X8496Y92747D02* 548 | G01X8404Y92656D01* 549 | G01X8496Y92564D01* 550 | G01X8590Y92656D01* 551 | G01X8496Y92747D01* 552 | G01X11544Y94225D02* 553 | G01X10622Y92932D01* 554 | G01X12006Y92932D01* 555 | G01X11544Y94225D02* 556 | G01X11544Y92287D01* 557 | G01X14038Y93580D02* 558 | G01X15054Y92287D01* 559 | G01X15054Y93580D02* 560 | G01X14038Y92287D01* 561 | G01X17180Y93763D02* 562 | G01X17180Y93857D01* 563 | G01X17272Y94042D01* 564 | G01X17363Y94134D01* 565 | G01X17548Y94225D01* 566 | G01X17919Y94225D01* 567 | G01X18102Y94134D01* 568 | G01X18196Y94042D01* 569 | G01X18288Y93857D01* 570 | G01X18288Y93672D01* 571 | G01X18196Y93486D01* 572 | G01X18011Y93209D01* 573 | G01X17086Y92287D01* 574 | G01X18379Y92287D01* 575 | G01X0Y91177D02* 576 | G01X0Y89239D01* 577 | G01X0Y91177D02* 578 | G01X830Y91177D01* 579 | G01X1107Y91086D01* 580 | G01X1201Y90994D01* 581 | G01X1292Y90809D01* 582 | G01X1292Y90624D01* 583 | G01X1201Y90438D01* 584 | G01X1107Y90347D01* 585 | G01X830Y90255D01* 586 | G01X0Y90255D01* 587 | G01X647Y90255D02* 588 | G01X1292Y89239D01* 589 | G01X1902Y89978D02* 590 | G01X3009Y89978D01* 591 | G01X3009Y90161D01* 592 | G01X2918Y90347D01* 593 | G01X2827Y90438D01* 594 | G01X2641Y90532D01* 595 | G01X2364Y90532D01* 596 | G01X2179Y90438D01* 597 | G01X1993Y90255D01* 598 | G01X1902Y89978D01* 599 | G01X1902Y89793D01* 600 | G01X1993Y89516D01* 601 | G01X2179Y89331D01* 602 | G01X2364Y89239D01* 603 | G01X2641Y89239D01* 604 | G01X2827Y89331D01* 605 | G01X3009Y89516D01* 606 | G01X3619Y90532D02* 607 | G01X3619Y89239D01* 608 | G01X3619Y90161D02* 609 | G01X3898Y90438D01* 610 | G01X4081Y90532D01* 611 | G01X4358Y90532D01* 612 | G01X4544Y90438D01* 613 | G01X4635Y90161D01* 614 | G01X4635Y89239D01* 615 | G01X4635Y90161D02* 616 | G01X4914Y90438D01* 617 | G01X5097Y90532D01* 618 | G01X5374Y90532D01* 619 | G01X5560Y90438D01* 620 | G01X5651Y90161D01* 621 | G01X5651Y89239D01* 622 | G01X7371Y90532D02* 623 | G01X7371Y89239D01* 624 | G01X7371Y90255D02* 625 | G01X7185Y90438D01* 626 | G01X7000Y90532D01* 627 | G01X6723Y90532D01* 628 | G01X6540Y90438D01* 629 | G01X6355Y90255D01* 630 | G01X6261Y89978D01* 631 | G01X6261Y89793D01* 632 | G01X6355Y89516D01* 633 | G01X6540Y89331D01* 634 | G01X6723Y89239D01* 635 | G01X7000Y89239D01* 636 | G01X7185Y89331D01* 637 | G01X7371Y89516D01* 638 | G01X7980Y90532D02* 639 | G01X7980Y89239D01* 640 | G01X7980Y89978D02* 641 | G01X8072Y90255D01* 642 | G01X8257Y90438D01* 643 | G01X8442Y90532D01* 644 | G01X8719Y90532D01* 645 | G01X9329Y91177D02* 646 | G01X9329Y89239D01* 647 | G01X10251Y90532D02* 648 | G01X9329Y89608D01* 649 | G01X9697Y89978D02* 650 | G01X10345Y89239D01* 651 | G01X11046Y90347D02* 652 | G01X10955Y90255D01* 653 | G01X11046Y90161D01* 654 | G01X11137Y90255D01* 655 | G01X11046Y90347D01* 656 | G01X11046Y89699D02* 657 | G01X10955Y89608D01* 658 | G01X11046Y89516D01* 659 | G01X11137Y89608D01* 660 | G01X11046Y89699D01* 661 | G01X13817Y91177D02* 662 | G01X13817Y89239D01* 663 | G01X13169Y91177D02* 664 | G01X14465Y91177D01* 665 | G01X15074Y91177D02* 666 | G01X15074Y89239D01* 667 | G01X15074Y90161D02* 668 | G01X15351Y90438D01* 669 | G01X15534Y90532D01* 670 | G01X15811Y90532D01* 671 | G01X15996Y90438D01* 672 | G01X16090Y90161D01* 673 | G01X16090Y89239D01* 674 | G01X16700Y91177D02* 675 | G01X16791Y91086D01* 676 | G01X16883Y91177D01* 677 | G01X16791Y91271D01* 678 | G01X16700Y91177D01* 679 | G01X16791Y90532D02* 680 | G01X16791Y89239D01* 681 | G01X18508Y90255D02* 682 | G01X18417Y90438D01* 683 | G01X18140Y90532D01* 684 | G01X17863Y90532D01* 685 | G01X17586Y90438D01* 686 | G01X17492Y90255D01* 687 | G01X17586Y90070D01* 688 | G01X17769Y89978D01* 689 | G01X18232Y89884D01* 690 | G01X18417Y89793D01* 691 | G01X18508Y89608D01* 692 | G01X18508Y89516D01* 693 | G01X18417Y89331D01* 694 | G01X18140Y89239D01* 695 | G01X17863Y89239D01* 696 | G01X17586Y89331D01* 697 | G01X17492Y89516D01* 698 | G01X21927Y90715D02* 699 | G01X21833Y90900D01* 700 | G01X21650Y91086D01* 701 | G01X21465Y91177D01* 702 | G01X21094Y91177D01* 703 | G01X20911Y91086D01* 704 | G01X20726Y90900D01* 705 | G01X20634Y90715D01* 706 | G01X20540Y90438D01* 707 | G01X20540Y89978D01* 708 | G01X20634Y89699D01* 709 | G01X20726Y89516D01* 710 | G01X20911Y89331D01* 711 | G01X21094Y89239D01* 712 | G01X21465Y89239D01* 713 | G01X21650Y89331D01* 714 | G01X21833Y89516D01* 715 | G01X21927Y89699D01* 716 | G01X21927Y89978D01* 717 | G01X21465Y89978D02* 718 | G01X21927Y89978D01* 719 | G01X22537Y89978D02* 720 | G01X23644Y89978D01* 721 | G01X23644Y90161D01* 722 | G01X23553Y90347D01* 723 | G01X23459Y90438D01* 724 | G01X23276Y90532D01* 725 | G01X22999Y90532D01* 726 | G01X22814Y90438D01* 727 | G01X22628Y90255D01* 728 | G01X22537Y89978D01* 729 | G01X22537Y89793D01* 730 | G01X22628Y89516D01* 731 | G01X22814Y89331D01* 732 | G01X22999Y89239D01* 733 | G01X23276Y89239D01* 734 | G01X23459Y89331D01* 735 | G01X23644Y89516D01* 736 | G01X24254Y90532D02* 737 | G01X24254Y89239D01* 738 | G01X24254Y89978D02* 739 | G01X24345Y90255D01* 740 | G01X24531Y90438D01* 741 | G01X24716Y90532D01* 742 | G01X24993Y90532D01* 743 | G01X25603Y91177D02* 744 | G01X25603Y89239D01* 745 | G01X25603Y90255D02* 746 | G01X25788Y90438D01* 747 | G01X25971Y90532D01* 748 | G01X26250Y90532D01* 749 | G01X26433Y90438D01* 750 | G01X26619Y90255D01* 751 | G01X26710Y89978D01* 752 | G01X26710Y89793D01* 753 | G01X26619Y89516D01* 754 | G01X26433Y89331D01* 755 | G01X26250Y89239D01* 756 | G01X25971Y89239D01* 757 | G01X25788Y89331D01* 758 | G01X25603Y89516D01* 759 | G01X27320Y89978D02* 760 | G01X28430Y89978D01* 761 | G01X28430Y90161D01* 762 | G01X28336Y90347D01* 763 | G01X28244Y90438D01* 764 | G01X28059Y90532D01* 765 | G01X27782Y90532D01* 766 | G01X27597Y90438D01* 767 | G01X27414Y90255D01* 768 | G01X27320Y89978D01* 769 | G01X27320Y89793D01* 770 | G01X27414Y89516D01* 771 | G01X27597Y89331D01* 772 | G01X27782Y89239D01* 773 | G01X28059Y89239D01* 774 | G01X28244Y89331D01* 775 | G01X28430Y89516D01* 776 | G01X29039Y90532D02* 777 | G01X29039Y89239D01* 778 | G01X29039Y89978D02* 779 | G01X29131Y90255D01* 780 | G01X29316Y90438D01* 781 | G01X29502Y90532D01* 782 | G01X29778Y90532D01* 783 | G01X31810Y91177D02* 784 | G01X31902Y91086D01* 785 | G01X31993Y91177D01* 786 | G01X31902Y91271D01* 787 | G01X31810Y91177D01* 788 | G01X31902Y90532D02* 789 | G01X31902Y89239D01* 790 | G01X33619Y90255D02* 791 | G01X33528Y90438D01* 792 | G01X33251Y90532D01* 793 | G01X32974Y90532D01* 794 | G01X32697Y90438D01* 795 | G01X32603Y90255D01* 796 | G01X32697Y90070D01* 797 | G01X32880Y89978D01* 798 | G01X33342Y89884D01* 799 | G01X33528Y89793D01* 800 | G01X33619Y89608D01* 801 | G01X33619Y89516D01* 802 | G01X33528Y89331D01* 803 | G01X33251Y89239D01* 804 | G01X32974Y89239D01* 805 | G01X32697Y89331D01* 806 | G01X32603Y89516D01* 807 | G01X36761Y90532D02* 808 | G01X36761Y89239D01* 809 | G01X36761Y90255D02* 810 | G01X36576Y90438D01* 811 | G01X36390Y90532D01* 812 | G01X36113Y90532D01* 813 | G01X35928Y90438D01* 814 | G01X35745Y90255D01* 815 | G01X35651Y89978D01* 816 | G01X35651Y89793D01* 817 | G01X35745Y89516D01* 818 | G01X35928Y89331D01* 819 | G01X36113Y89239D01* 820 | G01X36390Y89239D01* 821 | G01X36576Y89331D01* 822 | G01X36761Y89516D01* 823 | G01X38793Y90532D02* 824 | G01X38793Y88592D01* 825 | G01X38793Y90255D02* 826 | G01X38976Y90438D01* 827 | G01X39161Y90532D01* 828 | G01X39438Y90532D01* 829 | G01X39624Y90438D01* 830 | G01X39809Y90255D01* 831 | G01X39900Y89978D01* 832 | G01X39900Y89793D01* 833 | G01X39809Y89516D01* 834 | G01X39624Y89331D01* 835 | G01X39438Y89239D01* 836 | G01X39161Y89239D01* 837 | G01X38976Y89331D01* 838 | G01X38793Y89516D01* 839 | G01X41617Y90532D02* 840 | G01X41617Y89239D01* 841 | G01X41617Y90255D02* 842 | G01X41435Y90438D01* 843 | G01X41249Y90532D01* 844 | G01X40972Y90532D01* 845 | G01X40787Y90438D01* 846 | G01X40601Y90255D01* 847 | G01X40510Y89978D01* 848 | G01X40510Y89793D01* 849 | G01X40601Y89516D01* 850 | G01X40787Y89331D01* 851 | G01X40972Y89239D01* 852 | G01X41249Y89239D01* 853 | G01X41435Y89331D01* 854 | G01X41617Y89516D01* 855 | G01X42227Y90532D02* 856 | G01X42227Y89239D01* 857 | G01X42227Y90161D02* 858 | G01X42506Y90438D01* 859 | G01X42689Y90532D01* 860 | G01X42966Y90532D01* 861 | G01X43152Y90438D01* 862 | G01X43243Y90161D01* 863 | G01X43243Y89239D01* 864 | G01X43853Y89978D02* 865 | G01X44963Y89978D01* 866 | G01X44963Y90161D01* 867 | G01X44869Y90347D01* 868 | G01X44777Y90438D01* 869 | G01X44592Y90532D01* 870 | G01X44315Y90532D01* 871 | G01X44132Y90438D01* 872 | G01X43947Y90255D01* 873 | G01X43853Y89978D01* 874 | G01X43853Y89793D01* 875 | G01X43947Y89516D01* 876 | G01X44132Y89331D01* 877 | G01X44315Y89239D01* 878 | G01X44592Y89239D01* 879 | G01X44777Y89331D01* 880 | G01X44963Y89516D01* 881 | G01X45572Y91177D02* 882 | G01X45572Y89239D01* 883 | G01X46182Y91177D02* 884 | G01X46273Y91086D01* 885 | G01X46367Y91177D01* 886 | G01X46273Y91271D01* 887 | G01X46182Y91177D01* 888 | G01X46273Y90532D02* 889 | G01X46273Y89239D01* 890 | G01X47993Y90532D02* 891 | G01X46977Y89239D01* 892 | G01X46977Y90532D02* 893 | G01X47993Y90532D01* 894 | G01X46977Y89239D02* 895 | G01X47993Y89239D01* 896 | G01X48602Y89978D02* 897 | G01X49710Y89978D01* 898 | G01X49710Y90161D01* 899 | G01X49618Y90347D01* 900 | G01X49524Y90438D01* 901 | G01X49339Y90532D01* 902 | G01X49062Y90532D01* 903 | G01X48879Y90438D01* 904 | G01X48694Y90255D01* 905 | G01X48602Y89978D01* 906 | G01X48602Y89793D01* 907 | G01X48694Y89516D01* 908 | G01X48879Y89331D01* 909 | G01X49062Y89239D01* 910 | G01X49339Y89239D01* 911 | G01X49524Y89331D01* 912 | G01X49710Y89516D01* 913 | G01X51427Y91177D02* 914 | G01X51427Y89239D01* 915 | G01X51427Y90255D02* 916 | G01X51244Y90438D01* 917 | G01X51059Y90532D01* 918 | G01X50782Y90532D01* 919 | G01X50596Y90438D01* 920 | G01X50411Y90255D01* 921 | G01X50319Y89978D01* 922 | G01X50319Y89793D01* 923 | G01X50411Y89516D01* 924 | G01X50596Y89331D01* 925 | G01X50782Y89239D01* 926 | G01X51059Y89239D01* 927 | G01X51244Y89331D01* 928 | G01X51427Y89516D01* 929 | G01X54198Y91177D02* 930 | G01X54013Y91177D01* 931 | G01X53830Y91086D01* 932 | G01X53736Y90809D01* 933 | G01X53736Y89239D01* 934 | G01X53459Y90532D02* 935 | G01X54107Y90532D01* 936 | G01X54808Y91177D02* 937 | G01X54902Y91086D01* 938 | G01X54993Y91177D01* 939 | G01X54902Y91271D01* 940 | G01X54808Y91177D01* 941 | G01X54902Y90532D02* 942 | G01X54902Y89239D01* 943 | G01X55603Y91177D02* 944 | G01X55603Y89239D01* 945 | G01X56212Y89978D02* 946 | G01X57320Y89978D01* 947 | G01X57320Y90161D01* 948 | G01X57228Y90347D01* 949 | G01X57137Y90438D01* 950 | G01X56951Y90532D01* 951 | G01X56675Y90532D01* 952 | G01X56489Y90438D01* 953 | G01X56304Y90255D01* 954 | G01X56212Y89978D01* 955 | G01X56212Y89793D01* 956 | G01X56304Y89516D01* 957 | G01X56489Y89331D01* 958 | G01X56675Y89239D01* 959 | G01X56951Y89239D01* 960 | G01X57137Y89331D01* 961 | G01X57320Y89516D01* 962 | G01X58115Y89608D02* 963 | G01X58023Y89516D01* 964 | G01X57929Y89608D01* 965 | G01X58023Y89699D01* 966 | G01X58115Y89608D01* 967 | G01X58115Y89422D01* 968 | G01X57929Y89239D01* 969 | G01X60147Y90532D02* 970 | G01X60147Y88592D01* 971 | G01X60147Y90255D02* 972 | G01X60332Y90438D01* 973 | G01X60515Y90532D01* 974 | G01X60794Y90532D01* 975 | G01X60977Y90438D01* 976 | G01X61163Y90255D01* 977 | G01X61254Y89978D01* 978 | G01X61254Y89793D01* 979 | G01X61163Y89516D01* 980 | G01X60977Y89331D01* 981 | G01X60794Y89239D01* 982 | G01X60515Y89239D01* 983 | G01X60332Y89331D01* 984 | G01X60147Y89516D01* 985 | G01X62974Y90532D02* 986 | G01X62974Y89239D01* 987 | G01X62974Y90255D02* 988 | G01X62788Y90438D01* 989 | G01X62603Y90532D01* 990 | G01X62326Y90532D01* 991 | G01X62141Y90438D01* 992 | G01X61958Y90255D01* 993 | G01X61864Y89978D01* 994 | G01X61864Y89793D01* 995 | G01X61958Y89516D01* 996 | G01X62141Y89331D01* 997 | G01X62326Y89239D01* 998 | G01X62603Y89239D01* 999 | G01X62788Y89331D01* 1000 | G01X62974Y89516D01* 1001 | G01X63583Y90532D02* 1002 | G01X63583Y89239D01* 1003 | G01X63583Y90161D02* 1004 | G01X63860Y90438D01* 1005 | G01X64046Y90532D01* 1006 | G01X64322Y90532D01* 1007 | G01X64505Y90438D01* 1008 | G01X64599Y90161D01* 1009 | G01X64599Y89239D01* 1010 | G01X65209Y89978D02* 1011 | G01X66316Y89978D01* 1012 | G01X66316Y90161D01* 1013 | G01X66225Y90347D01* 1014 | G01X66131Y90438D01* 1015 | G01X65948Y90532D01* 1016 | G01X65671Y90532D01* 1017 | G01X65486Y90438D01* 1018 | G01X65300Y90255D01* 1019 | G01X65209Y89978D01* 1020 | G01X65209Y89793D01* 1021 | G01X65300Y89516D01* 1022 | G01X65486Y89331D01* 1023 | G01X65671Y89239D01* 1024 | G01X65948Y89239D01* 1025 | G01X66131Y89331D01* 1026 | G01X66316Y89516D01* 1027 | G01X66926Y91177D02* 1028 | G01X66926Y89239D01* 1029 | G01X67536Y91177D02* 1030 | G01X67627Y91086D01* 1031 | G01X67721Y91177D01* 1032 | G01X67627Y91271D01* 1033 | G01X67536Y91177D01* 1034 | G01X67627Y90532D02* 1035 | G01X67627Y89239D01* 1036 | G01X69347Y90532D02* 1037 | G01X68331Y89239D01* 1038 | G01X68331Y90532D02* 1039 | G01X69347Y90532D01* 1040 | G01X68331Y89239D02* 1041 | G01X69347Y89239D01* 1042 | G01X69956Y89978D02* 1043 | G01X71064Y89978D01* 1044 | G01X71064Y90161D01* 1045 | G01X70972Y90347D01* 1046 | G01X70878Y90438D01* 1047 | G01X70695Y90532D01* 1048 | G01X70418Y90532D01* 1049 | G01X70233Y90438D01* 1050 | G01X70048Y90255D01* 1051 | G01X69956Y89978D01* 1052 | G01X69956Y89793D01* 1053 | G01X70048Y89516D01* 1054 | G01X70233Y89331D01* 1055 | G01X70418Y89239D01* 1056 | G01X70695Y89239D01* 1057 | G01X70878Y89331D01* 1058 | G01X71064Y89516D01* 1059 | G01X72783Y91177D02* 1060 | G01X72783Y89239D01* 1061 | G01X72783Y90255D02* 1062 | G01X72598Y90438D01* 1063 | G01X72412Y90532D01* 1064 | G01X72136Y90532D01* 1065 | G01X71950Y90438D01* 1066 | G01X71767Y90255D01* 1067 | G01X71673Y89978D01* 1068 | G01X71673Y89793D01* 1069 | G01X71767Y89516D01* 1070 | G01X71950Y89331D01* 1071 | G01X72136Y89239D01* 1072 | G01X72412Y89239D01* 1073 | G01X72598Y89331D01* 1074 | G01X72783Y89516D01* 1075 | G01X74815Y91177D02* 1076 | G01X74815Y89239D01* 1077 | G01X74815Y90255D02* 1078 | G01X74998Y90438D01* 1079 | G01X75184Y90532D01* 1080 | G01X75460Y90532D01* 1081 | G01X75646Y90438D01* 1082 | G01X75831Y90255D01* 1083 | G01X75923Y89978D01* 1084 | G01X75923Y89793D01* 1085 | G01X75831Y89516D01* 1086 | G01X75646Y89331D01* 1087 | G01X75460Y89239D01* 1088 | G01X75184Y89239D01* 1089 | G01X74998Y89331D01* 1090 | G01X74815Y89516D01* 1091 | G01X76624Y90532D02* 1092 | G01X77177Y89239D01* 1093 | G01X77734Y90532D02* 1094 | G01X77177Y89239D01* 1095 | G01X76995Y88868D01* 1096 | G01X76809Y88683D01* 1097 | G01X76624Y88592D01* 1098 | G01X76532Y88592D01* 1099 | G01X80043Y91177D02* 1100 | G01X80043Y89608D01* 1101 | G01X80134Y89331D01* 1102 | G01X80319Y89239D01* 1103 | G01X80505Y89239D01* 1104 | G01X79766Y90532D02* 1105 | G01X80411Y90532D01* 1106 | G01X81114Y91177D02* 1107 | G01X81114Y89239D01* 1108 | G01X81114Y90161D02* 1109 | G01X81391Y90438D01* 1110 | G01X81574Y90532D01* 1111 | G01X81851Y90532D01* 1112 | G01X82036Y90438D01* 1113 | G01X82130Y90161D01* 1114 | G01X82130Y89239D01* 1115 | G01X82740Y89978D02* 1116 | G01X83847Y89978D01* 1117 | G01X83847Y90161D01* 1118 | G01X83756Y90347D01* 1119 | G01X83662Y90438D01* 1120 | G01X83477Y90532D01* 1121 | G01X83200Y90532D01* 1122 | G01X83017Y90438D01* 1123 | G01X82831Y90255D01* 1124 | G01X82740Y89978D01* 1125 | G01X82740Y89793D01* 1126 | G01X82831Y89516D01* 1127 | G01X83017Y89331D01* 1128 | G01X83200Y89239D01* 1129 | G01X83477Y89239D01* 1130 | G01X83662Y89331D01* 1131 | G01X83847Y89516D01* 1132 | G01X85879Y91177D02* 1133 | G01X85879Y89239D01* 1134 | G01X85879Y90255D02* 1135 | G01X86065Y90438D01* 1136 | G01X86248Y90532D01* 1137 | G01X86525Y90532D01* 1138 | G01X86710Y90438D01* 1139 | G01X86895Y90255D01* 1140 | G01X86987Y89978D01* 1141 | G01X86987Y89793D01* 1142 | G01X86895Y89516D01* 1143 | G01X86710Y89331D01* 1144 | G01X86525Y89239D01* 1145 | G01X86248Y89239D01* 1146 | G01X86065Y89331D01* 1147 | G01X85879Y89516D01* 1148 | G01X88059Y90532D02* 1149 | G01X87873Y90438D01* 1150 | G01X87690Y90255D01* 1151 | G01X87596Y89978D01* 1152 | G01X87596Y89793D01* 1153 | G01X87690Y89516D01* 1154 | G01X87873Y89331D01* 1155 | G01X88059Y89239D01* 1156 | G01X88336Y89239D01* 1157 | G01X88521Y89331D01* 1158 | G01X88706Y89516D01* 1159 | G01X88798Y89793D01* 1160 | G01X88798Y89978D01* 1161 | G01X88706Y90255D01* 1162 | G01X88521Y90438D01* 1163 | G01X88336Y90532D01* 1164 | G01X88059Y90532D01* 1165 | G01X90515Y90532D02* 1166 | G01X90515Y89239D01* 1167 | G01X90515Y90255D02* 1168 | G01X90332Y90438D01* 1169 | G01X90147Y90532D01* 1170 | G01X89870Y90532D01* 1171 | G01X89684Y90438D01* 1172 | G01X89499Y90255D01* 1173 | G01X89408Y89978D01* 1174 | G01X89408Y89793D01* 1175 | G01X89499Y89516D01* 1176 | G01X89684Y89331D01* 1177 | G01X89870Y89239D01* 1178 | G01X90147Y89239D01* 1179 | G01X90332Y89331D01* 1180 | G01X90515Y89516D01* 1181 | G01X91125Y90532D02* 1182 | G01X91125Y89239D01* 1183 | G01X91125Y89978D02* 1184 | G01X91219Y90255D01* 1185 | G01X91401Y90438D01* 1186 | G01X91587Y90532D01* 1187 | G01X91864Y90532D01* 1188 | G01X93583Y91177D02* 1189 | G01X93583Y89239D01* 1190 | G01X93583Y90255D02* 1191 | G01X93398Y90438D01* 1192 | G01X93212Y90532D01* 1193 | G01X92936Y90532D01* 1194 | G01X92750Y90438D01* 1195 | G01X92567Y90255D01* 1196 | G01X92473Y89978D01* 1197 | G01X92473Y89793D01* 1198 | G01X92567Y89516D01* 1199 | G01X92750Y89331D01* 1200 | G01X92936Y89239D01* 1201 | G01X93212Y89239D01* 1202 | G01X93398Y89331D01* 1203 | G01X93583Y89516D01* 1204 | G01X96075Y90532D02* 1205 | G01X95892Y90438D01* 1206 | G01X95707Y90255D01* 1207 | G01X95615Y89978D01* 1208 | G01X95615Y89793D01* 1209 | G01X95707Y89516D01* 1210 | G01X95892Y89331D01* 1211 | G01X96075Y89239D01* 1212 | G01X96354Y89239D01* 1213 | G01X96537Y89331D01* 1214 | G01X96723Y89516D01* 1215 | G01X96814Y89793D01* 1216 | G01X96814Y89978D01* 1217 | G01X96723Y90255D01* 1218 | G01X96537Y90438D01* 1219 | G01X96354Y90532D01* 1220 | G01X96075Y90532D01* 1221 | G01X97424Y90532D02* 1222 | G01X97424Y89608D01* 1223 | G01X97518Y89331D01* 1224 | G01X97701Y89239D01* 1225 | G01X97980Y89239D01* 1226 | G01X98163Y89331D01* 1227 | G01X98440Y89608D01* 1228 | G01X98440Y90532D02* 1229 | G01X98440Y89239D01* 1230 | G01X99326Y91177D02* 1231 | G01X99326Y89608D01* 1232 | G01X99420Y89331D01* 1233 | G01X99606Y89239D01* 1234 | G01X99788Y89239D01* 1235 | G01X99049Y90532D02* 1236 | G01X99697Y90532D01* 1237 | G01X100398Y91177D02* 1238 | G01X100398Y89239D01* 1239 | G01X101008Y91177D02* 1240 | G01X101102Y91086D01* 1241 | G01X101193Y91177D01* 1242 | G01X101102Y91271D01* 1243 | G01X101008Y91177D01* 1244 | G01X101102Y90532D02* 1245 | G01X101102Y89239D01* 1246 | G01X101803Y90532D02* 1247 | G01X101803Y89239D01* 1248 | G01X101803Y90161D02* 1249 | G01X102080Y90438D01* 1250 | G01X102265Y90532D01* 1251 | G01X102542Y90532D01* 1252 | G01X102727Y90438D01* 1253 | G01X102819Y90161D01* 1254 | G01X102819Y89239D01* 1255 | G01X103428Y89978D02* 1256 | G01X104536Y89978D01* 1257 | G01X104536Y90161D01* 1258 | G01X104444Y90347D01* 1259 | G01X104353Y90438D01* 1260 | G01X104167Y90532D01* 1261 | G01X103891Y90532D01* 1262 | G01X103705Y90438D01* 1263 | G01X103520Y90255D01* 1264 | G01X103428Y89978D01* 1265 | G01X103428Y89793D01* 1266 | G01X103520Y89516D01* 1267 | G01X103705Y89331D01* 1268 | G01X103891Y89239D01* 1269 | G01X104167Y89239D01* 1270 | G01X104353Y89331D01* 1271 | G01X104536Y89516D01* 1272 | G01X106161Y90255D02* 1273 | G01X106070Y90438D01* 1274 | G01X105793Y90532D01* 1275 | G01X105516Y90532D01* 1276 | G01X105239Y90438D01* 1277 | G01X105145Y90255D01* 1278 | G01X105239Y90070D01* 1279 | G01X105422Y89978D01* 1280 | G01X105884Y89884D01* 1281 | G01X106070Y89793D01* 1282 | G01X106161Y89608D01* 1283 | G01X106161Y89516D01* 1284 | G01X106070Y89331D01* 1285 | G01X105793Y89239D01* 1286 | G01X105516Y89239D01* 1287 | G01X105239Y89331D01* 1288 | G01X105145Y89516D01* 1289 | G01X106865Y89699D02* 1290 | G01X106771Y89608D01* 1291 | G01X106865Y89516D01* 1292 | G01X106956Y89608D01* 1293 | G01X106865Y89699D01* 1294 | M00* 1295 | M02* 1296 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | --------------------------------------------------------------------------------