From 2f08ce5e5591fe343978ac5e11cf2f764c8f8f27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rob=C3=B3tica=20F=C3=A1cil?= Date: Tue, 11 Jul 2023 10:36:24 +0200 Subject: [PATCH] Add files via upload --- boards/esp32-wemos-d1-r32/board.json | 119 + boards/esp32-wemos-d1-r32/board.svg | 4169 ++++++++++++++++++++++++++ 2 files changed, 4288 insertions(+) create mode 100644 boards/esp32-wemos-d1-r32/board.json create mode 100644 boards/esp32-wemos-d1-r32/board.svg diff --git a/boards/esp32-wemos-d1-r32/board.json b/boards/esp32-wemos-d1-r32/board.json new file mode 100644 index 0000000..5f4907f --- /dev/null +++ b/boards/esp32-wemos-d1-r32/board.json @@ -0,0 +1,119 @@ +{ + /* The name of the board */ + "name": "ESP32 Wemos D1 R32", + + /* Board version. Increment it whenever you make changes. */ + "version": 1, + + /* One-liner description of the board, it's capabilities, etc. */ + "description": "A ESP32 board with Arduino Uno format", + + /* The name of the person who created this file */ + "author": "Leopoldo Armesto", + + /* Microcontroller name. Valid values: atmega328p, atmega2560, attiny85, rp2040, esp32 */ + "mcu": "esp32", + + /* Fully Qualified Board Name (FQBN) for the Arduino CLI */ + "fqbn": "esp32:esp32:d32", + + /* Width of the board graphics, in mm. Must match the width defined in board.svg */ + "width": 56.276, + + /* Height of the board graphics, in mm. Must match the height defined in board.svg */ + "height": 42.671, + + /* The pins available on the board. + "x"/"y" positions are in mm, and are relative to the top-left corner of the board. + "target" is either: + - an MCU pin name + - "GND" for ground + - "power(n)" for power supply pins, where n is the voltage. e.g. "power(3.3)" + */ + "pins": { + "IO12": { "x": 34.328, "y": 1.64, "target": "GPIO12" }, + "IO13": { "x": 32.296, "y": 1.64, "target": "GPIO13" }, + "IO5": { "x": 30.264, "y": 1.64, "target": "GPIO5" }, + "IO23": { "x": 28.232, "y": 1.64, "target": "GPIO23" }, + "IO19": { "x": 26.2, "y": 1.64, "target": "GPIO19" }, + "IO18": { "x": 24.168, "y": 1.64, "target": "GPIO18" }, + "GND.1": { "x": 22.136, "y": 1.64, "target": "GND" }, + "RESET.1": { "x": 20.104, "y": 1.64, "target": "CHIP_PU" }, + "SDA": { "x": 18.072, "y": 1.64, "target": "GPIO21" }, + "SCL": { "x": 16.04, "y": 1.64, "target": "GPIO22" }, + "RX0": { "x": 51.82, "y": 1.64, "target": "GPIO3" }, + "TX0": { "x": 49.788, "y": 1.64, "target": "GPIO1" }, + "IO26": { "x": 47.756, "y": 1.64, "target": "GPI26" }, + "IO25": { "x": 45.724, "y": 1.64, "target": "GPIO25" }, + "IO7": { "x": 43.692, "y": 1.64, "target": "GPIO7" }, + "IO16": { "x": 41.66, "y": 1.64, "target": "GPIO16" }, + "IO17": { "x": 39.628, "y": 1.64, "target": "GPIO17" }, + "IO14": { "x": 37.596, "y": 1.64, "target": "GPIO14" }, + "VIN": { "x": 37.596, "y": 40.247, "target": "power(5)" }, + "GND.2": { "x": 37.596, "y": 40.247, "target": "GND" }, + "GND.3": { "x": 37.596, "y": 40.247, "target": "GND" }, + "5V.1": { "x": 37.596, "y": 40.247, "target": "power(5)" }, + "3V3": { "x": 37.596, "y": 40.247, "target": "power(3.3)" }, + "RESET.2": { "x": 27.436, "y": 40.247, "target": "CHIP_PU" }, + "5V.2": { "x": 37.596, "y": 40.247, "target": "power(5)" }, + "IO0": { "x": 37.596, "y": 40.247, "target": "GPIO0" }, + "IO39": { "x": 51.82, "y": 40.247, "target": "GPIO39" }, + "IO36": { "x": 49.788, "y": 40.247, "target": "GPI36" }, + "IO34": { "x": 47.756, "y": 40.247, "target": "GPI34" }, + "IO38": { "x": 45.724, "y": 40.247, "target": "GPIO38" }, + "IO4": { "x": 43.692, "y": 40.247, "target": "GPIO4" }, + "IO2": { "x": 41.66, "y": 40.247, "target": "GPIO2" } + }, + + /* On-board LED definitions. These only draw the light of the LED when it's on. + You should draw the body of the LED in your .svg file. */ + "leds": [ + { + /* A unique identifier of the LED on the board */ + "id": "power", + + /* x/y positions of the LED center, in mm. Relative to the top-left corner of the board */ + "x": 16.936, + "y": 17.836, + + /* Supported LED types: 0603, ws2812, apa102, rgb */ + "type": "0603", + + /* LED color - only relevant for 0603 LEDs */ + "color": "red", + + /* The PINs object defines how the LED pins connect to the MCU pins. The LED pin names depend on the type of the LED: + - 0603 - "A" for Anode, "C" for cathode + - ws2812 - "DI" for data input + - apa102 - "DI" for data input, "CI" for clock output + - rgb - "R" for red input, "G" for green input, "B" for blue input, "C" for cathode, "A" for anode (define either A or C, not both) + */ + "pins": { + "A": "3V3", // This is a power LED, so it's always on + "C": "GND.1" + } + }, + { + "id": "txled", + "x": 16.919, + "y": 21.575, + "type": "0603", + "color": "green", + "pins": { + "A": "TX0", // The LED connects to GPIO pin TX0 + "C": "GND.1" + } + }, + { + "id": "rxled", + "x": 16.92, + "y": 23.404, + "type": "0603", + "color": "green", + "pins": { + "A": "RX0", // The LED connects to GPIO pin RX0 + "C": "GND.1" + } + } + ] +} diff --git a/boards/esp32-wemos-d1-r32/board.svg b/boards/esp32-wemos-d1-r32/board.svg new file mode 100644 index 0000000..d0c8767 --- /dev/null +++ b/boards/esp32-wemos-d1-r32/board.svg @@ -0,0 +1,4169 @@ + + + + + + + image/svg+xml + + + + + + + + arduino_Uno_Rev3-02-TH_breadboard.svg + + Fritzing breadboard generated by brd2svg + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + L + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5V + + + + + + + + + + + + + + + + + + + + + + + + + IO2 + + + + + + + + + + + + + + + + + + + + + + + + + + + TX + + + + + + + + + + + + + + + + + + + + + + + + + + + RX + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RESET + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 3.3V + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VIN + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GND + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GND + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + D1 R32 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Wemos + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 5V + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TX0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RX0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text:RESET + + + + + + + + + + + + + + + + + + + + + + + RESET + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IO26 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IO25 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IO7 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IO16 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IO17 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IO14 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IO12 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IO13 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IO5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IO23 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IO19 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IO18 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + GND + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SDA + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SCL + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + RESET + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IO0 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + IO4 + + + + + + + + + + + + + + + + + + + + + + + + + + + IO34 + + + + + + + + + + + + + + + + + + + + + + + + + + + IO38 + + + + + + + + + + + + + + + + + + + + + + + + + + + IO36 + + + + + + + + + + + + + + + + + + + + + + + + + + + IO39 + + + + + + + + + + + + + + +