Showing preview only (490K chars total). Download the full file or copy to clipboard to get everything.
Repository: makermoekoe/LORA-GPS-Tracker
Branch: main
Commit: 0d9e2bcb59f2
Files: 17
Total size: 474.5 KB
Directory structure:
gitextract_zidj1fbe/
├── .gitignore
├── LICENSE
├── README.md
├── code/
│ ├── LORA_GPS_ESP32S2_DEEPSLEEP/
│ │ ├── .gitignore
│ │ ├── include/
│ │ │ └── README
│ │ ├── lib/
│ │ │ └── README
│ │ ├── platformio.ini
│ │ ├── src/
│ │ │ └── main.cpp
│ │ └── test/
│ │ └── README
│ └── LORA_GPS_ESP32S2_MQTT_GATEWAY/
│ ├── .gitignore
│ ├── include/
│ │ └── README
│ ├── lib/
│ │ └── README
│ ├── platformio.ini
│ ├── src/
│ │ └── main.cpp
│ └── test/
│ └── README
└── pcb/
├── lora_esp32_gps.brd
└── lora_esp32_gps.sch
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
.DS_Store
================================================
FILE: LICENSE
================================================
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
================================================
FILE: README.md
================================================
# LORA-GPS-Tracker
**This page is a work in progress!**
<img src="docs/lora_gps_full.jpg" width="500px"></a>
This LORA-GPS-Tracker was designed to just test three modules, which I haven't worked with yet: the RFM95 LORA module, the ESP32-S2-Mini module and the ATGM336h GPS module. All combined this device can be used as a GPS-Tracker for LORA based systems. Additionally to the modules, the board includes a 0.96" OLED display, two user buttons, a user RGB LED, a LiPo battery charger with a 16340 cell holder, and a dual LDO setup, which is very handy when it comes to deep sleeping.
Here are some specs of the board:
- ESP32-S2-Mini
- USB Type-C for charging the battery and flashing the ESP32
- Dual LDO setup, which will reduce the sleep current (the main power sinks can be shut down before entering a sleep mode)
- Power friendly OLED display
- Dimensions are 60x43mm
The [Youtube Video](https://youtu.be/C7jFupvuy9M) shows the PCB assembly process, some initial tests and some power measurements.
## Connections
The RFM95 LORA module is connected via SPI, the ATGM336h GPS module is connected via UART and the OLED display is connected via I2C.
GPIO ESP32 | Function | Mode
-------- | -------- | --------
GPIO1 | LORA_RST | Output
GPIO2 | LORA_MISO | Input
GPIO3 | LORA_MOSI | Output
GPIO4 | LORA_SCK | Output
GPIO5 | LORA_CS | Output
GPIO6 | LORA_INT | Input
GPIO7 | LORA_DIO1 | Data
GPIO8 | LORA_DIO2 | Data
GPIO12 | Button2 | Input
GPIO14 | Enable LDO2 | Output
GPIO15 | BAT_ADC | Input
GPIO16 | Button1 | Input
GPIO19 | USB_DN | Data
GPIO20 | USB_DP | Data
GPIO34 | OLED_RST | Output
GPIO35 | I2C_SCL | Output
GPIO36 | I2C_SDA | Data
GPIO37 | LED_CLK | Output
GPIO38 | LED_SDI | Data
GPIO40 | GPS_PPS | Input
GPIO41 | GPS_RXD | Input
GPIO42 | GPS_TXD | Output
By switching off the EN_LDO2 output, the second LDO which powers the GPS as well as LORA module, the onboard LED and the OLED display, will be shut down.
## Power measurements
<img src="docs/lora_gps_power_meas.png" width="500px"></a>
State | Avg. current | Peak current
-------- | -------- | --------
Reading sensors | 80mA | 92mA
Transmitting LORA | 135mA | 208mA
Deep sleep | 75µA | 82µA
Note: The schematics in this repo have the I2C pull-up resistors connected to +3V3. It reduces the power consumption if you don't mount these resistors or if you connect them to VDD (controllable via LDO2).
================================================
FILE: code/LORA_GPS_ESP32S2_DEEPSLEEP/.gitignore
================================================
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch
================================================
FILE: code/LORA_GPS_ESP32S2_DEEPSLEEP/include/README
================================================
This directory is intended for project header files.
A header file is a file containing C declarations and macro definitions
to be shared between several project source files. You request the use of a
header file in your project source file (C, C++, etc) located in `src` folder
by including it, with the C preprocessing directive `#include'.
```src/main.c
#include "header.h"
int main (void)
{
...
}
```
Including a header file produces the same results as copying the header file
into each source file that needs it. Such copying would be time-consuming
and error-prone. With a header file, the related declarations appear
in only one place. If they need to be changed, they can be changed in one
place, and programs that include the header file will automatically use the
new version when next recompiled. The header file eliminates the labor of
finding and changing all the copies as well as the risk that a failure to
find one copy will result in inconsistencies within a program.
In C, the usual convention is to give header files names that end with `.h'.
It is most portable to use only letters, digits, dashes, and underscores in
header file names, and at most one dot.
Read more about using header files in official GCC documentation:
* Include Syntax
* Include Operation
* Once-Only Headers
* Computed Includes
https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html
================================================
FILE: code/LORA_GPS_ESP32S2_DEEPSLEEP/lib/README
================================================
This directory is intended for project specific (private) libraries.
PlatformIO will compile them to static libraries and link into executable file.
The source code of each library should be placed in a an own separate directory
("lib/your_library_name/[here are source files]").
For example, see a structure of the following two libraries `Foo` and `Bar`:
|--lib
| |
| |--Bar
| | |--docs
| | |--examples
| | |--src
| | |- Bar.c
| | |- Bar.h
| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html
| |
| |--Foo
| | |- Foo.c
| | |- Foo.h
| |
| |- README --> THIS FILE
|
|- platformio.ini
|--src
|- main.c
and a contents of `src/main.c`:
```
#include <Foo.h>
#include <Bar.h>
int main (void)
{
...
}
```
PlatformIO Library Dependency Finder will find automatically dependent
libraries scanning project source files.
More information about PlatformIO Library Dependency Finder
- https://docs.platformio.org/page/librarymanager/ldf.html
================================================
FILE: code/LORA_GPS_ESP32S2_DEEPSLEEP/platformio.ini
================================================
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:esp32s2]
platform = espressif32
board = esp32dev
board_build.mcu = esp32s2
board_build.f_cpu = 240000000L
board_build.f_flash = 80000000
board_build.flash_mode = dio
framework = arduino
upload_speed = 460800
upload_port = /dev/cu.usbmodem01
monitor_port = /dev/cu.usbmodem01
monitor_speed = 115200
upload_resetmethod = ck
build_flags =
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MSC_ON_BOOT=0
lib_deps =
fastled/FastLED
olikraus/U8g2
sandeepmistry/LoRa@^0.8.0
mikalhart/TinyGPSPlus@^1.0.3
================================================
FILE: code/LORA_GPS_ESP32S2_DEEPSLEEP/src/main.cpp
================================================
#include <Arduino.h>
#include <FastLED.h>
// #include <WiFi.h>
#include <Wire.h>
#include <U8g2lib.h>
#include <SPI.h>
#include <LoRa.h>
#include <TinyGPS++.h>
#define APA102_SDI_PIN 38
#define APA102_CLK_PIN 37
#define BTN1_PIN 16
#define BTN2_PIN 12
#define EN_LDO2_PIN 14
#define ADC_PIN 15
#define OLED_RST_PIN 34
#define LORA_RST_PIN 1
#define LORA_MISO_PIN 2
#define LORA_MOSI_PIN 3
#define LORA_SCK_PIN 4
#define LORA_CS_PIN 5
#define LORA_INT_PIN 6
#define LORA_DIO1_PIN 7
#define LORA_DIO2_PIN 8
#define SDA_PIN_M 36
#define SCL_PIN_M 35
#define GPS_PPS_PIN 40
#define GPS_RXD_PIN 42
#define GPS_TXD_PIN 41
#define NUM_LEDS 1
CRGB leds[NUM_LEDS];
#define WIDTH 128
#define HEIGHT 64
U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ OLED_RST_PIN, /* clock=*/ SCL_PIN_M, /* data=*/ SDA_PIN_M);
const char* ssid = "XXX";
const char* password = "XXX";
TinyGPSPlus gps;
float lattitude,longitude;
unsigned long lora_sent_at = 0;
bool gps_pps_state = true;
unsigned long gps_pps_delay = 0;
unsigned long gps_last_pps_signal = 0;
float counter = 0;
// 100%, 95%, 90%, 85%, ...
int battery_percentage[] = {4200, 4150, 4110, 4080, 4020, 3980, 3950, 3910, 3870, 3850, 3840, 3820, 3800, 3790, 3770, 3750, 3730, 3710, 3690, 3610, 3270};
float get_battery_voltage(){
int sum = 0;
for(int i=0; i<100; i++) {
sum = sum + analogRead(ADC_PIN);
}
float result = sum/100.0;
return result * (1.3665);
}
int get_battery_percentage(float mv){
int battery_mv = int(mv);
int perc = 0;
for(int i=0; i<=20; i++) if(battery_mv > battery_percentage[20-i]) perc+=5;
return constrain(perc, 0, 100);
}
String get_gps_time(){
int h, m, s;
String gps_time = "";
if(gps.time.isValid()){
h = (gps.time.hour() + 2) % 24;
m = gps.time.minute();
s = gps.time.second();
if(h<10) gps_time += "0";
gps_time += String(h);
gps_time += ":";
if(m<10) gps_time += "0";
gps_time += String(m);
gps_time += ":";
if(s<10) gps_time += "0";
gps_time += String(s);
}
else{
gps_time = "invalid";
}
return gps_time;
}
String get_gps_date(){
int y, mo, d;
String gps_date = "";
if(gps.time.isValid()){
y = gps.date.year();
mo = gps.date.month();
d = gps.date.day();
if(d<10) gps_date += "0";
gps_date += String(d);
gps_date += ".";
if(mo<10) gps_date += "0";
gps_date += String(mo);
gps_date += ".";
gps_date += String(y);
}
else{
gps_date = "invalid";
}
return gps_date;
}
// Set used fonts with width and height of each character
struct fonts {
const uint8_t* font;
int width;
int height;
};
fonts font_xl = {u8g2_font_profont29_mf, 16, 19};
fonts font_m = {u8g2_font_profont17_mf, 9, 11};
fonts font_s = {u8g2_font_profont12_mf, 6, 8};
fonts font_xs = {u8g2_font_profont10_mf, 5, 6};
// Custom type to set up a page on the OLED display. Baisc structure is a page of three fields.
// A top one with the power, a left one with the voltage and a right one with the current.
struct display_page {
String title;
float *value;
String msg;
bool is_value;
};
float val1 = 0.0;
float placeholder = 0.0;
String msg2display_top = "";
String msg2display_bot = "";
display_page page_1 = {"Counter", &counter, "", true};
display_page page_2 = {"Test", &val1, "", true};
// Menu and Pages
#define N_PAGES 2
int current_page = 0;
bool new_page = true;
unsigned long t_new_page = 0;
struct page {
int p;
display_page &page;
};
page pages[N_PAGES] = {
{0, page_1},
{1, page_2},
};
// Alignment for the OLED display
enum box_alignment {
Center,
Left,
Right
};
// Custom type for setting up a box which can be drawn to the oled display. It is defined by
// the top left corner and the width and height of the box.
struct box {
int32_t left, top, width, height;
int32_t radius;
bool has_frame;
void draw(bool fill) {
int frame = has_frame ? 4 : 0;
if (fill) u8g2.drawRBox(left + frame, top + frame, width - (2*frame), height - (2*frame), radius);
else u8g2.drawRFrame(left, top, width, height, radius);
}
void print_text(String str, fonts f, box_alignment align, float pos) {
u8g2.setFont(f.font);
int x = 0;
if(align == Center) x = left + 0.5 * (width - (f.width * str.length() - 1));
else if(align == Left) x = left + 5;
else if(align == Right) x = left + width - f.width * str.length() - 5;
u8g2.setCursor(x, top + pos * height + f.height / 2);
u8g2.print(str);
}
};
// Initialize the boxes for the OLED
box top_left = {0, 0, 64, 10, 0, false};
box row1 = {0, 0, 128, 10, 0, false};
box row2 = {0, row1.top + row1.height, 128, row1.height, 0, false};
box row3 = {0, row2.top + row2.height, 128, row1.height, 0, false};
box row4 = {0, row3.top + row3.height, 128, row1.height, 0, false};
box row5 = {0, row4.top + row4.height, 128, row1.height, 0, false};
box row6 = {0, row5.top + row5.height, 128, row1.height, 0, false};
// Update the OLED display with the three boxes according to the given pages
void update_display(){
u8g2.clearBuffer();
if(new_page){
if(millis() <= t_new_page + 800){
top_left.print_text(pages[current_page].page.title, font_m, Center, 0.5);
}
else{
new_page = false;
}
}
if(!new_page){
float bat_voltage = get_battery_voltage();
String str0 = "Time: " + get_gps_time() + ", " + String(counter, 0);
String str1 = "Date: " + get_gps_date();
String str2 = "Battery: " + String(bat_voltage, 0) + "mV, " + String(get_battery_percentage(bat_voltage)) + "%";
String str3 = "Loc: " + (gps.location.isValid() ? (String(gps.location.lat(), 6) + ", " + String(gps.location.lng(), 6)) : "invalid");
String str4 = "Lora sent at: " + String(lora_sent_at);
String str5 = "PPS delay: " + String(gps_pps_delay) + ", Sat: " + String(gps.satellites.value());
row1.print_text(str0, font_xs, Center, 0.5);
row2.print_text(str1, font_xs, Center, 0.5);
row3.print_text(str2, font_xs, Center, 0.5);
row4.print_text(str3, font_xs, Center, 0.5);
row5.print_text(str4, font_xs, Center, 0.5);
row6.print_text(str5, font_xs, Center, 0.5);
}
u8g2.sendBuffer();
}
void displayInfo(){
Serial.print(F("Location: "));
if (gps.location.isValid()){
Serial.print(gps.location.lat(), 6);
Serial.print(F(","));
Serial.print(gps.location.lng(), 6);
}
else{
Serial.print(F("INVALID"));
}
Serial.println();
}
void setup() {
Serial.begin(115200);
Serial1.begin(9600, SERIAL_8N1, GPS_RXD_PIN, GPS_TXD_PIN, false);
pinMode(EN_LDO2_PIN, OUTPUT);
digitalWrite(EN_LDO2_PIN, HIGH);
pinMode(GPS_PPS_PIN, INPUT);
pinMode(BTN1_PIN, INPUT);
pinMode(BTN2_PIN, INPUT);
pinMode(ADC_PIN, INPUT);
analogReadResolution(12);
delay(100);
FastLED.addLeds<APA102, APA102_SDI_PIN, APA102_CLK_PIN, BGR>(leds, NUM_LEDS);
FastLED.setBrightness(200);
delay(100);
leds[0] = CRGB::Green;
FastLED.show();
SPI.begin(LORA_SCK_PIN, LORA_MISO_PIN, LORA_MOSI_PIN, LORA_CS_PIN);
LoRa.setPins(LORA_CS_PIN, LORA_RST_PIN, LORA_DIO1_PIN);
if (!LoRa.begin(866E6)) {
Serial.println("LoRa fail!");
while (1);
}
Serial.println("LoRa OK!");
Wire.begin(SDA_PIN_M, SCL_PIN_M);
delay(100);
u8g2.begin();
delay(100);
u8g2.clearBuffer();
u8g2.sendBuffer();
}
unsigned long t_display = millis() + 100;
unsigned long t_send = millis() + 500;
unsigned long t_pps = millis() + 600;
unsigned long t_lora_send = millis() + 800;
void loop() {
if (Serial1.available() > 0){
if (gps.encode(Serial1.read())){
// displayInfo();
}
}
if(digitalRead(GPS_PPS_PIN) == 1 && gps_pps_state){
gps_pps_delay = millis() - gps_last_pps_signal;
gps_last_pps_signal = millis();
String pps_str = "PPS delay: " + String(gps_pps_delay);
Serial.println(pps_str);
gps_pps_state = false;
}
else if(digitalRead(GPS_PPS_PIN) == 0 && !gps_pps_state){
gps_pps_state = true;
}
if(millis() >= t_display + 1000){
t_display = millis();
update_display();
counter++;
int bat_voltage = get_battery_voltage();
Serial.print(bat_voltage);
Serial.print("\t");
Serial.println(get_battery_percentage(bat_voltage));
}
if(digitalRead(BTN1_PIN) == 0){
leds[0] = CRGB(0,0,100);
FastLED.show();
while(digitalRead(BTN1_PIN) == 0) delay(10);
delay(500);
digitalWrite(EN_LDO2_PIN, LOW);
esp_sleep_enable_timer_wakeup(20000000);
esp_sleep_enable_ext0_wakeup(GPIO_NUM_16, 0);
esp_deep_sleep_start();
leds[0] = CRGB(0,0,0);
FastLED.show();
}
if(digitalRead(BTN2_PIN) == 0){
leds[0] = CRGB(0,100,0);
FastLED.show();
String str = "Hey there at " + String(millis());
lora_sent_at = millis();
LoRa.beginPacket();
LoRa.print(str);
LoRa.endPacket();
while(digitalRead(BTN2_PIN) == 0) delay(10);
leds[0] = CRGB(0,0,0);
FastLED.show();
}
if(millis() >= t_lora_send + 10000 && true){
t_lora_send = millis();
lora_sent_at = millis();
String gps_time = get_gps_time();
String gps_date = get_gps_date();
float lat = gps.location.isValid() ? gps.location.lat() : 0;
float lng = gps.location.isValid() ? gps.location.lng() : 0;
int bat_voltage = get_battery_voltage();
int bat_perc = get_battery_percentage(bat_voltage);
String str_lora = "LORA;GT-" + String(gps_time) + ";GD-" + String(gps_date) + ";GLAT-" + String(lat, 6) +
+ ";GLNG-" + String(lng, 6) + ";BV-" + String(bat_voltage) + ";BP-" + String(bat_perc) + ";#";
Serial.print("Send package: ");
Serial.println(str_lora);
LoRa.beginPacket();
LoRa.print(str_lora);
LoRa.endPacket();
}
}
================================================
FILE: code/LORA_GPS_ESP32S2_DEEPSLEEP/test/README
================================================
This directory is intended for PlatformIO Unit Testing and project tests.
Unit Testing is a software testing method by which individual units of
source code, sets of one or more MCU program modules together with associated
control data, usage procedures, and operating procedures, are tested to
determine whether they are fit for use. Unit testing finds problems early
in the development cycle.
More information about PlatformIO Unit Testing:
- https://docs.platformio.org/page/plus/unit-testing.html
================================================
FILE: code/LORA_GPS_ESP32S2_MQTT_GATEWAY/.gitignore
================================================
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch
================================================
FILE: code/LORA_GPS_ESP32S2_MQTT_GATEWAY/include/README
================================================
This directory is intended for project header files.
A header file is a file containing C declarations and macro definitions
to be shared between several project source files. You request the use of a
header file in your project source file (C, C++, etc) located in `src` folder
by including it, with the C preprocessing directive `#include'.
```src/main.c
#include "header.h"
int main (void)
{
...
}
```
Including a header file produces the same results as copying the header file
into each source file that needs it. Such copying would be time-consuming
and error-prone. With a header file, the related declarations appear
in only one place. If they need to be changed, they can be changed in one
place, and programs that include the header file will automatically use the
new version when next recompiled. The header file eliminates the labor of
finding and changing all the copies as well as the risk that a failure to
find one copy will result in inconsistencies within a program.
In C, the usual convention is to give header files names that end with `.h'.
It is most portable to use only letters, digits, dashes, and underscores in
header file names, and at most one dot.
Read more about using header files in official GCC documentation:
* Include Syntax
* Include Operation
* Once-Only Headers
* Computed Includes
https://gcc.gnu.org/onlinedocs/cpp/Header-Files.html
================================================
FILE: code/LORA_GPS_ESP32S2_MQTT_GATEWAY/lib/README
================================================
This directory is intended for project specific (private) libraries.
PlatformIO will compile them to static libraries and link into executable file.
The source code of each library should be placed in a an own separate directory
("lib/your_library_name/[here are source files]").
For example, see a structure of the following two libraries `Foo` and `Bar`:
|--lib
| |
| |--Bar
| | |--docs
| | |--examples
| | |--src
| | |- Bar.c
| | |- Bar.h
| | |- library.json (optional, custom build options, etc) https://docs.platformio.org/page/librarymanager/config.html
| |
| |--Foo
| | |- Foo.c
| | |- Foo.h
| |
| |- README --> THIS FILE
|
|- platformio.ini
|--src
|- main.c
and a contents of `src/main.c`:
```
#include <Foo.h>
#include <Bar.h>
int main (void)
{
...
}
```
PlatformIO Library Dependency Finder will find automatically dependent
libraries scanning project source files.
More information about PlatformIO Library Dependency Finder
- https://docs.platformio.org/page/librarymanager/ldf.html
================================================
FILE: code/LORA_GPS_ESP32S2_MQTT_GATEWAY/platformio.ini
================================================
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:esp32s2]
platform = espressif32
board = esp32dev
board_build.mcu = esp32s2
board_build.f_cpu = 240000000L
board_build.f_flash = 80000000
board_build.flash_mode = dio
framework = arduino
upload_speed = 460800
upload_port = /dev/cu.usbmodem01
monitor_port = /dev/cu.usbmodem01
monitor_speed = 115200
upload_resetmethod = ck
build_flags =
-DBOARD_HAS_PSRAM
-mfix-esp32-psram-cache-issue
-DARDUINO_USB_CDC_ON_BOOT=1
-DARDUINO_USB_MSC_ON_BOOT=0
lib_deps =
fastled/FastLED
olikraus/U8g2
sandeepmistry/LoRa@^0.8.0
knolleary/PubSubClient@^2.8
mikalhart/TinyGPSPlus@^1.0.3
adafruit/Adafruit Si7021 Library@^1.5.0
================================================
FILE: code/LORA_GPS_ESP32S2_MQTT_GATEWAY/src/main.cpp
================================================
#include <Arduino.h>
#include <FastLED.h>
#include <esp_wifi.h>
#include <WiFi.h>
#include <Wire.h>
#include <U8g2lib.h>
#include <SPI.h>
#include <LoRa.h>
#include <TinyGPS++.h>
#include <PubSubClient.h>
#include "Adafruit_Si7021.h"
Adafruit_Si7021 sensor;
#define APA102_SDI_PIN 38
#define APA102_CLK_PIN 37
#define BTN1_PIN 16
#define BTN2_PIN 12
#define EN_LDO2_PIN 14
#define ADC_PIN 15
#define OLED_RST_PIN 34
#define LORA_RST_PIN 1
#define LORA_MISO_PIN 2
#define LORA_MOSI_PIN 3
#define LORA_SCK_PIN 4
#define LORA_CS_PIN 5
#define LORA_INT_PIN 6
#define LORA_DIO1_PIN 7
#define LORA_DIO2_PIN 8
#define SDA_PIN_M 36
#define SCL_PIN_M 35
#define GPS_PPS_PIN 40
#define GPS_RXD_PIN 42
#define GPS_TXD_PIN 41
#define NUM_LEDS 1
CRGB leds[NUM_LEDS];
#define WIDTH 128
#define HEIGHT 64
U8G2_SSD1306_128X64_NONAME_F_HW_I2C u8g2(U8G2_R0, /* reset=*/ OLED_RST_PIN, /* clock=*/ SCL_PIN_M, /* data=*/ SDA_PIN_M);
const char* ssid = "XXX";
const char* password = "XXX";
const char* mqtt_server = "192.168.178.104";
#define LORA_ID 2948
String lora_data;
int last_rssi = 0;
String recv_time = "";
String recv_date = "";
int recv_lat = 0;
int recv_lng = 0;
int recv_bat_voltage = 0;
int recv_bat_perc = 0;
int recv_uv_value = 0;
TinyGPSPlus gps;
float lattitude,longitude;
WiFiClient espClient;
PubSubClient client(espClient);
long lastMsg = 0;
char msg[50];
bool new_data_received = false;
bool new_data_to_mqtt = false;
unsigned long t_new_data_received = 0;
unsigned long lora_sent_at = 0;
float counter = 0;
// 100%, 95%, 90%, 85%, ...
int battery_percentage[] = {4200, 4150, 4110, 4080, 4020, 3980, 3950, 3910, 3870, 3850, 3840, 3820, 3800, 3790, 3770, 3750, 3730, 3710, 3690, 3610, 3270};
int get_battery_voltage(){
int sum = 0;
for(int i=0; i<100; i++) {
sum = sum + analogRead(ADC_PIN);
}
float result = float(sum)/100.0;
return int(result * (1.3665));
}
int get_battery_percentage(int battery_mv){
int perc = 0;
for(int i=0; i<=20; i++) if(battery_mv > battery_percentage[20-i]) perc+=5;
return constrain(perc, 0, 100);
}
String get_gps_time(){
int h, m, s;
String gps_time = "";
if(gps.time.isValid()){
h = (gps.time.hour() + 2) % 24;
m = gps.time.minute();
s = gps.time.second();
if(h<10) gps_time += "0";
gps_time += String(h);
gps_time += ":";
if(m<10) gps_time += "0";
gps_time += String(m);
gps_time += ":";
if(s<10) gps_time += "0";
gps_time += String(s);
}
else{
gps_time = "invalid";
}
return gps_time;
}
String get_gps_date(){
int y, mo, d;
String gps_date = "";
if(gps.time.isValid()){
y = gps.date.year();
mo = gps.date.month();
d = gps.date.day();
if(d<10) gps_date += "0";
gps_date += String(d);
gps_date += ".";
if(mo<10) gps_date += "0";
gps_date += String(mo);
gps_date += ".";
gps_date += String(y);
}
else{
gps_date = "invalid";
}
return gps_date;
}
// Set used fonts with width and height of each character
struct fonts {
const uint8_t* font;
int width;
int height;
};
fonts font_xl = {u8g2_font_profont29_mf, 16, 19};
fonts font_m = {u8g2_font_profont17_mf, 9, 11};
fonts font_s = {u8g2_font_profont12_mf, 6, 8};
fonts font_xs = {u8g2_font_profont10_mf, 5, 6};
// Custom type to set up a page on the OLED display. Baisc structure is a page of three fields.
// A top one with the power, a left one with the voltage and a right one with the current.
struct display_page {
String title;
float *value;
String msg;
bool is_value;
};
float val1 = 0.0;
float placeholder = 0.0;
String msg2display_top = "";
String msg2display_bot = "";
display_page page_1 = {"Counter", &counter, "", true};
display_page page_2 = {"Test", &val1, "", true};
// Menu and Pages
#define N_PAGES 2
int current_page = 0;
bool new_page = true;
unsigned long t_new_page = 0;
struct page {
int p;
display_page &page;
};
page pages[N_PAGES] = {
{0, page_1},
{1, page_2},
};
// Alignment for the OLED display
enum box_alignment {
Center,
Left,
Right
};
// Custom type for setting up a box which can be drawn to the oled display. It is defined by
// the top left corner and the width and height of the box.
struct box {
int32_t left, top, width, height;
int32_t radius;
bool has_frame;
void draw(bool fill) {
int frame = has_frame ? 4 : 0;
if (fill) u8g2.drawRBox(left + frame, top + frame, width - (2*frame), height - (2*frame), radius);
else u8g2.drawRFrame(left, top, width, height, radius);
}
void print_text(String str, fonts f, box_alignment align, float pos) {
u8g2.setFont(f.font);
int x = 0;
if(align == Center) x = left + 0.5 * (width - (f.width * str.length() - 1));
else if(align == Left) x = left + 5;
else if(align == Right) x = left + width - f.width * str.length() - 5;
u8g2.setCursor(x, top + pos * height + f.height / 2);
u8g2.print(str);
}
};
// Initialize the boxes for the OLED
box top_left = {0, 0, 64, 10, 0, false};
box row1 = {0, 0, 128, 10, 0, false};
box row2 = {0, row1.top + row1.height, 128, row1.height, 0, false};
box row3 = {0, row2.top + row2.height, 128, row1.height, 0, false};
box row4 = {0, row3.top + row3.height, 128, row1.height, 0, false};
box row5 = {0, row4.top + row4.height, 128, row1.height, 0, false};
box row6 = {0, row5.top + row5.height, 128, row1.height, 0, false};
// Update the OLED display with the three boxes according to the given pages
void update_display(){
u8g2.clearBuffer();
if(new_page){
if(millis() <= t_new_page + 800){
top_left.print_text(pages[current_page].page.title, font_m, Center, 0.5);
}
else{
new_page = false;
}
}
if(!new_page){
String str0 = String(get_gps_date()) + " - " + String(get_gps_time());
String str1 = String(0, 2) + " C, Received data";
String str2 = String(recv_date) + " - " + String(recv_time);
String str3 = "Battery: " + String(recv_bat_voltage) + " mV, " + String(recv_bat_perc) + "%";
String str4 = "UV: " + String(recv_uv_value);
String str5 = "RSSI: " + String(last_rssi);
row1.print_text(str0, font_xs, Center, 0.5);
row2.print_text(str1, font_xs, Center, 0.5);
row3.print_text(str2, font_xs, Center, 0.5);
row4.print_text(str3, font_xs, Center, 0.5);
row5.print_text(str4, font_xs, Center, 0.5);
row6.print_text(str5, font_xs, Center, 0.5);
}
u8g2.sendBuffer();
}
void go_to_deepsleep(){
delay(300);
digitalWrite(EN_LDO2_PIN, LOW);
delay(100);
esp_sleep_enable_timer_wakeup(10000000);
esp_sleep_enable_ext0_wakeup(GPIO_NUM_16, 0);
esp_deep_sleep_start();
}
void callback(char* topic, byte* message, unsigned int length) {
Serial.print("MQTT message arrived on topic: ");
Serial.print(topic);
Serial.print(": ");
String messageTemp;
for (int i = 0; i < length; i++) {
Serial.print((char)message[i]);
messageTemp += (char)message[i];
}
Serial.println();
}
void reconnect() {
while (!client.connected()) {
Serial.print("Attempting MQTT connection...");
leds[0] = CRGB::Red;
FastLED.show();
// Attempt to connect
if (client.connect("MQTTClient_Lora", "moekoe", "moekoe@mqtt")) {
Serial.println("connected");
client.subscribe("home/#");
leds[0] = CRGB::Black;
FastLED.show();
} else {
Serial.print("failed, rc=");
Serial.print(client.state());
Serial.println(" try again in 5 seconds");
delay(5000);
}
}
}
int32_t getWiFiChannel(const char *ssid) {
if (int32_t n = WiFi.scanNetworks()) {
for (uint8_t i=0; i<n; i++) {
if (!strcmp(ssid, WiFi.SSID(i).c_str())) {
return WiFi.channel(i);
}
}
}
return 0;
}
void setup() {
Serial.begin(115200);
Serial1.begin(9600, SERIAL_8N1, GPS_RXD_PIN, GPS_TXD_PIN, false);
pinMode(EN_LDO2_PIN, OUTPUT);
digitalWrite(EN_LDO2_PIN, HIGH);
pinMode(GPS_PPS_PIN, INPUT);
pinMode(BTN1_PIN, INPUT);
pinMode(BTN2_PIN, INPUT);
pinMode(ADC_PIN, INPUT);
analogReadResolution(12);
delay(100);
FastLED.addLeds<APA102, APA102_SDI_PIN, APA102_CLK_PIN, BGR>(leds, NUM_LEDS);
FastLED.setBrightness(200);
delay(100);
leds[0] = CRGB::Green;
FastLED.show();
int32_t channel = getWiFiChannel(ssid);
esp_wifi_set_channel(channel, WIFI_SECOND_CHAN_NONE);
WiFi.mode(WIFI_AP_STA);
WiFi.begin(ssid, password);
while (WiFi.status() != WL_CONNECTED) {
leds[0] = CRGB::Green;
FastLED.show();
delay(250);
Serial.print(".");
leds[0] = CRGB::Black;
FastLED.show();
delay(250);
}
SPI.begin(LORA_SCK_PIN, LORA_MISO_PIN, LORA_MOSI_PIN, LORA_CS_PIN);
LoRa.setPins(LORA_CS_PIN, LORA_RST_PIN, LORA_DIO1_PIN);
if (!LoRa.begin(866E6)) {
Serial.println("LoRa fail!");
while (1);
}
Serial.println("LoRa OK!");
Wire.begin(SDA_PIN_M, SCL_PIN_M);
delay(100);
u8g2.begin();
delay(100);
u8g2.clearBuffer();
u8g2.sendBuffer();
delay(100);
client.setServer(mqtt_server, 1883);
client.setCallback(callback);
}
unsigned long t_display = millis() + 100;
unsigned long t_send = millis() + 500;
unsigned long t_pps = millis() + 600;
unsigned long t_lora_send = millis() + 800;
void loop() {
if (Serial1.available() > 0){
if (gps.encode(Serial1.read())){
// displayInfo();
}
}
if(millis() >= t_display + 500){
t_display = millis();
update_display();
counter++;
}
if(digitalRead(BTN1_PIN) == 0){
leds[0] = CRGB(0,0,100);
FastLED.show();
while(digitalRead(BTN1_PIN) == 0) delay(10);
go_to_deepsleep();
leds[0] = CRGB(0,0,0);
FastLED.show();
}
if(digitalRead(BTN2_PIN) == 0){
leds[0] = CRGB(0,100,0);
FastLED.show();
String str = "Hey there at " + String(millis());
lora_sent_at = millis();
LoRa.beginPacket();
LoRa.print(str);
LoRa.endPacket();
while(digitalRead(BTN2_PIN) == 0) delay(10);
leds[0] = CRGB(0,0,0);
FastLED.show();
}
int packetSize = LoRa.parsePacket();
if (packetSize) {
new_data_received = true;
Serial.print("Paket empfangen ");
leds[0] = CRGB::Blue;
FastLED.show();
//Paket auslesen
while (LoRa.available()) {
lora_data = LoRa.readString();
}
Serial.println(lora_data);
int end_sep = lora_data.indexOf("#");
if(lora_data.startsWith("LORA") && end_sep > 0){
Serial.println("Correct String format");
int next_sep_start = 5;
int last_sep_start = 4;
int data_field_counter = 0;
while(next_sep_start + 1 < end_sep){
next_sep_start = lora_data.indexOf(";", next_sep_start+1);
String tmp = lora_data.substring(last_sep_start+1, next_sep_start);
last_sep_start = next_sep_start;
String topic = tmp.substring(0, tmp.indexOf("-"));
String value = tmp.substring(tmp.indexOf("-") + 1);
if(topic == "GT"){
recv_time = value;
}
else if(topic == "GD"){
recv_date = value;
}
else if(topic == "GLAT"){
recv_lat = value.toInt();
}
else if(topic == "GLNG"){
recv_lng = value.toInt();
}
else if(topic == "BV"){
recv_bat_voltage = value.toInt();
}
else if(topic == "BP"){
recv_bat_perc = value.toInt();
}
else if(topic == "UV"){
recv_uv_value = value.toInt();
}
data_field_counter++;
}
Serial.print("data_field_counter: ");
Serial.println(data_field_counter);
}
//RSSI ausgeben
int rssi = LoRa.packetRssi();
Serial.print(" mit RSSI ");
Serial.println(rssi);
last_rssi = rssi;
delay(100);
leds[0] = CRGB::Black;
FastLED.show();
}
if(new_data_received){
leds[0] = CRGB::Red;
FastLED.show();
new_data_received = false;
String topic_value = "home/lora" + String(LORA_ID) + "/value";
String topic_battery = "home/lora" + String(LORA_ID) + "/battery";
String topic_batterylevel = "home/lora" + String(LORA_ID) + "/batterylevel";
char topic_value_char[topic_value.length() + 1];
char topic_battery_char[topic_battery.length() + 1];
char topic_batterylevel_char[topic_batterylevel.length() + 1];
topic_value.toCharArray(topic_value_char, topic_value.length() + 1);
topic_battery.toCharArray(topic_battery_char, topic_battery.length() + 1);
topic_batterylevel.toCharArray(topic_batterylevel_char, topic_batterylevel.length() + 1);
char value_str[10];
dtostrf(recv_uv_value, 1, 2, value_str);
client.publish(topic_value_char, value_str);
delay(10);
char bat_str[10];
dtostrf(recv_bat_voltage, 1, 2, bat_str);
client.publish(topic_battery_char, bat_str);
delay(10);
char batlev_str[10];
dtostrf(recv_bat_perc, 1, 2, batlev_str);
client.publish(topic_batterylevel_char, batlev_str);
delay(100);
leds[0] = CRGB::Black;
FastLED.show();
}
if (!client.connected()) {
reconnect();
}
client.loop();
}
================================================
FILE: code/LORA_GPS_ESP32S2_MQTT_GATEWAY/test/README
================================================
This directory is intended for PlatformIO Unit Testing and project tests.
Unit Testing is a software testing method by which individual units of
source code, sets of one or more MCU program modules together with associated
control data, usage procedures, and operating procedures, are tested to
determine whether they are fit for use. Unit testing finds problems early
in the development cycle.
More information about PlatformIO Unit Testing:
- https://docs.platformio.org/page/plus/unit-testing.html
================================================
FILE: pcb/lora_esp32_gps.brd
================================================
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.6.2">
<drawing>
<settings>
<setting alwaysvectorfont="yes"/>
<setting verticaltext="up"/>
</settings>
<grid distance="0.2" unitdist="mm" unit="mm" style="lines" multiple="1" display="yes" altdistance="0.025" altunitdist="mm" altunit="mm"/>
<layers>
<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
<layer number="2" name="Route2" color="16" fill="1" visible="no" active="no"/>
<layer number="3" name="Route3" color="17" fill="1" visible="no" active="no"/>
<layer number="4" name="Route4" color="18" fill="1" visible="no" active="no"/>
<layer number="5" name="Route5" color="19" fill="1" visible="no" active="no"/>
<layer number="6" name="Route6" color="25" fill="1" visible="no" active="no"/>
<layer number="7" name="Route7" color="26" fill="1" visible="no" active="no"/>
<layer number="8" name="Route8" color="27" fill="1" visible="no" active="no"/>
<layer number="9" name="Route9" color="28" fill="1" visible="no" active="no"/>
<layer number="10" name="Route10" color="29" fill="1" visible="no" active="no"/>
<layer number="11" name="Route11" color="30" fill="1" visible="no" active="no"/>
<layer number="12" name="Route12" color="20" fill="1" visible="no" active="no"/>
<layer number="13" name="Route13" color="21" fill="1" visible="no" active="no"/>
<layer number="14" name="Route14" color="22" fill="1" visible="no" active="no"/>
<layer number="15" name="Route15" color="23" fill="1" visible="no" active="no"/>
<layer number="16" name="Bottom" color="1" fill="1" visible="yes" active="yes"/>
<layer number="17" name="Pads" color="2" fill="1" visible="yes" active="yes"/>
<layer number="18" name="Vias" color="2" fill="1" visible="yes" active="yes"/>
<layer number="19" name="Unrouted" color="6" fill="1" visible="yes" active="yes"/>
<layer number="20" name="Dimension" color="24" fill="1" visible="yes" active="yes"/>
<layer number="21" name="tPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="22" name="bPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="23" name="tOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="24" name="bOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="25" name="tNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="26" name="bNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="27" name="tValues" color="7" fill="1" visible="no" active="yes"/>
<layer number="28" name="bValues" color="7" fill="1" visible="no" active="yes"/>
<layer number="29" name="tStop" color="7" fill="3" visible="no" active="yes"/>
<layer number="30" name="bStop" color="7" fill="6" visible="no" active="yes"/>
<layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/>
<layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/>
<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/>
<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/>
<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/>
<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="yes"/>
<layer number="37" name="tTest" color="7" fill="1" visible="no" active="yes"/>
<layer number="38" name="bTest" color="7" fill="1" visible="no" active="yes"/>
<layer number="39" name="tKeepout" color="4" fill="11" visible="yes" active="yes"/>
<layer number="40" name="bKeepout" color="1" fill="11" visible="yes" active="yes"/>
<layer number="41" name="tRestrict" color="4" fill="10" visible="yes" active="yes"/>
<layer number="42" name="bRestrict" color="1" fill="10" visible="yes" active="yes"/>
<layer number="43" name="vRestrict" color="2" fill="10" visible="yes" active="yes"/>
<layer number="44" name="Drills" color="7" fill="1" visible="no" active="yes"/>
<layer number="45" name="Holes" color="7" fill="1" visible="no" active="yes"/>
<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/>
<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/>
<layer number="48" name="Document" color="7" fill="1" visible="yes" active="yes"/>
<layer number="49" name="Reference" color="7" fill="1" visible="yes" active="yes"/>
<layer number="50" name="dxf" color="7" fill="1" visible="no" active="no"/>
<layer number="51" name="tDocu" color="7" fill="1" visible="yes" active="yes"/>
<layer number="52" name="bDocu" color="7" fill="1" visible="yes" active="yes"/>
<layer number="53" name="tGND_GNDA" color="7" fill="9" visible="no" active="no"/>
<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/>
<layer number="56" name="wert" color="7" fill="1" visible="no" active="no"/>
<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/>
<layer number="59" name="tCarbon" color="7" fill="1" visible="no" active="no"/>
<layer number="60" name="bCarbon" color="7" fill="1" visible="no" active="no"/>
<layer number="88" name="SimResults" color="9" fill="1" visible="no" active="no"/>
<layer number="89" name="SimProbes" color="9" fill="1" visible="no" active="no"/>
<layer number="90" name="Modules" color="5" fill="1" visible="no" active="no"/>
<layer number="91" name="Nets" color="2" fill="1" visible="no" active="no"/>
<layer number="92" name="Busses" color="1" fill="1" visible="no" active="no"/>
<layer number="93" name="Pins" color="2" fill="1" visible="no" active="no"/>
<layer number="94" name="Symbols" color="4" fill="1" visible="no" active="no"/>
<layer number="95" name="Names" color="7" fill="1" visible="no" active="no"/>
<layer number="96" name="Values" color="7" fill="1" visible="no" active="no"/>
<layer number="97" name="Info" color="7" fill="1" visible="no" active="no"/>
<layer number="98" name="Guide" color="6" fill="1" visible="no" active="no"/>
<layer number="99" name="SpiceOrder" color="7" fill="1" visible="no" active="no"/>
<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/>
<layer number="101" name="Patch_Top" color="12" fill="4" visible="no" active="no"/>
<layer number="102" name="Vscore" color="7" fill="1" visible="no" active="no"/>
<layer number="103" name="tMap" color="7" fill="1" visible="no" active="no"/>
<layer number="104" name="Name" color="16" fill="1" visible="no" active="no"/>
<layer number="105" name="tPlate" color="7" fill="1" visible="no" active="no"/>
<layer number="106" name="bPlate" color="7" fill="1" visible="no" active="no"/>
<layer number="107" name="Crop" color="7" fill="1" visible="no" active="no"/>
<layer number="108" name="tplace-old" color="10" fill="1" visible="no" active="no"/>
<layer number="109" name="ref-old" color="11" fill="1" visible="no" active="no"/>
<layer number="110" name="fp0" color="7" fill="1" visible="no" active="no"/>
<layer number="111" name="LPC17xx" color="7" fill="1" visible="no" active="no"/>
<layer number="112" name="tSilk" color="7" fill="1" visible="no" active="no"/>
<layer number="113" name="IDFDebug" color="4" fill="1" visible="no" active="no"/>
<layer number="114" name="Badge_Outline" color="7" fill="1" visible="no" active="no"/>
<layer number="115" name="ReferenceISLANDS" color="7" fill="1" visible="no" active="no"/>
<layer number="116" name="Patch_BOT" color="9" fill="4" visible="no" active="no"/>
<layer number="117" name="PM_Ref" color="7" fill="1" visible="no" active="no"/>
<layer number="118" name="Rect_Pads" color="7" fill="1" visible="no" active="no"/>
<layer number="119" name="PF_Ref" color="7" fill="1" visible="no" active="no"/>
<layer number="120" name="WFL_Ref" color="7" fill="1" visible="no" active="no"/>
<layer number="121" name="_tsilk" color="7" fill="1" visible="no" active="no"/>
<layer number="122" name="_bsilk" color="7" fill="1" visible="no" active="no"/>
<layer number="123" name="tTestmark" color="7" fill="1" visible="no" active="no"/>
<layer number="124" name="bTestmark" color="7" fill="1" visible="no" active="no"/>
<layer number="125" name="_tNames" color="7" fill="1" visible="no" active="no"/>
<layer number="126" name="_bNames" color="7" fill="1" visible="no" active="no"/>
<layer number="127" name="_tValues" color="7" fill="1" visible="no" active="no"/>
<layer number="128" name="_bValues" color="7" fill="1" visible="no" active="no"/>
<layer number="129" name="Mask" color="7" fill="1" visible="no" active="no"/>
<layer number="130" name="SMDSTROOK" color="7" fill="1" visible="yes" active="yes"/>
<layer number="131" name="tAdjust" color="7" fill="1" visible="no" active="no"/>
<layer number="132" name="bAdjust" color="7" fill="1" visible="no" active="no"/>
<layer number="133" name="bottom_silk" color="7" fill="1" visible="yes" active="yes"/>
<layer number="134" name="silk_top" color="7" fill="1" visible="yes" active="yes"/>
<layer number="135" name="silk_bottom" color="7" fill="1" visible="yes" active="yes"/>
<layer number="136" name="silktop" color="7" fill="1" visible="yes" active="yes"/>
<layer number="137" name="silkbottom" color="7" fill="1" visible="yes" active="yes"/>
<layer number="144" name="Drill_legend" color="7" fill="1" visible="no" active="no"/>
<layer number="145" name="DrillLegend_01-02" color="7" fill="1" visible="yes" active="yes"/>
<layer number="146" name="DrillLegend_01-15" color="7" fill="1" visible="yes" active="yes"/>
<layer number="147" name="DrillLegend_01-16" color="7" fill="1" visible="yes" active="yes"/>
<layer number="148" name="DrillLegend_01-20" color="7" fill="1" visible="yes" active="yes"/>
<layer number="149" name="DrillLegend_02-15" color="7" fill="1" visible="yes" active="yes"/>
<layer number="150" name="Notes" color="7" fill="1" visible="no" active="no"/>
<layer number="151" name="HeatSink" color="7" fill="1" visible="no" active="no"/>
<layer number="152" name="_bDocu" color="7" fill="1" visible="no" active="no"/>
<layer number="153" name="FabDoc1" color="7" fill="1" visible="no" active="no"/>
<layer number="154" name="FabDoc2" color="7" fill="1" visible="no" active="no"/>
<layer number="155" name="FabDoc3" color="7" fill="1" visible="no" active="no"/>
<layer number="199" name="Contour" color="7" fill="1" visible="no" active="no"/>
<layer number="200" name="200bmp" color="1" fill="10" visible="yes" active="yes"/>
<layer number="201" name="201bmp" color="2" fill="10" visible="no" active="no"/>
<layer number="202" name="202bmp" color="3" fill="10" visible="no" active="no"/>
<layer number="203" name="203bmp" color="4" fill="10" visible="no" active="no"/>
<layer number="204" name="204bmp" color="5" fill="10" visible="no" active="no"/>
<layer number="205" name="205bmp" color="6" fill="10" visible="no" active="no"/>
<layer number="206" name="206bmp" color="7" fill="10" visible="no" active="no"/>
<layer number="207" name="207bmp" color="8" fill="10" visible="no" active="no"/>
<layer number="208" name="208bmp" color="9" fill="10" visible="no" active="no"/>
<layer number="209" name="209bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="210" name="210bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="211" name="211bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="212" name="212bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="213" name="213bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="214" name="214bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="215" name="215bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="216" name="216bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/>
<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/>
<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/>
<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/>
<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/>
<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/>
<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/>
<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/>
<layer number="225" name="225bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="226" name="226bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="227" name="227bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="228" name="228bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="229" name="229bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="230" name="230bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="231" name="231bmp" color="7" fill="1" visible="no" active="no"/>
<layer number="232" name="Eagle3D_PG2" color="7" fill="1" visible="no" active="no"/>
<layer number="233" name="Eagle3D_PG3" color="7" fill="1" visible="no" active="no"/>
<layer number="248" name="Housing" color="7" fill="1" visible="no" active="no"/>
<layer number="249" name="Edge" color="7" fill="1" visible="no" active="no"/>
<layer number="250" name="Descript" color="3" fill="1" visible="no" active="no"/>
<layer number="251" name="SMDround" color="12" fill="11" visible="no" active="no"/>
<layer number="254" name="cooling" color="7" fill="1" visible="no" active="no"/>
<layer number="255" name="routoute" color="7" fill="1" visible="no" active="no"/>
</layers>
<board>
<plain>
<wire x1="56" y1="43" x2="4" y2="43" width="0" layer="20"/>
<wire x1="4" y1="43" x2="0" y2="39" width="0" layer="20" curve="90"/>
<wire x1="0" y1="39" x2="0" y2="4" width="0" layer="20"/>
<wire x1="0" y1="4" x2="4" y2="0" width="0" layer="20" curve="90"/>
<wire x1="4" y1="0" x2="56" y2="0" width="0" layer="20"/>
<wire x1="56" y1="0" x2="60" y2="4" width="0" layer="20" curve="90"/>
<wire x1="60" y1="4" x2="60" y2="39" width="0" layer="20"/>
<wire x1="60" y1="39" x2="56" y2="43" width="0" layer="20" curve="90"/>
<text x="56.1" y="6.9" size="1.27" layer="26" font="vector" rot="MR0">LORA-GPS v1
@maker.moekoe
12.04.2022</text>
</plain>
<libraries>
<library name="moekoe_switches" urn="urn:adsk.eagle:library:34187185">
<packages>
<package name="PTS840ESDGMSMTRLFS" urn="urn:adsk.eagle:footprint:32951893/2" library_version="4">
<smd name="4" x="1.8" y="-0.75" dx="1.4" dy="1.05" layer="1"/>
<smd name="2" x="1.8" y="0.75" dx="1.4" dy="1.05" layer="1"/>
<smd name="1" x="-1.8" y="0.75" dx="1.4" dy="1.05" layer="1"/>
<smd name="3" x="-1.8" y="-0.75" dx="1.4" dy="1.05" layer="1"/>
<smd name="5" x="0" y="1.7" dx="1.1" dy="0.5" layer="1"/>
<wire x1="-2.286" y1="1.524" x2="-0.635" y2="1.524" width="0.05" layer="21"/>
<wire x1="-0.635" y1="1.524" x2="-0.635" y2="1.905" width="0.05" layer="21"/>
<wire x1="-0.635" y1="1.905" x2="0.635" y2="1.905" width="0.05" layer="21"/>
<wire x1="0.635" y1="1.905" x2="0.635" y2="1.524" width="0.05" layer="21"/>
<wire x1="0.635" y1="1.524" x2="2.286" y2="1.524" width="0.05" layer="21"/>
<wire x1="2.286" y1="1.524" x2="2.286" y2="-1.524" width="0.05" layer="21"/>
<wire x1="2.286" y1="-1.524" x2="2.032" y2="-1.524" width="0.05" layer="21"/>
<wire x1="2.032" y1="-1.524" x2="2.032" y2="-1.651" width="0.05" layer="21"/>
<wire x1="2.032" y1="-1.651" x2="-2.032" y2="-1.651" width="0.05" layer="21"/>
<wire x1="-2.032" y1="-1.651" x2="-2.032" y2="-1.524" width="0.05" layer="21"/>
<wire x1="-2.032" y1="-1.524" x2="-2.286" y2="-1.524" width="0.05" layer="21"/>
<wire x1="-2.286" y1="-1.524" x2="-2.286" y2="1.524" width="0.05" layer="21"/>
<wire x1="-2.032" y1="-1.524" x2="2.032" y2="-1.524" width="0.05" layer="21"/>
<text x="0" y="2.794" size="0.8128" layer="25" font="vector" align="center">>Name</text>
<hole x="0" y="0.9" drill="0.7"/>
<hole x="0" y="-0.9" drill="0.7"/>
</package>
</packages>
<packages3d>
<package3d name="PTS840ESDGMSMTRLFS" urn="urn:adsk.eagle:package:32951894/2" type="box" library_version="4">
<packageinstances>
<packageinstance name="PTS840ESDGMSMTRLFS"/>
</packageinstances>
</package3d>
</packages3d>
</library>
<library name="moekoe" urn="urn:adsk.eagle:library:28592718">
<packages>
<package name="C0603" urn="urn:adsk.eagle:footprint:28592872/1" library_version="26">
<description><b>CAPACITOR</b></description>
<wire x1="-0.356" y1="0.432" x2="0.356" y2="0.432" width="0.1016" layer="51"/>
<wire x1="-0.356" y1="-0.419" x2="0.356" y2="-0.419" width="0.1016" layer="51"/>
<smd name="1" x="-0.85" y="0" dx="1.1" dy="1" layer="1"/>
<smd name="2" x="0.85" y="0" dx="1.1" dy="1" layer="1"/>
<text x="-0.635" y="0.635" size="1.27" layer="25">>NAME</text>
<text x="-0.635" y="-1.905" size="1.27" layer="27">>VALUE</text>
<rectangle x1="-0.8382" y1="-0.4699" x2="-0.3381" y2="0.4801" layer="51"/>
<rectangle x1="0.3302" y1="-0.4699" x2="0.8303" y2="0.4801" layer="51"/>
<rectangle x1="-0.1999" y1="-0.3" x2="0.1999" y2="0.3" layer="35"/>
</package>
<package name="TS-1177-C-B-B" urn="urn:adsk.eagle:footprint:33719655/1" library_version="64">
<smd name="P2" x="1.8" y="1.1" dx="0.9" dy="0.6" layer="1"/>
<smd name="P4" x="1.8" y="-1.1" dx="0.9" dy="0.6" layer="1"/>
<smd name="P3" x="-1.8" y="-1.1" dx="0.9" dy="0.6" layer="1"/>
<smd name="P1" x="-1.8" y="1.1" dx="0.9" dy="0.6" layer="1"/>
<smd name="P$5" x="0" y="1.95" dx="0.8" dy="0.45" layer="1"/>
<smd name="P$6" x="0" y="-1.95" dx="0.8" dy="0.45" layer="1"/>
<wire x1="1.53" y1="-1.73" x2="-1.53" y2="-1.73" width="0.05" layer="21"/>
<wire x1="-1.53" y1="-1.73" x2="-1.73" y2="-1.53" width="0.05" layer="21"/>
<wire x1="-1.73" y1="-1.53" x2="-1.73" y2="1.53" width="0.05" layer="21"/>
<wire x1="-1.73" y1="1.53" x2="-1.53" y2="1.73" width="0.05" layer="21"/>
<wire x1="-1.53" y1="1.73" x2="1.53" y2="1.73" width="0.05" layer="21"/>
<wire x1="1.53" y1="1.73" x2="1.73" y2="1.53" width="0.05" layer="21"/>
<wire x1="1.73" y1="1.53" x2="1.73" y2="-1.53" width="0.05" layer="21"/>
<wire x1="1.73" y1="-1.53" x2="1.53" y2="-1.73" width="0.05" layer="21"/>
<circle x="0" y="0" radius="1.04726875" width="0.05" layer="21"/>
<text x="0" y="3.175" size="0.8128" layer="21" font="vector" align="center">>Name</text>
</package>
<package name="R0603" urn="urn:adsk.eagle:footprint:28592871/1" library_version="6">
<description><b>RESISTOR</b></description>
<wire x1="-0.432" y1="-0.356" x2="0.432" y2="-0.356" width="0.1524" layer="51"/>
<wire x1="0.432" y1="0.356" x2="-0.432" y2="0.356" width="0.1524" layer="51"/>
<smd name="1" x="-0.85" y="0" dx="1" dy="1.1" layer="1"/>
<smd name="2" x="0.85" y="0" dx="1" dy="1.1" layer="1"/>
<text x="-0.635" y="0.635" size="1.27" layer="25">>NAME</text>
<text x="-0.635" y="-1.905" size="1.27" layer="27">>VALUE</text>
<rectangle x1="0.4318" y1="-0.4318" x2="0.8382" y2="0.4318" layer="51"/>
<rectangle x1="-0.8382" y1="-0.4318" x2="-0.4318" y2="0.4318" layer="51"/>
<rectangle x1="-0.1999" y1="-0.4001" x2="0.1999" y2="0.4001" layer="35"/>
</package>
<package name="SC-70-5" urn="urn:adsk.eagle:footprint:28592928/1" library_version="26">
<smd name="P2" x="0" y="0.97" dx="0.4" dy="0.8" layer="1"/>
<smd name="P1" x="0.65" y="0.97" dx="0.4" dy="0.8" layer="1"/>
<smd name="P3" x="-0.65" y="0.97" dx="0.4" dy="0.8" layer="1"/>
<smd name="P4" x="-0.65" y="-0.97" dx="0.4" dy="0.8" layer="1"/>
<smd name="P5" x="0.65" y="-0.97" dx="0.4" dy="0.8" layer="1"/>
<wire x1="-1" y1="0.675" x2="1" y2="0.675" width="0.05" layer="21"/>
<wire x1="1" y1="0.675" x2="1" y2="-0.675" width="0.05" layer="21"/>
<wire x1="1" y1="-0.675" x2="-1" y2="-0.675" width="0.05" layer="21"/>
<wire x1="-1" y1="-0.675" x2="-1" y2="0.675" width="0.05" layer="21"/>
<text x="0" y="2.54" size="1.27" layer="25" font="vector" align="center">>Name</text>
</package>
<package name="OLED_096_30P_B" urn="urn:adsk.eagle:footprint:30782088/1" library_version="25">
<smd name="P15" x="-0.35" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P16" x="0.35" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P17" x="1.05" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P14" x="-1.05" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P13" x="-1.75" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P18" x="1.75" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P19" x="2.45" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P12" x="-2.45" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P11" x="-3.15" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P20" x="3.15" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P21" x="3.85" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P10" x="-3.85" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P9" x="-4.55" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P22" x="4.55" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P23" x="5.25" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P8" x="-5.25" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P7" x="-5.95" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P24" x="5.95" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P25" x="6.65" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P6" x="-6.65" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P5" x="-7.35" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P26" x="7.35" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P27" x="8.05" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P4" x="-8.05" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P3" x="-8.75" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P28" x="8.75" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P29" x="9.45" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P2" x="-9.45" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P1" x="-10.15" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<smd name="P30" x="10.15" y="20" dx="2" dy="0.4" layer="1" rot="R90"/>
<wire x1="6" y1="12" x2="6" y2="11" width="0.127" layer="21"/>
<wire x1="6" y1="11" x2="6" y2="9.73" width="0.127" layer="21"/>
<wire x1="-6" y1="9.73" x2="-6" y2="11" width="0.127" layer="21"/>
<wire x1="-6" y1="11" x2="-6" y2="12" width="0.127" layer="21"/>
<wire x1="-6" y1="12" x2="6" y2="12" width="0.127" layer="21"/>
<wire x1="13.35" y1="12" x2="13.35" y2="31.26" width="0.127" layer="21"/>
<wire x1="13.35" y1="31.26" x2="-13.35" y2="31.26" width="0.127" layer="21"/>
<wire x1="-13.35" y1="31.26" x2="-13.35" y2="12" width="0.127" layer="21"/>
<wire x1="-13.35" y1="12" x2="13.35" y2="12" width="0.127" layer="21"/>
<wire x1="-10.822" y1="29.16" x2="-10.822" y2="18.296" width="0.127" layer="21"/>
<wire x1="-10.822" y1="18.296" x2="10.822" y2="18.296" width="0.127" layer="21"/>
<wire x1="10.822" y1="18.296" x2="10.822" y2="29.16" width="0.127" layer="21"/>
<wire x1="10.822" y1="29.16" x2="-10.822" y2="29.16" width="0.127" layer="21"/>
<wire x1="-6" y1="11" x2="6" y2="11" width="0.127" layer="21"/>
<wire x1="-6" y1="9.73" x2="6" y2="9.73" width="0.127" layer="21"/>
<hole x="-8" y="16.25" drill="0.5"/>
<hole x="8" y="16.25" drill="0.5"/>
<text x="0" y="24.13" size="1.27" layer="25" font="vector" align="center">>Name</text>
</package>
</packages>
<packages3d>
<package3d name="C0603" urn="urn:adsk.eagle:package:28593018/3" type="model" library_version="26">
<description><b>CAPACITOR</b></description>
<packageinstances>
<packageinstance name="C0603"/>
</packageinstances>
</package3d>
<package3d name="TS-1177-C-B-B" urn="urn:adsk.eagle:package:33719656/2" type="model" library_version="65" library_locally_modified="yes">
<packageinstances>
<packageinstance name="TS-1177-C-B-B"/>
</packageinstances>
</package3d>
<package3d name="RESC1508X45L" urn="urn:adsk.eagle:package:28593017/2" type="model" library_version="14" library_locally_modified="yes">
<description>Chip, 1.55 X 0.85 X 0.45 mm body
<p>Chip package with body size 1.55 X 0.85 X 0.45 mm</p></description>
<packageinstances>
<packageinstance name="R0603"/>
</packageinstances>
</package3d>
<package3d name="SC-70-5" urn="urn:adsk.eagle:package:28593073/2" type="model" library_version="26">
<packageinstances>
<packageinstance name="SC-70-5"/>
</packageinstances>
</package3d>
<package3d name="OLED_096_30P_B" urn="urn:adsk.eagle:package:30782089/3" type="model" library_version="33" library_locally_modified="yes">
<packageinstances>
<packageinstance name="OLED_096_30P_B"/>
</packageinstances>
</package3d>
</packages3d>
</library>
<library name="moekoe_rcl" urn="urn:adsk.eagle:library:34187148">
<packages>
<package name="C0603" urn="urn:adsk.eagle:footprint:28592872/1" library_version="11">
<description><b>CAPACITOR</b></description>
<wire x1="-0.356" y1="0.432" x2="0.356" y2="0.432" width="0.1016" layer="51"/>
<wire x1="-0.356" y1="-0.419" x2="0.356" y2="-0.419" width="0.1016" layer="51"/>
<smd name="1" x="-0.85" y="0" dx="1.1" dy="1" layer="1"/>
<smd name="2" x="0.85" y="0" dx="1.1" dy="1" layer="1"/>
<text x="-0.635" y="0.635" size="1.27" layer="25">>NAME</text>
<text x="-0.635" y="-1.905" size="1.27" layer="27">>VALUE</text>
<rectangle x1="-0.8382" y1="-0.4699" x2="-0.3381" y2="0.4801" layer="51"/>
<rectangle x1="0.3302" y1="-0.4699" x2="0.8303" y2="0.4801" layer="51"/>
<rectangle x1="-0.1999" y1="-0.3" x2="0.1999" y2="0.3" layer="35"/>
</package>
<package name="R0603" urn="urn:adsk.eagle:footprint:28592871/2" library_version="11">
<description><b>RESISTOR</b></description>
<wire x1="-0.432" y1="-0.356" x2="0.432" y2="-0.356" width="0.1524" layer="51"/>
<wire x1="0.432" y1="0.356" x2="-0.432" y2="0.356" width="0.1524" layer="51"/>
<smd name="1" x="-0.85" y="0" dx="1" dy="1.1" layer="1"/>
<smd name="2" x="0.85" y="0" dx="1" dy="1.1" layer="1"/>
<text x="-1.135" y="0.735" size="1.27" layer="25">>NAME</text>
<text x="-1.135" y="-1.905" size="1.27" layer="27">>VALUE</text>
<rectangle x1="0.4318" y1="-0.4318" x2="0.8382" y2="0.4318" layer="51"/>
<rectangle x1="-0.8382" y1="-0.4318" x2="-0.4318" y2="0.4318" layer="51"/>
<rectangle x1="-0.1999" y1="-0.4001" x2="0.1999" y2="0.4001" layer="35"/>
</package>
<package name="R0402" urn="urn:adsk.eagle:footprint:28592924/2" library_version="8">
<description><b>Chip RESISTOR 0402 EIA (1005 Metric)</b></description>
<wire x1="-0.245" y1="0.224" x2="0.245" y2="0.224" width="0.1524" layer="51"/>
<wire x1="0.245" y1="-0.224" x2="-0.245" y2="-0.224" width="0.1524" layer="51"/>
<smd name="1" x="-0.5" y="0" dx="0.6" dy="0.7" layer="1"/>
<smd name="2" x="0.5" y="0" dx="0.6" dy="0.7" layer="1"/>
<text x="-0.635" y="0.535" size="0.8128" layer="25">>NAME</text>
<text x="-0.635" y="-1.305" size="0.8128" layer="27">>VALUE</text>
<rectangle x1="-0.554" y1="-0.3048" x2="-0.254" y2="0.2951" layer="51"/>
<rectangle x1="0.2588" y1="-0.3048" x2="0.5588" y2="0.2951" layer="51"/>
<rectangle x1="-0.1999" y1="-0.35" x2="0.1999" y2="0.35" layer="35"/>
</package>
</packages>
<packages3d>
<package3d name="C0603" urn="urn:adsk.eagle:package:28593018/3" type="model" library_version="11">
<description><b>CAPACITOR</b></description>
<packageinstances>
<packageinstance name="C0603"/>
</packageinstances>
</package3d>
<package3d name="RESC1508X45L" urn="urn:adsk.eagle:package:28593017/3" type="model" library_version="11">
<description><b>RESISTOR</b></description>
<packageinstances>
<packageinstance name="R0603"/>
</packageinstances>
</package3d>
<package3d name="R0402" urn="urn:adsk.eagle:package:28593069/4" type="model" library_version="8">
<description><b>Chip RESISTOR 0402 EIA (1005 Metric)</b></description>
<packageinstances>
<packageinstance name="R0402"/>
</packageinstances>
</package3d>
</packages3d>
</library>
<library name="adafruit">
<packages>
<package name="SOD-323F">
<wire x1="-0.85" y1="0.65" x2="0.85" y2="0.65" width="0.127" layer="21"/>
<wire x1="0.85" y1="0.65" x2="0.85" y2="-0.65" width="0.127" layer="21"/>
<wire x1="0.85" y1="-0.65" x2="-0.85" y2="-0.65" width="0.127" layer="21"/>
<wire x1="-0.85" y1="-0.65" x2="-0.85" y2="0.65" width="0.127" layer="21"/>
<wire x1="0.4" y1="0.6" x2="0.4" y2="-0.6" width="0.127" layer="21"/>
<wire x1="0.4" y1="-0.6" x2="0.3" y2="-0.6" width="0.127" layer="21"/>
<wire x1="0.3" y1="-0.6" x2="0.3" y2="0.6" width="0.127" layer="21"/>
<wire x1="-0.9" y1="0.2" x2="-1.2" y2="0.2" width="0.127" layer="51"/>
<wire x1="-1.2" y1="0.2" x2="-1.2" y2="-0.2" width="0.127" layer="51"/>
<wire x1="-1.2" y1="-0.2" x2="-0.9" y2="-0.2" width="0.127" layer="51"/>
<wire x1="0.9" y1="0.2" x2="1.2" y2="0.2" width="0.127" layer="51"/>
<wire x1="1.2" y1="0.2" x2="1.2" y2="-0.2" width="0.127" layer="51"/>
<wire x1="1.2" y1="-0.2" x2="0.9" y2="-0.2" width="0.127" layer="51"/>
<smd name="A" x="-1" y="0" dx="1" dy="0.8" layer="1"/>
<smd name="C" x="1" y="0" dx="1" dy="0.8" layer="1"/>
<text x="-1.8" y="0.9" size="0.8128" layer="25" font="vector">>NAME</text>
<text x="-2.1" y="-1.7" size="0.8128" layer="27" font="vector">>VALUE</text>
</package>
<package name="FIDUCIAL_1MM">
<smd name="1" x="0" y="0" dx="1" dy="1" layer="1" roundness="100" stop="no" cream="no"/>
<polygon width="0.127" layer="29">
<vertex x="-1" y="0" curve="90"/>
<vertex x="0" y="-1" curve="90"/>
<vertex x="1" y="0" curve="90"/>
<vertex x="0" y="1" curve="90"/>
</polygon>
<polygon width="0.127" layer="41">
<vertex x="-1" y="0" curve="90"/>
<vertex x="0" y="-1" curve="90"/>
<vertex x="1" y="0" curve="90"/>
<vertex x="0" y="1" curve="90"/>
</polygon>
</package>
</packages>
</library>
<library name="moekoe_hardware" urn="urn:adsk.eagle:library:34187136">
<packages>
<package name="UFL_ANT_CONNECTOR" urn="urn:adsk.eagle:footprint:28592875/1" library_version="6">
<smd name="P1.-" x="-1.475" y="0" dx="2.2" dy="1.05" layer="1" rot="R90"/>
<smd name="P2.-" x="1.475" y="0" dx="2.2" dy="1.05" layer="1" rot="R90"/>
<smd name="ANT" x="0" y="1.55" dx="1" dy="1" layer="1" roundness="30" rot="R180"/>
<wire x1="1.3" y1="1.3" x2="1.3" y2="-1.3" width="0.127" layer="21"/>
<wire x1="1.3" y1="-1.3" x2="-1.3" y2="-1.3" width="0.127" layer="21"/>
<wire x1="-1.3" y1="-1.3" x2="-1.3" y2="1.3" width="0.127" layer="21"/>
<wire x1="-1.3" y1="1.3" x2="1.3" y2="1.3" width="0.127" layer="21"/>
<circle x="0" y="0" radius="0.772509375" width="0.127" layer="21"/>
<polygon width="0.1" layer="41">
<vertex x="-1.27" y="0.95"/>
<vertex x="-1.27" y="-1.27"/>
<vertex x="1.27" y="-1.27"/>
<vertex x="1.27" y="0.95"/>
</polygon>
<polygon width="0.1" layer="42">
<vertex x="-1.905" y="1.27"/>
<vertex x="-1.905" y="-1.27"/>
<vertex x="1.905" y="-1.27"/>
<vertex x="1.905" y="1.27"/>
<vertex x="1.27" y="1.27"/>
<vertex x="1.27" y="1.905"/>
<vertex x="-1.27" y="1.905"/>
<vertex x="-1.27" y="1.27"/>
</polygon>
</package>
<package name="USBC_C393939" urn="urn:adsk.eagle:footprint:28592925/2" library_version="4">
<pad name="S1" x="-4.32" y="0" drill="0.6" diameter="1" shape="long" rot="R90"/>
<pad name="S2" x="4.32" y="0" drill="0.6" diameter="1" shape="long" rot="R90"/>
<pad name="S4" x="4.32" y="-4.15" drill="0.6" diameter="1" shape="long" rot="R90"/>
<pad name="S3" x="-4.32" y="-4.15" drill="0.6" diameter="1" shape="long" rot="R90"/>
<hole x="2.89" y="-0.5" drill="0.65"/>
<hole x="-2.89" y="-0.5" drill="0.65"/>
<smd name="A1B12" x="-3.2" y="0.775" dx="1.35" dy="0.55" layer="1" rot="R90"/>
<smd name="B1A12" x="3.2" y="0.775" dx="1.35" dy="0.55" layer="1" rot="R90"/>
<smd name="B4A9" x="2.4" y="0.775" dx="1.35" dy="0.55" layer="1" rot="R90"/>
<smd name="A4B9" x="-2.4" y="0.775" dx="1.35" dy="0.55" layer="1" rot="R90"/>
<smd name="A6" x="-0.25" y="0.775" dx="1.35" dy="0.275" layer="1" rot="R90"/>
<smd name="A7" x="0.25" y="0.775" dx="1.35" dy="0.275" layer="1" rot="R90"/>
<smd name="B6" x="0.75" y="0.775" dx="1.35" dy="0.275" layer="1" rot="R90"/>
<smd name="B7" x="-0.75" y="0.775" dx="1.35" dy="0.275" layer="1" rot="R90"/>
<smd name="A5" x="-1.25" y="0.775" dx="1.35" dy="0.275" layer="1" rot="R90"/>
<smd name="A8" x="-1.75" y="0.775" dx="1.35" dy="0.3" layer="1" rot="R90"/>
<smd name="B5" x="1.75" y="0.775" dx="1.35" dy="0.275" layer="1" rot="R90"/>
<smd name="B8" x="1.25" y="0.775" dx="1.35" dy="0.275" layer="1" rot="R90"/>
<wire x1="-4.32" y1="-0.85" x2="-4.62" y2="-0.55" width="0.05" layer="46" curve="-90"/>
<wire x1="-4.62" y1="-0.55" x2="-4.62" y2="0.55" width="0.05" layer="46"/>
<wire x1="-4.62" y1="0.55" x2="-4.32" y2="0.85" width="0.05" layer="46" curve="-90"/>
<wire x1="-4.32" y1="0.85" x2="-4.02" y2="0.55" width="0.05" layer="46" curve="-90"/>
<wire x1="-4.02" y1="0.55" x2="-4.02" y2="-0.55" width="0.05" layer="46"/>
<wire x1="-4.02" y1="-0.55" x2="-4.32" y2="-0.85" width="0.05" layer="46" curve="-90"/>
<wire x1="4.32" y1="0.85" x2="4.62" y2="0.55" width="0.05" layer="46" curve="-90"/>
<wire x1="4.62" y1="0.55" x2="4.62" y2="-0.55" width="0.05" layer="46"/>
<wire x1="4.62" y1="-0.55" x2="4.32" y2="-0.85" width="0.05" layer="46" curve="-90"/>
<wire x1="4.32" y1="-0.85" x2="4.02" y2="-0.55" width="0.05" layer="46" curve="-90"/>
<wire x1="4.02" y1="-0.55" x2="4.02" y2="0.55" width="0.05" layer="46"/>
<wire x1="4.02" y1="0.55" x2="4.32" y2="0.85" width="0.05" layer="46" curve="-90"/>
<wire x1="-4.62" y1="-3.75" x2="-4.62" y2="-4.55" width="0.05" layer="46"/>
<wire x1="-4.62" y1="-4.55" x2="-4.32" y2="-4.85" width="0.05" layer="46" curve="90"/>
<wire x1="-4.32" y1="-4.85" x2="-4.02" y2="-4.55" width="0.05" layer="46" curve="90"/>
<wire x1="-4.02" y1="-4.55" x2="-4.02" y2="-3.75" width="0.05" layer="46"/>
<wire x1="-4.02" y1="-3.75" x2="-4.32" y2="-3.45" width="0.05" layer="46" curve="90"/>
<wire x1="-4.32" y1="-3.45" x2="-4.62" y2="-3.75" width="0.05" layer="46" curve="90"/>
<wire x1="4.02" y1="-3.75" x2="4.02" y2="-4.55" width="0.05" layer="46"/>
<wire x1="4.02" y1="-4.55" x2="4.32" y2="-4.85" width="0.05" layer="46" curve="90"/>
<wire x1="4.32" y1="-4.85" x2="4.62" y2="-4.55" width="0.05" layer="46" curve="90"/>
<wire x1="4.62" y1="-4.55" x2="4.62" y2="-3.75" width="0.05" layer="46"/>
<wire x1="4.62" y1="-3.75" x2="4.32" y2="-3.45" width="0.05" layer="46" curve="90"/>
<wire x1="4.32" y1="-3.45" x2="4.02" y2="-3.75" width="0.05" layer="46" curve="90"/>
<wire x1="-4.47" y1="1" x2="4.47" y2="1" width="0.05" layer="21"/>
<wire x1="4.47" y1="1" x2="4.47" y2="-6.4" width="0.05" layer="21"/>
<wire x1="4.47" y1="-6.4" x2="-4.47" y2="-6.4" width="0.05" layer="21"/>
<wire x1="-4.47" y1="-6.4" x2="-4.47" y2="1" width="0.05" layer="21"/>
<text x="0" y="2.54" size="1.27" layer="21" font="vector" align="center">>Name</text>
</package>
<package name="JST_1.25MM_2POL" urn="urn:adsk.eagle:footprint:28592876/1" library_version="6">
<smd name="P.-" x="-0.625" y="0" dx="0.6" dy="1.5" layer="1"/>
<smd name="P.+" x="0.625" y="0" dx="0.6" dy="1.5" layer="1"/>
<smd name="P$3" x="3" y="2.85" dx="2" dy="2" layer="1"/>
<smd name="P$4" x="-3" y="2.85" dx="2" dy="2" layer="1"/>
<wire x1="-3.75" y1="0.65" x2="3.75" y2="0.65" width="0.127" layer="21"/>
<wire x1="3.75" y1="0.65" x2="3.75" y2="4" width="0.127" layer="21"/>
<wire x1="3.75" y1="4" x2="3.75" y2="4.95" width="0.127" layer="21"/>
<wire x1="3.75" y1="4.95" x2="2.54" y2="4.95" width="0.127" layer="21"/>
<wire x1="2.54" y1="4.95" x2="-2.54" y2="4.95" width="0.127" layer="21"/>
<wire x1="-2.54" y1="4.95" x2="-3.75" y2="4.95" width="0.127" layer="21"/>
<wire x1="-3.75" y1="4.95" x2="-3.75" y2="4" width="0.127" layer="21"/>
<wire x1="-3.75" y1="4" x2="-3.75" y2="0.65" width="0.127" layer="21"/>
<wire x1="-3.75" y1="4" x2="-2.54" y2="4" width="0.127" layer="21"/>
<wire x1="-2.54" y1="4" x2="-2.54" y2="4.95" width="0.127" layer="21"/>
<wire x1="2.54" y1="4.95" x2="2.54" y2="4" width="0.127" layer="21"/>
<wire x1="2.54" y1="4" x2="3.75" y2="4" width="0.127" layer="21"/>
<text x="0" y="6.35" size="1.27" layer="21" align="center">>Name</text>
</package>
</packages>
<packages3d>
<package3d name="UFL_ANT_CONNECTOR" urn="urn:adsk.eagle:package:28593021/2" type="model" library_version="6">
<packageinstances>
<packageinstance name="UFL_ANT_CONNECTOR"/>
</packageinstances>
</package3d>
<package3d name="USBC_C393939" urn="urn:adsk.eagle:package:28593070/4" type="model" library_version="4">
<packageinstances>
<packageinstance name="USBC_C393939"/>
</packageinstances>
</package3d>
<package3d name="JST_1.25MM_2POL" urn="urn:adsk.eagle:package:28593022/1" type="box" library_version="6">
<packageinstances>
<packageinstance name="JST_1.25MM_2POL"/>
</packageinstances>
</package3d>
</packages3d>
</library>
<library name="SparkFun-Connectors" urn="urn:adsk.eagle:library:513">
<description><h3>SparkFun Connectors</h3>
This library contains electrically-functional connectors.
<br>
<br>
We've spent an enormous amount of time creating and checking these footprints and parts, but it is <b> the end user's responsibility</b> to ensure correctness and suitablity for a given componet or application.
<br>
<br>If you enjoy using this library, please buy one of our products at <a href=" www.sparkfun.com">SparkFun.com</a>.
<br>
<br>
<b>Licensing:</b> Creative Commons ShareAlike 4.0 International - https://creativecommons.org/licenses/by-sa/4.0/
<br>
<br>
You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="1X04_1MM_RA" urn="urn:adsk.eagle:footprint:37714/1" library_version="1">
<description><h3>SMD- 4 Pin Right Angle </h3>
<p>Specifications:
<ul><li>Pin count:4</li>
<li>Pin pitch:0.1"</li>
</ul></p>
<p>Example device(s):
<ul><li>CONN_04</li>
</ul></p></description>
<wire x1="-1.5" y1="-4.6" x2="1.5" y2="-4.6" width="0.254" layer="21"/>
<wire x1="-3" y1="-2" x2="-3" y2="-0.35" width="0.254" layer="21"/>
<wire x1="2.25" y1="-0.35" x2="3" y2="-0.35" width="0.254" layer="21"/>
<wire x1="3" y1="-0.35" x2="3" y2="-2" width="0.254" layer="21"/>
<wire x1="-3" y1="-0.35" x2="-2.25" y2="-0.35" width="0.254" layer="21"/>
<circle x="-2.5" y="0.3" radius="0.1414" width="0.4" layer="21"/>
<smd name="NC2" x="-2.8" y="-3.675" dx="1.2" dy="2" layer="1"/>
<smd name="NC1" x="2.8" y="-3.675" dx="1.2" dy="2" layer="1"/>
<smd name="1" x="-1.5" y="0" dx="0.6" dy="1.35" layer="1"/>
<smd name="2" x="-0.5" y="0" dx="0.6" dy="1.35" layer="1"/>
<smd name="3" x="0.5" y="0" dx="0.6" dy="1.35" layer="1"/>
<smd name="4" x="1.5" y="0" dx="0.6" dy="1.35" layer="1"/>
<text x="-1.397" y="-2.159" size="0.6096" layer="25" font="vector" ratio="20">>NAME</text>
<text x="-1.651" y="-3.302" size="0.6096" layer="27" font="vector" ratio="20">>VALUE</text>
</package>
</packages>
<packages3d>
<package3d name="1X04_1MM_RA" urn="urn:adsk.eagle:package:38096/1" type="box" library_version="1">
<description>SMD- 4 Pin Right Angle
Specifications:
Pin count:4
Pin pitch:0.1"
Example device(s):
CONN_04
</description>
<packageinstances>
<packageinstance name="1X04_1MM_RA"/>
</packageinstances>
</package3d>
</packages3d>
</library>
<library name="moekoe_led" urn="urn:adsk.eagle:library:34188309">
<packages>
<package name="APA102_2020" urn="urn:adsk.eagle:footprint:28592859/2" library_version="4">
<smd name="P2" x="-0.75" y="0" dx="0.6" dy="0.3" layer="1" rot="R180"/>
<smd name="P5" x="0.75" y="0" dx="0.6" dy="0.3" layer="1" rot="R180"/>
<smd name="P6" x="0.75" y="0.875" dx="0.6" dy="0.45" layer="1"/>
<smd name="P4" x="0.75" y="-0.875" dx="0.6" dy="0.45" layer="1"/>
<smd name="P3" x="-0.75" y="-0.875" dx="0.6" dy="0.45" layer="1"/>
<smd name="P1" x="-0.75" y="0.875" dx="0.6" dy="0.45" layer="1"/>
<smd name="P6.1" x="0" y="-0.6" dx="1.1" dy="0.4" layer="1" rot="R90"/>
<smd name="P1.1" x="0" y="0.8" dx="0.7" dy="0.4" layer="1" rot="R90"/>
<wire x1="1" y1="1" x2="-1" y2="1" width="0.0762" layer="21"/>
<wire x1="-1" y1="1" x2="-1" y2="-1" width="0.0762" layer="21"/>
<wire x1="-1" y1="-1" x2="1" y2="-1" width="0.0762" layer="21"/>
<wire x1="1" y1="-1" x2="1" y2="1" width="0.0762" layer="21"/>
<wire x1="-0.5" y1="0" x2="0.5" y2="0" width="0.0762" layer="21"/>
<wire x1="0.5" y1="0" x2="0.5" y2="-0.7" width="0.0762" layer="21"/>
<wire x1="0.5" y1="-0.7" x2="-0.5" y2="-0.7" width="0.0762" layer="21"/>
<wire x1="-0.5" y1="-0.7" x2="-0.5" y2="0" width="0.0762" layer="21"/>
<wire x1="-0.4" y1="0.6" x2="-0.4" y2="0.3" width="0.0762" layer="21"/>
<wire x1="-0.4" y1="0.3" x2="-0.2" y2="0.3" width="0.0762" layer="21"/>
<wire x1="-0.2" y1="0.3" x2="-0.2" y2="0.6" width="0.0762" layer="21"/>
<wire x1="-0.2" y1="0.6" x2="-0.4" y2="0.6" width="0.0762" layer="21"/>
<wire x1="0.4" y1="0.6" x2="0.4" y2="0.3" width="0.0762" layer="21"/>
<wire x1="0.4" y1="0.3" x2="0.2" y2="0.3" width="0.0762" layer="21"/>
<wire x1="0.2" y1="0.3" x2="0.2" y2="0.6" width="0.0762" layer="21"/>
<wire x1="0.2" y1="0.6" x2="0.4" y2="0.6" width="0.0762" layer="21"/>
<wire x1="-0.1" y1="0.5" x2="-0.1" y2="0.3" width="0.0762" layer="21"/>
<wire x1="-0.1" y1="0.3" x2="0.1" y2="0.3" width="0.0762" layer="21"/>
<wire x1="0.1" y1="0.3" x2="0.1" y2="0.5" width="0.0762" layer="21"/>
<wire x1="0.1" y1="0.5" x2="-0.1" y2="0.5" width="0.0762" layer="21"/>
<text x="0" y="2" size="1.016" layer="21" align="center">>Name</text>
</package>
<package name="CHIPLED_0603" urn="urn:adsk.eagle:footprint:34209093/2" library_version="4">
<smd name="P$1" x="-0.65" y="0" dx="0.8" dy="0.6" layer="1" rot="R90"/>
<smd name="P$2" x="0.65" y="0" dx="0.8" dy="0.6" layer="1" rot="R90"/>
<wire x1="-0.8" y1="-0.4" x2="-0.8" y2="0.4" width="0.05" layer="21"/>
<wire x1="-0.8" y1="0.4" x2="0.8" y2="0.4" width="0.05" layer="21"/>
<wire x1="0.8" y1="0.4" x2="0.8" y2="-0.4" width="0.05" layer="21"/>
<wire x1="0.8" y1="-0.4" x2="-0.8" y2="-0.4" width="0.05" layer="21"/>
<wire x1="0" y1="0.381" x2="0" y2="-0.381" width="0.05" layer="51"/>
<wire x1="0" y1="0.381" x2="-0.381" y2="0" width="0.05" layer="51"/>
<wire x1="-0.381" y1="0" x2="0" y2="-0.381" width="0.05" layer="51"/>
<text x="0" y="0.889" size="0.6096" layer="25" font="vector" align="center">>NAME</text>
</package>
</packages>
<packages3d>
<package3d name="APA102_2020" urn="urn:adsk.eagle:package:28593005/3" type="model" library_version="4">
<packageinstances>
<packageinstance name="APA102_2020"/>
</packageinstances>
</package3d>
<package3d name="CHIPLED_0603" urn="urn:adsk.eagle:package:34209094/2" type="box" library_version="4">
<packageinstances>
<packageinstance name="CHIPLED_0603"/>
</packageinstances>
</package3d>
</packages3d>
</library>
<library name="moekoe_batteries" urn="urn:adsk.eagle:library:34188332">
<packages>
<package name="MS621" urn="urn:adsk.eagle:footprint:34754291/1" library_version="3">
<smd name="P+" x="0" y="0.75" dx="1.8" dy="0.5" layer="1"/>
<smd name="P-" x="0" y="-0.75" dx="1.8" dy="0.5" layer="1"/>
<circle x="-5" y="0" radius="3.4" width="0.127" layer="21"/>
<text x="-7" y="3.8" size="0.8128" layer="25" font="vector">>NAME</text>
</package>
<package name="KEYSTONE_1051" urn="urn:adsk.eagle:footprint:30782286/1" library_version="3">
<pad name="P+" x="-18.91" y="0" drill="1.2" diameter="2.2"/>
<pad name="P-" x="18.91" y="0" drill="1.2" diameter="2.2"/>
<hole x="-18.91" y="8.1" drill="2"/>
<wire x1="-21.465" y1="9.145" x2="-21.465" y2="-9.145" width="0.127" layer="21"/>
<wire x1="-21.465" y1="-9.145" x2="21.465" y2="-9.145" width="0.127" layer="21"/>
<wire x1="21.465" y1="-9.145" x2="21.465" y2="9.145" width="0.127" layer="21"/>
<wire x1="21.465" y1="9.145" x2="-21.465" y2="9.145" width="0.127" layer="21"/>
</package>
</packages>
<packages3d>
<package3d name="MS621" urn="urn:adsk.eagle:package:34754292/1" type="box" library_version="3">
<packageinstances>
<packageinstance name="MS621"/>
</packageinstances>
</package3d>
<package3d name="KEYSTONE_1051" urn="urn:adsk.eagle:package:30782287/2" type="model" library_version="3">
<packageinstances>
<packageinstance name="KEYSTONE_1051"/>
</packageinstances>
</package3d>
</packages3d>
</library>
<library name="moekoe_ics" urn="urn:adsk.eagle:library:34187141">
<packages>
<package name="ATGM336H-MODULE" urn="urn:adsk.eagle:footprint:34747218/1" library_version="6">
<wire x1="-4.85" y1="-5.05" x2="-4.85" y2="5.05" width="0.1" layer="21"/>
<wire x1="-4.85" y1="5.05" x2="4.85" y2="5.05" width="0.1" layer="21"/>
<wire x1="4.85" y1="5.05" x2="4.85" y2="-5.05" width="0.1" layer="21"/>
<wire x1="4.85" y1="-5.05" x2="-4.85" y2="-5.05" width="0.1" layer="21"/>
<smd name="14" x="-4.85" y="0" dx="1.8" dy="0.8" layer="1"/>
<smd name="13" x="-4.85" y="1.1" dx="1.8" dy="0.8" layer="1"/>
<smd name="12" x="-4.85" y="2.2" dx="1.8" dy="0.8" layer="1"/>
<smd name="11" x="-4.85" y="3.3" dx="1.8" dy="0.8" layer="1"/>
<smd name="10" x="-4.85" y="4.4" dx="1.8" dy="0.8" layer="1"/>
<smd name="18" x="-4.85" y="-4.4" dx="1.8" dy="0.8" layer="1"/>
<smd name="17" x="-4.85" y="-3.3" dx="1.8" dy="0.8" layer="1"/>
<smd name="16" x="-4.85" y="-2.2" dx="1.8" dy="0.8" layer="1"/>
<smd name="15" x="-4.85" y="-1.1" dx="1.8" dy="0.8" layer="1"/>
<smd name="4" x="4.85" y="-1.1" dx="1.8" dy="0.8" layer="1"/>
<smd name="6" x="4.85" y="1.1" dx="1.8" dy="0.8" layer="1"/>
<smd name="5" x="4.85" y="0" dx="1.8" dy="0.8" layer="1"/>
<smd name="7" x="4.85" y="2.2" dx="1.8" dy="0.8" layer="1"/>
<smd name="3" x="4.85" y="-2.2" dx="1.8" dy="0.8" layer="1"/>
<smd name="2" x="4.85" y="-3.3" dx="1.8" dy="0.8" layer="1"/>
<smd name="8" x="4.85" y="3.3" dx="1.8" dy="0.8" layer="1"/>
<smd name="9" x="4.85" y="4.4" dx="1.8" dy="0.8" layer="1"/>
<smd name="1" x="4.85" y="-4.4" dx="1.8" dy="0.8" layer="1"/>
<text x="-4.8" y="5.5" size="0.8128" layer="25" font="vector">>NAME</text>
<text x="-4.7" y="-6.3" size="0.8128" layer="27" font="vector">>VALUE</text>
</package>
<package name="LORA_RFM9X" urn="urn:adsk.eagle:footprint:34576675/1" library_version="5">
<smd name="13" x="7.5" y="1" dx="2" dy="1" layer="1"/>
<smd name="14" x="7.5" y="3" dx="2" dy="1" layer="1"/>
<smd name="15" x="7.5" y="5" dx="2" dy="1" layer="1"/>
<smd name="16" x="7.5" y="7" dx="2" dy="1" layer="1"/>
<smd name="12" x="7.5" y="-1" dx="2" dy="1" layer="1"/>
<smd name="11" x="7.5" y="-3" dx="2" dy="1" layer="1"/>
<smd name="10" x="7.5" y="-5" dx="2" dy="1" layer="1"/>
<smd name="9" x="7.5" y="-7" dx="2" dy="1" layer="1"/>
<smd name="1" x="-7.5" y="7" dx="2" dy="1" layer="1"/>
<smd name="2" x="-7.5" y="5" dx="2" dy="1" layer="1"/>
<smd name="3" x="-7.5" y="3" dx="2" dy="1" layer="1"/>
<smd name="4" x="-7.5" y="1" dx="2" dy="1" layer="1"/>
<smd name="5" x="-7.5" y="-1" dx="2" dy="1" layer="1"/>
<smd name="6" x="-7.5" y="-3" dx="2" dy="1" layer="1"/>
<smd name="7" x="-7.5" y="-5" dx="2" dy="1" layer="1"/>
<smd name="8" x="-7.5" y="-7" dx="2" dy="1" layer="1"/>
<wire x1="-8" y1="8" x2="-8" y2="-8" width="0.127" layer="21"/>
<wire x1="-8" y1="-8" x2="8" y2="-8" width="0.127" layer="21"/>
<wire x1="8" y1="-8" x2="8" y2="8" width="0.127" layer="21"/>
<wire x1="8" y1="8" x2="-8" y2="8" width="0.127" layer="21"/>
<wire x1="-5" y1="6" x2="-5" y2="1" width="0.127" layer="51"/>
<wire x1="-5" y1="1" x2="0" y2="1" width="0.127" layer="51"/>
<wire x1="0" y1="1" x2="0" y2="6" width="0.127" layer="51"/>
<wire x1="0" y1="6" x2="-5" y2="6" width="0.127" layer="51"/>
<text x="-7" y="8.5" size="0.6096" layer="25">>Name</text>
</package>
<package name="DFN-6" urn="urn:adsk.eagle:footprint:32881970/1" library_version="2">
<wire x1="1.05" y1="-1" x2="-1.05" y2="-1" width="0.1" layer="21"/>
<wire x1="-1.05" y1="1" x2="1.05" y2="1" width="0.1" layer="21"/>
<wire x1="1.05" y1="1" x2="1.05" y2="0.8" width="0.1" layer="21"/>
<wire x1="1.05" y1="-0.8" x2="1.05" y2="-1" width="0.1" layer="21"/>
<wire x1="1.05" y1="-0.8" x2="1.05" y2="0.8" width="0.1" layer="51"/>
<wire x1="-1.05" y1="1" x2="-1.05" y2="0.8" width="0.1" layer="21"/>
<wire x1="-1.05" y1="-0.8" x2="-1.05" y2="-1" width="0.1" layer="21"/>
<wire x1="-1.05" y1="-0.8" x2="-1.05" y2="0.8" width="0.1" layer="51"/>
<smd name="6" x="0.975" y="0.65" dx="0.55" dy="0.3" layer="1" stop="no"/>
<smd name="5" x="0.975" y="0" dx="0.55" dy="0.3" layer="1" stop="no"/>
<smd name="2" x="-0.975" y="0" dx="0.55" dy="0.3" layer="1" rot="R180" stop="no"/>
<smd name="1" x="-0.975" y="0.65" dx="0.55" dy="0.3" layer="1" rot="R180" stop="no"/>
<smd name="3" x="-0.975" y="-0.65" dx="0.55" dy="0.3" layer="1" rot="R180" stop="no"/>
<smd name="EXP" x="0" y="0" dx="1.35" dy="0.65" layer="1" rot="R270" stop="no"/>
<smd name="4" x="0.975" y="-0.65" dx="0.55" dy="0.3" layer="1" stop="no"/>
<text x="-0.95" y="1.2" size="0.4064" layer="25">>NAME</text>
<rectangle x1="-0.4" y1="-0.75" x2="0.4" y2="0.75" layer="29"/>
<rectangle x1="-1.35" y1="0.4" x2="-0.6" y2="0.9" layer="29"/>
<rectangle x1="-1.35" y1="-0.25" x2="-0.6" y2="0.25" layer="29"/>
<rectangle x1="-1.35" y1="-0.9" x2="-0.6" y2="-0.4" layer="29"/>
<rectangle x1="0.6" y1="0.4" x2="1.35" y2="0.9" layer="29"/>
<rectangle x1="0.6" y1="-0.25" x2="1.35" y2="0.25" layer="29"/>
<rectangle x1="0.6" y1="-0.9" x2="1.35" y2="-0.4" layer="29"/>
</package>
<package name="TDFN8" urn="urn:adsk.eagle:footprint:34754167/1" library_version="7">
<smd name="6" x="0.25" y="1.45" dx="0.3" dy="0.75" layer="1"/>
<smd name="7" x="-0.25" y="1.45" dx="0.3" dy="0.75" layer="1"/>
<smd name="8" x="-0.75" y="1.45" dx="0.3" dy="0.75" layer="1"/>
<smd name="5" x="0.75" y="1.45" dx="0.3" dy="0.75" layer="1"/>
<smd name="4" x="0.75" y="-1.45" dx="0.3" dy="0.75" layer="1"/>
<smd name="1" x="-0.75" y="-1.45" dx="0.3" dy="0.75" layer="1"/>
<smd name="2" x="-0.25" y="-1.45" dx="0.3" dy="0.75" layer="1"/>
<smd name="3" x="0.25" y="-1.45" dx="0.3" dy="0.75" layer="1"/>
<smd name="EXP" x="0" y="0" dx="1.35" dy="1.45" layer="1" rot="R90"/>
<wire x1="-1" y1="-1.5" x2="-1" y2="1.5" width="0.05" layer="21"/>
<wire x1="-1" y1="1.5" x2="1" y2="1.5" width="0.05" layer="21"/>
<wire x1="1" y1="1.5" x2="1" y2="-1.5" width="0.05" layer="21"/>
<wire x1="1" y1="-1.5" x2="-1" y2="-1.5" width="0.05" layer="21"/>
<text x="-1" y="2.2" size="0.8128" layer="25" font="vector">>NAME</text>
<text x="-1" y="-2.9" size="0.8128" layer="27" font="vector">>VALUE</text>
</package>
<package name="SOT23-5" urn="urn:adsk.eagle:footprint:28592920/1" library_version="8">
<description><b>Small Outline Transistor</b></description>
<wire x1="1.4" y1="-0.8" x2="-1.4" y2="-0.8" width="0.1524" layer="51"/>
<wire x1="-1.4" y1="0.8" x2="1.4" y2="0.8" width="0.1524" layer="51"/>
<wire x1="1.4" y1="0.8" x2="1.4" y2="-0.8" width="0.1524" layer="51"/>
<wire x1="-1.4" y1="0.8" x2="-1.4" y2="-0.8" width="0.1524" layer="51"/>
<wire x1="1.27" y1="0.4294" x2="1.27" y2="-0.4294" width="0.2032" layer="21"/>
<wire x1="-1.27" y1="-0.4294" x2="-1.27" y2="0.4294" width="0.2032" layer="21"/>
<wire x1="-0.2684" y1="0.7088" x2="0.2684" y2="0.7088" width="0.2032" layer="21"/>
<smd name="1" x="-0.95" y="-1.3001" dx="0.55" dy="1.2" layer="1"/>
<smd name="2" x="0" y="-1.3001" dx="0.55" dy="1.2" layer="1"/>
<smd name="3" x="0.95" y="-1.3001" dx="0.55" dy="1.2" layer="1"/>
<smd name="4" x="0.95" y="1.3001" dx="0.55" dy="1.2" layer="1"/>
<smd name="5" x="-0.95" y="1.3001" dx="0.55" dy="1.2" layer="1"/>
<rectangle x1="-1.2" y1="-1.5" x2="-0.7" y2="-0.85" layer="51"/>
<rectangle x1="-0.25" y1="-1.5" x2="0.25" y2="-0.85" layer="51"/>
<rectangle x1="0.7" y1="-1.5" x2="1.2" y2="-0.85" layer="51"/>
<rectangle x1="0.7" y1="0.85" x2="1.2" y2="1.5" layer="51"/>
<rectangle x1="-1.2" y1="0.85" x2="-0.7" y2="1.5" layer="51"/>
<circle x="-1.6002" y="-1.016" radius="0.127" width="0" layer="21"/>
<text x="-1.905" y="0" size="0.6096" layer="25" font="vector" rot="R90" align="bottom-center">>NAME</text>
<text x="2.54" y="0" size="0.6096" layer="27" font="vector" rot="R90" align="bottom-center">>VALUE</text>
</package>
</packages>
<packages3d>
<package3d name="ATGM336H-MODULE" urn="urn:adsk.eagle:package:34747219/1" type="box" library_version="6">
<packageinstances>
<packageinstance name="ATGM336H-MODULE"/>
</packageinstances>
</package3d>
<package3d name="LORA_RFM9X" urn="urn:adsk.eagle:package:34576676/1" type="box" library_version="5">
<packageinstances>
<packageinstance name="LORA_RFM9X"/>
</packageinstances>
</package3d>
<package3d name="DFN-6" urn="urn:adsk.eagle:package:32881971/1" type="box" library_version="2">
<packageinstances>
<packageinstance name="DFN-6"/>
</packageinstances>
</package3d>
<package3d name="TDFN8" urn="urn:adsk.eagle:package:34754168/1" type="box" library_version="7">
<packageinstances>
<packageinstance name="TDFN8"/>
</packageinstances>
</package3d>
<package3d name="SOT23-5" urn="urn:adsk.eagle:package:28593065/2" type="model" library_version="8">
<description><b>Small Outline Transistor</b></description>
<packageinstances>
<packageinstance name="SOT23-5"/>
</packageinstances>
</package3d>
</packages3d>
</library>
<library name="moekoe_controllers" urn="urn:adsk.eagle:library:34187139">
<packages>
<package name="ESP32-S2-MINI-1U" urn="urn:adsk.eagle:footprint:34749132/1" library_version="8">
<wire x1="7.7" y1="7.7" x2="-7.7" y2="7.7" width="0.127" layer="21"/>
<wire x1="-7.7" y1="7.7" x2="-7.7" y2="-7.7" width="0.127" layer="21"/>
<wire x1="-7.7" y1="-7.7" x2="7.7" y2="-7.7" width="0.127" layer="21"/>
<wire x1="7.7" y1="-7.7" x2="7.7" y2="7.7" width="0.127" layer="21"/>
<smd name="8" x="-7" y="0" dx="0.8" dy="0.4" layer="1"/>
<smd name="7" x="-7" y="0.85" dx="0.8" dy="0.4" layer="1"/>
<smd name="6" x="-7" y="1.7" dx="0.8" dy="0.4" layer="1"/>
<smd name="5" x="-7" y="2.55" dx="0.8" dy="0.4" layer="1"/>
<smd name="4" x="-7" y="3.4" dx="0.8" dy="0.4" layer="1"/>
<smd name="3" x="-7" y="4.25" dx="0.8" dy="0.4" layer="1"/>
<smd name="2" x="-7" y="5.1" dx="0.8" dy="0.4" layer="1"/>
<smd name="1" x="-7" y="5.95" dx="0.8" dy="0.4" layer="1"/>
<smd name="9" x="-7" y="-0.85" dx="0.8" dy="0.4" layer="1"/>
<smd name="10" x="-7" y="-1.7" dx="0.8" dy="0.4" layer="1"/>
<smd name="11" x="-7" y="-2.55" dx="0.8" dy="0.4" layer="1"/>
<smd name="12" x="-7" y="-3.4" dx="0.8" dy="0.4" layer="1"/>
<smd name="13" x="-7" y="-4.25" dx="0.8" dy="0.4" layer="1"/>
<smd name="14" x="-7" y="-5.1" dx="0.8" dy="0.4" layer="1"/>
<smd name="15" x="-7" y="-5.95" dx="0.8" dy="0.4" layer="1"/>
<smd name="53" x="0" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="23" x="0" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="38" x="7" y="0" dx="0.8" dy="0.4" layer="1"/>
<smd name="39" x="7" y="0.85" dx="0.8" dy="0.4" layer="1"/>
<smd name="40" x="7" y="1.7" dx="0.8" dy="0.4" layer="1"/>
<smd name="41" x="7" y="2.55" dx="0.8" dy="0.4" layer="1"/>
<smd name="42" x="7" y="3.4" dx="0.8" dy="0.4" layer="1"/>
<smd name="43" x="7" y="4.25" dx="0.8" dy="0.4" layer="1"/>
<smd name="44" x="7" y="5.1" dx="0.8" dy="0.4" layer="1"/>
<smd name="45" x="7" y="5.95" dx="0.8" dy="0.4" layer="1"/>
<smd name="37" x="7" y="-0.85" dx="0.8" dy="0.4" layer="1"/>
<smd name="36" x="7" y="-1.7" dx="0.8" dy="0.4" layer="1"/>
<smd name="35" x="7" y="-2.55" dx="0.8" dy="0.4" layer="1"/>
<smd name="34" x="7" y="-3.4" dx="0.8" dy="0.4" layer="1"/>
<smd name="33" x="7" y="-4.25" dx="0.8" dy="0.4" layer="1"/>
<smd name="32" x="7" y="-5.1" dx="0.8" dy="0.4" layer="1"/>
<smd name="31" x="7" y="-5.95" dx="0.8" dy="0.4" layer="1"/>
<smd name="22" x="-0.85" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="21" x="-1.7" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="20" x="-2.55" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="19" x="-3.4" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="18" x="-4.25" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="17" x="-5.1" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="16" x="-5.95" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="24" x="0.85" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="25" x="1.7" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="26" x="2.55" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="27" x="3.4" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="28" x="4.25" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="29" x="5.1" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="30" x="5.95" y="-7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="52" x="0.85" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="51" x="1.7" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="50" x="2.55" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="49" x="3.4" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="48" x="4.25" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="47" x="5.1" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="46" x="5.95" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="54" x="-0.85" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="55" x="-1.7" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="56" x="-2.55" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="57" x="-3.4" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="58" x="-4.25" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="59" x="-5.1" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="60" x="-5.95" y="7" dx="0.8" dy="0.4" layer="1" rot="R90"/>
<smd name="62" x="-7" y="7" dx="0.8" dy="0.8" layer="1"/>
<smd name="65" x="7" y="7" dx="0.8" dy="0.8" layer="1"/>
<smd name="64" x="7" y="-7" dx="0.8" dy="0.8" layer="1"/>
<smd name="63" x="-7" y="-7" dx="0.8" dy="0.8" layer="1"/>
<smd name="61" x="0" y="0" dx="1.2" dy="1.2" layer="1"/>
<smd name="73" x="0" y="1.6" dx="1.2" dy="1.2" layer="1"/>
<smd name="69" x="0" y="-1.6" dx="1.2" dy="1.2" layer="1"/>
<smd name="70" x="1.6" y="-1.6" dx="1.2" dy="1.2" layer="1"/>
<smd name="72" x="1.6" y="1.6" dx="1.2" dy="1.2" layer="1"/>
<smd name="68" x="-1.6" y="-1.6" dx="1.2" dy="1.2" layer="1"/>
<smd name="66" x="-1.6" y="1.6" dx="1.2" dy="1.2" layer="1"/>
<smd name="67" x="-1.6" y="0" dx="1.2" dy="1.2" layer="1"/>
<smd name="71" x="1.6" y="0" dx="1.2" dy="1.2" layer="1"/>
<rectangle x1="-7.7" y1="5.1" x2="-5.1" y2="7.7" layer="51"/>
<text x="-7.65" y="8.5" size="0.8128" layer="25" font="vector">>NAME</text>
<text x="-7.65" y="-9.35" size="0.8128" layer="27" font="vector">>VALUE</text>
</package>
</packages>
<packages3d>
<package3d name="ESP32-S2-MINI-1U" urn="urn:adsk.eagle:package:34749133/1" type="box" library_version="8">
<packageinstances>
<packageinstance name="ESP32-S2-MINI-1U"/>
</packageinstances>
</package3d>
</packages3d>
</library>
<library name="moekoe_discrete" urn="urn:adsk.eagle:library:34188174">
<packages>
<package name="SOT323" urn="urn:adsk.eagle:footprint:28592921/1" library_version="6">
<wire x1="1.1224" y1="0.6604" x2="1.1224" y2="-0.6604" width="0.1524" layer="51"/>
<wire x1="1.1224" y1="-0.6604" x2="-1.1224" y2="-0.6604" width="0.1524" layer="51"/>
<wire x1="-1.1224" y1="-0.6604" x2="-1.1224" y2="0.6604" width="0.1524" layer="51"/>
<wire x1="-1.1224" y1="0.6604" x2="1.1224" y2="0.6604" width="0.1524" layer="51"/>
<wire x1="-0.673" y1="0.7" x2="-1.1" y2="0.7" width="0.2032" layer="21"/>
<wire x1="-1.1" y1="0.7" x2="-1.1" y2="-0.354" width="0.2032" layer="21"/>
<wire x1="0.673" y1="0.7" x2="1.1" y2="0.7" width="0.2032" layer="21"/>
<wire x1="1.1" y1="0.7" x2="1.1" y2="-0.354" width="0.2032" layer="21"/>
<smd name="1" x="-0.65" y="-1.025" dx="0.7" dy="0.8" layer="1"/>
<smd name="2" x="0.65" y="-1.025" dx="0.7" dy="0.8" layer="1"/>
<smd name="3" x="0" y="1.025" dx="0.7" dy="0.8" layer="1"/>
<text x="-1.27" y="0" size="0.6096" layer="25" font="vector" rot="R90" align="bottom-center">>NAME</text>
<text x="1.27" y="0" size="0.6096" layer="27" font="vector" rot="R90" align="top-center">>VALUE</text>
</package>
</packages>
<packages3d>
<package3d name="SOT323" urn="urn:adsk.eagle:package:28593066/2" type="model" library_version="6">
<packageinstances>
<packageinstance name="SOT323"/>
</packageinstances>
</package3d>
</packages3d>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<classes>
<class number="0" name="default" width="0" drill="0">
</class>
</classes>
<designrules name="default *">
<description language="de"><b>EAGLE Design Rules</b>
<p>
Die Standard-Design-Rules sind so gewählt, dass sie für
die meisten Anwendungen passen. Sollte ihre Platine
besondere Anforderungen haben, treffen Sie die erforderlichen
Einstellungen hier und speichern die Design Rules unter
einem neuen Namen ab.</description>
<description language="en"><b>EAGLE Design Rules</b>
<p>
The default Design Rules have been set to cover
a wide range of applications. Your particular design
may have different requirements, so please make the
necessary adjustments and save your customized
design rules under a new name.</description>
<param name="layerSetup" value="(1*16)"/>
<param name="mtCopper" value="0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm"/>
<param name="mtIsolate" value="1.5mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm"/>
<param name="mdWireWire" value="6mil"/>
<param name="mdWirePad" value="6mil"/>
<param name="mdWireVia" value="6mil"/>
<param name="mdPadPad" value="6mil"/>
<param name="mdPadVia" value="6mil"/>
<param name="mdViaVia" value="6mil"/>
<param name="mdSmdPad" value="6mil"/>
<param name="mdSmdVia" value="6mil"/>
<param name="mdSmdSmd" value="6mil"/>
<param name="mdViaViaSameLayer" value="6mil"/>
<param name="mnLayersViaInSmd" value="2"/>
<param name="mdCopperDimension" value="10mil"/>
<param name="mdDrill" value="6mil"/>
<param name="mdSmdStop" value="0mil"/>
<param name="msWidth" value="6mil"/>
<param name="msDrill" value="0.3mm"/>
<param name="msMicroVia" value="9.99mm"/>
<param name="msBlindViaRatio" value="0.5"/>
<param name="rvPadTop" value="0.25"/>
<param name="rvPadInner" value="0.25"/>
<param name="rvPadBottom" value="0.25"/>
<param name="rvViaOuter" value="0.25"/>
<param name="rvViaInner" value="0.25"/>
<param name="rvMicroViaOuter" value="0.25"/>
<param name="rvMicroViaInner" value="0.25"/>
<param name="rlMinPadTop" value="10mil"/>
<param name="rlMaxPadTop" value="20mil"/>
<param name="rlMinPadInner" value="10mil"/>
<param name="rlMaxPadInner" value="20mil"/>
<param name="rlMinPadBottom" value="10mil"/>
<param name="rlMaxPadBottom" value="20mil"/>
<param name="rlMinViaOuter" value="8mil"/>
<param name="rlMaxViaOuter" value="20mil"/>
<param name="rlMinViaInner" value="8mil"/>
<param name="rlMaxViaInner" value="20mil"/>
<param name="rlMinMicroViaOuter" value="4mil"/>
<param name="rlMaxMicroViaOuter" value="20mil"/>
<param name="rlMinMicroViaInner" value="4mil"/>
<param name="rlMaxMicroViaInner" value="20mil"/>
<param name="psTop" value="-1"/>
<param name="psBottom" value="-1"/>
<param name="psFirst" value="-1"/>
<param name="psElongationLong" value="100"/>
<param name="psElongationOffset" value="100"/>
<param name="mvStopFrame" value="0"/>
<param name="mvCreamFrame" value="0"/>
<param name="mlMinStopFrame" value="0mil"/>
<param name="mlMaxStopFrame" value="0mil"/>
<param name="mlMinCreamFrame" value="0mil"/>
<param name="mlMaxCreamFrame" value="0mil"/>
<param name="mlViaStopLimit" value="0.5mm"/>
<param name="srRoundness" value="0.5"/>
<param name="srMinRoundness" value="0mil"/>
<param name="srMaxRoundness" value="6mil"/>
<param name="slThermalIsolate" value="10mil"/>
<param name="slThermalsForVias" value="0"/>
<param name="dpMaxLengthDifference" value="10mm"/>
<param name="dpGapFactor" value="2.5"/>
<param name="checkAngle" value="1"/>
<param name="checkFont" value="1"/>
<param name="checkRestrict" value="1"/>
<param name="checkStop" value="0"/>
<param name="checkValues" value="0"/>
<param name="checkNames" value="1"/>
<param name="checkWireStubs" value="1"/>
<param name="checkPolygonWidth" value="0"/>
<param name="useDiameter" value="13"/>
<param name="maxErrors" value="50"/>
</designrules>
<autorouter>
<pass name="Default">
<param name="RoutingGrid" value="50mil"/>
<param name="AutoGrid" value="1"/>
<param name="Efforts" value="0"/>
<param name="TopRouterVariant" value="1"/>
<param name="tpViaShape" value="round"/>
<param name="PrefDir.1" value="a"/>
<param name="PrefDir.2" value="0"/>
<param name="PrefDir.3" value="0"/>
<param name="PrefDir.4" value="0"/>
<param name="PrefDir.5" value="0"/>
<param name="PrefDir.6" value="0"/>
<param name="PrefDir.7" value="0"/>
<param name="PrefDir.8" value="0"/>
<param name="PrefDir.9" value="0"/>
<param name="PrefDir.10" value="0"/>
<param name="PrefDir.11" value="0"/>
<param name="PrefDir.12" value="0"/>
<param name="PrefDir.13" value="0"/>
<param name="PrefDir.14" value="0"/>
<param name="PrefDir.15" value="0"/>
<param name="PrefDir.16" value="a"/>
<param name="cfVia" value="8"/>
<param name="cfNonPref" value="5"/>
<param name="cfChangeDir" value="2"/>
<param name="cfOrthStep" value="2"/>
<param name="cfDiagStep" value="3"/>
<param name="cfExtdStep" value="0"/>
<param name="cfBonusStep" value="1"/>
<param name="cfMalusStep" value="1"/>
<param name="cfPadImpact" value="4"/>
<param name="cfSmdImpact" value="4"/>
<param name="cfBusImpact" value="0"/>
<param name="cfHugging" value="3"/>
<param name="cfAvoid" value="4"/>
<param name="cfPolygon" value="10"/>
<param name="cfBase.1" value="0"/>
<param name="cfBase.2" value="1"/>
<param name="cfBase.3" value="1"/>
<param name="cfBase.4" value="1"/>
<param name="cfBase.5" value="1"/>
<param name="cfBase.6" value="1"/>
<param name="cfBase.7" value="1"/>
<param name="cfBase.8" value="1"/>
<param name="cfBase.9" value="1"/>
<param name="cfBase.10" value="1"/>
<param name="cfBase.11" value="1"/>
<param name="cfBase.12" value="1"/>
<param name="cfBase.13" value="1"/>
<param name="cfBase.14" value="1"/>
<param name="cfBase.15" value="1"/>
<param name="cfBase.16" value="0"/>
<param name="mnVias" value="20"/>
<param name="mnSegments" value="9999"/>
<param name="mnExtdSteps" value="9999"/>
<param name="mnRipupLevel" value="10"/>
<param name="mnRipupSteps" value="100"/>
<param name="mnRipupTotal" value="100"/>
</pass>
<pass name="Follow-me" refer="Default" active="yes">
</pass>
<pass name="Busses" refer="Default" active="yes">
<param name="cfNonPref" value="4"/>
<param name="cfBusImpact" value="4"/>
<param name="cfHugging" value="0"/>
<param name="mnVias" value="0"/>
</pass>
<pass name="Route" refer="Default" active="yes">
</pass>
<pass name="Optimize1" refer="Default" active="yes">
<param name="cfVia" value="99"/>
<param name="cfExtdStep" value="10"/>
<param name="cfHugging" value="1"/>
<param name="mnExtdSteps" value="1"/>
<param name="mnRipupLevel" value="0"/>
</pass>
<pass name="Optimize2" refer="Optimize1" active="yes">
<param name="cfNonPref" value="0"/>
<param name="cfChangeDir" value="6"/>
<param name="cfExtdStep" value="0"/>
<param name="cfBonusStep" value="2"/>
<param name="cfMalusStep" value="2"/>
<param name="cfPadImpact" value="2"/>
<param name="cfSmdImpact" value="2"/>
<param name="cfHugging" value="0"/>
</pass>
<pass name="Optimize3" refer="Optimize2" active="yes">
<param name="cfChangeDir" value="8"/>
<param name="cfPadImpact" value="0"/>
<param name="cfSmdImpact" value="0"/>
</pass>
<pass name="Optimize4" refer="Optimize3" active="yes">
<param name="cfChangeDir" value="25"/>
</pass>
</autorouter>
<elements>
<element name="B1" library="moekoe_switches" library_urn="urn:adsk.eagle:library:34187185" package="PTS840ESDGMSMTRLFS" package3d_urn="urn:adsk.eagle:package:32951894/2" value="PTS840ESDGMSMTRLFS" x="10.5" y="41.4" smashed="yes" rot="R180">
<attribute name="NAME" x="7.8" y="41.38935" size="0.6096" layer="25" font="vector" align="center-right"/>
</element>
<element name="B2" library="moekoe_switches" library_urn="urn:adsk.eagle:library:34187185" package="PTS840ESDGMSMTRLFS" package3d_urn="urn:adsk.eagle:package:32951894/2" value="PTS840ESDGMSMTRLFS" x="49.5" y="41.4" smashed="yes" rot="R180">
<attribute name="NAME" x="52.2" y="41.38935" size="0.6096" layer="25" font="vector" align="center-left"/>
</element>
<element name="C1" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="10µ" x="7" y="26" smashed="yes">
<attribute name="NAME" x="7" y="26.827" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="6.365" y="24.095" size="1.27" layer="27"/>
</element>
<element name="C10" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="2,2µ" x="20" y="35.5" smashed="yes" rot="R90">
<attribute name="NAME" x="20" y="37.227" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="21.905" y="34.865" size="1.27" layer="27" rot="R90"/>
</element>
<element name="C11" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="2,2µ" x="22" y="35.5" smashed="yes" rot="R90">
<attribute name="NAME" x="22" y="37.227" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="23.905" y="34.865" size="1.27" layer="27" rot="R90"/>
</element>
<element name="C15" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="10µ" x="40" y="35.5" smashed="yes" rot="R90">
<attribute name="NAME" x="40" y="37.227" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="41.905" y="34.865" size="1.27" layer="27" rot="R90"/>
</element>
<element name="C13" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="10µ" x="24" y="35.5" smashed="yes" rot="R90">
<attribute name="NAME" x="24" y="37.227" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="25.905" y="34.865" size="1.27" layer="27" rot="R90"/>
</element>
<element name="C14" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="10µ" x="38" y="35.5" smashed="yes" rot="R90">
<attribute name="NAME" x="38" y="37.227" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="39.905" y="34.865" size="1.27" layer="27" rot="R90"/>
</element>
<element name="C2" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="1µ" x="7" y="21" smashed="yes">
<attribute name="NAME" x="7" y="20.173" size="0.6096" layer="25" font="vector" align="top-center"/>
<attribute name="VALUE" x="6.365" y="19.095" size="1.27" layer="27"/>
</element>
<element name="C12" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="0,1µ" x="28" y="35.5" smashed="yes" rot="R90">
<attribute name="NAME" x="28" y="37.227" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="29.905" y="34.865" size="1.27" layer="27" rot="R90"/>
</element>
<element name="C8" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="10µ" x="8.5" y="33" smashed="yes" rot="R270">
<attribute name="NAME" x="8.5" y="34.527" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="7.23" y="33.7" size="0.8128" layer="27" font="vector" rot="R270"/>
</element>
<element name="C9" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="1µ" x="11" y="30.5" smashed="yes">
<attribute name="NAME" x="11" y="29.723" size="0.6096" layer="25" font="vector" align="top-center"/>
<attribute name="VALUE" x="10.3" y="29.23" size="0.8128" layer="27" font="vector"/>
</element>
<element name="C3" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="10µ" x="50" y="20" smashed="yes" rot="R180">
<attribute name="NAME" x="50" y="20.827" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="50.635" y="21.905" size="1.27" layer="27" rot="R180"/>
</element>
<element name="C4" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="10µ" x="14.59" y="16" smashed="yes" rot="R180">
<attribute name="NAME" x="14.59" y="16.927" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="15.225" y="17.905" size="1.27" layer="27" rot="R180"/>
</element>
<element name="C5" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="0,1µ" x="39" y="4" smashed="yes" rot="R90">
<attribute name="NAME" x="39" y="5.527" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="40.905" y="3.365" size="1.27" layer="27" rot="R90"/>
</element>
<element name="C6" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="10µ" x="40.5" y="4" smashed="yes" rot="R90">
<attribute name="NAME" x="40.5" y="5.527" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="42.405" y="3.365" size="1.27" layer="27" rot="R90"/>
</element>
<element name="C7" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="0,1µ" x="20" y="5.5" smashed="yes">
<attribute name="NAME" x="20" y="6.327" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="19.365" y="3.595" size="1.27" layer="27"/>
</element>
<element name="D1" library="adafruit" package="SOD-323F" value="4148" x="12.5" y="2.5" smashed="yes" rot="R90">
<attribute name="NAME" x="12.5" y="4.202" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="14.2" y="0.4" size="0.8128" layer="27" font="vector" rot="R90"/>
</element>
<element name="GPIO0" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="TS-1177-C-B-B" package3d_urn="urn:adsk.eagle:package:33719656/2" value="BUTTON_4PIN_TS_1177" x="47.5" y="24" smashed="yes">
<attribute name="NAME" x="47.5" y="21.698" size="0.6096" layer="21" font="vector" align="top-center"/>
</element>
<element name="GPS_ANT" library="moekoe_hardware" library_urn="urn:adsk.eagle:library:34187136" package="UFL_ANT_CONNECTOR" package3d_urn="urn:adsk.eagle:package:28593021/2" value="UFL_ANT_CONNECTOR" x="2" y="13.3" smashed="yes" rot="R270"/>
<element name="LORA_ANT" library="moekoe_hardware" library_urn="urn:adsk.eagle:library:34187136" package="UFL_ANT_CONNECTOR" package3d_urn="urn:adsk.eagle:package:28593021/2" value="UFL_ANT_CONNECTOR" x="57" y="21.3" smashed="yes" rot="R180"/>
<element name="J2" library="SparkFun-Connectors" library_urn="urn:adsk.eagle:library:513" package="1X04_1MM_RA" package3d_urn="urn:adsk.eagle:package:38096/1" value="" x="5.5" y="32.5" smashed="yes" rot="R270">
<attribute name="NAME" x="3.474" y="36.027" size="0.6096" layer="25" font="vector" ratio="20" align="bottom-center"/>
<attribute name="VALUE" x="2.198" y="34.151" size="0.6096" layer="27" font="vector" ratio="20" rot="R270"/>
</element>
<element name="L4" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="R0402" package3d_urn="urn:adsk.eagle:package:28593069/4" value="47nH" x="4.9" y="12.8" smashed="yes" rot="R90">
<attribute name="NAME" x="4.9" y="13.727" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="6.205" y="12.165" size="0.8128" layer="27" rot="R90"/>
</element>
<element name="L1" library="moekoe_led" library_urn="urn:adsk.eagle:library:34188309" package="APA102_2020" package3d_urn="urn:adsk.eagle:package:28593005/3" value="APA102_2020" x="46.8" y="35.5" smashed="yes">
<attribute name="NAME" x="46.8" y="36.977" size="0.6096" layer="21" font="vector" align="bottom-center"/>
</element>
<element name="R7" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/3" value="1M" x="32" y="19.5" smashed="yes">
<attribute name="NAME" x="30.45" y="19.5" size="0.6096" layer="25" font="vector" align="center-right"/>
<attribute name="VALUE" x="31.365" y="18.195" size="0.8128" layer="27"/>
</element>
<element name="R8" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/3" value="250k" x="35" y="19.5" smashed="yes">
<attribute name="NAME" x="36.55" y="19.5" size="0.6096" layer="25" font="vector" align="center-left"/>
<attribute name="VALUE" x="34.365" y="18.195" size="0.8128" layer="27"/>
</element>
<element name="R1" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/3" value="10k" x="39.75" y="7.7" smashed="yes" rot="R270">
<attribute name="NAME" x="39.75" y="9.377" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="38.445" y="8.335" size="0.8128" layer="27" rot="R270"/>
</element>
<element name="R11" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/3" value="10k" x="20" y="4" smashed="yes">
<attribute name="NAME" x="20" y="3.123" size="0.6096" layer="25" font="vector" align="top-center"/>
<attribute name="VALUE" x="19.365" y="2.095" size="1.27" layer="27"/>
</element>
<element name="R15" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/3" value="47.5k" x="11" y="35.5" smashed="yes">
<attribute name="NAME" x="11.2" y="36.377" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="10.365" y="34.195" size="0.8128" layer="27"/>
</element>
<element name="R13" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/3" value="5.1k" x="55" y="27" smashed="yes" rot="R270">
<attribute name="NAME" x="54.8" y="28.677" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="53.695" y="27.635" size="0.8128" layer="27" rot="R270"/>
</element>
<element name="R14" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/3" value="5.1k" x="56.5" y="27" smashed="yes" rot="R270">
<attribute name="NAME" x="56.7" y="28.677" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="55.195" y="27.635" size="0.8128" layer="27" rot="R270"/>
</element>
<element name="R16" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/3" value="1k" x="14.5" y="34" smashed="yes" rot="R180">
<attribute name="NAME" x="14.5" y="34.877" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="15.135" y="35.305" size="0.8128" layer="27" rot="R180"/>
</element>
<element name="R2" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/3" value="1k" x="14.5" y="2.5" smashed="yes" rot="R270">
<attribute name="NAME" x="14.575" y="4.202" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="13.195" y="3.135" size="0.8128" layer="27" rot="R270"/>
</element>
<element name="R12" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/2" value="10k" x="32" y="35.5" smashed="yes" rot="R90">
<attribute name="NAME" x="32" y="37.177" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="33.905" y="34.865" size="1.27" layer="27" rot="R90"/>
</element>
<element name="R10" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/2" value="390k" x="36" y="35.5" smashed="yes" rot="R90">
<attribute name="NAME" x="36" y="37.177" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="37.905" y="34.865" size="1.27" layer="27" rot="R90"/>
</element>
<element name="R17" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/2" value="5.1k" x="20" y="14.5" smashed="yes" rot="R180">
<attribute name="NAME" x="20" y="13.823" size="0.6096" layer="25" font="vector" align="top-center"/>
<attribute name="VALUE" x="20.635" y="16.405" size="1.27" layer="27" rot="R180"/>
</element>
<element name="R18" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/2" value="5.1k" x="20" y="16" smashed="yes" rot="R180">
<attribute name="NAME" x="20" y="16.677" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="20.635" y="17.905" size="1.27" layer="27" rot="R180"/>
</element>
<element name="RESET" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="TS-1177-C-B-B" package3d_urn="urn:adsk.eagle:package:33719656/2" value="BUTTON_4PIN_TS_1177" x="47.5" y="31" smashed="yes">
<attribute name="NAME" x="47.5" y="33.302" size="0.6096" layer="21" font="vector" align="bottom-center"/>
</element>
<element name="FID1" library="adafruit" package="FIDUCIAL_1MM" value="FIDUCIAL" x="55.5" y="41.5" smashed="yes"/>
<element name="FID2" library="adafruit" package="FIDUCIAL_1MM" value="FIDUCIAL" x="3.5" y="3.5" smashed="yes"/>
<element name="L2" library="moekoe_led" library_urn="urn:adsk.eagle:library:34188309" package="CHIPLED_0603" package3d_urn="urn:adsk.eagle:package:34209094/2" value="LED_0603" x="16" y="2.5" smashed="yes" rot="R90">
<attribute name="NAME" x="16" y="3.777" size="0.6096" layer="25" font="vector" align="bottom-center"/>
</element>
<element name="FID3" library="adafruit" package="FIDUCIAL_1MM" value="FIDUCIAL" x="4.5" y="41.5" smashed="yes"/>
<element name="BAT2" library="moekoe_batteries" library_urn="urn:adsk.eagle:library:34188332" package="MS621" package3d_urn="urn:adsk.eagle:package:34754292/1" value="MS621" x="11.5" y="12.5" smashed="yes" rot="MR90">
<attribute name="NAME" x="11.5" y="13.527" size="0.6096" layer="26" font="vector" rot="MR0" align="bottom-center"/>
</element>
<element name="U1" library="moekoe_ics" library_urn="urn:adsk.eagle:library:34187141" package="ATGM336H-MODULE" package3d_urn="urn:adsk.eagle:package:34747219/1" value="ATGM336H" x="11.5" y="10" smashed="yes">
<attribute name="NAME" x="11.5" y="15.527" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="6.8" y="3.7" size="0.8128" layer="27" font="vector"/>
</element>
<element name="U2" library="moekoe_ics" library_urn="urn:adsk.eagle:library:34187141" package="LORA_RFM9X" package3d_urn="urn:adsk.eagle:package:34576676/1" value="RFM9X" x="50" y="10" smashed="yes" rot="R90">
<attribute name="NAME" x="45.6" y="19.027" size="0.6096" layer="25" font="vector" align="bottom-center"/>
</element>
<element name="U3" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="SC-70-5" package3d_urn="urn:adsk.eagle:package:28593073/2" value="RT9193_SC70-5" x="7" y="23.5" smashed="yes">
<attribute name="NAME" x="8.225" y="23.5" size="0.6096" layer="25" font="vector" align="center-left"/>
</element>
<element name="U4" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="OLED_096_30P_B" package3d_urn="urn:adsk.eagle:package:30782089/3" value="OLD_096_SSD1306_30P_2B" x="30" y="11" smashed="yes">
<attribute name="NAME" x="30" y="39.2505" size="0.6096" layer="25" font="vector" align="bottom-center"/>
</element>
<element name="U5" library="moekoe_controllers" library_urn="urn:adsk.eagle:library:34187139" package="ESP32-S2-MINI-1U" package3d_urn="urn:adsk.eagle:package:34749133/1" value="ESP32S2MINI1U" x="30" y="10" smashed="yes" rot="R180">
<attribute name="NAME" x="38.6" y="17.0905" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="37.65" y="19.35" size="0.8128" layer="27" font="vector" rot="R180"/>
</element>
<element name="U6" library="moekoe_ics" library_urn="urn:adsk.eagle:library:34187141" package="DFN-6" package3d_urn="urn:adsk.eagle:package:32881971/1" value="WS4518D" x="11" y="33" smashed="yes">
<attribute name="NAME" x="11" y="31.823" size="0.6096" layer="25" font="vector" align="top-center"/>
</element>
<element name="U7" library="moekoe_ics" library_urn="urn:adsk.eagle:library:34187141" package="TDFN8" package3d_urn="urn:adsk.eagle:package:34754168/1" value="24AA32AF" x="8.5" y="2.5" smashed="yes" rot="R270">
<attribute name="NAME" x="5.9" y="2.252" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="5.6" y="3.5" size="0.8128" layer="27" font="vector" rot="R270"/>
</element>
<element name="USB-C" library="moekoe_hardware" library_urn="urn:adsk.eagle:library:34187136" package="USBC_C393939" package3d_urn="urn:adsk.eagle:package:28593070/4" value="USB_C_C393939" x="53.5" y="34.5" smashed="yes" rot="R90">
<attribute name="NAME" x="55.9875" y="39.501" size="0.6096" layer="21" font="vector" align="bottom-center"/>
</element>
<element name="R5" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/3" value="10k" x="10.5" y="38.5" smashed="yes" rot="R180">
<attribute name="NAME" x="10.5" y="37.623" size="0.6096" layer="25" font="vector" align="top-center"/>
<attribute name="VALUE" x="11.135" y="40.405" size="1.27" layer="27" rot="R180"/>
</element>
<element name="R6" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/3" value="10k" x="49.5" y="38.5" smashed="yes" rot="R180">
<attribute name="NAME" x="49.5" y="37.623" size="0.6096" layer="25" font="vector" align="top-center"/>
<attribute name="VALUE" x="50.135" y="40.405" size="1.27" layer="27" rot="R180"/>
</element>
<element name="L3" library="moekoe_led" library_urn="urn:adsk.eagle:library:34188309" package="CHIPLED_0603" package3d_urn="urn:adsk.eagle:package:34209094/2" value="LED_0603" x="14.5" y="32" smashed="yes">
<attribute name="NAME" x="14.5" y="32.652" size="0.6096" layer="25" font="vector" align="bottom-center"/>
</element>
<element name="C16" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="10µ" x="3" y="26" smashed="yes">
<attribute name="NAME" x="3" y="26.827" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="2.365" y="24.095" size="1.27" layer="27"/>
</element>
<element name="C17" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="1µ" x="3" y="21" smashed="yes">
<attribute name="NAME" x="3" y="20.173" size="0.6096" layer="25" font="vector" align="top-center"/>
<attribute name="VALUE" x="2.365" y="19.095" size="1.27" layer="27"/>
</element>
<element name="U8" library="moekoe" library_urn="urn:adsk.eagle:library:28592718" package="SC-70-5" package3d_urn="urn:adsk.eagle:package:28593073/2" value="RT9193_SC70-5" x="3" y="23.5" smashed="yes">
<attribute name="NAME" x="4.225" y="23.5" size="0.6096" layer="25" font="vector" align="center-left"/>
</element>
<element name="U$2" library="moekoe_batteries" library_urn="urn:adsk.eagle:library:34188332" package="KEYSTONE_1051" package3d_urn="urn:adsk.eagle:package:30782287/2" value="BATTERY_KEYSTONE_1051" x="30" y="27.5" smashed="yes" rot="MR180"/>
<element name="R3" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="R0603" package3d_urn="urn:adsk.eagle:package:28593017/3" value="100" x="15.85" y="20.1" smashed="yes" rot="R90">
<attribute name="NAME" x="15.85" y="18.873" size="0.6096" layer="25" font="vector" align="top-center"/>
<attribute name="VALUE" x="17.155" y="19.465" size="0.8128" layer="27" rot="R90"/>
</element>
<element name="U9" library="moekoe_ics" library_urn="urn:adsk.eagle:library:34187141" package="SOT23-5" package3d_urn="urn:adsk.eagle:package:28593065/2" value="XB5353A" x="11.5" y="23.5" smashed="yes">
<attribute name="NAME" x="11.3745" y="21.2729" size="0.6096" layer="25" font="vector" align="top-center"/>
<attribute name="VALUE" x="14.04" y="23.5" size="0.6096" layer="27" font="vector" rot="R90" align="bottom-center"/>
</element>
<element name="Q2" library="moekoe_discrete" library_urn="urn:adsk.eagle:library:34188174" package="SOT323" package3d_urn="urn:adsk.eagle:package:28593066/2" value="SE7401U" x="15" y="23.5" smashed="yes">
<attribute name="NAME" x="15" y="25.052" size="0.6096" layer="25" font="vector" align="bottom-center"/>
<attribute name="VALUE" x="16.27" y="23.5" size="0.6096" layer="27" font="vector" rot="R90" align="top-center"/>
</element>
<element name="C18" library="moekoe_rcl" library_urn="urn:adsk.eagle:library:34187148" package="C0603" package3d_urn="urn:adsk.eagle:package:28593018/3" value="0,1u" x="14.35" y="20.1" smashed="yes" rot="R270">
<attribute name="NAME" x="14.35" y="18.873" size="0.6096" layer="25" font="vector" align="top-center"/>
<attribute name="VALUE" x="13.08" y="20.8" size="0.8128" layer="27" font="vector" rot="R270"/>
</element>
<element name="J1" library="moekoe_hardware" library_urn="urn:adsk.eagle:library:34187136" package="JST_1.25MM_2POL" package3d_urn="urn:adsk.eagle:package:28593022/1" value="JST_1.25_BATTERY_2POL" x="2.5" y="34" smashed="yes" rot="MR90">
<attribute name="NAME" x="4.63175" y="38.127" size="0.6096" layer="22" font="vector" rot="MR0" align="bottom-center"/>
</element>
</elements>
<signals>
<signal name="GND">
<contactref element="C2" pad="1"/>
<contactref element="C1" pad="1"/>
<contactref element="U3" pad="P2"/>
<contactref element="C6" pad="1"/>
<contactref element="C5" pad="1"/>
<contactref element="C7" pad="1"/>
<contactref element="U4" pad="P1"/>
<contactref element="U4" pad="P8"/>
<contactref element="C13" pad="2"/>
<contactref element="C12" pad="2"/>
<contactref element="U4" pad="P10"/>
<contactref element="U4" pad="P12"/>
<contactref element="U4" pad="P30"/>
<contactref element="U4" pad="P29"/>
<contactref element="C14" pad="2"/>
<contactref element="C15" pad="2"/>
<contactref element="R10" pad="2"/>
<contactref element="J2" pad="1"/>
<contactref element="RESET" pad="P1"/>
<contactref element="GPIO0" pad="P1"/>
<contactref element="C9" pad="1"/>
<contactref element="R15" pad="2"/>
<contactref element="C8" pad="1"/>
<contactref element="U6" pad="2"/>
<contactref element="U6" pad="EXP"/>
<contactref element="L1" pad="P6"/>
<contactref element="L1" pad="P6.1"/>
<contactref element="R8" pad="2"/>
<contactref element="USB-C" pad="S1"/>
<contactref element="USB-C" pad="S2"/>
<contactref element="USB-C" pad="S3"/>
<contactref element="USB-C" pad="S4"/>
<contactref element="USB-C" pad="A1B12"/>
<contactref element="USB-C" pad="B1A12"/>
<contactref element="R13" pad="2"/>
<contactref element="R14" pad="2"/>
<contactref element="U1" pad="1"/>
<contactref element="U1" pad="10"/>
<contactref element="U1" pad="12"/>
<contactref element="GPS_ANT" pad="P1.-"/>
<contactref element="GPS_ANT" pad="P2.-"/>
<contactref element="U2" pad="1"/>
<contactref element="U2" pad="8"/>
<contactref element="U2" pad="10"/>
<contactref element="LORA_ANT" pad="P1.-"/>
<contactref element="LORA_ANT" pad="P2.-"/>
<contactref element="U5" pad="30"/>
<contactref element="U5" pad="46"/>
<contactref element="U5" pad="47"/>
<contactref element="U5" pad="48"/>
<contactref element="U5" pad="49"/>
<contactref element="U5" pad="50"/>
<contactref element="U5" pad="51"/>
<contactref element="U5" pad="52"/>
<contactref element="U5" pad="53"/>
<contactref element="U5" pad="54"/>
<contactref element="U5" pad="55"/>
<contactref element="U5" pad="56"/>
<contactref element="U5" pad="57"/>
<contactref element="U5" pad="58"/>
<contactref element="U5" pad="59"/>
<contactref element="U5" pad="60"/>
<contactref element="U5" pad="61"/>
<contactref element="U5" pad="62"/>
<contactref element="U5" pad="63"/>
<contactref element="U5" pad="64"/>
<contactref element="U5" pad="65"/>
<contactref element="U5" pad="66"/>
<contactref element="U5" pad="67"/>
<contactref element="U5" pad="68"/>
<contactref element="U5" pad="69"/>
<contactref element="U5" pad="70"/>
<contactref element="U5" pad="71"/>
<contactref element="U5" pad="72"/>
<contactref element="U5" pad="73"/>
<contactref element="U5" pad="1"/>
<contactref element="U5" pad="2"/>
<contactref element="U5" pad="43"/>
<contactref element="U5" pad="42"/>
<contactref element="C3" pad="1"/>
<contactref element="C4" pad="1"/>
<contactref element="U7" pad="4"/>
<contactref element="U7" pad="EXP"/>
<contactref element="U7" pad="7"/>
<contactref element="U7" pad="1"/>
<contactref element="U7" pad="2"/>
<contactref element="U7" pad="3"/>
<contactref element="BAT2" pad="P-"/>
<polygon width="0.2" layer="1" rank="3">
<vertex x="-0.4" y="43.9"/>
<vertex x="60.9" y="43.9"/>
<vertex x="60.9" y="-0.9"/>
<vertex x="-0.4" y="-0.9"/>
</polygon>
<polygon width="0.2" layer="16" rank="3">
<vertex x="-0.4" y="43.9"/>
<vertex x="60.9" y="43.9"/>
<vertex x="60.9" y="-0.9"/>
<vertex x="-0.4" y="-0.9"/>
</polygon>
<contactref element="C17" pad="1"/>
<contactref element="C16" pad="1"/>
<contactref element="U8" pad="P2"/>
<contactref element="U9" pad="5"/>
<contactref element="U9" pad="4"/>
<via x="5" y="25.2" extent="1-16" drill="0.3" diameter="0.6"/>
<contactref element="B1" pad="3"/>
<contactref element="B2" pad="3"/>
<via x="48.5" y="36.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="11" y="34.5" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="9.95" y1="2.75" x2="8.75" y2="2.75" width="0.2" layer="1"/>
<wire x1="8.75" y1="2.75" x2="8.5" y2="2.5" width="0.2" layer="1"/>
<wire x1="7" y1="24.47" x2="7" y2="25.15" width="0.3" layer="1"/>
<wire x1="7" y1="25.15" x2="6.15" y2="26" width="0.3" layer="1"/>
<wire x1="3" y1="24.47" x2="3" y2="25.15" width="0.3" layer="1"/>
<wire x1="3" y1="25.15" x2="2.15" y2="26" width="0.3" layer="1"/>
<via x="5.7" y="28.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="4.7" y="28.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="30" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="29.2" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="28.4" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="27.6" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="26.8" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="26" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="25.2" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="24.4" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="23.6" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="22.8" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="22" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="21.2" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="20.4" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="19.6" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.8" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="17.2" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="16.4" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="15.6" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="14.8" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="14" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="30.8" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="31.6" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="32.4" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="33.2" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="34" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="34.8" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="36.4" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="37.2" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="38" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="38.8" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="39.6" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="40.4" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="42" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="42.8" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="43.6" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="44.4" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="45.2" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="46" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="53.2" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54" y="42.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="15.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="2" y="15.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="3.6" y="15.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="2.8" y="15.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="10.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="2" y="10.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="2.8" y="10.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="3.6" y="10.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="4.4" y="15.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="4.4" y="15.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="4.4" y="14.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="5.2" y="14.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="9.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="2" y="9.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="2.8" y="9.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="3.6" y="9.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="2" y="16.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="16.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="2.8" y="16.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="3.6" y="16.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="9.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="8.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="7.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="6.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="5.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="5.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="3.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="2.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="36.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="37.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="38.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="39.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="39.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="40.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="2.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="3.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="5.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="5.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="6.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="7.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="8.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="9.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="9.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="10.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="12.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="13.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="13.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="14.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="16.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="17.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="17.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="18.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.8" y="19.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="55.2" y="19.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54.4" y="19.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54.4" y="20.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54.4" y="21.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54.4" y="21.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54.4" y="22.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54.4" y="23.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="55.2" y="23.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="56" y="23.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="56.8" y="23.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="57.6" y="23.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.4" y="23.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="23.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="52.8" y="21.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="52.8" y="19.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="52.8" y="22.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="55.2" y="25.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="56.8" y="25.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.4" y="25.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="51.35" y="37.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="42.6" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.8" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="43.4" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="44.2" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="45" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="45.8" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="46.6" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="47.4" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="48.2" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="49" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="49.8" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="50.6" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="51.4" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="52.2" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="53" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="53.8" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54.6" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="55.4" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="56.2" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="57" y="0.8" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54.8" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="55.6" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="56.4" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="57.2" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="57.2" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="56.4" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="55.6" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54.8" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="53.2" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="52.4" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="51.6" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="50.8" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="50" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="5.2" y="9.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="5.2" y="8.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="5.2" y="7.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="5.2" y="6.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="5.2" y="5.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="5.2" y="5.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="6" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="6.8" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="7.6" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="8.4" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="8.4" y="14.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="8.4" y="13.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="8.4" y="13.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="8.4" y="12.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="8.4" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="8.4" y="10.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="8.4" y="9.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="8.4" y="9.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="15.6" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="16.4" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.8" y="10.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="19.6" y="6.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="20.4" y="6.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="21.2" y="6.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="22" y="6.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="22" y="7.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="22" y="8.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="22" y="9.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="20.4" y="7.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="21.2" y="8.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="21.2" y="7.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="19.6" y="13.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="20.4" y="13.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="26" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="26.8" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="27.6" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="28.4" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="29.2" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="30" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="30.8" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="31.6" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="32.4" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="33.2" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="34" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="34.8" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="4.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="5.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="5.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="7.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="8.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="9.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="9.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="10.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="12.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="13.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="13.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="14.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="38" y="17.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="38" y="16.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="38" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="38" y="14.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="17.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="17.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="16.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="14.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="17.2" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18" y="14.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18" y="13.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.8" y="37.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.8" y="36.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.8" y="35.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.8" y="35.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.8" y="34.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.8" y="33.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.8" y="32.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.8" y="31.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.8" y="31.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.8" y="30.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="36.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="35.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="35.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="34.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="33.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="32.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="31.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="31.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="30.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="41.2" y="29.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.8" y="29.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="26" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="26.8" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="27.6" y="15.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="25.2" y="14.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="26" y="14.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="26.8" y="14.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="26" y="18.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="26.8" y="19.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="26" y="19.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="22.8" y="18.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="23.6" y="18.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="23.6" y="19.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="22" y="17.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="21.2" y="17.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="20.4" y="17.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="19.6" y="17.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="29.2" y="13.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="30" y="13.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="30.8" y="13.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="31.6" y="13.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="33.2" y="13.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="32.4" y="13.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="34" y="13.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="33.2" y="10.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="33.2" y="9.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="33.2" y="9.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="26.8" y="10.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="26.8" y="9.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="26.8" y="9.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="24.4" y="9.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="24.4" y="9.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="24.4" y="8.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="24.4" y="7.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="24.4" y="6.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="24.4" y="5.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="24.4" y="5.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="24.4" y="10.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="52.4" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="53.2" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54.8" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="55.6" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="56.4" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="57.2" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="51.6" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="50.8" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="50" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="8.425" y="0.875" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="7.625" y="0.875" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="9.225" y="0.875" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="6.825" y="0.875" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="6.025" y="0.875" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="5.225" y="0.875" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="4.425" y="0.875" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="3.625" y="0.875" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="6.025" y="3.275" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="6.025" y="2.475" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="6.025" y="1.675" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="6.3" y="19.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="6.3" y="18.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="6.3" y="17.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="17.5" y="19.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.3" y="19.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="19.1" y="19.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="17.5" y="26.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="18.3" y="26.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="19.1" y="26.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="19.9" y="26.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="19.9" y="19.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="3.6" y="39.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="4.4" y="39.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="5.2" y="39.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="6" y="39.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="6.8" y="39.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="35.6" y="25.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="36.4" y="25.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="37.2" y="25.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="38" y="25.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="24.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="25.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="25.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="26.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="27.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="28.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="29.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="29.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="30.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="31.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="32.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="33.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="33.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="34.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="36.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="35.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="37.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="37.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="38.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="59.2" y="39.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="52.8" y="21.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="52.8" y="20.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="56" y="25.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="57.6" y="25.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54.4" y="25.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="53.6" y="25.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="53.6" y="22.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="53.6" y="23.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="53.6" y="24.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="54.4" y="24.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="55.2" y="24.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="56" y="24.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="56.8" y="24.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="57.6" y="24.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="58.4" y="24.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="53.6" y="21.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="53.6" y="21.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="53.6" y="20.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="53.6" y="19.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="2" y="9.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="2.8" y="9.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="3.6" y="9.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="4.4" y="9.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="4.4" y="9.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="1.2" y="17.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="2" y="17.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="2.8" y="17.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="9.2" y="13.9" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="9.2" y="13.1" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="9.2" y="12.3" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="9.2" y="11.5" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="9.2" y="10.7" extent="1-16" drill="0.3" diameter="0.6"/>
<via x="9.2" y="9.9" extent="1-16" drill="0.3" diameter="0.6"/>
<polygon width="0.2" layer="1" thermals="no">
<vertex x="0" y="12"/>
<vertex x="4" y="12"/>
<vertex x="4" y="10.4"/>
<vertex x="0" y="10.4"/>
</polygon>
<polygon width="0.2" layer="1" thermals="no">
<vertex x="0" y="16.2"/>
<vertex x="4" y="16.2"/>
<vertex x="4" y="14.6"/>
<vertex x="0" y="14.6"/>
</polygon>
<polygon width="0.2" layer="1" thermals="no">
<vertex x="54.2" y="19.2"/>
<vertex x="54.2" y="23.2"/>
<vertex x="55.8" y="23.2"/>
<vertex x="55.8" y="19.2"/>
</polygon>
<polygon width="0.2" layer="1" thermals="no">
<vertex x="58.2" y="19.2"/>
<vertex x="58.2" y="23.2"/>
<vertex x="59.8" y="23.2"/>
<vertex x="59.8" y="19.2"/>
</polygon>
</signal>
<signal name="+3V3">
<contactref element="C6" pad="2"/>
<contactref element="C5" pad="2"/>
<contactref element="R17" pad="2"/>
<contactref element="R18" pad="2"/>
<contactref element="R11" pad="1"/>
<contactref element="U3" pad="P5"/>
<contactref element="C2" pad="2"/>
<contactref element="U5" pad="3"/>
<contactref element="R6" pad="1"/>
<contactref element="R5" pad="1"/>
<wire x1="7.65" y1="22.53" x2="7.65" y2="21.2" width="0.5" layer="1"/>
<wire x1="7.65" y1="21.2" x2="7.85" y2="21" width="0.5" layer="1"/>
<wire x1="37" y1="5.75" x2="38.1" y2="5.75" width="0.4" layer="1"/>
<wire x1="38.1" y1="5.75" x2="39" y2="4.85" width="0.4" layer="1"/>
<wire x1="39" y1="4.85" x2="40.5" y2="4.85" width="0.5" layer="1"/>
<wire x1="19.15" y1="4" x2="19.15" y2="2.15" width="0.5" layer="1"/>
<wire x1="19.15" y1="2.15" x2="20.4" y2="0.9" width="0.5" layer="1"/>
<wire x1="20.4" y1="0.9" x2="40.5" y2="0.9" width="0.5" layer="1"/>
<wire x1="40.5" y1="0.9" x2="41.5" y2="1.9" width="0.5" layer="1"/>
<wire x1="41.5" y1="1.9" x2="41.5" y2="3.85" width="0.5" layer="1"/>
<wire x1="41.5" y1="3.85" x2="40.5" y2="4.85" width="0.5" layer="1"/>
<wire x1="11.35" y1="38.5" x2="11.6" y2="38.5" width="0.5" layer="1"/>
<wire x1="11.6" y1="38.5" x2="12.4" y2="37.7" width="0.5" layer="1"/>
<via x="12.4" y="37.7" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="14.55" y1="36.95" x2="13.8" y2="37.7" width="0.5" layer="16"/>
<wire x1="12.4" y1="37.7" x2="13.8" y2="37.7" width="0.5" layer="16"/>
<wire x1="14.55" y1="26.65" x2="13.8" y2="25.9" width="0.5" layer="16"/>
<wire x1="13.8" y1="25.9" x2="9.4" y2="25.9" width="0.5" layer="16"/>
<via x="9.4" y="25.9" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="9.4" y1="25.9" x2="9.4" y2="22.1" width="0.5" layer="1"/>
<wire x1="9.4" y1="22.1" x2="9.4" y2="21.5" width="0.5" layer="1"/>
<wire x1="8.9" y1="21" x2="7.85" y2="21" width="0.5" layer="1"/>
<wire x1="14.55" y1="36.95" x2="14.55" y2="26.65" width="0.5" layer="16"/>
<wire x1="9.4" y1="21.5" x2="8.9" y2="21" width="0.5" layer="1"/>
<wire x1="7.85" y1="21" x2="7.85" y2="18.85" width="0.5" layer="1"/>
<via x="9" y="17.7" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="16.5" y1="17.7" x2="17.1" y2="17.1" width="0.5" layer="16"/>
<wire x1="16.5" y1="17.7" x2="9" y2="17.7" width="0.5" layer="16"/>
<via x="17.1" y="17.1" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="17.1" y1="17.1" x2="18.05" y2="17.1" width="0.5" layer="1"/>
<wire x1="18.05" y1="17.1" x2="19.15" y2="16" width="0.5" layer="1"/>
<wire x1="7.85" y1="18.85" x2="9" y2="17.7" width="0.5" layer="1"/>
<wire x1="19.15" y1="16" x2="19.15" y2="14.5" width="0.5" layer="1"/>
<wire x1="9" y1="17.7" x2="9" y2="15.7" width="0.5" layer="16"/>
<wire x1="17.5" y1="12.7" x2="17.5" y2="4" width="0.5" layer="16"/>
<via x="17.5" y="4" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="17.5" y1="4" x2="19.15" y2="4" width="0.5" layer="1"/>
<wire x1="9" y1="15.7" x2="10.4" y2="14.3" width="0.5" layer="16"/>
<wire x1="10.4" y1="14.3" x2="15.9" y2="14.3" width="0.5" layer="16"/>
<wire x1="15.9" y1="14.3" x2="17.5" y2="12.7" width="0.5" layer="16"/>
<wire x1="50.35" y1="38.5" x2="50.6" y2="38.5" width="0.5" layer="1"/>
<wire x1="51.4" y1="39.3" x2="50.6" y2="38.5" width="0.5" layer="1"/>
<via x="51.4" y="39.3" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="51.4" y1="39.3" x2="49.1" y2="39.3" width="0.5" layer="16"/>
<wire x1="49.1" y1="39.3" x2="47.3" y2="37.5" width="0.5" layer="16"/>
<wire x1="47.3" y1="37.5" x2="47.3" y2="32.36449375" width="0.5" layer="16"/>
<wire x1="9.9976" y1="22.6976" x2="9.4" y2="22.1" width="0.5" layer="16"/>
<via x="9.4" y="22.1" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="47.3" y1="32.36449375" x2="50.5202" y2="29.14429375" width="0.5" layer="16"/>
<wire x1="50.5202" y1="29.14429375" x2="50.5202" y2="24.82908125" width="0.5" layer="16"/>
<wire x1="50.5202" y1="24.82908125" x2="48.38871875" y2="22.6976" width="0.5" layer="16"/>
<wire x1="48.38871875" y1="22.6976" x2="9.9976" y2="22.6976" width="0.5" layer="16"/>
</signal>
<signal name="GPIO0">
<contactref element="GPIO0" pad="P4"/>
<contactref element="U5" pad="4"/>
<wire x1="37" y1="6.6" x2="35.6" y2="6.6" width="0.2" layer="1"/>
<wire x1="34.9" y1="7.3" x2="34.9" y2="15.4" width="0.2" layer="1"/>
<via x="34.9" y="15.4" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="35.5952" y1="18.5952" x2="34.9" y2="17.9" width="0.2" layer="16"/>
<wire x1="34.9" y1="15.4" x2="34.9" y2="17.9" width="0.2" layer="16"/>
<via x="51.658" y="22.3" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="51.658" y1="22.3" x2="51.058" y2="22.9" width="0.2" layer="1"/>
<wire x1="51.058" y1="22.9" x2="49.3" y2="22.9" width="0.2" layer="1"/>
<wire x1="35.6" y1="6.6" x2="34.9" y2="7.3" width="0.2" layer="1"/>
<wire x1="35.5952" y1="18.5952" x2="47.59195" y2="18.5952" width="0.2" layer="16"/>
<wire x1="51.658" y1="22.3" x2="51.29675" y2="22.3" width="0.2" layer="16"/>
<wire x1="51.29675" y1="22.3" x2="47.59195" y2="18.5952" width="0.2" layer="16"/>
</signal>
<signal name="EN">
<contactref element="R11" pad="2"/>
<contactref element="C7" pad="2"/>
<contactref element="RESET" pad="P4"/>
<contactref element="U5" pad="45"/>
<wire x1="20.85" y1="4" x2="20.9" y2="4.05" width="0.3" layer="1"/>
<wire x1="20.9" y1="4.05" x2="23" y2="4.05" width="0.3" layer="1"/>
<wire x1="20.85" y1="5.5" x2="20.85" y2="4" width="0.3" layer="1"/>
<wire x1="23" y1="4.05" x2="24.55" y2="4.05" width="0.2" layer="1"/>
<wire x1="25.3" y1="4.8" x2="25.3" y2="12.6" width="0.2" layer="1"/>
<via x="25.3" y="12.6" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="25.3" y1="12.6" x2="26.798375" y2="12.6" width="0.2" layer="16"/>
<wire x1="52.5524" y1="28.0468" x2="52.8056" y2="28.3" width="0.2" layer="16"/>
<via x="52.8056" y="28.3" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="24.55" y1="4.05" x2="25.3" y2="4.8" width="0.2" layer="1"/>
<wire x1="26.798375" y1="12.6" x2="33.170975" y2="18.9726" width="0.2" layer="16"/>
<wire x1="33.170975" y1="18.9726" x2="47.470975" y2="18.9726" width="0.2" layer="16"/>
<wire x1="47.470975" y1="18.9726" x2="52.5524" y2="24.054025" width="0.2" layer="16"/>
<wire x1="52.5524" y1="24.054025" x2="52.5524" y2="28.0468" width="0.2" layer="16"/>
<wire x1="49.3" y1="29.9" x2="51.8" y2="29.9" width="0.2" layer="1"/>
<wire x1="52.8056" y1="28.3" x2="52.8056" y2="28.8944" width="0.2" layer="1"/>
<wire x1="52.8056" y1="28.8944" x2="51.8" y2="29.9" width="0.2" layer="1"/>
</signal>
<signal name="SCL">
<contactref element="U4" pad="P18"/>
<contactref element="R18" pad="1"/>
<contactref element="J2" pad="4"/>
<contactref element="U5" pad="31"/>
<wire x1="20.85" y1="16" x2="20.9" y2="15.95" width="0.2" layer="1"/>
<wire x1="22" y1="15.95" x2="23" y2="15.95" width="0.2" layer="1"/>
<via x="22" y="15.95" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="20.9" y1="15.95" x2="22" y2="15.95" width="0.2" layer="1"/>
<wire x1="22" y1="15.95" x2="24.651625" y2="15.95" width="0.2" layer="16"/>
<wire x1="24.651625" y1="15.95" x2="29.954025" y2="21.2524" width="0.2" layer="16"/>
<wire x1="32.5524" y1="21.2524" x2="32.9" y2="21.6" width="0.2" layer="16"/>
<via x="32.9" y="21.6" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="32.9" y1="21.6" x2="32.9" y2="24.6" width="0.2" layer="1"/>
<wire x1="32.9" y1="24.6" x2="32.9" y2="26.5" width="0.2" layer="1"/>
<wire x1="31.75" y1="27.65" x2="31.75" y2="31" width="0.2" layer="1"/>
<wire x1="29.954025" y1="21.2524" x2="32.5524" y2="21.2524" width="0.2" layer="16"/>
<wire x1="32.9" y1="26.5" x2="31.75" y2="27.65" width="0.2" layer="1"/>
<wire x1="5.5" y1="31" x2="6.5" y2="31" width="0.2" layer="1"/>
<via x="6.9944" y="28.99106875" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="6.9944" y1="28.99106875" x2="6.9944" y2="26.607225" width="0.2" layer="16"/>
<wire x1="6.5" y1="31" x2="6.9944" y2="30.5056" width="0.2" layer="1"/>
<wire x1="6.9944" y1="30.5056" x2="6.9944" y2="28.99106875" width="0.2" layer="1"/>
<wire x1="31.398375" y1="24.6" x2="32.9" y2="24.6" width="0.2" layer="16"/>
<via x="32.9" y="24.6" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="6.9944" y1="26.607225" x2="9.354025" y2="24.2476" width="0.2" layer="16"/>
<wire x1="9.354025" y1="24.2476" x2="31.045975" y2="24.2476" width="0.2" layer="16"/>
<wire x1="31.045975" y1="24.2476" x2="31.398375" y2="24.6" width="0.2" layer="16"/>
</signal>
<signal name="SDA">
<contactref element="U4" pad="P20"/>
<contactref element="U4" pad="P19"/>
<contactref element="R17" pad="1"/>
<contactref element="J2" pad="3"/>
<contactref element="U5" pad="32"/>
<wire x1="20.85" y1="14.5" x2="21.6" y2="14.5" width="0.2" layer="1"/>
<wire x1="22.2" y1="15.1" x2="23" y2="15.1" width="0.2" layer="1"/>
<wire x1="21.6" y1="14.5" x2="21.95" y2="14.85" width="0.2" layer="1"/>
<wire x1="21.95" y1="14.85" x2="22.2" y2="15.1" width="0.2" layer="1"/>
<via x="21.95" y="14.85" extent="1-16" drill="0.3" diameter="0.6"/>
<wire x1="21.95" y1="14.85" x2="24.05"
gitextract_zidj1fbe/
├── .gitignore
├── LICENSE
├── README.md
├── code/
│ ├── LORA_GPS_ESP32S2_DEEPSLEEP/
│ │ ├── .gitignore
│ │ ├── include/
│ │ │ └── README
│ │ ├── lib/
│ │ │ └── README
│ │ ├── platformio.ini
│ │ ├── src/
│ │ │ └── main.cpp
│ │ └── test/
│ │ └── README
│ └── LORA_GPS_ESP32S2_MQTT_GATEWAY/
│ ├── .gitignore
│ ├── include/
│ │ └── README
│ ├── lib/
│ │ └── README
│ ├── platformio.ini
│ ├── src/
│ │ └── main.cpp
│ └── test/
│ └── README
└── pcb/
├── lora_esp32_gps.brd
└── lora_esp32_gps.sch
SYMBOL INDEX (33 symbols across 2 files)
FILE: code/LORA_GPS_ESP32S2_DEEPSLEEP/src/main.cpp
function get_battery_voltage (line 60) | float get_battery_voltage(){
function get_battery_percentage (line 69) | int get_battery_percentage(float mv){
function String (line 77) | String get_gps_time(){
function String (line 100) | String get_gps_date(){
type fonts (line 123) | struct fonts {
type display_page (line 136) | struct display_page {
type page (line 157) | struct page {
type box_alignment (line 168) | enum box_alignment {
type box (line 176) | struct box {
method draw (line 181) | void draw(bool fill) {
method print_text (line 187) | void print_text(String str, fonts f, box_alignment align, float pos) {
function update_display (line 208) | void update_display(){
function displayInfo (line 240) | void displayInfo(){
function setup (line 255) | void setup() {
function loop (line 298) | void loop() {
FILE: code/LORA_GPS_ESP32S2_MQTT_GATEWAY/src/main.cpp
function get_battery_voltage (line 83) | int get_battery_voltage(){
function get_battery_percentage (line 92) | int get_battery_percentage(int battery_mv){
function String (line 98) | String get_gps_time(){
function String (line 121) | String get_gps_date(){
type fonts (line 145) | struct fonts {
type display_page (line 158) | struct display_page {
type page (line 179) | struct page {
type box_alignment (line 190) | enum box_alignment {
type box (line 198) | struct box {
method draw (line 203) | void draw(bool fill) {
method print_text (line 209) | void print_text(String str, fonts f, box_alignment align, float pos) {
function update_display (line 230) | void update_display(){
function go_to_deepsleep (line 261) | void go_to_deepsleep(){
function callback (line 272) | void callback(char* topic, byte* message, unsigned int length) {
function reconnect (line 285) | void reconnect() {
function getWiFiChannel (line 305) | int32_t getWiFiChannel(const char *ssid) {
function setup (line 317) | void setup() {
function loop (line 381) | void loop() {
Condensed preview — 17 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (552K chars).
[
{
"path": ".gitignore",
"chars": 10,
"preview": ".DS_Store\n"
},
{
"path": "LICENSE",
"chars": 35149,
"preview": " GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
},
{
"path": "README.md",
"chars": 2386,
"preview": "# LORA-GPS-Tracker\n\n**This page is a work in progress!**\n\n<img src=\"docs/lora_gps_full.jpg\" width=\"500px\"></a>\n\nThis LOR"
},
{
"path": "code/LORA_GPS_ESP32S2_DEEPSLEEP/.gitignore",
"chars": 94,
"preview": ".pio\n.vscode/.browse.c_cpp.db*\n.vscode/c_cpp_properties.json\n.vscode/launch.json\n.vscode/ipch\n"
},
{
"path": "code/LORA_GPS_ESP32S2_DEEPSLEEP/include/README",
"chars": 1386,
"preview": "\nThis directory is intended for project header files.\n\nA header file is a file containing C declarations and macro defin"
},
{
"path": "code/LORA_GPS_ESP32S2_DEEPSLEEP/lib/README",
"chars": 1037,
"preview": "\nThis directory is intended for project specific (private) libraries.\nPlatformIO will compile them to static libraries a"
},
{
"path": "code/LORA_GPS_ESP32S2_DEEPSLEEP/platformio.ini",
"chars": 916,
"preview": "; PlatformIO Project Configuration File\n;\n; Build options: build flags, source filter\n; Upload options: custom uploa"
},
{
"path": "code/LORA_GPS_ESP32S2_DEEPSLEEP/src/main.cpp",
"chars": 9749,
"preview": "#include <Arduino.h>\n#include <FastLED.h>\n// #include <WiFi.h>\n#include <Wire.h>\n#include <U8g2lib.h>\n#include <SPI.h>\n#"
},
{
"path": "code/LORA_GPS_ESP32S2_DEEPSLEEP/test/README",
"chars": 504,
"preview": "\nThis directory is intended for PlatformIO Unit Testing and project tests.\n\nUnit Testing is a software testing method by"
},
{
"path": "code/LORA_GPS_ESP32S2_MQTT_GATEWAY/.gitignore",
"chars": 94,
"preview": ".pio\n.vscode/.browse.c_cpp.db*\n.vscode/c_cpp_properties.json\n.vscode/launch.json\n.vscode/ipch\n"
},
{
"path": "code/LORA_GPS_ESP32S2_MQTT_GATEWAY/include/README",
"chars": 1386,
"preview": "\nThis directory is intended for project header files.\n\nA header file is a file containing C declarations and macro defin"
},
{
"path": "code/LORA_GPS_ESP32S2_MQTT_GATEWAY/lib/README",
"chars": 1037,
"preview": "\nThis directory is intended for project specific (private) libraries.\nPlatformIO will compile them to static libraries a"
},
{
"path": "code/LORA_GPS_ESP32S2_MQTT_GATEWAY/platformio.ini",
"chars": 986,
"preview": "; PlatformIO Project Configuration File\n;\n; Build options: build flags, source filter\n; Upload options: custom uploa"
},
{
"path": "code/LORA_GPS_ESP32S2_MQTT_GATEWAY/src/main.cpp",
"chars": 13090,
"preview": "#include <Arduino.h>\n#include <FastLED.h>\n#include <esp_wifi.h>\n#include <WiFi.h>\n#include <Wire.h>\n#include <U8g2lib.h>"
},
{
"path": "code/LORA_GPS_ESP32S2_MQTT_GATEWAY/test/README",
"chars": 504,
"preview": "\nThis directory is intended for PlatformIO Unit Testing and project tests.\n\nUnit Testing is a software testing method by"
},
{
"path": "pcb/lora_esp32_gps.brd",
"chars": 164882,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE eagle SYSTEM \"eagle.dtd\">\n<eagle version=\"9.6.2\">\n<drawing>\n<settings>\n"
},
{
"path": "pcb/lora_esp32_gps.sch",
"chars": 252681,
"preview": "<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<!DOCTYPE eagle SYSTEM \"eagle.dtd\">\n<eagle version=\"9.6.2\">\n<drawing>\n<settings>\n"
}
]
About this extraction
This page contains the full source code of the makermoekoe/LORA-GPS-Tracker GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 17 files (474.5 KB), approximately 201.8k tokens, and a symbol index with 33 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.