mirror of
https://github.com/romychs/SprinterESP.git
synced 2026-11-27 16:02:12 +03:00
First fixed version
This commit is contained in:
commit
b86c4aa48a
16 files changed
+12677
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,3 @@
|
||||
Sprinter-ESP
|
||||
============
|
||||
Схема и печатная плата в доступных для просмотра форматах.
|
||||
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 552 KiB |
@@ -0,0 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1169" height="826.5" viewBox="-10 -816 1169 826.5"><title>Sprinter-ESP-Schematics</title><style type="text/css">
|
||||
path, polyline, polygon {stroke-linejoin:round;}
|
||||
rect, circle, ellipse, polyline, line, polygon, path {shape-rendering:crispEdges;}
|
||||
</style>
|
||||
<rect x="-10" y="-816" width="1169" height="826.5" fill="#FFFFFF" stroke="none"/><g xmlns="http://www.w3.org/2000/svg" id="g1" c_spiceCmd="null" c_para="Prefix Start`1`" importFlag="0" c_portOfADImportHack="" c_transformList=""><g c_origin="0,-806" c_para="package`NONE`BOM_Manufacturer Part`?`spicePre`.`" c_partid="part_lib_sheet" id="frame_lib_1" c_shapetype="group" c_etype="pinpart" ><g c_partid="part_annotation" id="gge226" display="none" c_shapetype="group"><text c_note="note_name" x="570.5" y="-809" fill="#000080" font-family="Input Sans Condensed" font-size="7pt" font-weight="" font-style="" dominant-baseline="" text-anchor="start" >1.0.0</text></g><path d="M 206 -796 L 206 -806 M 206 -10 L 206 0 M 402 -796 L 402 -806 M 402 -10 L 402 0 M 598 -796 L 598 -806 M 598 -10 L 598 0 M 794 -796 L 794 -806 M 794 -10 L 794 0 M 990 -796 L 990 -806 M 990 -10 L 990 0 M 10 -600 L 0 -600 M 1139 -600 L 1149 -600 M 10 -404 L 0 -404 M 1139 -404 L 1149 -404 M 10 -208 L 0 -208 M 1139 -208 L 1149 -208 M 10 -12 L 0 -12 M 1139 -12 L 1149 -12" id="gge10" locked="0" c_etype="frame_tick" stroke="#880000" stroke-width="1" fill="none" /><g c_partid="part_annotation" id="gge223" display="none" c_shapetype="group"><text c_note="note_pre" x="571.5" y="-818" fill="#000080" font-family="Input Sans Condensed" font-size="7pt" font-weight="" font-style="" dominant-baseline="" text-anchor="start" >A</text></g><g c_partid="part_annotation" id="gge13" locked="0" c_origin="1.5,-698" c_shapetype="group" c_etype="frame_tick"><text x="1.5" y="-698" fill="#880000" font-family="Input Sans Condensed" font-size="7pt" font-weight="" font-style="" dominant-baseline="" text-anchor="start" type="comment" >A</text></g><g c_partid="part_annotation" id="gge19" locked="0" c_origin="1140.5,-698" c_shapetype="group" c_etype="frame_tick"><text x="1140.5" y="-698" fill="#880000" font-family="Input Sans Condensed" font-size="7pt" font-weight="" font-style="" dominant-baseline="" text-anchor="start" type="comment" >A</text></g><g c_partid="part_annotation" id="gge25" locked="0" c_origin="1.5,-502" c_shapetype="group" c_etype="frame_tick"><text x="1.5" y="-502" fill="#880000" font-family="Input Sans Condensed" font-size="7pt" font-weight="" font-style="" dominant-baseline="" text-anchor="start" type="comment" >B</text></g><g c_partid="part_annotation" id="gge31" locked="0" c_origin="1140.5,-502" c_shapetype="group" c_etype="frame_tick"><text x="1140.5" y="-502" fill="#880000" font-family="Input Sans Condensed" font-size="7pt" font-weight="" font-style="" dominant-baseline="" text-anchor="start" type="comment" >B</text></g><g c_partid="part_annotation" id="gge37" locked="0" c_origin="1.5,-306" c_shapetype="group" c_etype="frame_tick"><text x="1.5" y="-306" fill="#880000" font-family="Input Sans Condensed" font-size="7pt" font-weight="" font-style="" dominant-baseline="" text-anchor="start" type="comment" >C</text></g><g c_partid="part_annotation" id="gge43" locked="0" c_origin="1140.5,-306" c_shapetype="group" c_etype="frame_tick"><text x="1140.5" y="-306" fill="#880000" font-family="Input Sans Condensed" font-size="7pt" font-weight="" font-style="" dominant-baseline="" text-anchor="start" type="comment" >C</text></g><g c_partid="part_annotation" id="gge49" locked="0" c_origin="1.5,-110" c_shapetype="group" c_etype="frame_tick"><text x="1.5" y="-110" fill="#880000" font-family="Input Sans Condensed" font-size="7pt" font-weight="" font-style="" dominant-baseline="" text-anchor="start" type="comment" >D</text></g><g c_partid="part_annotation" id="gge55" locked="0" c_origin="1140.5,-110" c_shapetype="group" c_etype="frame_tick"><text x="1140.5" y="-110" fill="#880000" font-family="Input Sans Condensed" font-size="7pt" font-weight="" font-style="" dominant-baseline="" text-anchor="start" type="comment" >D</text></g><g c_partid="part_annotation" id="gge61" locked="0" c_origin="108,-797.5" c_shapetype="group" c_etype="frame_tick"><text x="108" y="-797.5" fill="#880000" font-family="Input Sans Condensed" font-size="7pt" font-weight="" font-style="" dominant-baseline="" text-anchor="start" type="comment" >1</text></g><g c_partid="part_annotation" id="gge67" locked="0" c_origin="108,-1.5" c_shapetype="group" c_etype="frame_tick"><text x="108" y="-1.5" fill="#880000" font-family="Input Sans Condensed" font-size="7pt" font-weight="" font-style="" dominant-baseline="" text-anchor="start" type="comment" >1</text></g><g c_partid="part_annotation" id="gge73" locked="0" c_origin="304,-797.5" c_shapetype="group" c_etype="frame_tick"><text x="304" y="-797.5" fill="#880000" font-family="Input Sans Condensed" font-size="7pt" font-weight="" font-style="" dominant-baseline="" text-anchor="start" type="comment" >2</text></g><g c_partid="part_annotation" id="gge79" locked="0" c_origin="304,-1.5" c_shapetype="group" c_etype="frame_tick"><text x="304" y="-1.5" fill="#880000" font-family="Input Sans Condensed" font-size="7pt" font-weight="" font-style="" dominant-baseline=Line truncated
|
||||
|
After Width: | Height: | Size: 395 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 128 KiB |
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
Sprinter-ESP
|
||||
============
|
||||
|
||||
При заказе платы, не забудте указать, что плата имеет контакты на краю платы и нужен скос, для удобства вставки платы в слот.
|
||||
@@ -0,0 +1,29 @@
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2021, Roman Boykov
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
1. Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
|
||||
2. Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
|
||||
3. Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products derived from
|
||||
this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
@@ -0,0 +1,16 @@
|
||||
Sprinter-ESP
|
||||
============
|
||||
|
||||
Проект ISA-8 платы для подключения Wi-Fi модуля ESP8266 к персональному любительскому компьютеру Sprinter.
|
||||
|
||||
Программное обеспечение, в настоящее время, в разработке.
|
||||
|
||||

|
||||
|
||||
[Принципиальная схема](Export/Schematic_Sprinter-ESP_v1.0.2.pdf)
|
||||
|
||||
[Монтажная схема](Export/PCB_Sprinter-ESP-v1.0.2.pdf)
|
||||
|
||||
|
||||
[Спринтер в Телеграм](https://t.me/zx_sprinter)
|
||||
[Спринтер в Web](https://www.sprinter.ru/)
|
||||
@@ -0,0 +1 @@
|
||||
{"head":{"docType":"3","editorVersion":"6.5.3","newgId":true,"c_para":[],"x":"4335","y":"3622.5","hasIdFlag":true,"importFlag":0,"transformList":""},"canvas":"CA~1000~1000~#000000~yes~#FFFFFF~5~1000~1000~line~0.5~mm~1.5748~45~visible~0.5~4335~3622.5~1~yes","shape":["DIMENSION~12~M4035,3660.6158L4025,3660.6158M4029,3659.1158L4035,3660.6158L4029,3662.1158M4031,3659.1158L4025,3660.6158L4031,3662.1158M 4012.39 3652.05L4012.39 3651.8 L4012.64 3651.3 L4012.89 3651.05 L4013.39 3650.8 L4014.39 3650.8 L4014.89 3651.05 L4015.14 3651.3 L4015.39 3651.8 L4015.39 3652.3 L4015.14 3652.8 L4014.64 3653.55 L4012.14 3656.06 L4015.64 3656.06 M 4017.55 3654.81L4017.3 3655.06 L4017.55 3655.31 L4017.8 3655.06 L4017.55 3654.81 M 4022.46 3650.8L4019.95 3650.8 L4019.7 3653.05 L4019.95 3652.8 L4020.71 3652.55 L4021.46 3652.55 L4022.21 3652.8 L4022.71 3653.3 L4022.96 3654.05 L4022.96 3654.56 L4022.71 3655.31 L4022.21 3655.81 L4021.46 3656.06 L4020.71 3656.06 L4019.95 3655.81 L4019.7 3655.56 L4019.45 3655.06 M 4027.12 3650.8L4024.61 3654.31 L4028.37 3654.31 M 4027.12 3650.8L4027.12 3656.06 M 4031.53 3650.8L4030.78 3651.05 L4030.28 3651.8 L4030.03 3653.05 L4030.03 3653.8 L4030.28 3655.06 L4030.78 3655.81 L4031.53 3656.06 L4032.03 3656.06 L4032.78 3655.81 L4033.28 3655.06 L4033.53 3653.8 L4033.53 3653.05 L4033.28 3651.8 L4032.78 3651.05 L4032.03 3650.8 L4031.53 3650.8 M 4035.19 3652.55L4035.19 3656.06 M 4035.19 3653.55L4035.94 3652.8 L4036.44 3652.55 L4037.19 3652.55 L4037.69 3652.8 L4037.94 3653.55 L4037.94 3656.06 M 4037.94 3653.55L4038.69 3652.8 L4039.19 3652.55 L4039.95 3652.55 L4040.45 3652.8 L4040.7 3653.55 L4040.7 3656.06 M 4042.35 3652.55L4042.35 3656.06 M 4042.35 3653.55L4043.1 3652.8 L4043.6 3652.55 L4044.36 3652.55 L4044.86 3652.8 L4045.11 3653.55 L4045.11 3656.06 M 4045.11 3653.55L4045.86 3652.8 L4046.36 3652.55 L4047.11 3652.55 L4047.61 3652.8 L4047.86 3653.55 L4047.86 3656.06 M 4035 3637 4035 3670.6158 M 4025 3637.5 4025 3670.6158~gge27076~5.5118~0~straight~0.4","DIMENSION~12~M4025,3670.4L4163.8089,3670.4M4206.1911,3670.4L4345,3670.4M4031,3671.9L4025,3670.4L4031,3668.9M4339,3671.9L4345,3670.4L4339,3668.9M 4167.06 3664.84L4166.31 3665.09 L4166.06 3665.59 L4166.06 3666.09 L4166.31 3666.59 L4166.81 3666.84 L4167.81 3667.09 L4168.56 3667.34 L4169.07 3667.84 L4169.32 3668.35 L4169.32 3669.1 L4169.07 3669.6 L4168.82 3669.85 L4168.06 3670.1 L4167.06 3670.1 L4166.31 3669.85 L4166.06 3669.6 L4165.81 3669.1 L4165.81 3668.35 L4166.06 3667.84 L4166.56 3667.34 L4167.31 3667.09 L4168.31 3666.84 L4168.82 3666.59 L4169.07 3666.09 L4169.07 3665.59 L4168.82 3665.09 L4168.06 3664.84 L4167.06 3664.84 M 4170.97 3665.84L4171.47 3665.59 L4172.22 3664.84 L4172.22 3670.1 M 4174.13 3668.85L4173.88 3669.1 L4174.13 3669.35 L4174.38 3669.1 L4174.13 3668.85 M 4176.28 3666.09L4176.28 3665.84 L4176.53 3665.34 L4176.78 3665.09 L4177.28 3664.84 L4178.29 3664.84 L4178.79 3665.09 L4179.04 3665.34 L4179.29 3665.84 L4179.29 3666.34 L4179.04 3666.84 L4178.54 3667.59 L4176.03 3670.1 L4179.54 3670.1 M 4182.44 3664.84L4181.69 3665.09 L4181.44 3665.59 L4181.44 3666.09 L4181.69 3666.59 L4182.19 3666.84 L4183.2 3667.09 L4183.95 3667.34 L4184.45 3667.84 L4184.7 3668.35 L4184.7 3669.1 L4184.45 3669.6 L4184.2 3669.85 L4183.45 3670.1 L4182.44 3670.1 L4181.69 3669.85 L4181.44 3669.6 L4181.19 3669.1 L4181.19 3668.35 L4181.44 3667.84 L4181.94 3667.34 L4182.7 3667.09 L4183.7 3666.84 L4184.2 3666.59 L4184.45 3666.09 L4184.45 3665.59 L4184.2 3665.09 L4183.45 3664.84 L4182.44 3664.84 M 4187.86 3664.84L4187.1 3665.09 L4186.6 3665.84 L4186.35 3667.09 L4186.35 3667.84 L4186.6 3669.1 L4187.1 3669.85 L4187.86 3670.1 L4188.36 3670.1 L4189.11 3669.85 L4189.61 3669.1 L4189.86 3667.84 L4189.86 3667.09 L4189.61 3665.84 L4189.11 3665.09 L4188.36 3664.84 L4187.86 3664.84 M 4191.51 3666.59L4191.51 3670.1 M 4191.51 3667.59L4192.27 3666.84 L4192.77 3666.59 L4193.52 3666.59 L4194.02 3666.84 L4194.27 3667.59 L4194.27 3670.1 M 4194.27 3667.59L4195.02 3666.84 L4195.52 3666.59 L4196.27 3666.59 L4196.78 3666.84 L4197.03 3667.59 L4197.03 3670.1 M 4198.68 3666.59L4198.68 3670.1 M 4198.68 3667.59L4199.43 3666.84 L4199.93 3666.59 L4200.68 3666.59 L4201.18 3666.84 L4201.44 3667.59 L4201.44 3670.1 M 4201.44 3667.59L4202.19 3666.84 L4202.69 3666.59 L4203.44 3666.59 L4203.94 3666.84 L4204.19 3667.59 L4204.19 3670.1 M 4025 3638 4025 3680.4 M 4345 3638.1158 4345 3680.4~gge34924~5.5118~0~level~0.4","DIMENSION~12~M4345,3669.7842L4363.5,3669.7842M4351,3671.2842L4345,3669.7842L4351,3668.2842M4357.5,3671.2842L4363.5,3669.7842L4357.5,3668.2842M 4344.05 3659.97L4341.55 3663.47 L4345.31 3663.47 M 4344.05 3659.97L4344.05 3665.23 M 4347.21 3663.97L4346.96 3664.23 L4347.21 3664.48 L4347.46 3664.23 L4347.21 3663.97 M 4352.62 3659.97L4350.12 3665.23 M 4349.11 3659.97L4352.62 3659.97 M 4354.28 3661.72L4354.28 3665.23 M 4354.28 3662.72L4355.03 3661.97 L4355.53 3661.72 L4356.28 3661.72 L4356.78 3661.97 L4357.03 3662.72 L4357.03 3665.23 M 4357.03 3662.72L4357.78 3661.97 L4358.28 3661.72 L4359.04 3661.72 L4359.54 3661.97 L435Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"schematics":[{"docType":1,"title":"Sprinter-ESP-Schematics","dataStr":{"head":{"docType":"1","editorVersion":"6.5.1","newgId":true,"c_para":{"Prefix Start":"1"},"c_spiceCmd":"null","hasIdFlag":true,"uuid":"1877ae92a6f94fef91de9c1f69580db9","x":0,"y":0,"portOfADImportHack":"","importFlag":0,"transformList":""},"canvas":"CA~1000~1000~#FFFFFF~yes~#CCCCCC~5~1000~1000~line~5~pixel~1~0~0","shape":["LIB~0~-806~package`NONE`BOM_Manufacturer Part`?`spicePre`.`~~0~frame_lib_1~~~0~~yes~yes~~~#@$T~N~570.5~-809~0~#000080~Input Sans Condensed~~~~~comment~1.0.0~0~start~gge226~0~#@$PT~M 206 -796 L 206 -806 M 206 -10 L 206 0 M 402 -796 L 402 -806 M 402 -10 L 402 0 M 598 -796 L 598 -806 M 598 -10 L 598 0 M 794 -796 L 794 -806 M 794 -10 L 794 0 M 990 -796 L 990 -806 M 990 -10 L 990 0 M 10 -600 L 0 -600 M 1139 -600 L 1149 -600 M 10 -404 L 0 -404 M 1139 -404 L 1149 -404 M 10 -208 L 0 -208 M 1139 -208 L 1149 -208 M 10 -12 L 0 -12 M 1139 -12 L 1149 -12~#880000~1~0~none~gge10~0~frame_tick#@$T~P~571.5~-818~0~#000080~Input Sans Condensed~~~~~comment~A~0~start~gge223~0~#@$T~L~1.5~-698~0~#880000~Input Sans Condensed~~~~~comment~A~1~start~gge13~0~frame_tick#@$T~L~1140.5~-698~0~#880000~Input Sans Condensed~~~~~comment~A~1~start~gge19~0~frame_tick#@$T~L~1.5~-502~0~#880000~Input Sans Condensed~~~~~comment~B~1~start~gge25~0~frame_tick#@$T~L~1140.5~-502~0~#880000~Input Sans Condensed~~~~~comment~B~1~start~gge31~0~frame_tick#@$T~L~1.5~-306~0~#880000~Input Sans Condensed~~~~~comment~C~1~start~gge37~0~frame_tick#@$T~L~1140.5~-306~0~#880000~Input Sans Condensed~~~~~comment~C~1~start~gge43~0~frame_tick#@$T~L~1.5~-110~0~#880000~Input Sans Condensed~~~~~comment~D~1~start~gge49~0~frame_tick#@$T~L~1140.5~-110~0~#880000~Input Sans Condensed~~~~~comment~D~1~start~gge55~0~frame_tick#@$T~L~108~-797.5~0~#880000~Input Sans Condensed~~~~~comment~1~1~start~gge61~0~frame_tick#@$T~L~108~-1.5~0~#880000~Input Sans Condensed~~~~~comment~1~1~start~gge67~0~frame_tick#@$T~L~304~-797.5~0~#880000~Input Sans Condensed~~~~~comment~2~1~start~gge73~0~frame_tick#@$T~L~304~-1.5~0~#880000~Input Sans Condensed~~~~~comment~2~1~start~gge79~0~frame_tick#@$T~L~500~-797.5~0~#880000~Input Sans Condensed~~~~~comment~3~1~start~gge85~0~frame_tick#@$T~L~500~-1.5~0~#880000~Input Sans Condensed~~~~~comment~3~1~start~gge91~0~frame_tick#@$T~L~696~-797.5~0~#880000~Input Sans Condensed~~~~~comment~4~1~start~gge97~0~frame_tick#@$T~L~696~-1.5~0~#880000~Input Sans Condensed~~~~~comment~4~1~start~gge103~0~frame_tick#@$T~L~892~-797.5~0~#880000~Input Sans Condensed~~~~~comment~5~1~start~gge109~0~frame_tick#@$T~L~892~-1.5~0~#880000~Input Sans Condensed~~~~~comment~5~1~start~gge115~0~frame_tick#@$R~10~-796~~~1129~786~#880000~1~0~none~gge121~0~frame_innerbox#@$R~0~-806~~~1149~806~#880000~1~0~none~gge124~0~frame_outbox#@$R~694.99995~-90~~~444~80~#880000~1~0~none~gge127~0~frame_hitarea#@$PL~695.1 -50.75 1138.63 -50.75~#880000~1~0~none~gge130~0#@$PL~799.63 -30.75 1138.63 -30.75~#880000~1~0~none~gge133~0#@$PL~1059.61 -89.93 1059.63 -50.75~#880000~1~0~none~gge136~0#@$PL~1059.63 -50.75 1059.63 -30.75~#880000~1~0~none~gge139~0#@$T~L~699.99995~-77~0~#880000~Input Sans Condensed~8pt~~~~comment~TITLE:~1~start~gge142~0~pinpart#@$T~L~757.62495~-64.41~0~#0000FF~Input Sans Condensed~10pt~~~~comment~Low Profile ISA ESP card for Sprinter~1~start~gge148~0~frame_title#@$T~L~1064.62495~-63.75~0~#880000~Input Sans Condensed~8pt~~~~comment~REV:~1~start~gge154~0~pinpart#@$T~L~1094~-64~0~#0000FF~Input Sans Condensed~9pt~~~~comment~1.0.2~1~start~gge160~0~frame_version#@$T~L~804.62495~-15~0~#880000~Input Sans Condensed~8pt~~~~comment~Date:~1~start~gge166~0~pinpart#@$T~L~851.62495~-14.52~0~#0000FF~Input Sans Condensed~9pt~~~~comment~2022-04-22~1~start~gge172~0~frame_date#@$T~L~1063.62495~-35~0~#880000~Input Sans Condensed~8pt~~~~comment~Sheet:~1~start~gge178~0~pinpart#@$T~L~1108.62495~-34.52~0~#0000FF~Input Sans Condensed~9pt~~~~comment~1\/1~1~start~gge184~0~frame_sheet#@$T~L~943.62495~-14.75~0~#880000~Input Sans Condensed~8pt~~~~comment~Drawn By:~1~start~gge190~0~pinpart#@$T~L~1008.63~-14.75~0~#0000FF~Input Sans Condensed~9pt~~~~comment~Romych~1~start~gge196~0~frame_drawn#@$T~L~804.62495~-36.75~0~#880000~Input Sans Condensed~8pt~~~~comment~Company:~1~start~gge202~0~pinpart#@$T~L~871.24995~-36.64~0~#0000FF~Input Sans Condensed~9pt~~~~comment~zx-pk.ru~1~start~gge208~0~frame_company#@$PL~799.63 -50.75 799.63 -10.75~#880000~1~0~none~gge214~0","B~65 -720 65 -405~#008800~2~0~none~gge4972~0","BE~0~65~-720~75~-730~gge5005~0","W~115 -730 75 -730~#008800~1~0~none~gge5017~0","BE~0~65~-710~75~-720~gge5023~0","W~115 -720 75 -720~#008800~1~0~none~gge5035~0","BE~0~65~-690~75~-700~gge5041~0","W~115 -700 75 -700~#008800~1~0~none~gge5053~0","BE~0~65~-700~75~-710~gge5056~0","W~115 -710 75 -710~#008800~1~0~none~gge5068~0","BE~0~65~-670~75~-680~gge5074~0","W~115 -680 75 -680~#008800~1~0~none~gge5086~0","BE~0~65~-680~75~-690~gge5089~0","W~115 -690 75 -690~#008800~1~0~none~gge5101~0","BE~0~65~-650~75~-660~gge5107~0","W~115 -660 75 -660~#008800Line truncated
|
||||
@@ -0,0 +1,279 @@
|
||||
; ===========================================
|
||||
; SOLID C Lbrary to work with Sprinter WiFi
|
||||
; ESP ISA Card
|
||||
; ===========================================
|
||||
|
||||
DEVICE NOSLOT64K
|
||||
;INCLUDE "ports.inc"
|
||||
|
||||
port_isa EQU 0x9FBD
|
||||
port_system EQU 0x1FFD
|
||||
emm_win_p3 EQU 0xE2
|
||||
|
||||
ISA_BASE_A EQU 0xC000 ; Базовый адрес портов ISA в памяти
|
||||
PORT_UART EQU 0x03E8 ; Базовый номер порта COM3
|
||||
PORT_UART_A EQU ISA_BASE_A + PORT_UART ; Порты чипа UART в памяти
|
||||
|
||||
; Порты UART TC16C550 в памяти
|
||||
RBR EQU PORT_UART_A + 0
|
||||
THR EQU PORT_UART_A + 0
|
||||
IER EQU PORT_UART_A + 1
|
||||
IIR EQU PORT_UART_A + 2
|
||||
FCR EQU PORT_UART_A + 2
|
||||
LCR EQU PORT_UART_A + 3
|
||||
MCR EQU PORT_UART_A + 4
|
||||
LSR EQU PORT_UART_A + 5
|
||||
MSR EQU PORT_UART_A + 6
|
||||
SCR EQU PORT_UART_A + 7
|
||||
DLL EQU PORT_UART_A + 0
|
||||
DLM EQU PORT_UART_A + 1
|
||||
AFR EQU PORT_UART_A + 2
|
||||
|
||||
BAUD_RATE EQU 115200 ; Скорость соединения с ESP8266
|
||||
XIN_FREQ EQU 14745600 ; Частота генератора для TL16C550
|
||||
DIVISOR EQU XIN_FREQ / (BAUD_RATE * 16) ; Делитель частоты для передачи/приема данных
|
||||
|
||||
ORG 0x0000
|
||||
jp main
|
||||
|
||||
save_mmu3 DB 0 ; Variable to save memory page
|
||||
|
||||
; ===============================================
|
||||
; Small delay
|
||||
; void delay(hl)
|
||||
; in hl - number of cycles, if hl=0, then 2000
|
||||
; ===============================================
|
||||
MODULE delay
|
||||
delay_:
|
||||
push af
|
||||
ld a,h
|
||||
or l
|
||||
jp nz,delay_l1
|
||||
ld hl,2000
|
||||
delay_l1: dec hl
|
||||
ld a,h
|
||||
or l
|
||||
jp nz,delay_l1
|
||||
pop af
|
||||
ret
|
||||
ENDMODULE
|
||||
|
||||
; ===============================================
|
||||
; Reset ISA device
|
||||
; ===============================================
|
||||
MODULE reset_isa
|
||||
reset_isa_:
|
||||
push af
|
||||
push bc
|
||||
push hl
|
||||
ld bc, port_isa
|
||||
ld a, 0xC0 ; RESET=1 AEN=1
|
||||
out (c), a
|
||||
ld hl,2000
|
||||
call delay.delay_
|
||||
xor a
|
||||
out (c), a ; RESET=0 AEN=0
|
||||
add hl,hl
|
||||
call delay.delay_
|
||||
pop hl
|
||||
pop bc
|
||||
pop af
|
||||
ret
|
||||
ENDMODULE
|
||||
|
||||
; ===============================================
|
||||
; Open access to ISA ports as memory
|
||||
; input a = 0 - ISA slot 0, 1 - ISA SLOT 1
|
||||
; ===============================================
|
||||
MODULE open_isa
|
||||
open_isa_:
|
||||
push af
|
||||
push bc
|
||||
ld bc, emm_win_p3
|
||||
in a,(c)
|
||||
ld (save_mmu3), a
|
||||
push bc
|
||||
ld bc, port_system
|
||||
ld a, 0x11
|
||||
out (c), a
|
||||
pop bc ; emm_win_p3
|
||||
pop af
|
||||
and a, 0x01
|
||||
rlca
|
||||
rlca
|
||||
or a, 0xd0 ; 1101 - Magic number, 0100 - 0,ISA PORT, ISA SLOT, 0
|
||||
out (c), a
|
||||
ld bc, port_system
|
||||
xor a
|
||||
out (c), a
|
||||
pop bc
|
||||
|
||||
ret
|
||||
ENDMODULE
|
||||
|
||||
; ===============================================
|
||||
; Close access to ISA ports
|
||||
; ===============================================
|
||||
MODULE close_isa
|
||||
close_isa_:
|
||||
push af
|
||||
push bc
|
||||
ld bc, port_system
|
||||
ld a, 0x01
|
||||
out (c), a
|
||||
ld a, save_mmu3
|
||||
ld bc, emm_win_p3
|
||||
out (c), a
|
||||
pop bc
|
||||
pop af
|
||||
ret
|
||||
ENDMODULE
|
||||
|
||||
; ===============================================
|
||||
; Init ISA device
|
||||
; ===============================================
|
||||
MODULE init_isa
|
||||
init_isa_:
|
||||
call reset_isa.reset_isa_ ; just only reset
|
||||
ret
|
||||
ENDMODULE
|
||||
|
||||
; ===============================================
|
||||
; Init UART device TL16C550
|
||||
; ===============================================
|
||||
MODULE init_serial
|
||||
init_serial_:
|
||||
push af
|
||||
push hl
|
||||
call open_isa.open_isa_
|
||||
ld a, 1
|
||||
ld (FCR), a ; 8 byte FIFO buffer
|
||||
ld a, 0x81
|
||||
ld (FCR), a
|
||||
xor a
|
||||
ld (IER), a ; Disable interrupts
|
||||
|
||||
; Set baud rate
|
||||
ld a, 0x83
|
||||
ld (LCR), a ; enable Baud rate latch
|
||||
ld a, DIVISOR
|
||||
ld (DLL), a ; 8 - 115200
|
||||
xor a
|
||||
ld (DLM), a
|
||||
ld a, 0x03 ; disable Baud rate latch & 8N1
|
||||
ld (LCR), a
|
||||
|
||||
; reset ESP
|
||||
ld a,0x06 ; ESP -PGM=1, -RTS=0
|
||||
ld (MCR), a
|
||||
ld hl,2000
|
||||
call delay.delay_
|
||||
ld a,0x02 ; ESP -RST=1, -RTS=0
|
||||
call delay.delay_
|
||||
call close_isa.close_isa_
|
||||
pop hl
|
||||
pop af
|
||||
ret
|
||||
ENDMODULE
|
||||
|
||||
; ===============================================
|
||||
; Read TL16C550 register
|
||||
; char read_reg(reg)
|
||||
; input hl - register no
|
||||
; output a - value from register
|
||||
; ===============================================
|
||||
MODULE read_reg
|
||||
read_reg_:
|
||||
call open_isa.open_isa_
|
||||
ld a, (hl)
|
||||
call close_isa.close_isa_
|
||||
ret
|
||||
ENDMODULE
|
||||
|
||||
; ===============================================
|
||||
; Write TL16C550 register
|
||||
; void write_reg(reg, b)
|
||||
; input hl - reg no, e - value
|
||||
; ===============================================
|
||||
MODULE write_reg
|
||||
write_reg_:
|
||||
call open_isa.open_isa_
|
||||
ld (hl), e
|
||||
call close_isa.close_isa_
|
||||
ret
|
||||
ENDMODULE
|
||||
|
||||
; ===============================================
|
||||
; Wait for transmitter ready
|
||||
; char wait_tr()
|
||||
; output a = 0 - tr not ready, !=0 - tr ready
|
||||
; ===============================================
|
||||
MODULE wait_tr
|
||||
wait_tr_:
|
||||
push bc
|
||||
push hl
|
||||
ld bc, 100
|
||||
ld hl, LSR
|
||||
wait_tr_r:
|
||||
call read_reg.read_reg_
|
||||
and a, 0x20
|
||||
jp nz,wait_tr_e
|
||||
dec bc
|
||||
ld a, c
|
||||
or b
|
||||
jp nz,wait_tr_r
|
||||
xor a
|
||||
wait_tr_e:
|
||||
pop hl
|
||||
pop bc
|
||||
ret
|
||||
ENDMODULE
|
||||
|
||||
; ===============================================
|
||||
; Empty receiver FIFO buffer
|
||||
; void empty_rs()
|
||||
; ===============================================
|
||||
MODULE empty_rs
|
||||
empty_rs_:
|
||||
push af
|
||||
call open_isa.open_isa_
|
||||
ld a, 0x83
|
||||
ld (FCR), a
|
||||
call close_isa.close_isa_
|
||||
pop af
|
||||
ret
|
||||
ENDMODULE
|
||||
|
||||
; ===============================================
|
||||
; Wait byte in receiver fifo
|
||||
; char wait_rs()
|
||||
; output a=0 - fifo still empty, a!=0 - receiver fifo is not empty
|
||||
; ===============================================
|
||||
MODULE wait_rs
|
||||
wait_rs_:
|
||||
push bc
|
||||
push hl
|
||||
ld bc, 1000
|
||||
ld hl, LSR
|
||||
wait_rs_r:
|
||||
call read_reg.read_reg_
|
||||
and a, 0x01
|
||||
jp nz,wait_rs_e
|
||||
dec bc
|
||||
ld a, c
|
||||
or b
|
||||
jp nz,wait_rs_r
|
||||
xor a
|
||||
wait_rs_e:
|
||||
pop hl
|
||||
pop bc
|
||||
ret
|
||||
ENDMODULE
|
||||
|
||||
; ===============================================
|
||||
; STUB
|
||||
; ===============================================
|
||||
|
||||
main:
|
||||
call init_isa.init_isa_
|
||||
ret
|
||||
@@ -0,0 +1,83 @@
|
||||
#pragma nonrec
|
||||
|
||||
#define port_isa 0x9FBD
|
||||
#define port_system 0x1FFD
|
||||
#define isa_addr_base 0xC000
|
||||
#define com3_addr_base 0x3E8
|
||||
#define emm_win_p3 0xE2
|
||||
#define port_serial 0xC3E8
|
||||
|
||||
#define RBR port_serial
|
||||
#define THR port_serial
|
||||
#define IER port_serial+1
|
||||
#define IIR port_serial+2
|
||||
#define FCR port_serial+2
|
||||
#define LCR port_serial+3
|
||||
#define MCR port_serial+4
|
||||
#define LSR port_serial+5
|
||||
#define MSR port_serial+6
|
||||
#define SCR port_serial+7
|
||||
#define DLL port_serial
|
||||
#define DLM port_serial+1
|
||||
#define AFR port_serial+2
|
||||
|
||||
#define BAUD_RATE 115200
|
||||
#define XIN_FREQ 14745600
|
||||
#define DIVISOR XIN_FREQ / (BAUD_RATE * 16)
|
||||
|
||||
|
||||
/**
|
||||
* Small delay
|
||||
*/
|
||||
void delay();
|
||||
|
||||
/**
|
||||
* Reset ISA device
|
||||
*/
|
||||
void reset_isa();
|
||||
|
||||
/*
|
||||
* Open access to ISA ports as memory
|
||||
*/
|
||||
void open_isa();
|
||||
|
||||
/*
|
||||
* Close access to ISA ports
|
||||
*/
|
||||
void close_isa();
|
||||
|
||||
/*
|
||||
* Init ISA device
|
||||
*/
|
||||
void init_isa();
|
||||
|
||||
/*
|
||||
* Init UART device TL16C550
|
||||
*/
|
||||
void init_serial();
|
||||
|
||||
/*
|
||||
* Read TL16C550 register
|
||||
*/
|
||||
char read_reg();
|
||||
|
||||
/*
|
||||
* Write TL16C550 register
|
||||
*/
|
||||
void write_reg();
|
||||
|
||||
/*
|
||||
* Wait for transmitter ready
|
||||
*/
|
||||
void wait_tr();
|
||||
|
||||
/*
|
||||
* Clear receiver FIFO buffer
|
||||
*/
|
||||
void empty_rs();
|
||||
|
||||
/*
|
||||
* Wait byte in receiver fifo
|
||||
*/
|
||||
void wait_rs();
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
Sprinter-ESP
|
||||
============
|
||||
|
||||
Исходники проекта в [EasyIDA:](https://easyeda.com/)
|
||||
|
||||
Как использовать:
|
||||
В редакторе, кликнуть на тулбаре в меню "Document" > "Open" > "EasyEDA Source", и выберите json-файл.
|
||||
|
||||
@@ -0,0 +1,295 @@
|
||||
#pragma nonrec
|
||||
|
||||
#include <stdio.h>
|
||||
#include <conio.h>
|
||||
#include <dos.h>
|
||||
|
||||
unsigned port;
|
||||
char b;
|
||||
char save_mmu3;
|
||||
|
||||
#define port_isa 0x9FBD
|
||||
#define port_system 0x1FFD
|
||||
#define isa_addr_base 0xC000
|
||||
#define com3_addr_base 0x3E8
|
||||
#define emm_win_p3 0xE2
|
||||
#define port_serial 0xC3E8
|
||||
|
||||
#define RBR port_serial
|
||||
#define THR port_serial
|
||||
#define IER port_serial+1
|
||||
#define IIR port_serial+2
|
||||
#define FCR port_serial+2
|
||||
#define LCR port_serial+3
|
||||
#define MCR port_serial+4
|
||||
#define LSR port_serial+5
|
||||
#define MSR port_serial+6
|
||||
#define SCR port_serial+7
|
||||
#define DLL port_serial
|
||||
#define DLM port_serial+1
|
||||
#define AFR port_serial+2
|
||||
|
||||
/*
|
||||
#define BAUD_RATE 115200
|
||||
#define XIN_FREQ 14745600
|
||||
#define DIVISOR XIN_FREQ / (BAUD_RATE * 16)
|
||||
*/
|
||||
|
||||
/**
|
||||
* Small delay
|
||||
*/
|
||||
delay() {
|
||||
unsigned ctr;
|
||||
for (ctr=0; ctr<2000; ctr++) {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Reset ISA device
|
||||
*/
|
||||
reset_isa() {
|
||||
outp(port_isa, 0xc0); // RESET=1 AEN=1
|
||||
delay();
|
||||
outp(port_isa,0); // RESET=0 AEN=0
|
||||
delay();
|
||||
delay();
|
||||
}
|
||||
|
||||
/*
|
||||
* Open access to ISA ports as memory
|
||||
*/
|
||||
open_isa() {
|
||||
save_mmu3 = inp(emm_win_p3);
|
||||
outp(port_system, 0x11);
|
||||
outp(emm_win_p3, 0xd4);
|
||||
outp(port_isa, 0);
|
||||
}
|
||||
|
||||
/*
|
||||
* Close access to ISA ports
|
||||
*/
|
||||
close_isa() {
|
||||
outp(port_system, 0x01);
|
||||
outp(emm_win_p3, save_mmu3);
|
||||
}
|
||||
|
||||
/*
|
||||
* Init ISA device
|
||||
*/
|
||||
init_isa() {
|
||||
reset_isa(); // just only reset
|
||||
}
|
||||
|
||||
unsigned addr;
|
||||
char lcr;
|
||||
char *ptr;
|
||||
|
||||
/*
|
||||
* Init UART device TL16C550
|
||||
*/
|
||||
init_serial() {
|
||||
open_isa();
|
||||
mset(FCR, 0x01); // 8 byte FIFO buffer
|
||||
mset(FCR, 0x81);
|
||||
mset(IER, 0x00); // Disable interrupts
|
||||
|
||||
mset(LCR, 0x83); // enable Baud rate latch
|
||||
mset(DLL, 0x08); // 8 - 115200;
|
||||
mset(DLM, 0x00);
|
||||
|
||||
mset(LCR, 0x03); // dis Baud rate latch & 8N1
|
||||
|
||||
// reset ESP
|
||||
mset(MCR, 0x06); // ESP -PGM=1, -RTS=0
|
||||
delay();
|
||||
mset(MCR, 0x02); // ESP -RST=1, -RTS=0
|
||||
delay();
|
||||
close_isa();
|
||||
}
|
||||
|
||||
char read_reg(reg)
|
||||
unsigned reg;
|
||||
{
|
||||
char rb;
|
||||
open_isa();
|
||||
rb = mget(reg);
|
||||
close_isa();
|
||||
return rb;
|
||||
}
|
||||
|
||||
|
||||
void write_reg(reg, b)
|
||||
unsigned reg;
|
||||
char b;
|
||||
{
|
||||
open_isa();
|
||||
mset(reg, b);
|
||||
close_isa();
|
||||
}
|
||||
|
||||
char *scr_ptr = SCR;
|
||||
|
||||
void write_sr(b)
|
||||
char b;
|
||||
{
|
||||
open_isa();
|
||||
*scr_ptr = b;
|
||||
close_isa();
|
||||
}
|
||||
|
||||
char read_sr() {
|
||||
char rb;
|
||||
open_isa();
|
||||
rb = *scr_ptr;
|
||||
close_isa();
|
||||
return rb;
|
||||
}
|
||||
|
||||
void wait_tr() {
|
||||
unsigned w;
|
||||
char ls;
|
||||
w = 0;
|
||||
ls = read_reg(LSR);
|
||||
while ((ls & 0x20) == 0 && w<100) {
|
||||
delay(20);
|
||||
ls = read_reg(LSR);
|
||||
w++;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Empty receiver FIFO buffer
|
||||
*/
|
||||
void empty_rs() {
|
||||
open_isa();
|
||||
mset(FCR, 0x83);
|
||||
close_isa();
|
||||
}
|
||||
|
||||
/*
|
||||
* Wait byte in receiver fifo
|
||||
*/
|
||||
void wait_rs() {
|
||||
unsigned w;
|
||||
char ls;
|
||||
w = 0;
|
||||
ls = read_reg(LSR);
|
||||
while ((ls & 0x01) == 0 && w<1000) {
|
||||
delay();
|
||||
ls = read_reg(LSR);
|
||||
w++;
|
||||
}
|
||||
}
|
||||
|
||||
char tb;
|
||||
char rr;
|
||||
unsigned ctr;
|
||||
unsigned r;
|
||||
|
||||
char* buff = "AT+GMR\r\n\0";
|
||||
char* tbuf;
|
||||
char rbuf[1024];
|
||||
|
||||
main() {
|
||||
char ok;
|
||||
|
||||
printf("\nInit ISA\n");
|
||||
|
||||
init_isa();
|
||||
|
||||
printf("\nInit serial\n");
|
||||
init_serial();
|
||||
|
||||
r = port_serial;
|
||||
rr = 0;
|
||||
for (ctr=0; ctr<=7; ctr++) {
|
||||
tb = read_reg(r);
|
||||
printf("REG["); hex8(rr);
|
||||
printf("]="); hex8(tb);
|
||||
printf("\n");
|
||||
r++;
|
||||
rr++;
|
||||
}
|
||||
|
||||
r = port_serial;
|
||||
rr = 0;
|
||||
write_reg(LCR,0x83);
|
||||
for (ctr=0; ctr<3; ctr++) {
|
||||
tb = read_reg(r);
|
||||
printf("REG[1");
|
||||
hex8(rr);
|
||||
printf("]=");
|
||||
hex8(tb);
|
||||
printf("\n");
|
||||
r++;
|
||||
rr++;
|
||||
}
|
||||
write_reg(LCR,0x03);
|
||||
|
||||
// Wait ESP reload
|
||||
|
||||
for (ctr=0; ctr<400; ctr++) {
|
||||
delay();
|
||||
}
|
||||
|
||||
printf("\nClear receiver buffer");
|
||||
empty_rs();
|
||||
|
||||
printf("\nGet version\n");
|
||||
|
||||
tbuf = buff;
|
||||
while (*tbuf != '\0') {
|
||||
wait_tr();
|
||||
tb = read_reg(LSR);
|
||||
if ((tb & 0x20) == 0) {
|
||||
printf(".TXNR.");
|
||||
} else {
|
||||
write_reg(THR, *tbuf++);
|
||||
}
|
||||
}
|
||||
|
||||
ctr = 0;
|
||||
r = 0;
|
||||
ok = 0;
|
||||
|
||||
disable();
|
||||
open_isa();
|
||||
do {
|
||||
rr = mget(LSR);
|
||||
if ((rr & 0x80) != 0) {
|
||||
close_isa();
|
||||
printf("\nReceiver error:");
|
||||
rr = (rr>>1) & 0x07;
|
||||
hex8(rr);
|
||||
break;
|
||||
} else {
|
||||
if ((rr & 0x01) == 1) {
|
||||
tb = mget(RBR);
|
||||
rbuf[ctr++] = tb;
|
||||
if (ok == 0 && tb == 'O') {
|
||||
ok = 1;
|
||||
}
|
||||
if (ok == 1 && tb == 'K') {
|
||||
ok = 2;
|
||||
} else {
|
||||
ok = 0;
|
||||
}
|
||||
r = 0;
|
||||
} else {
|
||||
r++;
|
||||
}
|
||||
}
|
||||
} while (ok<2 && r<10000 && ctr<1024);
|
||||
enable();
|
||||
close_isa();
|
||||
|
||||
printf("\nctr="); dec16(ctr);
|
||||
printf("\nr="); dec16(r);
|
||||
|
||||
printf("\nReceived:\n");
|
||||
printf(rbuf);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user