├── .gitignore ├── LICENSE ├── README.md ├── circuit.svg ├── firmware ├── .gitignore ├── .vscode │ ├── extensions.json │ └── settings.json ├── include │ └── README ├── platformio.ini ├── src │ └── main.cpp └── test │ └── README ├── img ├── circuit.png ├── configure.png ├── empties.png ├── flash.png ├── gui.png ├── positioning.png └── receivers.png ├── model ├── patstrap.scad └── patstrap.stl ├── pcb ├── Drill_NPTH_Through.DRL ├── Drill_PTH_Through.DRL ├── Drill_PTH_Through_Via.DRL ├── Gerber_BoardOutlineLayer.GKO ├── Gerber_BottomLayer.GBL ├── Gerber_BottomSolderMaskLayer.GBS ├── Gerber_DocumentLayer.GDL ├── Gerber_TopLayer.GTL ├── Gerber_TopPasteMaskLayer.GTP ├── Gerber_TopSilkscreenLayer.GTO ├── Gerber_TopSolderMaskLayer.GTS └── How-to-order-PCB.md └── server ├── __pycache__ └── server.cpython-311.pyc ├── build.bat ├── build.sh ├── global.css ├── gui.py ├── requirements.txt └── server.py /.gitignore: -------------------------------------------------------------------------------- 1 | *-env/ 2 | build/ 3 | dist/ 4 | __pycache__/ 5 | *.py[cod] 6 | *$py.class 7 | *.spec 8 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Patstrap 2 | 3 |

4 | Repository size 5 | Last Commit 6 | GitHub commit activity (branch) 7 | GitHub License 8 | GitHub Repo stars 9 |

10 | 11 | An open hardware and software project which tries to implement haptic head pat feedback to the player in VR. This project focuses mainly on VRChat's OSC support but might in the future also support other games. The project consists of a hardware part the "Headpat-Strap" or just "Patstrap", a Server running on the PC and the required edits on a VRChat-Avatar to support the communication over OSC. Keep in mind that this is only a hobby project, but feel free to experiment, edit the code or tweak the hardware to your liking. 12 | > [!WARNING] 13 | > This project is in the development phase. Please note that components of the project are subject to frequent changes. 14 | 15 | 16 | 17 | ## Hardware 18 | ### Parts 19 | To make this project you will need: 20 | - [ESP8266 WEMOS D1 Mini V4.0.0](https://aliexpress.com/item/1005006246661815.html) If you use a different ESP, you may need to change the pins in the code. 21 | - 2x [150KΩ Resistors](https://aliexpress.com/item/1005001627995396.html) 22 | - 2x [Transistors](https://aliexpress.com/item/1005003450640801.html) (I used BC547) 23 | - 2x [Vibrating motors](https://aliexpress.com/item/1005001446097852.html) 24 | 25 | And optionally if you are using a battery: 26 | - 1x [180KΩ Resistors](https://de.aliexpress.com/item/1005001627995396.html) 27 | - 2x [Diodes 1N5817](https://de.aliexpress.com/item/1005002620053985.html) 28 | - [Battery](https://www.amazon.com/dp/B0B7N2T1TD?psc=1&ref=ppx_yo2ov_dt_b_product_details) 29 | - [Battery charger](https://de.aliexpress.com/item/1005006274938832.html) 30 | - [On/Off switch](https://aliexpress.com/item/1005003938856402.html) 31 | 32 | ### Electronics 33 | An ESP8266 was used for this project, but can be switched with any other WLAN-capable IC. 34 | For the haptic feedback two [Vibrating Mini Motor Disc](https://www.adafruit.com/product/1201) from Adafruit were used for a 3D spaced feedback on the head. 35 | Both of them can be directly wired to the ESP but for higher performance it is recommended to switch them with two transistors like the BC547b. 36 | 37 | ![Untitled Sketch_Steckplatine](img/circuit.png) 38 | 39 | ### Hausing 40 | The 3D-Model and the `.scad` file of the hausing, which includes some space for the Motor Discs and the ESP8266, is available under `/model` and can be 3D-Printed. Alternatively you can use a normal headband and simply hot glue the Motor Discs and the ESP on a headband. 41 | > [!WARNING] 42 | > The models in `/model` are not up to date and might not fit anymore. 43 | 44 | ### Battery 45 | For battery support please refer to the [SlimeVR Docs](https://docs.slimevr.dev/diy/tracker-schematics.html). SlimeVR uses a `TP4056` for charging and powering the device. If you want to measure the battery level you need to add the 180kOhm resistor at Pin A0 (enable `Battery sense` in slimevr docs for circuit diagram). 46 | ### PCB 47 | Optionally you can order a PCB for the Patstrap. The Gerber files required for ordering can be found [here](/pcb). Thanks to The-Prophet for making the PCB. 48 | > [!WARNING] 49 | > The PCB has not been tested yet and is still a Work In Progress! 50 | 51 | ## Software 52 | ### Firmware 53 | To upload the firmware to the ESP we use [Visual Studio Code](https://code.visualstudio.com/download) and [PlatformIO](https://platformio.org/platformio-ide). Please refer to the [SlimeVR Docs](https://docs.slimevr.dev/firmware/setup-and-install.html) as a reference on how to install the IDE and the extension. After the installation you can download this repository and open the `/firmware` folder in Visual Studio Code. 54 | 55 | Open the `platformio.ini` and change `-DWIFI_CREDS_SSID` and `-DWIFI_CREDS_PASSWD` to your local network's name and password. Keep in mind that it must be the same network your computer is running on in order for the device to communicate with the server program. If you are not using an ESP8266 you will need to change `board = esp12e` to your board and most likely also the PIN-Layout in the `main.cpp` file. If you want to measure battery level don't forget to uncomment `-DUSE_BATTERY` (remove `;`). If you used a PNP transistor instead of the NPN like BC547b, uncomment `-DUSE_PNP`. 56 | 57 | Your config file should look something like this: 58 | ```ini 59 | [env] 60 | monitor_speed = 9600 61 | monitor_echo = yes 62 | monitor_filters = colorize 63 | framework = arduino 64 | 65 | build_unflags = -Os 66 | build_flags = -O2 67 | ; Set your wifi name and password here - Make sure it's within the same Network as the server software! 68 | -DWIFI_CREDS_SSID='"WIFI_NAME"' 69 | -DWIFI_CREDS_PASSWD='"WIFI_PASSWORD"' 70 | 71 | ; Uncomment below if you used a PNP transistor, if you followed the guide you proably want to leave it commented. => inverts the output of the haptic motors 72 | ; -DUSE_PNP 73 | 74 | ; Uncomment below if you use a battery 75 | ; -DUSE_BATTERY 76 | 77 | ; The port used to communicate to the patstrap server, if you change this you will also need to change the --esp-port in the server software 78 | -DPORT='8080' 79 | 80 | [env:esp12e] 81 | platform = espressif8266 82 | board = esp12e 83 | framework = arduino 84 | upload_speed = 921600 85 | ``` 86 | After your edits you can plug-in your ESP, press build (✓) and flash (→) it. You can find the buttons in Visual Studio Code at the bottom on the left side. 87 | 88 | ![image](/img/flash.png) 89 | 90 | ### Server 91 | Under releases you can find the binary files to run the server on your computer. The server is the middle man that allows communication between the device and VRChat. The server supports both Windows and Linux. The server opens up a window where the current connection status is displayed. If flashing the hardware worked and the device is running you should see the text `connected`. You can also verify the connection by looking at the ESP-LED. 92 | * Fast blinking (~10 times per second): Not connected with WLAN. 93 | * Slow blinking (~1 time per second): Connected to WLAN, not connected with server. 94 | * Continues light: Connected. 95 | * No light: Not turned on? 96 | 97 | If connection was successful `Patstrap connection` should turn green. Furthermore you can now test the hardware by clicking `Pat left` and `Pat right`. 98 | 99 | ![image](/img/gui.png) 100 | 101 | #### Port 102 | You can change the OSC Port as well as the Port to the ESP by adding a launch argument. 103 | To change the OSC port start the server using the cmd and enter `patstrap.exe --osc-port 1234`. 104 | To change the ESP port enter `patstrap.exe --esp-port 1234` instead, but make sure that you also change the port in the `platformio.ini` file. 105 | If you dont want to manually set the port everytime you start the server you can create a `.bat` file with the following content: 106 | ``` 107 | @echo off 108 | patstrap.exe --osc-port 1234 109 | ``` 110 | > [!IMPORTANT] 111 | > Make sure that the `.bat` file is in the same folder as the `.exe` file. Alternatively add the fullpath to the `.exe` in the `.bat` file. 112 | 113 | If you are using [VRCOSC](https://github.com/VolcanicArts/VRCOSC) you can add the `.exe` to the startup and (if needed) can add the launch arguments there. 114 | 115 | ### VRChat 116 | #### Avatar - Unity 117 | For the Patstrap to work you will need to [enable OSC Support in VRChat](https://docs.slimevr.dev/server/osc-information.html) and edit your Avatar Model to include the required Colliders for detecting a head pat. For this you need to have a working avatar setup in unity. 118 | 119 | 1. Create Empties 120 | 121 | First open up your Avatar in Unity, go to `armature -> Hips -> Spine -> Chest -> Neck -> Head` and add two `Empty` objects as a child of the head. It should look like the following image. Optionally you can rename them for better organization. 122 | 123 | ![image](/img/empties.png) 124 | 125 | 2. Add Contact Receivers 126 | 127 | Open up the just added objects and click on `Add Component` and select `VRC Contact Receiver`. 128 | 129 | ![image](/img/receivers.png) 130 | 131 | 3. Positioning 132 | 133 | Now move the contact receivers to your left and right of your avatar's head. Change the size and form if required. The position and size should resemble the following. 134 | 135 | ![image](/img/positioning.png) 136 | 137 | 4. Configure Contact Receivers 138 | 139 | Under the section `Collision Tags` click on `Add` and select `Hand` and repeat this step for `Finger`. In the section `Receiver` change `Receiver Type` to `Proximity` and the `Parameter` to one of the following fitting names. 140 | * `pat_right` for the collider placed on the right side 141 | * `pat_left` for the collider placed on the left side 142 | 143 | The end result should look similar to the following image. Repeat this step for the other two contact receivers. 144 | 145 | ![image](/img/configure.png) 146 | 147 | 5. Upload 148 | 149 | Now you should be ready to test and upload your avatar. 150 | 151 | ### Testing & Debugging 152 | After you uploaded your avatar and enabled osc support, the `VRChat connection` indicator should turn green as soon as the server software receives any avatar parameter including the head pat parameter. If this is not the case the following steps should help you finding the issue. 153 | 1. Check if the parameters `pat_right` and `pat_left` were added to your uploaded avatar. You can find the json file at `~\AppData\LocalLow\VRChat\VRChat\OSC\{userId}\Avatars\{avatarId}.json`. If that is not the case, make sure the Avatar setup step was done correctly. For more information you can also check [VRChat's docs](https://docs.vrchat.com/docs/osc-avatar-parameters). 154 | 2. Use [Protokol](https://hexler.net/protokol) for debugging and check if `pat_left` or `pat_right` appear in the log. Make sure you set the port to the port used by [VRChat (default 9001)](https://docs.vrchat.com/docs/osc-overview). 155 | 3. Start Patstrap Server in the CMD and look for error messages. 156 | 4. If nothing worked feel free to file an [issue](https://github.com/danielfvm/Patstrap/issues) or ask me on the [Discord Server](https://discord.gg/QsuHQXECw2) or write me directly at `DeanCode#3641`. 157 | 158 | 159 | 160 | ## Contribute 161 | I am grateful for any help, so if you like this project and want to help make it better feel free to make a [pull request](https://github.com/danielfvm/Patstrap/pulls), share your opinions, ideas or problems in [issues](https://github.com/danielfvm/Patstrap/issues). If you want to help but have no idea what needs to be done, here some general details: 162 | 163 | ### Goals 164 | * Designing a hardware that is cheap and easy for others to replicate. 165 | * Electronic components should idealy be available on stores like amazon. 166 | * Documenting every step necessary to build the hardware and setup the software. 167 | 168 | ### TODO's and Issues 169 | * Design casing for ESP 170 | * Currently I am thinking of putting battery on one side and esp on the other, leaving a gap in between for VR headset's top strap. 171 | * Put vibration motor more to the side for a more clear distinction between left and right 172 | * Try isolating the motors from the strap to reduce noise - or - Find better alternative to the `Vibrating Mini Motor Disc`, maybe one that can vibrate on lower frequencies (less noise?) 173 | * Add setting for changing between "Vibrate on collision" and "Vibrate on motion" 174 | * Add options to add more vibration motors - (more then just left / right) 175 | * Add a list to the server gui to be able to add & remove new motors 176 | * Change communication between server and hardware from 1 byte (4 bits per motor) to a more flexible system 177 | * Update hardware software accordingly 178 | * Video and update instructions in `README.md` 179 | 180 | ## Related projects 181 | Some related projects that I found interesting: 182 | * [HapticsExtended](https://github.com/MagicBOTAlex/HapticsExtended) by MagicBOTAlex based on OpenIris and supports multiple haptic devices 183 | * [BS_Patstrap_support](https://github.com/tapafon/BS_Patstrap_support) by tapafon is a IPA mod that adds Patstrap support to Beatsaber 184 | * [SR_Patstrap_support](https://github.com/tapafon/SR_Patstrap_support) by tapafon is a Melon mod that adds Patstrap support to Synth Riders 185 | * [HapticPatPat](https://github.com/kikookraft/HapticPatPat) by kikookraft is a fork that adds Bluetooth support for lower latency 186 | * [Patstrap-Multi-Version-DE](https://github.com/LucyWolf/Patstrap-Multi-Version-DE) by LucyWolf is a german translated version of Patstrap 187 | * [headpat-vr](https://github.com/Mercuso/headpat-vr) by Mercuso is a device that brings tactile feelings of VR head pats using mechanical force applied by brushes 188 | 189 | ## Changelog 190 | #### v0.5 191 | * Fixed vrchat indicator not updating when patstrap is not connected 192 | * Added OSCQuery (by [lcb01a](https://github.com/lcb01a)) 193 | #### v0.3 194 | * Changed design of server app 195 | * Hardware reconnecting to server should work now (also with different IP) 196 | * Improved shutdown of server app 197 | * Added support for battery measurement 198 | * Added support in the firmware for both PNP and NPN transistor 199 | * Improved PWM signal output (uses now builtin function from arduino) 200 | * Updated README to match the new setup. 201 | #### v0.2.1 202 | * Added `windows-debug.exe` built (opens cmd for additional logs) 203 | #### v0.2 204 | * Simplified background in server application 205 | * Fixed test buttons 206 | * Potentially fixed a div by zero crash 207 | * Fixed VRChat status indicator not working 208 | 209 | 210 | 211 | ## Credits 212 | This project uses and refers to many parts from the [SlimeVR](https://www.crowdsupply.com/slimevr/slimevr-full-body-tracker) project which is an open hardware, full body tracking solution and a great project that you definitely should checkout. 213 | -------------------------------------------------------------------------------- /firmware/.gitignore: -------------------------------------------------------------------------------- 1 | .pio 2 | .vscode/.browse.c_cpp.db* 3 | .vscode/c_cpp_properties.json 4 | .vscode/launch.json 5 | .vscode/ipch 6 | -------------------------------------------------------------------------------- /firmware/.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | // See http://go.microsoft.com/fwlink/?LinkId=827846 3 | // for the documentation about the extensions.json format 4 | "recommendations": [ 5 | "platformio.platformio-ide" 6 | ], 7 | "unwantedRecommendations": [ 8 | "ms-vscode.cpptools-extension-pack" 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /firmware/.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "files.associations": { 3 | "cmath": "cpp", 4 | "chrono": "cpp" 5 | } 6 | } -------------------------------------------------------------------------------- /firmware/include/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for project header files. 3 | 4 | A header file is a file containing C declarations and macro definitions 5 | to be shared between several project source files. You request the use of a 6 | header file in your project source file (C, C++, etc) located in `src` folder 7 | by including it, with the C preprocessing directive `#include'. 8 | 9 | ```src/main.c 10 | 11 | #include "header.h" 12 | 13 | int main (void) 14 | { 15 | ... 16 | } 17 | ``` 18 | 19 | Including a header file produces the same results as copying the header file 20 | into each source file that needs it. Such copying would be time-consuming 21 | and error-prone. With a header file, the related declarations appear 22 | in only one place. If they need to be changed, they can be changed in one 23 | place, and programs that include the header file will automatically use the 24 | new version when next recompiled. The header file eliminates the labor of 25 | finding and changing all the copies as well as the risk that a failure to 26 | find one copy will result in inconsistencies within a program. 27 | 28 | In C, the usual convention is to give header files names that end with `.h'. 29 | It is most portable to use only letters, digits, dashes, and underscores in 30 | header file names, and at most one dot. 31 | 32 | Read more about using header files in official GCC documentation: 33 | 34 | * Include Syntax 35 | * Include Operation 36 | * Once-Only Headers 37 | * Computed Includes 38 | 39 | https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html 40 | -------------------------------------------------------------------------------- /firmware/platformio.ini: -------------------------------------------------------------------------------- 1 | ; PlatformIO Project Configuration File 2 | ; 3 | ; Build options: build flags, source filter 4 | ; Upload options: custom upload port, speed and extra flags 5 | ; Library options: dependencies, extra library storages 6 | ; Advanced options: extra scripting 7 | ; 8 | ; Please visit documentation for the other options and examples 9 | ; https://docs.platformio.org/page/projectconf.html 10 | 11 | [env] 12 | monitor_speed = 9600 13 | monitor_echo = yes 14 | monitor_filters = colorize 15 | framework = arduino 16 | 17 | build_unflags = -Os 18 | build_flags = -O2 19 | ; Set your wifi name and password here - Make sure it's within the same Network as the server software! 20 | -DWIFI_CREDS_SSID='"WIFI_NAME"' 21 | -DWIFI_CREDS_PASSWD='"WIFI_PASSWORD"' 22 | 23 | ; Uncomment below if you used a PNP transistor, if you followed the guide you proably want to leave it commented. => inverts the output of the haptic motors 24 | ; -DUSE_PNP 25 | 26 | ; Uncomment below if you use a battery 27 | ; -DUSE_BATTERY 28 | 29 | ; The port used to communicate to the patstrap server, if you change this you will also need to change the --esp-port in the server software 30 | -DPORT='8888' 31 | 32 | [env:esp12e] 33 | platform = espressif8266 34 | board = esp12e 35 | framework = arduino 36 | upload_speed = 921600 37 | -------------------------------------------------------------------------------- /firmware/src/main.cpp: -------------------------------------------------------------------------------- 1 | #include // Include the mDNS library 2 | #include 3 | 4 | #define PIN_BATTERY_LEVEL A0 5 | #define PIN_INTERNAL_LED 2 // indicates if connected with server (low active) 6 | #define PIN_HAPTIC_LEFT 5 // D1 7 | #define PIN_HAPTIC_RIGHT 4 // D2 8 | 9 | #if defined(PORT) 10 | static WiFiServer server(PORT); 11 | #else 12 | #error "Missing -DPORT option in platformio.ini" 13 | #endif 14 | 15 | #if defined(USE_PNP) 16 | #define HAPTIC_ON LOW 17 | #define HAPTIC_OFF HIGH 18 | #else 19 | #define HAPTIC_ON HIGH 20 | #define HAPTIC_OFF LOW 21 | #endif 22 | 23 | #define ADCResolution 1023.0 // ESP8266 has 10bit ADC 24 | #define ADCVoltageMax 1.0 // ESP8266 input is 1.0 V = 1023.0 25 | 26 | // See https://github.com/SlimeVR/SlimeVR-Tracker-ESP/blob/main/src/batterymonitor.h for more information 27 | #define BATTERY_SHIELD_R1 100.0 28 | #define BATTERY_SHIELD_R2 220.0 29 | #define BATTERY_SHIELD_RESISTANCE 180.0 30 | #define ADCMultiplier (BATTERY_SHIELD_R1 + BATTERY_SHIELD_R2 + BATTERY_SHIELD_RESISTANCE) / BATTERY_SHIELD_R1 31 | 32 | /* 33 | * Battery code taken from SlimeVR Github: 34 | * https://github.com/SlimeVR/SlimeVR-Tracker-ESP/blob/main/src/batterymonitor.cpp 35 | */ 36 | float getBatteryLevel() { 37 | float voltage = ((float)analogRead(PIN_BATTERY_LEVEL)) * ADCVoltageMax / ADCResolution * ADCMultiplier; 38 | float level = 0.0f; 39 | 40 | // Estimate battery level, 3.2V is 0%, 4.17V is 100% (1.0) 41 | if (voltage > 3.975f) 42 | level = (voltage - 2.920f) * 0.8f; 43 | else if (voltage > 3.678f) 44 | level = (voltage - 3.300f) * 1.25f; 45 | else if (voltage > 3.489f) 46 | level = (voltage - 3.400f) * 1.7f; 47 | else if (voltage > 3.360f) 48 | level = (voltage - 3.300f) * 0.8f; 49 | else 50 | level = (voltage - 3.200f) * 0.3f; 51 | 52 | level = (level - 0.05f) / 0.95f; // Cut off the last 5% (3.36V) 53 | level = max(min(level, 1.0f), 0.0f); // Clamp between 0 and 1 54 | 55 | return level; 56 | } 57 | 58 | void setup() { 59 | pinMode(PIN_INTERNAL_LED, OUTPUT); 60 | pinMode(PIN_HAPTIC_LEFT, OUTPUT); 61 | pinMode(PIN_HAPTIC_RIGHT, OUTPUT); 62 | pinMode(PIN_BATTERY_LEVEL, INPUT); 63 | 64 | digitalWrite(PIN_HAPTIC_LEFT, HAPTIC_OFF); 65 | digitalWrite(PIN_HAPTIC_RIGHT, HAPTIC_OFF); 66 | 67 | Serial.begin(9600); 68 | 69 | WiFi.mode(WIFI_STA); 70 | #if defined(WIFI_CREDS_SSID) && defined(WIFI_CREDS_PASSWD) 71 | WiFi.begin(WIFI_CREDS_SSID, WIFI_CREDS_PASSWD); //Connect to wifi 72 | #else 73 | #error "Missing -DWIFI_CREDS_SSID and -DWIFI_CREDS_PASSWD options in platformio.ini" 74 | #endif 75 | 76 | // Wait for connection 77 | Serial.println("Connecting to Wifi"); 78 | while (WiFi.status() != WL_CONNECTED) { 79 | delay(100); 80 | digitalWrite(PIN_INTERNAL_LED, LOW); 81 | Serial.print("."); 82 | delay(100); 83 | digitalWrite(PIN_INTERNAL_LED, HIGH); 84 | } 85 | 86 | Serial.print("IP address: "); 87 | Serial.println(WiFi.localIP()); 88 | server.begin(); 89 | 90 | // Start the mDNS responder for patstrap.local 91 | if (!MDNS.begin("patstrap")) { 92 | Serial.println("Error setting up MDNS responder!"); 93 | } 94 | MDNS.addService("http", "tcp", PORT); 95 | Serial.println("mDNS responder started"); 96 | 97 | 98 | digitalWrite(PIN_HAPTIC_LEFT, HAPTIC_ON); 99 | digitalWrite(PIN_HAPTIC_RIGHT, HAPTIC_ON); 100 | delay(500); 101 | digitalWrite(PIN_HAPTIC_LEFT, HAPTIC_OFF); 102 | digitalWrite(PIN_HAPTIC_RIGHT, HAPTIC_OFF); 103 | } 104 | 105 | void loop() { 106 | MDNS.update(); 107 | 108 | delay(500); 109 | digitalWrite(PIN_INTERNAL_LED, HIGH); 110 | delay(500); 111 | digitalWrite(PIN_INTERNAL_LED, LOW); 112 | 113 | WiFiClient client = server.accept(); 114 | 115 | if (client) { 116 | Serial.println("Client Connected"); 117 | 118 | unsigned long previousMillis = millis(); 119 | 120 | while (client.connected()) { 121 | unsigned long currentMillis = millis(); 122 | 123 | // Process recv byte 124 | while (client.available() > 0) { 125 | char data = client.read(); 126 | unsigned int haptic_right_level = (data & 0x0F) << 4; 127 | unsigned int haptic_left_level = data & 0xF0; 128 | 129 | // one channel goes from 0x00 to 0xF0, we add the missing 0x0F to be full range from 0x00 to 0xFF 130 | haptic_right_level |= haptic_right_level >> 4; 131 | haptic_left_level |= haptic_left_level >> 4; 132 | 133 | // Generates a pwm signal 134 | analogWrite(PIN_HAPTIC_LEFT, HAPTIC_OFF ? haptic_left_level : 0xFF - haptic_left_level); 135 | analogWrite(PIN_HAPTIC_RIGHT, HAPTIC_OFF ? haptic_right_level : 0xFF - haptic_right_level); 136 | } 137 | 138 | // Send keep alive packet with averaged battery value 139 | if (currentMillis - previousMillis >= 1000) { 140 | // send keep_alive package every second 141 | #if defined(USE_BATTERY) 142 | client.print((char)round(max(min(getBatteryLevel() * 100.0f, 100.0f), 0.0f))); 143 | #else 144 | client.print((char)255); 145 | #endif 146 | 147 | previousMillis = currentMillis; 148 | client.flush(); 149 | } 150 | } 151 | 152 | client.stop(); 153 | Serial.println("Client disconnected"); 154 | } 155 | } 156 | -------------------------------------------------------------------------------- /firmware/test/README: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for PlatformIO Test Runner and project tests. 3 | 4 | Unit Testing is a software testing method by which individual units of 5 | source code, sets of one or more MCU program modules together with associated 6 | control data, usage procedures, and operating procedures, are tested to 7 | determine whether they are fit for use. Unit testing finds problems early 8 | in the development cycle. 9 | 10 | More information about PlatformIO Unit Testing: 11 | - https://docs.platformio.org/en/latest/advanced/unit-testing/index.html 12 | -------------------------------------------------------------------------------- /img/circuit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfvm/Patstrap/0e28b541bf9ac20290785d7a437afaeac97a57fe/img/circuit.png -------------------------------------------------------------------------------- /img/configure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfvm/Patstrap/0e28b541bf9ac20290785d7a437afaeac97a57fe/img/configure.png -------------------------------------------------------------------------------- /img/empties.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfvm/Patstrap/0e28b541bf9ac20290785d7a437afaeac97a57fe/img/empties.png -------------------------------------------------------------------------------- /img/flash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfvm/Patstrap/0e28b541bf9ac20290785d7a437afaeac97a57fe/img/flash.png -------------------------------------------------------------------------------- /img/gui.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfvm/Patstrap/0e28b541bf9ac20290785d7a437afaeac97a57fe/img/gui.png -------------------------------------------------------------------------------- /img/positioning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfvm/Patstrap/0e28b541bf9ac20290785d7a437afaeac97a57fe/img/positioning.png -------------------------------------------------------------------------------- /img/receivers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfvm/Patstrap/0e28b541bf9ac20290785d7a437afaeac97a57fe/img/receivers.png -------------------------------------------------------------------------------- /model/patstrap.scad: -------------------------------------------------------------------------------- 1 | $fn=300; 2 | 3 | SIZE=145; 4 | STRENGTH=3; 5 | WIDTH=15; 6 | TOLERANCE=0.15; 7 | 8 | module baseshape() { 9 | difference() { 10 | hull() { 11 | circle(d=SIZE); 12 | translate([-SIZE/2, 0, 0]) circle(d=SIZE/2); 13 | } 14 | hull() { 15 | circle(d=SIZE-STRENGTH*2); 16 | translate([-SIZE/2, 0, 0]) circle(d=SIZE/2-STRENGTH); 17 | } 18 | } 19 | } 20 | 21 | 22 | difference() { 23 | union() { 24 | translate([0, 0, WIDTH/4]) 25 | linear_extrude(height = WIDTH/2, center = true, convexity = 3, scale=0.99) 26 | scale([1.01,1.01,1.01]) 27 | baseshape(); 28 | 29 | translate([0, 0, -WIDTH/4]) 30 | linear_extrude(height = WIDTH/2, center = true, convexity = 3, scale=1.01) 31 | baseshape(); 32 | } 33 | 34 | // remove end of circle to put head through 35 | translate([-SIZE, 0, 0]) 36 | cube([SIZE, SIZE, SIZE], true); 37 | 38 | for (i = [-1,1]) { 39 | 40 | // make it get smaller at the end 41 | rotate([0,-2*i,0]) 42 | translate([0, 0, (WIDTH/2+2)*i]) 43 | cube([SIZE*2, SIZE*2, 10], true); 44 | 45 | 46 | // Hole for vibrator 47 | rotate([0, 0, 30 * i]) 48 | translate([SIZE/2-2, 0, 0]) 49 | rotate([0, 90, 0]) { 50 | cylinder(d=10+TOLERANCE, h=2.6, center=true); 51 | translate([0, -7*i, 3]) rotate([i*50, 0, 0]) cylinder(d=3, h=20, center=true); 52 | } 53 | } 54 | } -------------------------------------------------------------------------------- /model/patstrap.stl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfvm/Patstrap/0e28b541bf9ac20290785d7a437afaeac97a57fe/model/patstrap.stl -------------------------------------------------------------------------------- /pcb/Drill_NPTH_Through.DRL: -------------------------------------------------------------------------------- 1 | M48 2 | METRIC,LZ,000.000 3 | ;FILE_FORMAT=3:3 4 | ;TYPE=NON_PLATED 5 | ;Layer: NPTH_Through 6 | ;EasyEDA v6.5.47, 2024-10-06 10:13:02 7 | ;ffcbb33f17924234841025c486cc4069,e014b3835f5d4d88964e6d66dd9d747e,10 8 | ;Gerber Generator version 0.2 9 | ;Holesize 1 = 1.101 mm 10 | T01C1.101 11 | % 12 | G05 13 | G90 14 | T01 15 | X042863Y079967 16 | X042863Y077767 17 | M30 18 | -------------------------------------------------------------------------------- /pcb/Drill_PTH_Through.DRL: -------------------------------------------------------------------------------- 1 | M48 2 | METRIC,LZ,000.000 3 | ;FILE_FORMAT=3:3 4 | ;TYPE=PLATED 5 | ;Layer: PTH_Through 6 | ;EasyEDA v6.5.47, 2024-10-06 10:13:02 7 | ;ffcbb33f17924234841025c486cc4069,e014b3835f5d4d88964e6d66dd9d747e,10 8 | ;Gerber Generator version 0.2 9 | ;Holesize 1 = 0.701 mm 10 | T01C0.701 11 | ;Holesize 2 = 0.915 mm 12 | T02C0.915 13 | ;Holesize 3 = 1.000 mm 14 | T03C1.000 15 | ;Holesize 4 = 1.143 mm 16 | T04C1.143 17 | ;Holesize 5 = 1.200 mm 18 | T05C1.200 19 | % 20 | G05 21 | G90 22 | T01 23 | X037338Y064441G85X037338Y064591 24 | X038608Y064441G85X038608Y064591 25 | X039878Y064441G85X039878Y064591 26 | X043942Y064441G85X043942Y064591 27 | X045212Y064441G85X045212Y064591 28 | X046482Y064441G85X046482Y064591 29 | T02 30 | X043648Y035687 31 | X041148Y035687 32 | X038648Y035687 33 | T03 34 | X036798Y045466 35 | X045498Y045466 36 | X036925Y040767 37 | X045625Y040767 38 | X031877Y039116G85X031877Y039116 39 | X009017Y039116G85X009017Y039116 40 | X031877Y056896G85X031877Y056896 41 | X031877Y054356G85X031877Y054356 42 | X031877Y051816G85X031877Y051816 43 | X031877Y049276G85X031877Y049276 44 | X031877Y046736G85X031877Y046736 45 | X031877Y044196G85X031877Y044196 46 | X031877Y041656G85X031877Y041656 47 | X009017Y056896G85X009017Y056896 48 | X009017Y054356G85X009017Y054356 49 | X009017Y051816G85X009017Y051816 50 | X009017Y049276G85X009017Y049276 51 | X009017Y046736G85X009017Y046736 52 | X009017Y044196G85X009017Y044196 53 | X009017Y041656G85X009017Y041656 54 | X035871Y049657 55 | X046171Y049657 56 | X036252Y058166 57 | X046552Y058166 58 | X035998Y053975 59 | X046298Y053975 60 | T04 61 | X009045Y081549 62 | X009045Y067549 63 | X031849Y081549 64 | X031849Y067549 65 | X031849Y079018 66 | X031849Y070089 67 | T05 68 | X036576Y071374 69 | X039116Y071374 70 | X043180Y071374 71 | X045720Y071374 72 | M30 73 | -------------------------------------------------------------------------------- /pcb/Drill_PTH_Through_Via.DRL: -------------------------------------------------------------------------------- 1 | M48 2 | METRIC,LZ,000.000 3 | ;FILE_FORMAT=3:3 4 | ;TYPE=PLATED 5 | ;Layer: PTH_Through_Via 6 | ;EasyEDA v6.5.47, 2024-10-06 10:13:02 7 | ;ffcbb33f17924234841025c486cc4069,e014b3835f5d4d88964e6d66dd9d747e,10 8 | ;Gerber Generator version 0.2 9 | T01C0.001 10 | % 11 | G05 12 | G90 13 | M30 14 | -------------------------------------------------------------------------------- /pcb/Gerber_BoardOutlineLayer.GKO: -------------------------------------------------------------------------------- 1 | G04 Layer: BoardOutlineLayer* 2 | G04 EasyEDA v6.5.47, 2024-10-06 10:13:02* 3 | G04 ffcbb33f17924234841025c486cc4069,e014b3835f5d4d88964e6d66dd9d747e,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 ,4 integer and 5 decimal * 8 | %FSLAX45Y45*% 9 | %MOMM*% 10 | 11 | %ADD10C,0.2540*% 12 | D10* 13 | X711200Y8343900D02* 14 | G01* 15 | X2819400Y8343900D01* 16 | X4813300Y8343900D01* 17 | X4826000Y5829300D01* 18 | X4838700Y4165600D01* 19 | X4838700Y3009900D01* 20 | X736600Y2997200D01* 21 | X723900Y5676900D01* 22 | X711200Y8343900D01* 23 | 24 | %LPD*% 25 | M02* 26 | -------------------------------------------------------------------------------- /pcb/Gerber_BottomLayer.GBL: -------------------------------------------------------------------------------- 1 | G04 Layer: BottomLayer* 2 | G04 EasyEDA v6.5.47, 2024-10-06 10:13:02* 3 | G04 ffcbb33f17924234841025c486cc4069,e014b3835f5d4d88964e6d66dd9d747e,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 ,4 integer and 5 decimal * 8 | %FSLAX45Y45*% 9 | %MOMM*% 10 | 11 | %ADD10C,0.2540*% 12 | %ADD11C,1.8000*% 13 | %ADD12R,2.0000X2.0000*% 14 | %ADD13C,2.0000*% 15 | %ADD14R,1.0000X1.2000*% 16 | %ADD15O,0.9999979999999999X1.1999976*% 17 | %ADD16C,1.5080*% 18 | %ADD17R,1.8000X1.8000*% 19 | %ADD18C,1.5240*% 20 | 21 | %LPD*% 22 | D10* 23 | X3587089Y4965700D02* 24 | G01* 25 | X3442639Y4821250D01* 26 | X1516049Y4821250D01* 27 | X901700Y5435600D01* 28 | X3599789Y5397500D02* 29 | G01* 30 | X3187700Y4985410D01* 31 | X3187700Y4927600D01* 32 | X3625189Y5816600D02* 33 | G01* 34 | X3625189Y5619089D01* 35 | X3187700Y5181600D01* 36 | X4648200Y6451600D02* 37 | G01* 38 | X4560112Y6539687D01* 39 | X4075887Y6539687D01* 40 | X3987800Y6451600D01* 41 | X4364812Y3568700D02* 42 | G01* 43 | X4102201Y3831310D01* 44 | X3521989Y3831310D01* 45 | X3187700Y4165600D01* 46 | X4321200Y4318000D02* 47 | G01* 48 | X4549800Y4546600D01* 49 | X3187700Y3911600D02* 50 | G01* 51 | X3079267Y4020032D01* 52 | X3079267Y4219346D01* 53 | X3152520Y4292600D01* 54 | X4295800Y4292600D01* 55 | X4321200Y4318000D01* 56 | X4562500Y4076700D02* 57 | G01* 58 | X4321200Y4318000D01* 59 | X4655210Y5816600D02* 60 | G01* 61 | X4495800Y5816600D01* 62 | X3860800Y6451600D01* 63 | X4318000Y7137400D02* 64 | G01* 65 | X4190085Y7137400D01* 66 | X4190085Y7137400D02* 67 | G01* 68 | X4050131Y7277354D01* 69 | X3797554Y7277354D01* 70 | X3657600Y7137400D01* 71 | X3657600Y7137400D02* 72 | G01* 73 | X3529685Y7137400D01* 74 | X901700Y3911600D02* 75 | G01* 76 | X791819Y4021480D01* 77 | X791819Y5477611D01* 78 | X876807Y5562600D01* 79 | X1570609Y5562600D01* 80 | X2880969Y6872960D01* 81 | X3297224Y6872960D01* 82 | X3529685Y7105421D01* 83 | X3529685Y7137400D01* 84 | D11* 85 | G01* 86 | X3679799Y4546600D03* 87 | G01* 88 | X4549800Y4546600D03* 89 | G01* 90 | X3692499Y4076700D03* 91 | G01* 92 | X4562500Y4076700D03* 93 | D12* 94 | G01* 95 | X3657600Y7137400D03* 96 | D13* 97 | G01* 98 | X3911600Y7137400D03* 99 | D12* 100 | G01* 101 | X4318000Y7137400D03* 102 | D13* 103 | G01* 104 | X4572000Y7137400D03* 105 | D14* 106 | G01* 107 | X3733800Y6451600D03* 108 | D15* 109 | G01* 110 | X3860800Y6451600D03* 111 | G01* 112 | X3987800Y6451600D03* 113 | D14* 114 | G01* 115 | X4394200Y6451600D03* 116 | D15* 117 | G01* 118 | X4521200Y6451600D03* 119 | G01* 120 | X4648200Y6451600D03* 121 | D16* 122 | G01* 123 | X3187700Y3911600D03* 124 | G01* 125 | X901700Y3911600D03* 126 | G01* 127 | X3187700Y5689600D03* 128 | G01* 129 | X3187700Y5435600D03* 130 | G01* 131 | X3187700Y5181600D03* 132 | G01* 133 | X3187700Y4927600D03* 134 | G01* 135 | X3187700Y4673600D03* 136 | G01* 137 | X3187700Y4419600D03* 138 | G01* 139 | X3187700Y4165600D03* 140 | G01* 141 | X901700Y5689600D03* 142 | G01* 143 | X901700Y5435600D03* 144 | G01* 145 | X901700Y5181600D03* 146 | G01* 147 | X901700Y4927600D03* 148 | G01* 149 | X901700Y4673600D03* 150 | G01* 151 | X901700Y4419600D03* 152 | G01* 153 | X901700Y4165600D03* 154 | D17* 155 | G01* 156 | X904494Y8154923D03* 157 | G01* 158 | X904494Y6754876D03* 159 | G01* 160 | X3184906Y8154923D03* 161 | G01* 162 | X3184906Y6754876D03* 163 | G01* 164 | X3184906Y7901762D03* 165 | G01* 166 | X3184906Y7008876D03* 167 | D18* 168 | G01* 169 | X3587089Y4965700D03* 170 | G01* 171 | X4617110Y4965700D03* 172 | G01* 173 | X3625189Y5816600D03* 174 | G01* 175 | X4655210Y5816600D03* 176 | G01* 177 | X3599789Y5397500D03* 178 | G01* 179 | X4629810Y5397500D03* 180 | G01* 181 | X4364786Y3568700D03* 182 | G01* 183 | X4114800Y3568700D03* 184 | G01* 185 | X3864813Y3568700D03* 186 | M02* 187 | -------------------------------------------------------------------------------- /pcb/Gerber_BottomSolderMaskLayer.GBS: -------------------------------------------------------------------------------- 1 | G04 Layer: BottomSolderMaskLayer* 2 | G04 EasyEDA v6.5.47, 2024-10-06 10:13:02* 3 | G04 ffcbb33f17924234841025c486cc4069,e014b3835f5d4d88964e6d66dd9d747e,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 ,4 integer and 5 decimal * 8 | %FSLAX45Y45*% 9 | %MOMM*% 10 | 11 | %AMMACRO1*4,1,8,-1.0211,-1.0508,-1.0508,-1.0208,-1.0508,1.0211,-1.0211,1.0508,1.0208,1.0508,1.0508,1.0211,1.0508,-1.0208,1.0208,-1.0508,-1.0211,-1.0508,0*% 12 | %AMMACRO2*4,1,8,-0.5211,-0.6507,-0.5508,-0.6208,-0.5508,0.621,-0.5211,0.6507,0.5208,0.6507,0.5508,0.621,0.5508,-0.6208,0.5208,-0.6507,-0.5211,-0.6507,0*% 13 | %AMMACRO3*4,1,8,-0.921,-0.9507,-0.9507,-0.9207,-0.9507,0.921,-0.921,0.9507,0.9207,0.9507,0.9507,0.921,0.9507,-0.9207,0.9207,-0.9507,-0.921,-0.9507,0*% 14 | %AMMACRO4*4,1,8,-0.921,-0.9507,-0.9507,-0.9207,-0.9507,0.921,-0.921,0.9507,0.9208,0.9507,0.9507,0.921,0.9507,-0.9207,0.9208,-0.9507,-0.921,-0.9507,0*% 15 | %ADD10C,1.9016*% 16 | %ADD11MACRO1*% 17 | %ADD12C,2.1016*% 18 | %ADD13MACRO2*% 19 | %ADD14O,1.1015979999999999X1.3015976*% 20 | %ADD15C,1.6080*% 21 | %ADD16MACRO3*% 22 | %ADD17MACRO4*% 23 | %ADD18C,1.6256*% 24 | %ADD19C,1.6240*% 25 | 26 | %LPD*% 27 | D10* 28 | G01* 29 | X3679799Y4546600D03* 30 | G01* 31 | X4549800Y4546600D03* 32 | G01* 33 | X3692499Y4076700D03* 34 | G01* 35 | X4562500Y4076700D03* 36 | D11* 37 | G01* 38 | X3657600Y7137400D03* 39 | D12* 40 | G01* 41 | X3911600Y7137400D03* 42 | D11* 43 | G01* 44 | X4318000Y7137400D03* 45 | D12* 46 | G01* 47 | X4572000Y7137400D03* 48 | D13* 49 | G01* 50 | X3733812Y6451600D03* 51 | D14* 52 | G01* 53 | X3860800Y6451600D03* 54 | G01* 55 | X3987800Y6451600D03* 56 | D13* 57 | G01* 58 | X4394212Y6451600D03* 59 | D14* 60 | G01* 61 | X4521200Y6451600D03* 62 | G01* 63 | X4648200Y6451600D03* 64 | D15* 65 | G01* 66 | X3187700Y3911600D03* 67 | G01* 68 | X901700Y3911600D03* 69 | G01* 70 | X3187700Y5689600D03* 71 | G01* 72 | X3187700Y5435600D03* 73 | G01* 74 | X3187700Y5181600D03* 75 | G01* 76 | X3187700Y4927600D03* 77 | G01* 78 | X3187700Y4673600D03* 79 | G01* 80 | X3187700Y4419600D03* 81 | G01* 82 | X3187700Y4165600D03* 83 | G01* 84 | X901700Y5689600D03* 85 | G01* 86 | X901700Y5435600D03* 87 | G01* 88 | X901700Y5181600D03* 89 | G01* 90 | X901700Y4927600D03* 91 | G01* 92 | X901700Y4673600D03* 93 | G01* 94 | X901700Y4419600D03* 95 | G01* 96 | X901700Y4165600D03* 97 | D16* 98 | G01* 99 | X904494Y8154923D03* 100 | G01* 101 | X904494Y6754876D03* 102 | D17* 103 | G01* 104 | X3184905Y8154923D03* 105 | G01* 106 | X3184905Y6754876D03* 107 | G01* 108 | X3184905Y7901762D03* 109 | G01* 110 | X3184905Y7008876D03* 111 | D18* 112 | G01* 113 | X3587089Y4965700D03* 114 | G01* 115 | X4617110Y4965700D03* 116 | G01* 117 | X3625189Y5816600D03* 118 | G01* 119 | X4655210Y5816600D03* 120 | G01* 121 | X3599789Y5397500D03* 122 | G01* 123 | X4629810Y5397500D03* 124 | D19* 125 | G01* 126 | X4364786Y3568700D03* 127 | G01* 128 | X4114800Y3568700D03* 129 | G01* 130 | X3864813Y3568700D03* 131 | M02* 132 | -------------------------------------------------------------------------------- /pcb/Gerber_DocumentLayer.GDL: -------------------------------------------------------------------------------- 1 | G04 Layer: DocumentLayer* 2 | G04 EasyEDA v6.5.47, 2024-10-06 10:13:02* 3 | G04 ffcbb33f17924234841025c486cc4069,e014b3835f5d4d88964e6d66dd9d747e,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 ,4 integer and 5 decimal * 8 | %FSLAX45Y45*% 9 | %MOMM*% 10 | 11 | %ADD10C,0.2540*% 12 | %ADD11C,0.3500*% 13 | %ADD12C,0.5000*% 14 | 15 | %LPD*% 16 | G36* 17 | X4441291Y8076692D02* 18 | G01* 19 | X4441291Y8046720D01* 20 | X4651298Y8046720D01* 21 | X4651298Y7726680D01* 22 | X4441291Y7726680D01* 23 | X4441291Y7696708D01* 24 | X4681321Y7696708D01* 25 | X4681321Y8076692D01* 26 | G37* 27 | G36* 28 | X3698290Y6371590D02* 29 | G01* 30 | X3698290Y6351625D01* 31 | X4023309Y6351625D01* 32 | X4023309Y6371590D01* 33 | G37* 34 | G36* 35 | X3857396Y6701688D02* 36 | G01* 37 | X3843832Y6701078D01* 38 | X3830320Y6699605D01* 39 | X3816959Y6697370D01* 40 | X3803700Y6694271D01* 41 | X3790696Y6690410D01* 42 | X3777945Y6685737D01* 43 | X3765499Y6680301D01* 44 | X3753408Y6674103D01* 45 | X3741724Y6667195D01* 46 | X3730498Y6659575D01* 47 | X3719728Y6651294D01* 48 | X3709466Y6642353D01* 49 | X3699814Y6632854D01* 50 | X3690721Y6622745D01* 51 | X3682288Y6612128D01* 52 | X3678275Y6606590D01* 53 | X4043324Y6606590D01* 54 | X4035196Y6617512D01* 55 | X4026408Y6627875D01* 56 | X4017060Y6637680D01* 57 | X4007104Y6646925D01* 58 | X3996588Y6655511D01* 59 | X3985564Y6663486D01* 60 | X3974084Y6670751D01* 61 | X3962196Y6677304D01* 62 | X3949903Y6683095D01* 63 | X3943654Y6685737D01* 64 | X3930904Y6690410D01* 65 | X3917899Y6694271D01* 66 | X3904640Y6697370D01* 67 | X3891279Y6699605D01* 68 | X3877767Y6701078D01* 69 | X3864203Y6701688D01* 70 | G37* 71 | G36* 72 | X4358690Y6371590D02* 73 | G01* 74 | X4358690Y6351625D01* 75 | X4683709Y6351625D01* 76 | X4683709Y6371590D01* 77 | G37* 78 | G36* 79 | X4517796Y6701688D02* 80 | G01* 81 | X4504232Y6701078D01* 82 | X4490720Y6699605D01* 83 | X4477359Y6697370D01* 84 | X4464100Y6694271D01* 85 | X4451096Y6690410D01* 86 | X4438345Y6685737D01* 87 | X4425899Y6680301D01* 88 | X4413808Y6674103D01* 89 | X4402124Y6667195D01* 90 | X4390898Y6659575D01* 91 | X4380128Y6651294D01* 92 | X4369866Y6642353D01* 93 | X4360214Y6632854D01* 94 | X4351121Y6622745D01* 95 | X4342688Y6612128D01* 96 | X4338675Y6606590D01* 97 | X4703724Y6606590D01* 98 | X4695596Y6617512D01* 99 | X4686808Y6627875D01* 100 | X4677460Y6637680D01* 101 | X4667504Y6646925D01* 102 | X4656988Y6655511D01* 103 | X4645964Y6663486D01* 104 | X4634484Y6670751D01* 105 | X4622596Y6677304D01* 106 | X4610303Y6683095D01* 107 | X4604054Y6685737D01* 108 | X4591304Y6690410D01* 109 | X4578299Y6694271D01* 110 | X4565040Y6697370D01* 111 | X4551680Y6699605D01* 112 | X4538167Y6701078D01* 113 | X4524603Y6701688D01* 114 | G37* 115 | G36* 116 | X1015390Y3538169D02* 117 | G01* 118 | X1012952Y3537559D01* 119 | X1010869Y3536187D01* 120 | X1009294Y3534206D01* 121 | X1008481Y3531870D01* 122 | X1008481Y3046730D01* 123 | X1009294Y3044393D01* 124 | X1010869Y3042412D01* 125 | X1012952Y3041040D01* 126 | X1015390Y3040430D01* 127 | X1017879Y3040634D01* 128 | X1020165Y3041650D01* 129 | X1021994Y3043326D01* 130 | X1023162Y3045510D01* 131 | X1023518Y3046730D01* 132 | X1023518Y3531870D01* 133 | X1022705Y3534206D01* 134 | X1021130Y3536187D01* 135 | X1019048Y3537559D01* 136 | X1016609Y3538169D01* 137 | G37* 138 | G36* 139 | X795070Y3743909D02* 140 | G01* 141 | X781354Y3743451D01* 142 | X767689Y3742232D01* 143 | X759663Y3741013D01* 144 | X758494Y3740556D01* 145 | X756462Y3739032D01* 146 | X755091Y3736949D01* 147 | X754430Y3734562D01* 148 | X754583Y3732072D01* 149 | X755548Y3729736D01* 150 | X757224Y3727856D01* 151 | X759409Y3726637D01* 152 | X761898Y3726179D01* 153 | X769721Y3727196D01* 154 | X782980Y3728364D01* 155 | X796290Y3728669D01* 156 | X809599Y3728212D01* 157 | X822858Y3726891D01* 158 | X835964Y3724757D01* 159 | X848969Y3721811D01* 160 | X861720Y3718051D01* 161 | X874217Y3713479D01* 162 | X886460Y3708196D01* 163 | X898296Y3702151D01* 164 | X909726Y3695344D01* 165 | X920750Y3687876D01* 166 | X931265Y3679698D01* 167 | X941273Y3670909D01* 168 | X950721Y3661511D01* 169 | X959510Y3651554D01* 170 | X967689Y3641090D01* 171 | X975207Y3630117D01* 172 | X982065Y3618687D01* 173 | X988161Y3606850D01* 174 | X993495Y3594658D01* 175 | X998067Y3582162D01* 176 | X1000099Y3575812D01* 177 | X1003503Y3562959D01* 178 | X1006043Y3549904D01* 179 | X1007821Y3536696D01* 180 | X1008634Y3528822D01* 181 | X1008989Y3527602D01* 182 | X1010361Y3525520D01* 183 | X1012291Y3523945D01* 184 | X1014679Y3523132D01* 185 | X1015898Y3522979D01* 186 | X1018387Y3523386D01* 187 | X1020622Y3524554D01* 188 | X1022299Y3526383D01* 189 | X1023366Y3528669D01* 190 | X1023569Y3531158D01* 191 | X1022197Y3544824D01* 192 | X1019962Y3558387D01* 193 | X1018590Y3565093D01* 194 | X1015187Y3578402D01* 195 | X1010970Y3591458D01* 196 | X1005992Y3604260D01* 197 | X1000252Y3616756D01* 198 | X993749Y3628847D01* 199 | X986536Y3640582D01* 200 | X982726Y3646271D01* 201 | X974496Y3657244D01* 202 | X965606Y3667760D01* 203 | X956157Y3677716D01* 204 | X946099Y3687064D01* 205 | X935482Y3695801D01* 206 | X924407Y3703929D01* 207 | X912825Y3711295D01* 208 | X900836Y3718001D01* 209 | X888441Y3723995D01* 210 | X875741Y3729228D01* 211 | X862736Y3733647D01* 212 | X849528Y3737305D01* 213 | X842822Y3738879D01* 214 | X829310Y3741318D01* 215 | X815644Y3742944D01* 216 | X801979Y3743807D01* 217 | G37* 218 | G36* 219 | X4203700Y3670300D02* 220 | G01* 221 | X4203700Y3454400D01* 222 | X4229100Y3454400D01* 223 | X4229100Y3670300D01* 224 | G37* 225 | G36* 226 | X3962400Y3695700D02* 227 | G01* 228 | X3962400Y3441700D01* 229 | X4254500Y3441700D01* 230 | X4254500Y3467100D01* 231 | X3987800Y3467100D01* 232 | X3987800Y3670300D01* 233 | X4279900Y3670300D01* 234 | X4279900Y3695700D01* 235 | G37* 236 | G36* 237 | X4279900Y3683000D02* 238 | G01* 239 | X4267200Y3670300D01* 240 | X4254500Y3670300D01* 241 | X4254500Y3441700D01* 242 | X4279900Y3441700D01* 243 | G37* 244 | D10* 245 | X1197990Y7117816D02* 246 | G01* 247 | X1197990Y7237196D01* 248 | X768730Y7798562D02* 249 | G01* 250 | X768730Y7117816D01* 251 | X1058290Y7679156D02* 252 | G01* 253 | X1058290Y7237196D01* 254 | X1058290Y7237196D02* 255 | G01* 256 | X1197990Y7237196D01* 257 | X1058290Y7679156D02* 258 | G01* 259 | X1197990Y7679156D01* 260 | X1197990Y7798562D02* 261 | G01* 262 | X1197990Y7679156D01* 263 | D11* 264 | G75* 265 | G01 266 | X4303827Y7776693D02* 267 | G03X4303827Y7776693I-17501J0D01* 268 | G75* 269 | G01 270 | X4303827Y7996707D02* 271 | G03X4303827Y7996707I-17501J0D01* 272 | D12* 273 | G75* 274 | G01 275 | X3326994Y5676900D02* 276 | G03X3326994Y5676900I-24994J0D01* 277 | M02* 278 | -------------------------------------------------------------------------------- /pcb/Gerber_TopLayer.GTL: -------------------------------------------------------------------------------- 1 | G04 Layer: TopLayer* 2 | G04 EasyEDA v6.5.47, 2024-10-06 10:13:02* 3 | G04 ffcbb33f17924234841025c486cc4069,e014b3835f5d4d88964e6d66dd9d747e,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 ,4 integer and 5 decimal * 8 | %FSLAX45Y45*% 9 | %MOMM*% 10 | 11 | %ADD10C,0.2032*% 12 | %ADD11C,0.1500*% 13 | %ADD12C,0.2540*% 14 | %ADD13R,1.8000X2.0500*% 15 | %ADD14C,1.8000*% 16 | %ADD15R,2.0000X2.0000*% 17 | %ADD16C,2.0000*% 18 | %ADD17R,1.0000X1.2000*% 19 | %ADD18O,0.9999979999999999X1.1999976*% 20 | %ADD19C,1.5080*% 21 | %ADD20R,1.8000X1.8000*% 22 | %ADD21C,1.5240*% 23 | %ADD22C,0.0100*% 24 | 25 | %LPD*% 26 | D10* 27 | X4267200Y6234937D02* 28 | G01* 29 | X4267200Y6139434D01* 30 | X4267200Y6234937D02* 31 | G01* 32 | X4308093Y6234937D01* 33 | X4321809Y6230365D01* 34 | X4326381Y6225794D01* 35 | X4330954Y6216904D01* 36 | X4330954Y6207760D01* 37 | X4326381Y6198615D01* 38 | X4321809Y6194044D01* 39 | X4308093Y6189471D01* 40 | X4267200Y6189471D02* 41 | G01* 42 | X4308093Y6189471D01* 43 | X4321809Y6184900D01* 44 | X4326381Y6180581D01* 45 | X4330954Y6171437D01* 46 | X4330954Y6157721D01* 47 | X4326381Y6148578D01* 48 | X4321809Y6144005D01* 49 | X4308093Y6139434D01* 50 | X4267200Y6139434D01* 51 | X4428997Y6212331D02* 52 | G01* 53 | X4424425Y6221476D01* 54 | X4415281Y6230365D01* 55 | X4406391Y6234937D01* 56 | X4388104Y6234937D01* 57 | X4378959Y6230365D01* 58 | X4369815Y6221476D01* 59 | X4365497Y6212331D01* 60 | X4360925Y6198615D01* 61 | X4360925Y6176010D01* 62 | X4365497Y6162294D01* 63 | X4369815Y6153150D01* 64 | X4378959Y6144005D01* 65 | X4388104Y6139434D01* 66 | X4406391Y6139434D01* 67 | X4415281Y6144005D01* 68 | X4424425Y6153150D01* 69 | X4428997Y6162294D01* 70 | X4504436Y6234937D02* 71 | G01* 72 | X4458970Y6171437D01* 73 | X4527295Y6171437D01* 74 | X4504436Y6234937D02* 75 | G01* 76 | X4504436Y6139434D01* 77 | X4611624Y6234937D02* 78 | G01* 79 | X4566411Y6234937D01* 80 | X4561840Y6194044D01* 81 | X4566411Y6198615D01* 82 | X4579874Y6203187D01* 83 | X4593590Y6203187D01* 84 | X4607306Y6198615D01* 85 | X4616195Y6189471D01* 86 | X4620768Y6176010D01* 87 | X4620768Y6166865D01* 88 | X4616195Y6153150D01* 89 | X4607306Y6144005D01* 90 | X4593590Y6139434D01* 91 | X4579874Y6139434D01* 92 | X4566411Y6144005D01* 93 | X4561840Y6148578D01* 94 | X4557268Y6157721D01* 95 | X4714493Y6234937D02* 96 | G01* 97 | X4669027Y6139434D01* 98 | X4650740Y6234937D02* 99 | G01* 100 | X4714493Y6234937D01* 101 | X3644900Y6234937D02* 102 | G01* 103 | X3644900Y6139434D01* 104 | X3644900Y6234937D02* 105 | G01* 106 | X3685793Y6234937D01* 107 | X3699509Y6230365D01* 108 | X3704081Y6225794D01* 109 | X3708654Y6216904D01* 110 | X3708654Y6207760D01* 111 | X3704081Y6198615D01* 112 | X3699509Y6194044D01* 113 | X3685793Y6189471D01* 114 | X3644900Y6189471D02* 115 | G01* 116 | X3685793Y6189471D01* 117 | X3699509Y6184900D01* 118 | X3704081Y6180581D01* 119 | X3708654Y6171437D01* 120 | X3708654Y6157721D01* 121 | X3704081Y6148578D01* 122 | X3699509Y6144005D01* 123 | X3685793Y6139434D01* 124 | X3644900Y6139434D01* 125 | X3806697Y6212331D02* 126 | G01* 127 | X3802125Y6221476D01* 128 | X3792981Y6230365D01* 129 | X3784091Y6234937D01* 130 | X3765804Y6234937D01* 131 | X3756659Y6230365D01* 132 | X3747515Y6221476D01* 133 | X3743197Y6212331D01* 134 | X3738625Y6198615D01* 135 | X3738625Y6176010D01* 136 | X3743197Y6162294D01* 137 | X3747515Y6153150D01* 138 | X3756659Y6144005D01* 139 | X3765804Y6139434D01* 140 | X3784091Y6139434D01* 141 | X3792981Y6144005D01* 142 | X3802125Y6153150D01* 143 | X3806697Y6162294D01* 144 | X3882136Y6234937D02* 145 | G01* 146 | X3836670Y6171437D01* 147 | X3904995Y6171437D01* 148 | X3882136Y6234937D02* 149 | G01* 150 | X3882136Y6139434D01* 151 | X3989324Y6234937D02* 152 | G01* 153 | X3944111Y6234937D01* 154 | X3939540Y6194044D01* 155 | X3944111Y6198615D01* 156 | X3957574Y6203187D01* 157 | X3971290Y6203187D01* 158 | X3985006Y6198615D01* 159 | X3993895Y6189471D01* 160 | X3998468Y6176010D01* 161 | X3998468Y6166865D01* 162 | X3993895Y6153150D01* 163 | X3985006Y6144005D01* 164 | X3971290Y6139434D01* 165 | X3957574Y6139434D01* 166 | X3944111Y6144005D01* 167 | X3939540Y6148578D01* 168 | X3934968Y6157721D01* 169 | X4092193Y6234937D02* 170 | G01* 171 | X4046727Y6139434D01* 172 | X4028440Y6234937D02* 173 | G01* 174 | X4092193Y6234937D01* 175 | D11* 176 | X3886200Y5840476D02* 177 | G01* 178 | X3893058Y5844031D01* 179 | X3903218Y5854192D01* 180 | X3903218Y5782563D01* 181 | X3966718Y5854192D02* 182 | G01* 183 | X3932681Y5854192D01* 184 | X3929125Y5823457D01* 185 | X3932681Y5827013D01* 186 | X3942841Y5830315D01* 187 | X3953002Y5830315D01* 188 | X3963161Y5827013D01* 189 | X3970020Y5820155D01* 190 | X3973575Y5809742D01* 191 | X3973575Y5803137D01* 192 | X3970020Y5792723D01* 193 | X3963161Y5786120D01* 194 | X3953002Y5782563D01* 195 | X3942841Y5782563D01* 196 | X3932681Y5786120D01* 197 | X3929125Y5789421D01* 198 | X3925824Y5796279D01* 199 | X4016502Y5854192D02* 200 | G01* 201 | X4006088Y5850889D01* 202 | X3999484Y5840476D01* 203 | X3995927Y5823457D01* 204 | X3995927Y5813297D01* 205 | X3999484Y5796279D01* 206 | X4006088Y5786120D01* 207 | X4016502Y5782563D01* 208 | X4023359Y5782563D01* 209 | X4033520Y5786120D01* 210 | X4040377Y5796279D01* 211 | X4043679Y5813297D01* 212 | X4043679Y5823457D01* 213 | X4040377Y5840476D01* 214 | X4033520Y5850889D01* 215 | X4023359Y5854192D01* 216 | X4016502Y5854192D01* 217 | X4135627Y5830315D02* 218 | G01* 219 | X4129024Y5827013D01* 220 | X4122165Y5820155D01* 221 | X4118609Y5809742D01* 222 | X4118609Y5803137D01* 223 | X4122165Y5792723D01* 224 | X4129024Y5786120D01* 225 | X4135627Y5782563D01* 226 | X4146041Y5782563D01* 227 | X4152900Y5786120D01* 228 | X4159504Y5792723D01* 229 | X4163059Y5803137D01* 230 | X4163059Y5809742D01* 231 | X4159504Y5820155D01* 232 | X4152900Y5827013D01* 233 | X4146041Y5830315D01* 234 | X4135627Y5830315D01* 235 | X4185411Y5854192D02* 236 | G01* 237 | X4185411Y5782563D01* 238 | X4185411Y5816600D02* 239 | G01* 240 | X4195825Y5827013D01* 241 | X4202684Y5830315D01* 242 | X4212843Y5830315D01* 243 | X4219702Y5827013D01* 244 | X4223004Y5816600D01* 245 | X4223004Y5782563D01* 246 | X4245609Y5830315D02* 247 | G01* 248 | X4245609Y5782563D01* 249 | X4245609Y5816600D02* 250 | G01* 251 | X4255770Y5827013D01* 252 | X4262627Y5830315D01* 253 | X4272788Y5830315D01* 254 | X4279645Y5827013D01* 255 | X4282947Y5816600D01* 256 | X4282947Y5782563D01* 257 | X4282947Y5816600D02* 258 | G01* 259 | X4293361Y5827013D01* 260 | X4299965Y5830315D01* 261 | X4310379Y5830315D01* 262 | X4316984Y5827013D01* 263 | X4320540Y5816600D01* 264 | X4320540Y5782563D01* 265 | X3860800Y5421376D02* 266 | G01* 267 | X3867658Y5424931D01* 268 | X3877818Y5435092D01* 269 | X3877818Y5363463D01* 270 | X3941318Y5435092D02* 271 | G01* 272 | X3907281Y5435092D01* 273 | X3903725Y5404357D01* 274 | X3907281Y5407913D01* 275 | X3917441Y5411215D01* 276 | X3927602Y5411215D01* 277 | X3937761Y5407913D01* 278 | X3944620Y5401055D01* 279 | X3948175Y5390642D01* 280 | X3948175Y5384037D01* 281 | X3944620Y5373623D01* 282 | X3937761Y5367020D01* 283 | X3927602Y5363463D01* 284 | X3917441Y5363463D01* 285 | X3907281Y5367020D01* 286 | X3903725Y5370321D01* 287 | X3900424Y5377179D01* 288 | X3991102Y5435092D02* 289 | G01* 290 | X3980688Y5431789D01* 291 | X3974084Y5421376D01* 292 | X3970527Y5404357D01* 293 | X3970527Y5394197D01* 294 | X3974084Y5377179D01* 295 | X3980688Y5367020D01* 296 | X3991102Y5363463D01* 297 | X3997959Y5363463D01* 298 | X4008120Y5367020D01* 299 | X4014977Y5377179D01* 300 | X4018279Y5394197D01* 301 | X4018279Y5404357D01* 302 | X4014977Y5421376D01* 303 | X4008120Y5431789D01* 304 | X3997959Y5435092D01* 305 | X3991102Y5435092D01* 306 | X4110227Y5411215D02* 307 | G01* 308 | X4103624Y5407913D01* 309 | X4096765Y5401055D01* 310 | X4093209Y5390642D01* 311 | X4093209Y5384037D01* 312 | X4096765Y5373623D01* 313 | X4103624Y5367020D01* 314 | X4110227Y5363463D01* 315 | X4120641Y5363463D01* 316 | X4127500Y5367020D01* 317 | X4134104Y5373623D01* 318 | X4137659Y5384037D01* 319 | X4137659Y5390642D01* 320 | X4134104Y5401055D01* 321 | X4127500Y5407913D01* 322 | X4120641Y5411215D01* 323 | X4110227Y5411215D01* 324 | X4160011Y5435092D02* 325 | G01* 326 | X4160011Y5363463D01* 327 | X4160011Y5397500D02* 328 | G01* 329 | X4170425Y5407913D01* 330 | X4177284Y5411215D01* 331 | X4187443Y5411215D01* 332 | X4194302Y5407913D01* 333 | X4197604Y5397500D01* 334 | X4197604Y5363463D01* 335 | X4220209Y5411215D02* 336 | G01* 337 | X4220209Y5363463D01* 338 | X4220209Y5397500D02* 339 | G01* 340 | X4230370Y5407913D01* 341 | X4237227Y5411215D01* 342 | X4247388Y5411215D01* 343 | X4254245Y5407913D01* 344 | X4257547Y5397500D01* 345 | X4257547Y5363463D01* 346 | X4257547Y5397500D02* 347 | G01* 348 | X4267961Y5407913D01* 349 | X4274565Y5411215D01* 350 | X4284979Y5411215D01* 351 | X4291584Y5407913D01* 352 | X4295140Y5397500D01* 353 | X4295140Y5363463D01* 354 | X3873500Y4976876D02* 355 | G01* 356 | X3880358Y4980431D01* 357 | X3890518Y4990592D01* 358 | X3890518Y4918963D01* 359 | X3930141Y4990592D02* 360 | G01* 361 | X3919981Y4987289D01* 362 | X3916425Y4980431D01* 363 | X3916425Y4973573D01* 364 | X3919981Y4966715D01* 365 | X3926586Y4963413D01* 366 | X3940302Y4959857D01* 367 | X3950461Y4956555D01* 368 | X3957320Y4949697D01* 369 | X3960875Y4942839D01* 370 | X3960875Y4932679D01* 371 | X3957320Y4925821D01* 372 | X3954018Y4922520D01* 373 | X3943604Y4918963D01* 374 | X3930141Y4918963D01* 375 | X3919981Y4922520D01* 376 | X3916425Y4925821D01* 377 | X3913124Y4932679D01* 378 | X3913124Y4942839D01* 379 | X3916425Y4949697D01* 380 | X3923284Y4956555D01* 381 | X3933443Y4959857D01* 382 | X3947159Y4963413D01* 383 | X3954018Y4966715D01* 384 | X3957320Y4973573D01* 385 | X3957320Y4980431D01* 386 | X3954018Y4987289D01* 387 | X3943604Y4990592D01* 388 | X3930141Y4990592D01* 389 | X4003802Y4990592D02* 390 | G01* 391 | X3993388Y4987289D01* 392 | X3986784Y4976876D01* 393 | X3983227Y4959857D01* 394 | X3983227Y4949697D01* 395 | X3986784Y4932679D01* 396 | X3993388Y4922520D01* 397 | X4003802Y4918963D01* 398 | X4010659Y4918963D01* 399 | X4020820Y4922520D01* 400 | X4027677Y4932679D01* 401 | X4030979Y4949697D01* 402 | X4030979Y4959857D01* 403 | X4027677Y4976876D01* 404 | X4020820Y4987289D01* 405 | X4010659Y4990592D01* 406 | X4003802Y4990592D01* 407 | X4122927Y4966715D02* 408 | G01* 409 | X4116324Y4963413D01* 410 | X4109465Y4956555D01* 411 | X4105909Y4946142D01* 412 | X4105909Y4939537D01* 413 | X4109465Y4929123D01* 414 | X4116324Y4922520D01* 415 | X4122927Y4918963D01* 416 | X4133341Y4918963D01* 417 | X4140200Y4922520D01* 418 | X4146804Y4929123D01* 419 | X4150359Y4939537D01* 420 | X4150359Y4946142D01* 421 | X4146804Y4956555D01* 422 | X4140200Y4963413D01* 423 | X4133341Y4966715D01* 424 | X4122927Y4966715D01* 425 | X4172711Y4990592D02* 426 | G01* 427 | X4172711Y4918963D01* 428 | X4172711Y4953000D02* 429 | G01* 430 | X4183125Y4963413D01* 431 | X4189984Y4966715D01* 432 | X4200143Y4966715D01* 433 | X4207002Y4963413D01* 434 | X4210304Y4953000D01* 435 | X4210304Y4918963D01* 436 | X4232909Y4966715D02* 437 | G01* 438 | X4232909Y4918963D01* 439 | X4232909Y4953000D02* 440 | G01* 441 | X4243070Y4963413D01* 442 | X4249927Y4966715D01* 443 | X4260088Y4966715D01* 444 | X4266945Y4963413D01* 445 | X4270247Y4953000D01* 446 | X4270247Y4918963D01* 447 | X4270247Y4953000D02* 448 | G01* 449 | X4280661Y4963413D01* 450 | X4287265Y4966715D01* 451 | X4297679Y4966715D01* 452 | X4304284Y4963413D01* 453 | X4307840Y4953000D01* 454 | X4307840Y4918963D01* 455 | X3752088Y8200897D02* 456 | G01* 457 | X3752088Y8037321D01* 458 | X3670300Y8119110D02* 459 | G01* 460 | X3833875Y8119110D01* 461 | D12* 462 | X3184906Y7008876D02* 463 | G01* 464 | X3302812Y7008876D01* 465 | X3302812Y7008876D02* 466 | G01* 467 | X3302812Y7038339D01* 468 | X3908679Y7644206D01* 469 | X4051300Y7644206D01* 470 | X3733800Y6451600D02* 471 | G01* 472 | X3733800Y6959600D01* 473 | X3911600Y7137400D01* 474 | X4364812Y3568700D02* 475 | G01* 476 | X4364812Y4335475D01* 477 | X3825214Y4875072D01* 478 | X3825214Y5864377D01* 479 | X3956329Y5995492D01* 480 | X4021658Y5995492D01* 481 | X4130446Y6104280D01* 482 | X4130446Y6308953D01* 483 | X3987800Y6451600D01* 484 | X3184906Y6754876D02* 485 | G01* 486 | X3184906Y6636969D01* 487 | X4114800Y3568700D02* 488 | G01* 489 | X4114800Y3892880D01* 490 | X3302812Y4704867D01* 491 | X3302812Y6519062D01* 492 | X3184906Y6636969D01* 493 | X4051300Y8129193D02* 494 | G01* 495 | X3933393Y8129193D01* 496 | X3184906Y7901762D02* 497 | G01* 498 | X3764915Y7901762D01* 499 | X3933393Y8070240D01* 500 | X3933393Y8129193D01* 501 | X4051300Y8129193D02* 502 | G01* 503 | X4169232Y8129193D01* 504 | X4617110Y4965700D02* 505 | G01* 506 | X4356125Y5226685D01* 507 | X4356125Y5888634D01* 508 | X4189907Y6054852D01* 509 | X4189907Y8108518D01* 510 | X4169232Y8129193D01* 511 | X4394200Y6451600D02* 512 | G01* 513 | X4394200Y6959600D01* 514 | X4572000Y7137400D01* 515 | X4629810Y5397500D02* 516 | G01* 517 | X4770526Y5538215D01* 518 | X4770526Y6238925D01* 519 | X4656581Y6352870D01* 520 | X4619929Y6352870D01* 521 | X4521200Y6451600D01* 522 | X3184906Y8154923D02* 523 | G01* 524 | X3184906Y8037017D01* 525 | X3184906Y8037017D02* 526 | G01* 527 | X3096488Y8037017D01* 528 | X3066821Y8007350D01* 529 | X3066821Y6898182D01* 530 | X3074212Y6890791D01* 531 | X3286531Y6890791D01* 532 | X3437813Y6739509D01* 533 | X3437813Y4788585D01* 534 | X3679799Y4546600D01* 535 | X904494Y8154923D02* 536 | G01* 537 | X904494Y8037017D01* 538 | X904494Y8037017D02* 539 | G01* 540 | X2958566Y5982944D01* 541 | X2958566Y4754676D01* 542 | X3166643Y4546600D01* 543 | X3222599Y4546600D01* 544 | X3692499Y4076700D01* 545 | D13* 546 | G01* 547 | X4051325Y8129193D03* 548 | G01* 549 | X4051325Y7644206D03* 550 | D14* 551 | G01* 552 | X3679799Y4546600D03* 553 | G01* 554 | X4549800Y4546600D03* 555 | G01* 556 | X3692499Y4076700D03* 557 | G01* 558 | X4562500Y4076700D03* 559 | D15* 560 | G01* 561 | X3657600Y7137400D03* 562 | D16* 563 | G01* 564 | X3911600Y7137400D03* 565 | D15* 566 | G01* 567 | X4318000Y7137400D03* 568 | D16* 569 | G01* 570 | X4572000Y7137400D03* 571 | D17* 572 | G01* 573 | X3733800Y6451600D03* 574 | D18* 575 | G01* 576 | X3860800Y6451600D03* 577 | G01* 578 | X3987800Y6451600D03* 579 | D17* 580 | G01* 581 | X4394200Y6451600D03* 582 | D18* 583 | G01* 584 | X4521200Y6451600D03* 585 | G01* 586 | X4648200Y6451600D03* 587 | D19* 588 | G01* 589 | X3187700Y3911600D03* 590 | G01* 591 | X901700Y3911600D03* 592 | G01* 593 | X3187700Y5689600D03* 594 | G01* 595 | X3187700Y5435600D03* 596 | G01* 597 | X3187700Y5181600D03* 598 | G01* 599 | X3187700Y4927600D03* 600 | G01* 601 | X3187700Y4673600D03* 602 | G01* 603 | X3187700Y4419600D03* 604 | G01* 605 | X3187700Y4165600D03* 606 | G01* 607 | X901700Y5689600D03* 608 | G01* 609 | X901700Y5435600D03* 610 | G01* 611 | X901700Y5181600D03* 612 | G01* 613 | X901700Y4927600D03* 614 | G01* 615 | X901700Y4673600D03* 616 | G01* 617 | X901700Y4419600D03* 618 | G01* 619 | X901700Y4165600D03* 620 | D20* 621 | G01* 622 | X904494Y8154923D03* 623 | G01* 624 | X904494Y6754876D03* 625 | G01* 626 | X3184906Y8154923D03* 627 | G01* 628 | X3184906Y6754876D03* 629 | G01* 630 | X3184906Y7901762D03* 631 | G01* 632 | X3184906Y7008876D03* 633 | D21* 634 | G01* 635 | X3587089Y4965700D03* 636 | G01* 637 | X4617110Y4965700D03* 638 | G01* 639 | X3625189Y5816600D03* 640 | G01* 641 | X4655210Y5816600D03* 642 | G01* 643 | X3599789Y5397500D03* 644 | G01* 645 | X4629810Y5397500D03* 646 | G01* 647 | X4364786Y3568700D03* 648 | G01* 649 | X4114800Y3568700D03* 650 | G01* 651 | X3864813Y3568700D03* 652 | M02* 653 | -------------------------------------------------------------------------------- /pcb/Gerber_TopPasteMaskLayer.GTP: -------------------------------------------------------------------------------- 1 | G04 Layer: TopPasteMaskLayer* 2 | G04 EasyEDA v6.5.47, 2024-10-06 10:13:02* 3 | G04 ffcbb33f17924234841025c486cc4069,e014b3835f5d4d88964e6d66dd9d747e,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 ,4 integer and 5 decimal * 8 | %FSLAX45Y45*% 9 | %MOMM*% 10 | 11 | %ADD10R,1.8000X2.0500*% 12 | 13 | %LPD*% 14 | D10* 15 | G01* 16 | X4051325Y8129193D03* 17 | G01* 18 | X4051325Y7644206D03* 19 | M02* 20 | -------------------------------------------------------------------------------- /pcb/Gerber_TopSilkscreenLayer.GTO: -------------------------------------------------------------------------------- 1 | G04 Layer: TopSilkscreenLayer* 2 | G04 EasyEDA v6.5.47, 2024-10-06 10:13:02* 3 | G04 ffcbb33f17924234841025c486cc4069,e014b3835f5d4d88964e6d66dd9d747e,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 ,4 integer and 5 decimal * 8 | %FSLAX45Y45*% 9 | %MOMM*% 10 | 11 | %ADD10C,0.1524*% 12 | %ADD11C,0.1219*% 13 | %ADD12C,0.1422*% 14 | %ADD13C,0.0813*% 15 | %ADD14C,0.1016*% 16 | %ADD15C,0.2032*% 17 | %ADD16C,0.2540*% 18 | %ADD17C,0.2030*% 19 | %ADD18C,0.1520*% 20 | %ADD19C,0.1270*% 21 | %ADD20C,0.0159*% 22 | 23 | %LPD*% 24 | D10* 25 | X4099306Y4852415D02* 26 | G01* 27 | X4099306Y4743450D01* 28 | X4099306Y4852415D02* 29 | G01* 30 | X4135627Y4852415D01* 31 | X4151375Y4847336D01* 32 | X4161536Y4836921D01* 33 | X4166870Y4826507D01* 34 | X4171950Y4810760D01* 35 | X4171950Y4784852D01* 36 | X4166870Y4769357D01* 37 | X4161536Y4758944D01* 38 | X4151375Y4748529D01* 39 | X4135627Y4743450D01* 40 | X4099306Y4743450D01* 41 | X4206240Y4831587D02* 42 | G01* 43 | X4216654Y4836921D01* 44 | X4232402Y4852415D01* 45 | X4232402Y4743450D01* 46 | X4112006Y4382515D02* 47 | G01* 48 | X4112006Y4273550D01* 49 | X4112006Y4382515D02* 50 | G01* 51 | X4148327Y4382515D01* 52 | X4164075Y4377436D01* 53 | X4174236Y4367021D01* 54 | X4179570Y4356607D01* 55 | X4184650Y4340860D01* 56 | X4184650Y4314952D01* 57 | X4179570Y4299457D01* 58 | X4174236Y4289044D01* 59 | X4164075Y4278629D01* 60 | X4148327Y4273550D01* 61 | X4112006Y4273550D01* 62 | X4224274Y4356607D02* 63 | G01* 64 | X4224274Y4361687D01* 65 | X4229354Y4372102D01* 66 | X4234688Y4377436D01* 67 | X4245102Y4382515D01* 68 | X4265675Y4382515D01* 69 | X4276090Y4377436D01* 70 | X4281424Y4372102D01* 71 | X4286504Y4361687D01* 72 | X4286504Y4351273D01* 73 | X4281424Y4340860D01* 74 | X4271009Y4325365D01* 75 | X4218940Y4273550D01* 76 | X4291838Y4273550D01* 77 | X3789197Y7861274D02* 78 | G01* 79 | X3898163Y7861274D01* 80 | X3789197Y7861274D02* 81 | G01* 82 | X3789197Y7908010D01* 83 | X3794277Y7923758D01* 84 | X3799611Y7928838D01* 85 | X3810025Y7933918D01* 86 | X3820439Y7933918D01* 87 | X3830853Y7928838D01* 88 | X3835933Y7923758D01* 89 | X3841013Y7908010D01* 90 | X3841013Y7861274D02* 91 | G01* 92 | X3841013Y7908010D01* 93 | X3846347Y7923758D01* 94 | X3851427Y7928838D01* 95 | X3861841Y7933918D01* 96 | X3877589Y7933918D01* 97 | X3888003Y7928838D01* 98 | X3893083Y7923758D01* 99 | X3898163Y7908010D01* 100 | X3898163Y7861274D01* 101 | X3789197Y8009864D02* 102 | G01* 103 | X3898163Y7968208D01* 104 | X3789197Y8009864D02* 105 | G01* 106 | X3898163Y8051520D01* 107 | X3861841Y7983956D02* 108 | G01* 109 | X3861841Y8035772D01* 110 | X3789197Y8122132D02* 111 | G01* 112 | X3898163Y8122132D01* 113 | X3789197Y8085810D02* 114 | G01* 115 | X3789197Y8158454D01* 116 | X3789197Y8229066D02* 117 | G01* 118 | X3898163Y8229066D01* 119 | X3789197Y8192744D02* 120 | G01* 121 | X3789197Y8265388D01* 122 | X3771900Y7392415D02* 123 | G01* 124 | X3771900Y7283450D01* 125 | X3844543Y7392415D02* 126 | G01* 127 | X3844543Y7283450D01* 128 | X3771900Y7340600D02* 129 | G01* 130 | X3844543Y7340600D01* 131 | X3878834Y7371587D02* 132 | G01* 133 | X3889247Y7376921D01* 134 | X3904995Y7392415D01* 135 | X3904995Y7283450D01* 136 | X4432300Y7392415D02* 137 | G01* 138 | X4432300Y7283450D01* 139 | X4504943Y7392415D02* 140 | G01* 141 | X4504943Y7283450D01* 142 | X4432300Y7340600D02* 143 | G01* 144 | X4504943Y7340600D01* 145 | X4544568Y7366508D02* 146 | G01* 147 | X4544568Y7371587D01* 148 | X4549647Y7382002D01* 149 | X4554981Y7387336D01* 150 | X4565395Y7392415D01* 151 | X4585970Y7392415D01* 152 | X4596384Y7387336D01* 153 | X4601718Y7382002D01* 154 | X4606797Y7371587D01* 155 | X4606797Y7361173D01* 156 | X4601718Y7350760D01* 157 | X4591304Y7335265D01* 158 | X4539234Y7283450D01* 159 | X4612131Y7283450D01* 160 | X3889857Y6871563D02* 161 | G01* 162 | X3879443Y6866483D01* 163 | X3869029Y6856069D01* 164 | X3863695Y6845655D01* 165 | X3858615Y6829907D01* 166 | X3858615Y6803999D01* 167 | X3863695Y6788505D01* 168 | X3869029Y6778091D01* 169 | X3879443Y6767677D01* 170 | X3889857Y6762597D01* 171 | X3910685Y6762597D01* 172 | X3920845Y6767677D01* 173 | X3931259Y6778091D01* 174 | X3936593Y6788505D01* 175 | X3941673Y6803999D01* 176 | X3941673Y6829907D01* 177 | X3936593Y6845655D01* 178 | X3931259Y6856069D01* 179 | X3920845Y6866483D01* 180 | X3910685Y6871563D01* 181 | X3889857Y6871563D01* 182 | X3905351Y6783171D02* 183 | G01* 184 | X3936593Y6752183D01* 185 | X3975963Y6850735D02* 186 | G01* 187 | X3986377Y6856069D01* 188 | X4002125Y6871563D01* 189 | X4002125Y6762597D01* 190 | X4550257Y6871563D02* 191 | G01* 192 | X4539843Y6866483D01* 193 | X4529429Y6856069D01* 194 | X4524095Y6845655D01* 195 | X4519015Y6829907D01* 196 | X4519015Y6803999D01* 197 | X4524095Y6788505D01* 198 | X4529429Y6778091D01* 199 | X4539843Y6767677D01* 200 | X4550257Y6762597D01* 201 | X4571085Y6762597D01* 202 | X4581245Y6767677D01* 203 | X4591659Y6778091D01* 204 | X4596993Y6788505D01* 205 | X4602073Y6803999D01* 206 | X4602073Y6829907D01* 207 | X4596993Y6845655D01* 208 | X4591659Y6856069D01* 209 | X4581245Y6866483D01* 210 | X4571085Y6871563D01* 211 | X4550257Y6871563D01* 212 | X4565751Y6783171D02* 213 | G01* 214 | X4596993Y6752183D01* 215 | X4641697Y6845655D02* 216 | G01* 217 | X4641697Y6850735D01* 218 | X4646777Y6861149D01* 219 | X4652111Y6866483D01* 220 | X4662525Y6871563D01* 221 | X4683099Y6871563D01* 222 | X4693513Y6866483D01* 223 | X4698847Y6861149D01* 224 | X4703927Y6850735D01* 225 | X4703927Y6840321D01* 226 | X4698847Y6829907D01* 227 | X4688433Y6814413D01* 228 | X4636363Y6762597D01* 229 | X4709261Y6762597D01* 230 | X2019300Y6630415D02* 231 | G01* 232 | X2019300Y6552437D01* 233 | X2024379Y6536944D01* 234 | X2034793Y6526529D01* 235 | X2050541Y6521450D01* 236 | X2060956Y6521450D01* 237 | X2076450Y6526529D01* 238 | X2086863Y6536944D01* 239 | X2091943Y6552437D01* 240 | X2091943Y6630415D01* 241 | X2126234Y6609587D02* 242 | G01* 243 | X2136647Y6614921D01* 244 | X2152395Y6630415D01* 245 | X2152395Y6521450D01* 246 | D11* 247 | X1620012Y6325870D02* 248 | G01* 249 | X1564639Y6180581D01* 250 | X1620012Y6325870D02* 251 | G01* 252 | X1675384Y6180581D01* 253 | X1585468Y6229095D02* 254 | G01* 255 | X1654810Y6229095D01* 256 | X1721104Y6325870D02* 257 | G01* 258 | X1721104Y6180581D01* 259 | X1721104Y6325870D02* 260 | G01* 261 | X1818131Y6180581D01* 262 | X1818131Y6325870D02* 263 | G01* 264 | X1818131Y6180581D01* 265 | X1912365Y6325870D02* 266 | G01* 267 | X1912365Y6180581D01* 268 | X1863852Y6325870D02* 269 | G01* 270 | X1960879Y6325870D01* 271 | X2006600Y6325870D02* 272 | G01* 273 | X2006600Y6180581D01* 274 | X2006600Y6325870D02* 275 | G01* 276 | X2096770Y6325870D01* 277 | X2006600Y6256781D02* 278 | G01* 279 | X2061972Y6256781D01* 280 | X2006600Y6180581D02* 281 | G01* 282 | X2096770Y6180581D01* 283 | X2142490Y6325870D02* 284 | G01* 285 | X2142490Y6180581D01* 286 | X2142490Y6325870D02* 287 | G01* 288 | X2239263Y6180581D01* 289 | X2239263Y6325870D02* 290 | G01* 291 | X2239263Y6180581D01* 292 | X2284984Y6325870D02* 293 | G01* 294 | X2284984Y6180581D01* 295 | X2284984Y6325870D02* 296 | G01* 297 | X2382011Y6180581D01* 298 | X2382011Y6325870D02* 299 | G01* 300 | X2382011Y6180581D01* 301 | X2483104Y6325870D02* 302 | G01* 303 | X2427731Y6180581D01* 304 | X2483104Y6325870D02* 305 | G01* 306 | X2538729Y6180581D01* 307 | X2448559Y6229095D02* 308 | G01* 309 | X2517902Y6229095D01* 310 | D12* 311 | X1484629Y4916423D02* 312 | G01* 313 | X1484629Y4746752D01* 314 | X1484629Y4916423D02* 315 | G01* 316 | X1541271Y4916423D01* 317 | X1565402Y4908550D01* 318 | X1581657Y4892294D01* 319 | X1589786Y4876037D01* 320 | X1597660Y4851907D01* 321 | X1597660Y4811521D01* 322 | X1589786Y4787137D01* 323 | X1581657Y4771136D01* 324 | X1565402Y4754879D01* 325 | X1541271Y4746752D01* 326 | X1484629Y4746752D01* 327 | X1651000Y4884165D02* 328 | G01* 329 | X1667255Y4892294D01* 330 | X1691639Y4916423D01* 331 | X1691639Y4746752D01* 332 | X1869439Y4860036D02* 333 | G01* 334 | X1869439Y4746752D01* 335 | X1869439Y4827523D02* 336 | G01* 337 | X1893570Y4851907D01* 338 | X1909826Y4860036D01* 339 | X1933956Y4860036D01* 340 | X1950211Y4851907D01* 341 | X1958340Y4827523D01* 342 | X1958340Y4746752D01* 343 | X1958340Y4827523D02* 344 | G01* 345 | X1982470Y4851907D01* 346 | X1998725Y4860036D01* 347 | X2022856Y4860036D01* 348 | X2039111Y4851907D01* 349 | X2047240Y4827523D01* 350 | X2047240Y4746752D01* 351 | X2100579Y4916423D02* 352 | G01* 353 | X2108454Y4908550D01* 354 | X2116581Y4916423D01* 355 | X2108454Y4924552D01* 356 | X2100579Y4916423D01* 357 | X2108454Y4860036D02* 358 | G01* 359 | X2108454Y4746752D01* 360 | X2169922Y4860036D02* 361 | G01* 362 | X2169922Y4746752D01* 363 | X2169922Y4827523D02* 364 | G01* 365 | X2194306Y4851907D01* 366 | X2210308Y4860036D01* 367 | X2234691Y4860036D01* 368 | X2250693Y4851907D01* 369 | X2258822Y4827523D01* 370 | X2258822Y4746752D01* 371 | X2312161Y4916423D02* 372 | G01* 373 | X2320290Y4908550D01* 374 | X2328418Y4916423D01* 375 | X2320290Y4924552D01* 376 | X2312161Y4916423D01* 377 | X2320290Y4860036D02* 378 | G01* 379 | X2320290Y4746752D01* 380 | D13* 381 | X1028700Y3506215D02* 382 | G01* 383 | X1028700Y3409187D01* 384 | X1028700Y3506215D02* 385 | G01* 386 | X1070355Y3506215D01* 387 | X1084071Y3501389D01* 388 | X1088644Y3496818D01* 389 | X1093470Y3487673D01* 390 | X1093470Y3478529D01* 391 | X1088644Y3469131D01* 392 | X1084071Y3464560D01* 393 | X1070355Y3459987D01* 394 | X1028700Y3459987D01* 395 | X1060957Y3459987D02* 396 | G01* 397 | X1093470Y3409187D01* 398 | X1123950Y3506215D02* 399 | G01* 400 | X1123950Y3409187D01* 401 | X1123950Y3506215D02* 402 | G01* 403 | X1183894Y3506215D01* 404 | X1123950Y3459987D02* 405 | G01* 406 | X1160779Y3459987D01* 407 | X1123950Y3409187D02* 408 | G01* 409 | X1183894Y3409187D01* 410 | X1278889Y3492245D02* 411 | G01* 412 | X1269745Y3501389D01* 413 | X1256029Y3506215D01* 414 | X1237487Y3506215D01* 415 | X1223518Y3501389D01* 416 | X1214373Y3492245D01* 417 | X1214373Y3483102D01* 418 | X1218945Y3473704D01* 419 | X1223518Y3469131D01* 420 | X1232915Y3464560D01* 421 | X1260602Y3455415D01* 422 | X1269745Y3450589D01* 423 | X1274318Y3446018D01* 424 | X1278889Y3436873D01* 425 | X1278889Y3422904D01* 426 | X1269745Y3413760D01* 427 | X1256029Y3409187D01* 428 | X1237487Y3409187D01* 429 | X1223518Y3413760D01* 430 | X1214373Y3422904D01* 431 | X1309370Y3506215D02* 432 | G01* 433 | X1309370Y3409187D01* 434 | X1309370Y3506215D02* 435 | G01* 436 | X1369568Y3506215D01* 437 | X1309370Y3459987D02* 438 | G01* 439 | X1346454Y3459987D01* 440 | X1309370Y3409187D02* 441 | G01* 442 | X1369568Y3409187D01* 443 | X1432305Y3506215D02* 444 | G01* 445 | X1432305Y3409187D01* 446 | X1400047Y3506215D02* 447 | G01* 448 | X1464563Y3506215D01* 449 | D14* 450 | X1809750Y3531870D02* 451 | G01* 452 | X1809750Y3445255D01* 453 | X1815592Y3427729D01* 454 | X1827021Y3416300D01* 455 | X1844294Y3410457D01* 456 | X1855978Y3410457D01* 457 | X1873250Y3416300D01* 458 | X1884679Y3427729D01* 459 | X1890521Y3445255D01* 460 | X1890521Y3531870D01* 461 | X2009393Y3514344D02* 462 | G01* 463 | X1997963Y3526028D01* 464 | X1980691Y3531870D01* 465 | X1957577Y3531870D01* 466 | X1940306Y3526028D01* 467 | X1928621Y3514344D01* 468 | X1928621Y3502913D01* 469 | X1934463Y3491229D01* 470 | X1940306Y3485642D01* 471 | X1951736Y3479800D01* 472 | X1986279Y3468370D01* 473 | X1997963Y3462528D01* 474 | X2003806Y3456686D01* 475 | X2009393Y3445255D01* 476 | X2009393Y3427729D01* 477 | X1997963Y3416300D01* 478 | X1980691Y3410457D01* 479 | X1957577Y3410457D01* 480 | X1940306Y3416300D01* 481 | X1928621Y3427729D01* 482 | X2047493Y3531870D02* 483 | G01* 484 | X2047493Y3410457D01* 485 | X2047493Y3531870D02* 486 | G01* 487 | X2099563Y3531870D01* 488 | X2116836Y3526028D01* 489 | X2122677Y3520186D01* 490 | X2128520Y3508755D01* 491 | X2128520Y3497071D01* 492 | X2122677Y3485642D01* 493 | X2116836Y3479800D01* 494 | X2099563Y3473957D01* 495 | X2047493Y3473957D02* 496 | G01* 497 | X2099563Y3473957D01* 498 | X2116836Y3468370D01* 499 | X2122677Y3462528D01* 500 | X2128520Y3450844D01* 501 | X2128520Y3433571D01* 502 | X2122677Y3422142D01* 503 | X2116836Y3416300D01* 504 | X2099563Y3410457D01* 505 | X2047493Y3410457D01* 506 | D10* 507 | X3527087Y7294679D02* 508 | G01* 509 | X3636053Y7294679D01* 510 | X3527087Y7294679D02* 511 | G01* 512 | X3527087Y7341415D01* 513 | X3532167Y7356909D01* 514 | X3537501Y7362243D01* 515 | X3547915Y7367323D01* 516 | X3558075Y7367323D01* 517 | X3568489Y7362243D01* 518 | X3573823Y7356909D01* 519 | X3578903Y7341415D01* 520 | X3578903Y7294679D02* 521 | G01* 522 | X3578903Y7341415D01* 523 | X3584237Y7356909D01* 524 | X3589317Y7362243D01* 525 | X3599731Y7367323D01* 526 | X3615225Y7367323D01* 527 | X3625639Y7362243D01* 528 | X3630973Y7356909D01* 529 | X3636053Y7341415D01* 530 | X3636053Y7294679D01* 531 | X3527087Y7443269D02* 532 | G01* 533 | X3636053Y7401613D01* 534 | X3527087Y7443269D02* 535 | G01* 536 | X3636053Y7484925D01* 537 | X3599731Y7417361D02* 538 | G01* 539 | X3599731Y7469177D01* 540 | X3527087Y7555537D02* 541 | G01* 542 | X3636053Y7555537D01* 543 | X3527087Y7519215D02* 544 | G01* 545 | X3527087Y7591859D01* 546 | X3527087Y7662471D02* 547 | G01* 548 | X3636053Y7662471D01* 549 | X3527087Y7626149D02* 550 | G01* 551 | X3527087Y7698793D01* 552 | X3552995Y7811061D02* 553 | G01* 554 | X3542581Y7805981D01* 555 | X3532167Y7795567D01* 556 | X3527087Y7785153D01* 557 | X3527087Y7764325D01* 558 | X3532167Y7753911D01* 559 | X3542581Y7743497D01* 560 | X3552995Y7738417D01* 561 | X3568489Y7733083D01* 562 | X3594651Y7733083D01* 563 | X3610145Y7738417D01* 564 | X3620559Y7743497D01* 565 | X3630973Y7753911D01* 566 | X3636053Y7764325D01* 567 | X3636053Y7785153D01* 568 | X3630973Y7795567D01* 569 | X3620559Y7805981D01* 570 | X3610145Y7811061D01* 571 | X3527087Y7845351D02* 572 | G01* 573 | X3636053Y7845351D01* 574 | X3527087Y7918249D02* 575 | G01* 576 | X3636053Y7918249D01* 577 | X3578903Y7845351D02* 578 | G01* 579 | X3578903Y7918249D01* 580 | X3552995Y8030263D02* 581 | G01* 582 | X3542581Y8025183D01* 583 | X3532167Y8014769D01* 584 | X3527087Y8004355D01* 585 | X3527087Y7983527D01* 586 | X3532167Y7973113D01* 587 | X3542581Y7962699D01* 588 | X3552995Y7957619D01* 589 | X3568489Y7952539D01* 590 | X3594651Y7952539D01* 591 | X3610145Y7957619D01* 592 | X3620559Y7962699D01* 593 | X3630973Y7973113D01* 594 | X3636053Y7983527D01* 595 | X3636053Y8004355D01* 596 | X3630973Y8014769D01* 597 | X3620559Y8025183D01* 598 | X3610145Y8030263D01* 599 | X3594651Y8030263D01* 600 | X3594651Y8004355D02* 601 | G01* 602 | X3594651Y8030263D01* 603 | D15* 604 | X2716529Y8216188D02* 605 | G01* 606 | X2707386Y8211616D01* 607 | X2697988Y8202472D01* 608 | X2693415Y8193328D01* 609 | X2689352Y8179866D01* 610 | X2689352Y8157006D01* 611 | X2693415Y8143290D01* 612 | X2697988Y8134400D01* 613 | X2707386Y8125256D01* 614 | X2716529Y8120684D01* 615 | X2734309Y8120684D01* 616 | X2743454Y8125256D01* 617 | X2753106Y8134400D01* 618 | X2756915Y8143290D01* 619 | X2761488Y8157006D01* 620 | X2761488Y8179866D01* 621 | X2756915Y8193328D01* 622 | X2753106Y8202472D01* 623 | X2743454Y8211616D01* 624 | X2734309Y8216188D01* 625 | X2716529Y8216188D01* 626 | X2791459Y8216188D02* 627 | G01* 628 | X2791459Y8147862D01* 629 | X2796286Y8134400D01* 630 | X2805429Y8125256D01* 631 | X2818891Y8120684D01* 632 | X2828036Y8120684D01* 633 | X2842006Y8125256D01* 634 | X2850641Y8134400D01* 635 | X2855213Y8147862D01* 636 | X2855213Y8216188D01* 637 | X2916936Y8216188D02* 638 | G01* 639 | X2916936Y8120684D01* 640 | X2885186Y8216188D02* 641 | G01* 642 | X2948940Y8216188D01* 643 | X3020059Y8202472D02* 644 | G01* 645 | X3020059Y8120684D01* 646 | X2978911Y8161578D02* 647 | G01* 648 | X3060954Y8161578D01* 649 | X2874518Y7948726D02* 650 | G01* 651 | X2874518Y7853222D01* 652 | X2874518Y7948726D02* 653 | G01* 654 | X2914650Y7948726D01* 655 | X2928874Y7944154D01* 656 | X2933445Y7939582D01* 657 | X2938272Y7930438D01* 658 | X2938272Y7921294D01* 659 | X2933445Y7912404D01* 660 | X2928874Y7907832D01* 661 | X2914650Y7903260D01* 662 | X2874518Y7903260D02* 663 | G01* 664 | X2914650Y7903260D01* 665 | X2928874Y7898688D01* 666 | X2933445Y7894116D01* 667 | X2938272Y7884972D01* 668 | X2938272Y7871510D01* 669 | X2933445Y7862366D01* 670 | X2928874Y7857794D01* 671 | X2914650Y7853222D01* 672 | X2874518Y7853222D01* 673 | X3008375Y7935010D02* 674 | G01* 675 | X3008375Y7853222D01* 676 | X2968243Y7894116D02* 677 | G01* 678 | X3049524Y7894116D01* 679 | X2864865Y7088936D02* 680 | G01* 681 | X2864865Y6993178D01* 682 | X2864865Y7088936D02* 683 | G01* 684 | X2905506Y7088936D01* 685 | X2919475Y7084364D01* 686 | X2924047Y7079538D01* 687 | X2928620Y7070394D01* 688 | X2928620Y7061504D01* 689 | X2924047Y7052614D01* 690 | X2919475Y7047788D01* 691 | X2905506Y7043216D01* 692 | X2864865Y7043216D02* 693 | G01* 694 | X2905506Y7043216D01* 695 | X2919475Y7038644D01* 696 | X2924047Y7034326D01* 697 | X2928620Y7024928D01* 698 | X2928620Y7011466D01* 699 | X2924047Y7002576D01* 700 | X2919475Y6998004D01* 701 | X2905506Y6993178D01* 702 | X2864865Y6993178D01* 703 | X2958591Y7034326D02* 704 | G01* 705 | X3040379Y7034326D01* 706 | X2728213Y6799376D02* 707 | G01* 708 | X2720086Y6794804D01* 709 | X2710688Y6785660D01* 710 | X2705861Y6776516D01* 711 | X2701290Y6763054D01* 712 | X2701290Y6740194D01* 713 | X2705861Y6726478D01* 714 | X2710688Y6717588D01* 715 | X2720086Y6708444D01* 716 | X2728213Y6703872D01* 717 | X2747009Y6703872D01* 718 | X2755645Y6708444D01* 719 | X2764790Y6717588D01* 720 | X2769361Y6726478D01* 721 | X2774188Y6740194D01* 722 | X2774188Y6763054D01* 723 | X2769361Y6776516D01* 724 | X2764790Y6785660D01* 725 | X2755645Y6794804D01* 726 | X2747009Y6799376D01* 727 | X2728213Y6799376D01* 728 | X2804159Y6799376D02* 729 | G01* 730 | X2804159Y6731050D01* 731 | X2808986Y6717588D01* 732 | X2817368Y6708444D01* 733 | X2831338Y6703872D01* 734 | X2840736Y6703872D01* 735 | X2853690Y6708444D01* 736 | X2863088Y6717588D01* 737 | X2867913Y6731050D01* 738 | X2867913Y6799376D01* 739 | X2929636Y6799376D02* 740 | G01* 741 | X2929636Y6703872D01* 742 | X2897886Y6799376D02* 743 | G01* 744 | X2961640Y6799376D01* 745 | X2991611Y6744766D02* 746 | G01* 747 | X3072891Y6744766D01* 748 | X1063244Y8194598D02* 749 | G01* 750 | X1063244Y8099094D01* 751 | X1093215Y8194598D02* 752 | G01* 753 | X1093215Y8099094D01* 754 | X1093215Y8194598D02* 755 | G01* 756 | X1156970Y8099094D01* 757 | X1156970Y8194598D02* 758 | G01* 759 | X1156970Y8099094D01* 760 | X1227836Y8180882D02* 761 | G01* 762 | X1227836Y8099094D01* 763 | X1186942Y8139988D02* 764 | G01* 765 | X1268729Y8139988D01* 766 | X1063244Y6797598D02* 767 | G01* 768 | X1063244Y6702094D01* 769 | X1093215Y6797598D02* 770 | G01* 771 | X1093215Y6702094D01* 772 | X1093215Y6797598D02* 773 | G01* 774 | X1156970Y6702094D01* 775 | X1156970Y6797598D02* 776 | G01* 777 | X1156970Y6702094D01* 778 | X1186942Y6742988D02* 779 | G01* 780 | X1268729Y6742988D01* 781 | X1611884Y8262924D02* 782 | G01* 783 | X1611884Y8178088D01* 784 | X1583689Y8262924D02* 785 | G01* 786 | X1640331Y8262924D01* 787 | X1667002Y8262924D02* 788 | G01* 789 | X1667002Y8178088D01* 790 | X1667002Y8262924D02* 791 | G01* 792 | X1703323Y8262924D01* 793 | X1715515Y8258860D01* 794 | X1719579Y8254796D01* 795 | X1723389Y8246668D01* 796 | X1723389Y8234730D01* 797 | X1719579Y8226602D01* 798 | X1715515Y8222538D01* 799 | X1703323Y8218474D01* 800 | X1667002Y8218474D01* 801 | X1790700Y8262924D02* 802 | G01* 803 | X1750060Y8206282D01* 804 | X1810765Y8206282D01* 805 | X1790700Y8262924D02* 806 | G01* 807 | X1790700Y8178088D01* 808 | X1861820Y8262924D02* 809 | G01* 810 | X1849628Y8258860D01* 811 | X1841500Y8246668D01* 812 | X1837436Y8226602D01* 813 | X1837436Y8214410D01* 814 | X1841500Y8194090D01* 815 | X1849628Y8182152D01* 816 | X1861820Y8178088D01* 817 | X1869694Y8178088D01* 818 | X1881886Y8182152D01* 819 | X1890013Y8194090D01* 820 | X1894078Y8214410D01* 821 | X1894078Y8226602D01* 822 | X1890013Y8246668D01* 823 | X1881886Y8258860D01* 824 | X1869694Y8262924D01* 825 | X1861820Y8262924D01* 826 | X1969261Y8262924D02* 827 | G01* 828 | X1928876Y8262924D01* 829 | X1924812Y8226602D01* 830 | X1928876Y8230666D01* 831 | X1940813Y8234730D01* 832 | X1953006Y8234730D01* 833 | X1965197Y8230666D01* 834 | X1973325Y8222538D01* 835 | X1977390Y8210346D01* 836 | X1977390Y8202218D01* 837 | X1973325Y8190280D01* 838 | X1965197Y8182152D01* 839 | X1953006Y8178088D01* 840 | X1940813Y8178088D01* 841 | X1928876Y8182152D01* 842 | X1924812Y8186216D01* 843 | X1920747Y8194090D01* 844 | X2052320Y8250732D02* 845 | G01* 846 | X2048509Y8258860D01* 847 | X2036318Y8262924D01* 848 | X2028190Y8262924D01* 849 | X2015997Y8258860D01* 850 | X2007870Y8246668D01* 851 | X2004059Y8226602D01* 852 | X2004059Y8206282D01* 853 | X2007870Y8190280D01* 854 | X2015997Y8182152D01* 855 | X2028190Y8178088D01* 856 | X2032254Y8178088D01* 857 | X2044445Y8182152D01* 858 | X2052320Y8190280D01* 859 | X2056384Y8202218D01* 860 | X2056384Y8206282D01* 861 | X2052320Y8218474D01* 862 | X2044445Y8226602D01* 863 | X2032254Y8230666D01* 864 | X2028190Y8230666D01* 865 | X2015997Y8226602D01* 866 | X2007870Y8218474D01* 867 | X2004059Y8206282D01* 868 | X2119629Y8250732D02* 869 | G01* 870 | X2119629Y8178088D01* 871 | X2083054Y8214410D02* 872 | G01* 873 | X2155952Y8214410D01* 874 | X2182622Y8246668D02* 875 | G01* 876 | X2190750Y8250732D01* 877 | X2202688Y8262924D01* 878 | X2202688Y8178088D01* 879 | X2249677Y8262924D02* 880 | G01* 881 | X2237486Y8258860D01* 882 | X2233422Y8250732D01* 883 | X2233422Y8242604D01* 884 | X2237486Y8234730D01* 885 | X2245613Y8230666D01* 886 | X2261870Y8226602D01* 887 | X2273808Y8222538D01* 888 | X2281936Y8214410D01* 889 | X2286000Y8206282D01* 890 | X2286000Y8194090D01* 891 | X2281936Y8186216D01* 892 | X2277872Y8182152D01* 893 | X2265679Y8178088D01* 894 | X2249677Y8178088D01* 895 | X2237486Y8182152D01* 896 | X2233422Y8186216D01* 897 | X2229358Y8194090D01* 898 | X2229358Y8206282D01* 899 | X2233422Y8214410D01* 900 | X2241550Y8222538D01* 901 | X2253741Y8226602D01* 902 | X2269743Y8230666D01* 903 | X2277872Y8234730D01* 904 | X2281936Y8242604D01* 905 | X2281936Y8250732D01* 906 | X2277872Y8258860D01* 907 | X2265679Y8262924D01* 908 | X2249677Y8262924D01* 909 | X2361184Y8250732D02* 910 | G01* 911 | X2357120Y8258860D01* 912 | X2344927Y8262924D01* 913 | X2336800Y8262924D01* 914 | X2324861Y8258860D01* 915 | X2316734Y8246668D01* 916 | X2312670Y8226602D01* 917 | X2312670Y8206282D01* 918 | X2316734Y8190280D01* 919 | X2324861Y8182152D01* 920 | X2336800Y8178088D01* 921 | X2340863Y8178088D01* 922 | X2353056Y8182152D01* 923 | X2361184Y8190280D01* 924 | X2365247Y8202218D01* 925 | X2365247Y8206282D01* 926 | X2361184Y8218474D01* 927 | X2353056Y8226602D01* 928 | X2340863Y8230666D01* 929 | X2336800Y8230666D01* 930 | X2324861Y8226602D01* 931 | X2316734Y8218474D01* 932 | X2312670Y8206282D01* 933 | X2440431Y8262924D02* 934 | G01* 935 | X2400045Y8262924D01* 936 | X2395981Y8226602D01* 937 | X2400045Y8230666D01* 938 | X2411984Y8234730D01* 939 | X2424175Y8234730D01* 940 | X2436368Y8230666D01* 941 | X2444495Y8222538D01* 942 | X2448559Y8210346D01* 943 | X2448559Y8202218D01* 944 | X2444495Y8190280D01* 945 | X2436368Y8182152D01* 946 | X2424175Y8178088D01* 947 | X2411984Y8178088D01* 948 | X2400045Y8182152D01* 949 | X2395981Y8186216D01* 950 | X2391918Y8194090D01* 951 | X2499359Y8262924D02* 952 | G01* 953 | X2487168Y8258860D01* 954 | X2479040Y8246668D01* 955 | X2475229Y8226602D01* 956 | X2475229Y8214410D01* 957 | X2479040Y8194090D01* 958 | X2487168Y8182152D01* 959 | X2499359Y8178088D01* 960 | X2507488Y8178088D01* 961 | X2519679Y8182152D01* 962 | X2527554Y8194090D01* 963 | X2531618Y8214410D01* 964 | X2531618Y8226602D01* 965 | X2527554Y8246668D01* 966 | X2519679Y8258860D01* 967 | X2507488Y8262924D01* 968 | X2499359Y8262924D01* 969 | D10* 970 | X4102100Y5233415D02* 971 | G01* 972 | X4102100Y5155437D01* 973 | X4107179Y5139944D01* 974 | X4117593Y5129529D01* 975 | X4133341Y5124450D01* 976 | X4143756Y5124450D01* 977 | X4159250Y5129529D01* 978 | X4169663Y5139944D01* 979 | X4174743Y5155437D01* 980 | X4174743Y5233415D01* 981 | X4219447Y5233415D02* 982 | G01* 983 | X4276597Y5233415D01* 984 | X4245609Y5191760D01* 985 | X4261104Y5191760D01* 986 | X4271518Y5186679D01* 987 | X4276597Y5181600D01* 988 | X4281931Y5165852D01* 989 | X4281931Y5155437D01* 990 | X4276597Y5139944D01* 991 | X4266184Y5129529D01* 992 | X4250690Y5124450D01* 993 | X4235195Y5124450D01* 994 | X4219447Y5129529D01* 995 | X4214368Y5134610D01* 996 | X4209034Y5145023D01* 997 | X4140200Y6084315D02* 998 | G01* 999 | X4140200Y6006337D01* 1000 | X4145279Y5990844D01* 1001 | X4155693Y5980429D01* 1002 | X4171441Y5975350D01* 1003 | X4181856Y5975350D01* 1004 | X4197350Y5980429D01* 1005 | X4207763Y5990844D01* 1006 | X4212843Y6006337D01* 1007 | X4212843Y6084315D01* 1008 | X4299204Y6084315D02* 1009 | G01* 1010 | X4247134Y6011671D01* 1011 | X4325111Y6011671D01* 1012 | X4299204Y6084315D02* 1013 | G01* 1014 | X4299204Y5975350D01* 1015 | X4114800Y5665215D02* 1016 | G01* 1017 | X4114800Y5587237D01* 1018 | X4119879Y5571744D01* 1019 | X4130293Y5561329D01* 1020 | X4146041Y5556250D01* 1021 | X4156456Y5556250D01* 1022 | X4171950Y5561329D01* 1023 | X4182363Y5571744D01* 1024 | X4187443Y5587237D01* 1025 | X4187443Y5665215D01* 1026 | X4284218Y5665215D02* 1027 | G01* 1028 | X4232147Y5665215D01* 1029 | X4227068Y5618479D01* 1030 | X4232147Y5623560D01* 1031 | X4247895Y5628894D01* 1032 | X4263390Y5628894D01* 1033 | X4278884Y5623560D01* 1034 | X4289297Y5613400D01* 1035 | X4294631Y5597652D01* 1036 | X4294631Y5587237D01* 1037 | X4289297Y5571744D01* 1038 | X4278884Y5561329D01* 1039 | X4263390Y5556250D01* 1040 | X4247895Y5556250D01* 1041 | X4232147Y5561329D01* 1042 | X4227068Y5566410D01* 1043 | X4221734Y5576823D01* 1044 | X3956367Y3333750D02* 1045 | G01* 1046 | X3956367Y3255771D01* 1047 | X3961447Y3240278D01* 1048 | X3971861Y3229863D01* 1049 | X3987609Y3224784D01* 1050 | X3998023Y3224784D01* 1051 | X4013517Y3229863D01* 1052 | X4023931Y3240278D01* 1053 | X4029011Y3255771D01* 1054 | X4029011Y3333750D01* 1055 | X4136199Y3333750D02* 1056 | G01* 1057 | X4084129Y3224784D01* 1058 | X4063301Y3333750D02* 1059 | G01* 1060 | X4136199Y3333750D01* 1061 | D16* 1062 | X4278873Y4406600D02* 1063 | G01* 1064 | X4278873Y4686599D01* 1065 | X4374799Y4406600D02* 1066 | G01* 1067 | X4374799Y4686599D01* 1068 | X4374799Y4686599D02* 1069 | G01* 1070 | X3854800Y4686599D01* 1071 | X3854800Y4406600D02* 1072 | G01* 1073 | X3854800Y4686599D01* 1074 | X4374799Y4406600D02* 1075 | G01* 1076 | X3854800Y4406600D01* 1077 | X4291573Y3936700D02* 1078 | G01* 1079 | X4291573Y4216699D01* 1080 | X4387499Y3936700D02* 1081 | G01* 1082 | X4387499Y4216699D01* 1083 | X4387499Y4216699D02* 1084 | G01* 1085 | X3867500Y4216699D01* 1086 | X3867500Y3936700D02* 1087 | G01* 1088 | X3867500Y4216699D01* 1089 | X4387499Y3936700D02* 1090 | G01* 1091 | X3867500Y3936700D01* 1092 | X3936314Y8076694D02* 1093 | G01* 1094 | X3936314Y7696700D01* 1095 | X3938198Y8076694D02* 1096 | G01* 1097 | X3936314Y8076694D01* 1098 | X3938198Y7696700D02* 1099 | G01* 1100 | X3936314Y7696700D01* 1101 | X4686312Y7696700D02* 1102 | G01* 1103 | X4164429Y7696700D01* 1104 | X4686312Y8076694D02* 1105 | G01* 1106 | X4164429Y8076694D01* 1107 | X4686312Y8076694D02* 1108 | G01* 1109 | X4686312Y7696700D01* 1110 | D15* 1111 | X4038600Y7264400D02* 1112 | G01* 1113 | X4038600Y7010400D01* 1114 | X3530600Y7010400D01* 1115 | X3530600Y7264400D01* 1116 | X3721100Y7264400D01* 1117 | D17* 1118 | X4038600Y7264400D02* 1119 | G01* 1120 | X3721100Y7264400D01* 1121 | D15* 1122 | X4699000Y7264400D02* 1123 | G01* 1124 | X4699000Y7010400D01* 1125 | X4191000Y7010400D01* 1126 | X4191000Y7264400D01* 1127 | X4381500Y7264400D01* 1128 | D17* 1129 | X4699000Y7264400D02* 1130 | G01* 1131 | X4381500Y7264400D01* 1132 | D18* 1133 | X3695811Y6341602D02* 1134 | G01* 1135 | X4025811Y6341602D01* 1136 | X4356211Y6341602D02* 1137 | G01* 1138 | X4686211Y6341602D01* 1139 | D19* 1140 | X774700Y4991100D02* 1141 | G01* 1142 | X838200Y5054600D01* 1143 | X774700Y5118100D01* 1144 | X774700Y5245100D01* 1145 | X838200Y5308600D01* 1146 | X774700Y5372100D01* 1147 | X774700Y5499100D01* 1148 | X838200Y5562600D01* 1149 | X774700Y5626100D01* 1150 | X774700Y5753100D01* 1151 | X838200Y5816600D01* 1152 | X965200Y5816600D01* 1153 | X1028700Y5753100D01* 1154 | X1028700Y5626100D01* 1155 | X965200Y5562600D01* 1156 | X1028700Y5499100D01* 1157 | X1028700Y5372100D01* 1158 | X965200Y5308600D01* 1159 | X1028700Y5245100D01* 1160 | X1028700Y5118100D01* 1161 | X965200Y5054600D01* 1162 | X1028700Y4991100D01* 1163 | X1028700Y4864100D01* 1164 | X965200Y4800600D01* 1165 | X1028700Y4737100D01* 1166 | X1028700Y4610100D01* 1167 | X965200Y4546600D01* 1168 | X1028700Y4483100D01* 1169 | X1028700Y4356100D01* 1170 | X965200Y4292600D01* 1171 | X1028700Y4229100D01* 1172 | X1028700Y4102100D01* 1173 | X965200Y4038600D01* 1174 | X1028700Y3975100D01* 1175 | X1028700Y3848100D01* 1176 | X965200Y3784600D01* 1177 | X838200Y3784600D01* 1178 | X774700Y3848100D01* 1179 | X774700Y4864100D02* 1180 | G01* 1181 | X838200Y4800600D01* 1182 | X774700Y4737100D01* 1183 | X774700Y4610100D02* 1184 | G01* 1185 | X838200Y4546600D01* 1186 | X774700Y4483100D01* 1187 | X774700Y4356100D02* 1188 | G01* 1189 | X838200Y4292600D01* 1190 | X774700Y4229100D01* 1191 | X774700Y4102100D02* 1192 | G01* 1193 | X838200Y4038600D01* 1194 | X774700Y3975100D01* 1195 | X774700Y5753100D02* 1196 | G01* 1197 | X774700Y6451600D01* 1198 | X1257300Y6451600D01* 1199 | X1257300Y5880100D01* 1200 | X2832100Y5880100D01* 1201 | X2832100Y4279900D01* 1202 | X2832100Y5880100D02* 1203 | G01* 1204 | X2832100Y6451600D01* 1205 | X3314700Y6451600D01* 1206 | X3314700Y5753100D01* 1207 | X3314700Y5626100D01* 1208 | X3314700Y5499100D01* 1209 | X3314700Y5372100D01* 1210 | X3314700Y5245100D01* 1211 | X3314700Y5118100D01* 1212 | X3314700Y3022600D01* 1213 | X2425700Y3022600D01* 1214 | X2425700Y3175000D01* 1215 | X2362200Y3175000D01* 1216 | X2362200Y3213100D01* 1217 | X774700Y5245100D02* 1218 | G01* 1219 | X774700Y5372100D01* 1220 | X774700Y5499100D02* 1221 | G01* 1222 | X774700Y5626100D01* 1223 | X3314700Y5118100D02* 1224 | G01* 1225 | X3251200Y5054600D01* 1226 | X3314700Y4991100D01* 1227 | X3314700Y4864100D02* 1228 | G01* 1229 | X3251200Y4800600D01* 1230 | X3314700Y4737100D01* 1231 | X3314700Y4610100D02* 1232 | G01* 1233 | X3251200Y4546600D01* 1234 | X3314700Y4483100D01* 1235 | X3314700Y4356100D02* 1236 | G01* 1237 | X3251200Y4292600D01* 1238 | X3314700Y4229100D01* 1239 | X3314700Y4102100D02* 1240 | G01* 1241 | X3251200Y4038600D01* 1242 | X3314700Y3975100D01* 1243 | X3314700Y3848100D02* 1244 | G01* 1245 | X3251200Y3784600D01* 1246 | X3124200Y3784600D01* 1247 | X3060700Y3848100D01* 1248 | X3060700Y3975100D01* 1249 | X3124200Y4038600D01* 1250 | X3060700Y4102100D01* 1251 | X3060700Y4229100D01* 1252 | X3124200Y4292600D01* 1253 | X3060700Y4356100D01* 1254 | X3060700Y4483100D01* 1255 | X3124200Y4546600D01* 1256 | X3060700Y4610100D01* 1257 | X3060700Y4737100D01* 1258 | X3124200Y4800600D01* 1259 | X3060700Y4864100D01* 1260 | X3060700Y4991100D01* 1261 | X3124200Y5054600D01* 1262 | X3060700Y5118100D01* 1263 | X3060700Y5245100D01* 1264 | X3124200Y5308600D01* 1265 | X3060700Y5372100D01* 1266 | X3060700Y5499100D01* 1267 | X3124200Y5562600D01* 1268 | X3060700Y5626100D01* 1269 | X3060700Y5753100D01* 1270 | X3124200Y5816600D01* 1271 | X3251200Y5816600D01* 1272 | X3314700Y5753100D01* 1273 | X3314700Y5626100D02* 1274 | G01* 1275 | X3251200Y5562600D01* 1276 | X3314700Y5499100D01* 1277 | X3314700Y5372100D02* 1278 | G01* 1279 | X3251200Y5308600D01* 1280 | X3314700Y5245100D01* 1281 | X774700Y5118100D02* 1282 | G01* 1283 | X774700Y3721100D01* 1284 | X965200Y3721100D01* 1285 | X965200Y3530600D01* 1286 | X965200Y3276600D01* 1287 | X965200Y3022600D01* 1288 | X1536700Y3022600D01* 1289 | X1536700Y3175000D01* 1290 | X1600200Y3175000D01* 1291 | X1600200Y3213100D01* 1292 | X965200Y3530600D02* 1293 | G01* 1294 | X838200Y3530600D01* 1295 | X838200Y3276600D01* 1296 | X965200Y3276600D01* 1297 | X1600200Y3175000D02* 1298 | G01* 1299 | X1600200Y3086100D01* 1300 | X2362200Y3086100D01* 1301 | X2362200Y3175000D01* 1302 | X1663700Y3721100D02* 1303 | G01* 1304 | X1600200Y3721100D01* 1305 | X1600200Y3657600D01* 1306 | X1600200Y3594100D02* 1307 | G01* 1308 | X1600200Y3530600D01* 1309 | X1600200Y3467100D02* 1310 | G01* 1311 | X1600200Y3403600D01* 1312 | X1600200Y3340100D02* 1313 | G01* 1314 | X1600200Y3276600D01* 1315 | X1727200Y3721100D02* 1316 | G01* 1317 | X1790700Y3721100D01* 1318 | X1854200Y3721100D02* 1319 | G01* 1320 | X1917700Y3721100D01* 1321 | X1981200Y3721100D02* 1322 | G01* 1323 | X2044700Y3721100D01* 1324 | X2108200Y3721100D02* 1325 | G01* 1326 | X2171700Y3721100D01* 1327 | X2235200Y3721100D02* 1328 | G01* 1329 | X2298700Y3721100D01* 1330 | X2362200Y3721100D02* 1331 | G01* 1332 | X2362200Y3657600D01* 1333 | X2362200Y3594100D02* 1334 | G01* 1335 | X2362200Y3530600D01* 1336 | X2362200Y3467100D02* 1337 | G01* 1338 | X2362200Y3403600D01* 1339 | X2362200Y3340100D02* 1340 | G01* 1341 | X2362200Y3276600D01* 1342 | X1257300Y6451600D02* 1343 | G01* 1344 | X1257300Y6477000D01* 1345 | X2832100Y6477000D01* 1346 | X2832100Y6451600D01* 1347 | X1257300Y5880100D02* 1348 | G01* 1349 | X1257300Y4102100D01* 1350 | X2628900Y4102100D01* 1351 | D16* 1352 | X764489Y6584314D02* 1353 | G01* 1354 | X2044496Y6584314D01* 1355 | X3334486Y6584314D01* 1356 | X3494486Y6584314D01* 1357 | X3494486Y6784314D01* 1358 | X3334486Y6784136D01* 1359 | X3334486Y8114868D01* 1360 | X3494481Y8114309D01* 1361 | X3494481Y8314309D01* 1362 | X3334486Y8314309D01* 1363 | X764489Y8314309D01* 1364 | X764489Y6584314D01* 1365 | X697636Y7798562D02* 1366 | G01* 1367 | X697636Y7757896D01* 1368 | X697636Y7158456D02* 1369 | G01* 1370 | X697636Y7117816D01* 1371 | X697636Y7798562D02* 1372 | G01* 1373 | X768730Y7798562D01* 1374 | X768730Y7798562D02* 1375 | G01* 1376 | X1197990Y7798562D01* 1377 | X1197990Y7117816D02* 1378 | G01* 1379 | X768730Y7117816D01* 1380 | X768730Y7117816D02* 1381 | G01* 1382 | X697636Y7117816D01* 1383 | X697636Y7798562D02* 1384 | G01* 1385 | X639190Y7856956D01* 1386 | X697636Y7117816D02* 1387 | G01* 1388 | X639190Y7059396D01* 1389 | X697636Y7757896D02* 1390 | G01* 1391 | X659536Y7757896D01* 1392 | X634136Y7737576D02* 1393 | G01* 1394 | X634136Y7183856D01* 1395 | X654430Y7158456D02* 1396 | G01* 1397 | X697636Y7158456D01* 1398 | X1037970Y7798562D02* 1399 | G01* 1400 | X1197990Y7798562D01* 1401 | X1197990Y7798562D02* 1402 | G01* 1403 | X1197990Y7679156D01* 1404 | X1197990Y7117816D02* 1405 | G01* 1406 | X1197990Y7237196D01* 1407 | X1037970Y7117816D02* 1408 | G01* 1409 | X1197990Y7117816D01* 1410 | X768730Y7798562D02* 1411 | G01* 1412 | X768730Y7117816D01* 1413 | X1197990Y7679156D02* 1414 | G01* 1415 | X1058290Y7679156D01* 1416 | X1058290Y7679156D02* 1417 | G01* 1418 | X1058290Y7237196D01* 1419 | X1058290Y7237196D02* 1420 | G01* 1421 | X1197990Y7237196D01* 1422 | X3787099Y5085699D02* 1423 | G01* 1424 | X4417100Y5085699D01* 1425 | X4417100Y5085699D02* 1426 | G01* 1427 | X4417100Y4845700D01* 1428 | X4417100Y4845700D02* 1429 | G01* 1430 | X3787099Y4845700D01* 1431 | X3787099Y4845700D02* 1432 | G01* 1433 | X3787099Y5085699D01* 1434 | X3825199Y5936599D02* 1435 | G01* 1436 | X4455200Y5936599D01* 1437 | X4455200Y5936599D02* 1438 | G01* 1439 | X4455200Y5696600D01* 1440 | X4455200Y5696600D02* 1441 | G01* 1442 | X3825199Y5696600D01* 1443 | X3825199Y5696600D02* 1444 | G01* 1445 | X3825199Y5936599D01* 1446 | X3799799Y5517499D02* 1447 | G01* 1448 | X4429800Y5517499D01* 1449 | X4429800Y5517499D02* 1450 | G01* 1451 | X4429800Y5277500D01* 1452 | X4429800Y5277500D02* 1453 | G01* 1454 | X3799799Y5277500D01* 1455 | X3799799Y5277500D02* 1456 | G01* 1457 | X3799799Y5517499D01* 1458 | X4267200Y3585900D02* 1459 | G01* 1460 | X4267200Y3683000D01* 1461 | X4241800Y3683000D01* 1462 | X4233148Y3454400D02* 1463 | G01* 1464 | X4267200Y3454400D01* 1465 | X4267200Y3551499D01* 1466 | X3975100Y3454400D02* 1467 | G01* 1468 | X4241800Y3454400D01* 1469 | X4241800Y3683000D01* 1470 | X3975100Y3683000D01* 1471 | X3975100Y3454400D01* 1472 | X4565637Y3365500D02* 1473 | G01* 1474 | X3663937Y3365500D01* 1475 | X3663937Y3771900D01* 1476 | X4565637Y3771900D01* 1477 | X4565637Y3365500D01* 1478 | D18* 1479 | G75* 1480 | G01* 1481 | X4025811Y6341603D02* 1482 | G03* 1483 | X3695802Y6341720I-164954J143707D01* 1484 | G75* 1485 | G01* 1486 | X4686211Y6341603D02* 1487 | G03* 1488 | X4356202Y6341720I-164954J143707D01* 1489 | D16* 1490 | G75* 1491 | G01* 1492 | X658114Y7758481D02* 1493 | G03* 1494 | X633222Y7738415I-1316J-23840D01* 1495 | G75* 1496 | G01* 1497 | X633222Y7183425D02* 1498 | G03* 1499 | X653034Y7158533I23837J-1358D01* 1500 | M02* 1501 | -------------------------------------------------------------------------------- /pcb/Gerber_TopSolderMaskLayer.GTS: -------------------------------------------------------------------------------- 1 | G04 Layer: TopSolderMaskLayer* 2 | G04 EasyEDA v6.5.47, 2024-10-06 10:13:02* 3 | G04 ffcbb33f17924234841025c486cc4069,e014b3835f5d4d88964e6d66dd9d747e,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 ,4 integer and 5 decimal * 8 | %FSLAX45Y45*% 9 | %MOMM*% 10 | 11 | %AMMACRO1*4,1,8,-0.9211,-1.0757,-0.9508,-1.0457,-0.9508,1.046,-0.9211,1.0757,0.9209,1.0757,0.9508,1.046,0.9508,-1.0457,0.9209,-1.0757,-0.9211,-1.0757,0*% 12 | %AMMACRO2*4,1,8,-0.9211,-1.0758,-0.9508,-1.0458,-0.9508,1.0461,-0.9211,1.0758,0.9209,1.0758,0.9508,1.0461,0.9508,-1.0458,0.9209,-1.0758,-0.9211,-1.0758,0*% 13 | %AMMACRO3*4,1,8,-1.0211,-1.0508,-1.0508,-1.0208,-1.0508,1.0211,-1.0211,1.0508,1.0208,1.0508,1.0508,1.0211,1.0508,-1.0208,1.0208,-1.0508,-1.0211,-1.0508,0*% 14 | %AMMACRO4*4,1,8,-0.5211,-0.6507,-0.5508,-0.6208,-0.5508,0.621,-0.5211,0.6507,0.5208,0.6507,0.5508,0.621,0.5508,-0.6208,0.5208,-0.6507,-0.5211,-0.6507,0*% 15 | %AMMACRO5*4,1,8,-0.921,-0.9507,-0.9507,-0.9207,-0.9507,0.921,-0.921,0.9507,0.9207,0.9507,0.9507,0.921,0.9507,-0.9207,0.9207,-0.9507,-0.921,-0.9507,0*% 16 | %AMMACRO6*4,1,8,-0.921,-0.9507,-0.9507,-0.9207,-0.9507,0.921,-0.921,0.9507,0.9208,0.9507,0.9507,0.921,0.9507,-0.9207,0.9208,-0.9507,-0.921,-0.9507,0*% 17 | %ADD10C,1.9016*% 18 | %ADD11MACRO1*% 19 | %ADD12MACRO2*% 20 | %ADD13MACRO3*% 21 | %ADD14C,2.1016*% 22 | %ADD15MACRO4*% 23 | %ADD16O,1.1015979999999999X1.3015976*% 24 | %ADD17C,1.6080*% 25 | %ADD18MACRO5*% 26 | %ADD19MACRO6*% 27 | %ADD20C,1.6256*% 28 | %ADD21C,1.6240*% 29 | 30 | %LPD*% 31 | D10* 32 | G01* 33 | X3679799Y4546600D03* 34 | G01* 35 | X4549800Y4546600D03* 36 | G01* 37 | X3692499Y4076700D03* 38 | G01* 39 | X4562500Y4076700D03* 40 | D11* 41 | G01* 42 | X4051312Y8129193D03* 43 | D12* 44 | G01* 45 | X4051312Y7644193D03* 46 | D13* 47 | G01* 48 | X3657600Y7137400D03* 49 | D14* 50 | G01* 51 | X3911600Y7137400D03* 52 | D13* 53 | G01* 54 | X4318000Y7137400D03* 55 | D14* 56 | G01* 57 | X4572000Y7137400D03* 58 | D15* 59 | G01* 60 | X3733812Y6451600D03* 61 | D16* 62 | G01* 63 | X3860800Y6451600D03* 64 | G01* 65 | X3987800Y6451600D03* 66 | D15* 67 | G01* 68 | X4394212Y6451600D03* 69 | D16* 70 | G01* 71 | X4521200Y6451600D03* 72 | G01* 73 | X4648200Y6451600D03* 74 | D17* 75 | G01* 76 | X3187700Y3911600D03* 77 | G01* 78 | X901700Y3911600D03* 79 | G01* 80 | X3187700Y5689600D03* 81 | G01* 82 | X3187700Y5435600D03* 83 | G01* 84 | X3187700Y5181600D03* 85 | G01* 86 | X3187700Y4927600D03* 87 | G01* 88 | X3187700Y4673600D03* 89 | G01* 90 | X3187700Y4419600D03* 91 | G01* 92 | X3187700Y4165600D03* 93 | G01* 94 | X901700Y5689600D03* 95 | G01* 96 | X901700Y5435600D03* 97 | G01* 98 | X901700Y5181600D03* 99 | G01* 100 | X901700Y4927600D03* 101 | G01* 102 | X901700Y4673600D03* 103 | G01* 104 | X901700Y4419600D03* 105 | G01* 106 | X901700Y4165600D03* 107 | D18* 108 | G01* 109 | X904494Y8154923D03* 110 | G01* 111 | X904494Y6754876D03* 112 | D19* 113 | G01* 114 | X3184905Y8154923D03* 115 | G01* 116 | X3184905Y6754876D03* 117 | G01* 118 | X3184905Y7901762D03* 119 | G01* 120 | X3184905Y7008876D03* 121 | D20* 122 | G01* 123 | X3587089Y4965700D03* 124 | G01* 125 | X4617110Y4965700D03* 126 | G01* 127 | X3625189Y5816600D03* 128 | G01* 129 | X4655210Y5816600D03* 130 | G01* 131 | X3599789Y5397500D03* 132 | G01* 133 | X4629810Y5397500D03* 134 | D21* 135 | G01* 136 | X4364786Y3568700D03* 137 | G01* 138 | X4114800Y3568700D03* 139 | G01* 140 | X3864813Y3568700D03* 141 | M02* 142 | -------------------------------------------------------------------------------- /pcb/How-to-order-PCB.md: -------------------------------------------------------------------------------- 1 | # How to Order PCB 2 | 3 | Please refer to: 4 | https://docs.easyeda.com/en/PCB/Order-PCB -------------------------------------------------------------------------------- /server/__pycache__/server.cpython-311.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfvm/Patstrap/0e28b541bf9ac20290785d7a437afaeac97a57fe/server/__pycache__/server.cpython-311.pyc -------------------------------------------------------------------------------- /server/build.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | 3 | 4 | REM Create virtual environment and install requirements 5 | python -m venv patstrap-server-env 6 | source patstrap-server-env\bin\activate 7 | pip install -r requirements.txt 8 | 9 | REM Use pyinstaller to create a standalone WINDOWS executable at .\dist\patstrap-server\patstrap-server.exe 10 | pyinstaller gui.py -n patstrap-server --noconsole --noconfirm --onefile --add-data "global.css;." --path=.\patstrap-server-env\lib\python3.11\site-packages --hidden-import zeroconf._utils.ipaddress --hidden-import zeroconf._handlers.answers 11 | pyinstaller gui.py -n patstrap-server-debug --noconfirm --onefile --add-data "global.css;." --path=.\patstrap-server-env\lib\python3.11\site-packages --hidden-import zeroconf._utils.ipaddress --hidden-import zeroconf._handlers.answers 12 | -------------------------------------------------------------------------------- /server/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Create virtual environment and install requirements 4 | python -m venv patstrap-server-env 5 | source patstrap-server-env/bin/activate 6 | pip install -r requirements.txt 7 | 8 | # Use pyinstaller to create a standalone LINUX executable at ./dist/patstrap-server/patstrap-server 9 | pyinstaller gui.py -n patstrap-server --noconfirm --onedir \ 10 | --path=./patstrap-server-env/lib/python3.11/site-packages \ 11 | --add-data "./global.css:." \ 12 | --hidden-import zeroconf._utils.ipaddress \ 13 | --hidden-import zeroconf._handlers.answers 14 | -------------------------------------------------------------------------------- /server/global.css: -------------------------------------------------------------------------------- 1 | QLabel { 2 | color: #EEEEEE; 3 | font-weight: 400; 4 | font-size: 25px; 5 | } 6 | 7 | QPushButton { 8 | background: #76ABAE; 9 | border: none; 10 | padding: 12px 15px; 11 | text-decoration: none; 12 | font-size: 20px; 13 | margin: 0px 10px 0px 10px; 14 | border-radius: 5px; 15 | font-weight: 500; 16 | color: white; 17 | } 18 | 19 | QPushButton::hover { 20 | background: #5e898b; 21 | } 22 | 23 | QPushButton::disabled { 24 | color: #182223; 25 | background: #3b5657; 26 | } 27 | 28 | #mainbackground { 29 | background: #121821; 30 | } 31 | 32 | #section { 33 | border-radius: 5px; 34 | border: 2px solid #31363F; 35 | background: #222831; 36 | } 37 | 38 | QSlider { 39 | height: 15px; 40 | } 41 | 42 | QSlider::add-page:horizontal { 43 | background: white; 44 | border-radius: 5px; 45 | } 46 | 47 | QSlider::sub-page:horizontal { 48 | background: #5e898b; 49 | border-radius: 5px; 50 | } 51 | 52 | QSlider::handle:horizontal { 53 | height: 10px; 54 | width: 10px; 55 | background: #76ABAE; 56 | border-radius: 5px; 57 | } 58 | QSlider::handle:horizontal:hover { 59 | background: #53787a; 60 | } 61 | -------------------------------------------------------------------------------- /server/gui.py: -------------------------------------------------------------------------------- 1 | from PyQt6.QtWidgets import QApplication, QWidget, QVBoxLayout, QHBoxLayout, QLabel, QPushButton, QSlider 2 | from PyQt6.QtCore import Qt 3 | from server import Server 4 | 5 | import argparse 6 | import time 7 | import sys 8 | import os 9 | 10 | # Taken from https://stackoverflow.com/questions/7674790/bundling-data-files-with-pyinstaller-onefile 11 | def resource_path(relative_path): 12 | """ Get absolute path to resource, works for dev and for PyInstaller """ 13 | try: 14 | # PyInstaller creates a temp folder and stores path in _MEIPASS 15 | base_path = sys._MEIPASS 16 | except Exception: 17 | base_path = os.path.abspath(".") 18 | 19 | return os.path.join(base_path, relative_path) 20 | 21 | class MainWindow(QWidget): 22 | def __init__(self, app: QApplication, args): 23 | super().__init__() 24 | 25 | self.app = app 26 | self.slider_strength = None 27 | self.prev_patstrap_status = False 28 | self.prev_vrchat_status = False 29 | 30 | self.setWindowTitle("Patstrap Server v0.4") 31 | with open(resource_path("global.css"), "r") as file: 32 | self.setStyleSheet(file.read()) 33 | 34 | layoutMain = QVBoxLayout() 35 | layoutMain.setContentsMargins(0, 0, 0, 0) 36 | 37 | box = QWidget() 38 | box.setObjectName("mainbackground") 39 | 40 | layout = QVBoxLayout() 41 | layout.setAlignment(Qt.AlignmentFlag.AlignTop) 42 | layout.addWidget(self.create_patstrap_status()) 43 | layout.addWidget(self.create_vrchat_status()) 44 | layout.addWidget(self.create_settings()) 45 | layout.addWidget(self.create_patstrap_battery_status()) 46 | layout.addWidget(self.create_test()) 47 | 48 | self.server = Server(self, args) 49 | 50 | box.setLayout(layout) 51 | layoutMain.addWidget(box) 52 | 53 | self.setLayout(layoutMain) 54 | 55 | def create_patstrap_status(self): 56 | box = QWidget() 57 | box.setObjectName("section") 58 | 59 | layout = QHBoxLayout() 60 | layout.setAlignment(Qt.AlignmentFlag.AlignTop) 61 | layout.setContentsMargins(20, 20, 20, 20) 62 | 63 | title_label = QLabel("Patstrap connection") 64 | title_label.setAlignment(Qt.AlignmentFlag.AlignVCenter) 65 | layout.addWidget(title_label) 66 | 67 | self.status_hardware_connection = QLabel(" ⬤") 68 | self.status_hardware_connection.setAlignment(Qt.AlignmentFlag.AlignRight) 69 | self.status_hardware_connection.setStyleSheet("color: #ba3f41;") 70 | layout.addWidget(self.status_hardware_connection) 71 | 72 | box.setLayout(layout) 73 | return box 74 | 75 | def create_patstrap_battery_status(self): 76 | box = QWidget() 77 | box.setObjectName("section") 78 | 79 | layout = QHBoxLayout() 80 | layout.setAlignment(Qt.AlignmentFlag.AlignTop) 81 | layout.setContentsMargins(20, 20, 20, 20) 82 | 83 | title_label = QLabel("Battery") 84 | title_label.setAlignment(Qt.AlignmentFlag.AlignVCenter) 85 | layout.addWidget(title_label) 86 | 87 | 88 | self.status_hardware_battery = QLabel("unknown") 89 | self.status_hardware_battery.setAlignment(Qt.AlignmentFlag.AlignRight) 90 | self.status_hardware_battery.setStyleSheet("color: #999999;") 91 | layout.addWidget(self.status_hardware_battery) 92 | 93 | box.setLayout(layout) 94 | return box 95 | 96 | def set_battery(self, percent): 97 | color = "#ffffff" 98 | 99 | if percent < 20: 100 | color = "#ba3f41" 101 | elif percent < 60: 102 | color = "#fcba03" 103 | elif percent <= 100: 104 | color = "#76abae" 105 | 106 | self.status_hardware_battery.setText(f"{percent}%") 107 | self.status_hardware_battery.setStyleSheet(f"color: {color};") 108 | #self.status_hardware_battery.repaint() 109 | #self.app.processEvents() 110 | 111 | def create_vrchat_status(self): 112 | box = QWidget() 113 | box.setObjectName("section") 114 | 115 | layout = QHBoxLayout() 116 | layout.setAlignment(Qt.AlignmentFlag.AlignTop) 117 | layout.setContentsMargins(20, 20, 20, 20) 118 | 119 | title_label = QLabel("VRChat connection") 120 | title_label.setAlignment(Qt.AlignmentFlag.AlignVCenter) 121 | layout.addWidget(title_label) 122 | 123 | self.status_vrchat_connection = QLabel(" ⬤") 124 | self.status_vrchat_connection.setAlignment(Qt.AlignmentFlag.AlignRight) 125 | self.status_vrchat_connection.setStyleSheet("color: #ba3f41;") 126 | layout.addWidget(self.status_vrchat_connection) 127 | 128 | box.setLayout(layout) 129 | return box 130 | 131 | def create_settings(self): 132 | box = QWidget() 133 | box.setObjectName("section") 134 | 135 | layout = QHBoxLayout() 136 | layout.setAlignment(Qt.AlignmentFlag.AlignTop) 137 | layout.setContentsMargins(20, 20, 20, 20) 138 | 139 | title_label = QLabel("Intensity") 140 | title_label.setAlignment(Qt.AlignmentFlag.AlignLeft) 141 | layout.addWidget(title_label) 142 | 143 | self.slider_strength = QSlider(Qt.Orientation.Horizontal) 144 | self.slider_strength.setMaximumWidth(200) 145 | self.slider_strength.setMinimum(0) 146 | self.slider_strength.setMaximum(100) 147 | self.slider_strength.setValue(50) 148 | layout.addWidget(self.slider_strength) 149 | 150 | box.setLayout(layout) 151 | return box 152 | 153 | def get_intensity(self) -> float: 154 | if self.slider_strength is None: 155 | return 0 156 | return self.slider_strength.value() / 100.0 157 | 158 | def create_test(self): 159 | box = QWidget() 160 | box.setObjectName("section") 161 | box.setFixedHeight(140) 162 | 163 | layoutH = QHBoxLayout() 164 | layoutV = QVBoxLayout() 165 | layoutV.setContentsMargins(20, 20, 20, 20) 166 | 167 | self.test_left_button = QPushButton("Pat left") 168 | self.test_left_button.clicked.connect(self.pat_left) 169 | self.test_left_button.setDisabled(True) 170 | layoutH.addWidget(self.test_left_button) 171 | 172 | self.test_right_button = QPushButton("Pat right") 173 | self.test_right_button.clicked.connect(self.pat_right) 174 | self.test_right_button.setDisabled(True) 175 | layoutH.addWidget(self.test_right_button) 176 | 177 | info_label = QLabel("Test hardware") 178 | info_label.setAlignment(Qt.AlignmentFlag.AlignLeft) 179 | info_label.setFixedHeight(40) 180 | layoutV.addWidget(info_label) 181 | layoutV.addItem(layoutH) 182 | 183 | box.setLayout(layoutV) 184 | return box 185 | 186 | def pat_left(self): 187 | print("Pat left") 188 | self.server.strength_left = 2 189 | 190 | def pat_right(self): 191 | print("Patt right") 192 | self.server.strength_right = 2 193 | 194 | def set_patstrap_status(self, status: bool): 195 | if self.prev_patstrap_status != status: 196 | self.prev_patstrap_status = status 197 | self.status_hardware_connection.setStyleSheet("color: #76abae;" if status else "color: #ba3f41;") 198 | 199 | self.test_right_button.setDisabled(not status) 200 | self.test_left_button.setDisabled(not status) 201 | 202 | def set_vrchat_status(self, status: bool): 203 | if self.prev_vrchat_status != status: 204 | self.prev_vrchat_status = status 205 | self.status_vrchat_connection.setStyleSheet("color: #76abae;" if status else "color: #ba3f41;") 206 | 207 | def closeEvent(self, _): 208 | print("Exiting server...") 209 | self.server.shutdown() 210 | 211 | if __name__ == "__main__": 212 | 213 | parser = argparse.ArgumentParser() 214 | parser.add_argument("-p", "--port", type=int, default=None, help="VRChat's OSC input port, by default uses OSCQuery to determine port") 215 | args = parser.parse_args() 216 | 217 | app = QApplication(sys.argv) 218 | 219 | window = MainWindow(app, args) 220 | window.setFixedSize(400, 485) 221 | window.show() 222 | sys.exit(app.exec()) 223 | -------------------------------------------------------------------------------- /server/requirements.txt: -------------------------------------------------------------------------------- 1 | astroid==3.1.0 2 | dill==0.3.8 3 | ifaddr==0.2.0 4 | isort==5.13.2 5 | mccabe==0.7.0 6 | platformdirs==4.2.1 7 | pylint==3.1.0 8 | PyQt6==6.6.1 9 | PyQt6-Qt6==6.6.3 10 | PyQt6-sip==13.6.0 11 | python-osc==1.8.3 12 | tomlkit==0.12.4 13 | zeroconf==0.132.2 14 | git+https://github.com/cyberkitsune/tinyoscquery.git@0.1.2#egg=tinyoscquery 15 | -------------------------------------------------------------------------------- /server/server.py: -------------------------------------------------------------------------------- 1 | from zeroconf import Zeroconf 2 | from pythonosc.osc_server import BlockingOSCUDPServer 3 | from pythonosc.dispatcher import Dispatcher 4 | from tinyoscquery.queryservice import OSCQueryService 5 | from tinyoscquery.utility import get_open_tcp_port, get_open_udp_port 6 | 7 | import argparse 8 | import threading 9 | import struct 10 | import socket 11 | import time 12 | 13 | def start_oscquery(server_udp_port, server_tcp_port): 14 | def start_server(): 15 | oscquery_server = OSCQueryService("Patstrap", server_tcp_port, server_udp_port) 16 | oscquery_server.advertise_endpoint("/avatar") 17 | return start_server 18 | 19 | class Server(): 20 | def __init__(self, window, args) -> None: 21 | self.window = window 22 | self.running = True 23 | self.args = args 24 | self.reset() 25 | threading.Thread(target=self._connect_socket, args=()).start() 26 | threading.Thread(target=self._connect_osc, args=()).start() 27 | threading.Thread(target=self._update_loop, args=()).start() 28 | 29 | def reset(self): 30 | self.socket = None 31 | self.connected = False 32 | self.strength_right = 0 33 | self.strength_left = 0 34 | self.prev_right_value = 0 35 | self.prev_left_value = 0 36 | self.prev_right = 0 37 | self.prev_left = 0 38 | self.last_time_right = time.time() 39 | self.last_time_left = time.time() 40 | self.keepAliveTimeout = time.time() 41 | 42 | def set_pat(self, left: float, right: float): 43 | if self.socket is None: 44 | return 45 | 46 | left = int((1-left) * 15) 47 | right = int((1-right) * 15) 48 | data = (left << 4) | right 49 | 50 | if left == self.prev_left and right == self.prev_right: 51 | return 52 | 53 | self.prev_left = left 54 | self.prev_right = right 55 | 56 | self.socket.sendall(struct.pack('B', data)) 57 | print(f"L: {left}, R: {right}") 58 | 59 | def _find_patstrap(self): 60 | info = None 61 | while not info and self.running: 62 | info = Zeroconf().get_service_info("_http._tcp.local.", "patstrap._http._tcp.local.") 63 | time.sleep(1) 64 | 65 | if not self.running: 66 | return None 67 | 68 | return (socket.inet_ntoa(info.addresses[0]), info.port) 69 | 70 | def _connect_socket(self): 71 | while self.running: 72 | (ip, port) = self._find_patstrap() 73 | if ip is None or port is None: 74 | break 75 | 76 | print(f"Patstrap address found {ip}:{port}") 77 | 78 | try: 79 | self.socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 80 | self.socket.settimeout(2) 81 | self.socket.connect((ip, port)) 82 | self.connected = True 83 | self.set_pat(0, 0) 84 | 85 | # Set connection status to green 86 | self.window.set_patstrap_status(True) 87 | 88 | # Wait until connection is closed 89 | while True: 90 | battery = int.from_bytes(self.socket.recv(1), "big") 91 | if battery != 255: # 255 = no battery 92 | self.window.set_battery(battery) 93 | except TimeoutError as e: 94 | print("Patstrap timed out!") 95 | 96 | self.connected = False 97 | self.window.set_patstrap_status(False) 98 | self.reset() 99 | 100 | if self.running: 101 | print(f"Try reconnecting to patstrap at {ip}") 102 | time.sleep(3) 103 | 104 | print("Disconnected") 105 | 106 | def _update_loop(self): 107 | while self.running: 108 | if self.connected == False: 109 | time.sleep(1) 110 | continue 111 | 112 | try: 113 | intensity = self.window.get_intensity() 114 | self.strength_right = max(0, min(1, self.strength_right-0.1)) 115 | self.strength_left = max(0, min(1, self.strength_left-0.1)) 116 | 117 | self.set_pat(self.strength_left * intensity, self.strength_right * intensity) 118 | time.sleep(0.03) 119 | 120 | self.window.set_vrchat_status(time.time() < self.keepAliveTimeout) 121 | except TimeoutError as e: 122 | print(e) 123 | 124 | def _connect_osc(self): 125 | def _hit_collider_right(_, value): 126 | currentTime = time.time() 127 | if currentTime > self.last_time_right: 128 | self.strength_right = abs(self.prev_right_value-value)/(currentTime-self.last_time_right) 129 | self.prev_right_value = value 130 | self.last_time_right = currentTime 131 | 132 | def _hit_collider_left(_, value): 133 | currentTime = time.time() 134 | if currentTime > self.last_time_left: 135 | self.strength_left = abs(self.prev_left_value-value)/(currentTime-self.last_time_left) 136 | self.prev_left_value = value 137 | self.last_time_left = currentTime 138 | 139 | def _recv_packet(_, value): 140 | self.keepAliveTimeout = time.time() + 2 141 | 142 | if self.args.port: 143 | server_udp_port = self.args.port 144 | else: 145 | server_udp_port = get_open_udp_port() 146 | server_tcp_port = get_open_tcp_port() 147 | threading.Thread(target=start_oscquery(server_udp_port, server_tcp_port), daemon=True).start() 148 | 149 | dispatcher = Dispatcher() 150 | dispatcher.map("/avatar/parameters/pat_right", _hit_collider_right) 151 | dispatcher.map("/avatar/parameters/pat_left", _hit_collider_left) 152 | dispatcher.map("/avatar/parameters/*", _recv_packet) 153 | 154 | self.osc = BlockingOSCUDPServer(("127.0.0.1", server_udp_port), dispatcher) 155 | print("OSC serving on {}".format(server_udp_port)) # While server is active, receive messages 156 | self.osc.serve_forever() 157 | 158 | def shutdown(self): 159 | self.running = False 160 | self.osc.shutdown() 161 | if self.socket is not None: 162 | self.socket.shutdown(2) 163 | self.socket.close() 164 | --------------------------------------------------------------------------------