Editor Version ×
Standard

1.Easy to use and quick to get started

2.The process supports design scales of 300 devices or 1000 pads

3.Supports simple circuit simulation

4.For students, teachers, creators

Profession

1.Brand new interactions and interfaces

2.Smooth support for design sizes of over 5,000 devices or 10,000 pads

3.More rigorous design constraints, more standardized processes

4.For enterprises, more professional users

Ongoing

STD esp32serial2tcpip

License: GPL 3.0

Mode: Editors' pick

Cloned from Modoco ESP32 Paradox Bridge

  • 288
  • 0
  • 0
Update time: 2023-12-30 13:34:15
Creation time: 2021-05-12 12:37:17
Description
# esp32serial2tcpip ESP32 serial to to TCP/IP adapter as a wifi bridge between PARADOX and PAI. # What is it intended for I made this adapter for easier integration between my PARADOX SP7000 alarm panel and [PAI](https://github.com/ParadoxAlarmInterface/pai). (Paradox Alarm Interface) - a wonderful peace of software. I run PAI as add-on in my Home Assistant instalation, but there as many other ways how to run it. # Hardware I ordered a custom pcb from JLCPCB. Here is a link to my project. Connecting to Paradox panel: ``` Serial on Panel esp32serial2tcpip ┌───────┐ │ Rx ┌╵ ===================== > TX │ Tx │ ===================== > RX │ GND │ ===================== > GND │ AUX+ └╷ ===================== > 12V └───────┘ ``` # Firmware I use Tasmota. You can use my compiled version or compile your own - serial to TCP is not included in standard pre-compiled builds. **Tasmota template**: ``` {"NAME":"esp32serial2tcpip","GPIO":[1,1,1,1,1,1,1,1,1,1,1,1,5504,5472,1,1,0,1,1,1,0,1,1,1,0,0,0,0,1,1,1,1,1,0,0,1],"FLAG":0,"BASE":1} ``` **Tasmota rule** You need to create rule so serial to TCP/IP is started every time tasmota boots. Go to tasmota console and issue this command: ``` rule1 ON System#Boot do TCPStart 23 endon ON System#Boot do TCPBaudRate 9600 endon ``` Don't forget to enable rule by issuing the following command in console: ``` rule1 1 ``` **PAI configuration**: The following settings needs to be set in your PAI configuration file. ``` # Connection Type CONNECTION_TYPE: IP # Serial or IP # IP Connection Details IP_CONNECTION_HOST: '192.168.1.10' # Address of the ESP32 IP_CONNECTION_PORT: 23 # Port of the ESP32 IP_CONNECTION_PASSWORD: 'paradox' # IP Module password. "paradox" is factory default. IP_CONNECTION_BARE: true # Used this for base Serial over TCP tunnels ``` # Alternative firmware You can follow the instructions edit and load the [following ](https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFi/examples/WiFiTelnetToSerial/WiFiTelnetToSerial.ino). Once done and available on your network you can connect it to your wifi and test it/locate the IP.
Design Drawing
schematic diagram
1 /
PCB
1 /
The preview image was not generated, please save it again in the editor.
ID Name Designator Footprint Quantity BOM_Manufacturer Part
1 SW1 BOOT,RESET SW-SMD_L3.9-W3.0-P4.45 2 SKRKAEE020
2 4.7uF C14,C15 C0805 2 CL21A475KAQNNNE
3 1uF C16,C17 C0805 2 CL21B105KBFNNNE
4 Padarox in CN1 CONN-TH_XH2.54-4AW 1 XH2.54-4AW
5 Paradox out CN2 CONN-TH_XH2.54-4AW 1 XH2.54-4AW
6 GPIO HEADER H1 SMD-2X6P2.00 1 220-2SMT-2*6PH=4.3MM Gold-plated black
7 10K R6 R0805 1 0805W8F1002T5E
8 AMS1117-3.3_C165482 U1 SOT-223_L6.5-W3.5-P2.30-LS7.0-BR 1 AMS1117-3.3
9 MINI-360 U4 DSN-MINI-360 1 MINI-360
10 ESP-32S U5 WIFIM-SMD_ESP-32S 1 ESP-32S

Unfold

Project Attachments
Empty
Project Members
Related Projects
Change a batch
Loading...
Add to album ×

Loading...

reminder ×

Do you need to add this project to the album?

服务时间

周一至周五 9:00~18:00
  • 0755 - 2382 4495
  • 153 6159 2675

服务时间

周一至周五 9:00~18:00
  • 立创EDA微信号

    easyeda

  • QQ交流群

    664186054

  • 立创EDA公众号

    lceda-cn