diff --git a/boards/JRC board/board.json b/boards/JRC board/board.json new file mode 100644 index 0000000..55041b5 --- /dev/null +++ b/boards/JRC board/board.json @@ -0,0 +1,106 @@ +{ + /* The name of the board */ + "name": "JRC Board", + + /* Board version. Increment it whenever you make changes. */ + "version": 1, + + /* One-liner description of the board, it's capabilities, etc. */ + "description": "A common ESP32 dev board Made in Bangladesh by Frontech ", + + /* The name of the person who created this file */ + "author": "FronTech", + + /* Microcontroller name. Valid values: atmega328p, atmega2560, attiny85, rp2040, esp32 */ + "mcu": "esp32", + + /* Fully Qualified Board Name (FQBN) for the Arduino CLI */ + "fqbn": "esp32:esp32:esp32", + + /* Width of the board graphics, in mm. Must match the width defined in board.svg */ + "width":58.65, + + /* Height of the board graphics, in mm. Must match the height defined in board.svg */ + "height":75.41, + + /* 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": { + "NC": { "x": 57.31, "y": 21.51, "target": "NC" }, + "SCL": { "x": 57.31, "y": 24.45, "target": "GPIO22" }, + "SDA": { "x": 57.31, "y": 27.22, "target": "GPIO21" }, + "GND": { "x": 57.31, "y": 30.19, "target": "GND" }, + "D18": { "x": 57.31, "y": 33.05, "target": "GPIO18" }, + "D19": { "x": 57.31, "y": 35.91, "target": "GPIO19" }, + "D23": { "x": 57.31, "y": 38.77, "target": "GPIO23" }, + "D5": { "x": 57.31, "y": 41.76, "target": "GPIO5" }, + "D13": { "x": 57.31, "y": 44.52, "target": "GPIO13" }, + "D14": { "x": 57.31, "y": 47.18, "target": "GPIO14" }, + "D15": { "x": 57.31, "y": 51.95, "target": "GPIO15" }, + "D16": { "x": 57.31, "y": 55.03, "target": "GPIO16" }, + "D17": { "x": 57.31, "y": 57.79, "target": "GPIO17" }, + "D4": { "x": 57.31, "y": 60.65, "target": "GPIO4" }, + "D2": { "x": 57.31, "y": 63.51, "target": "GPIO2" }, + "D0": { "x": 57.31, "y": 66.50, "target": "GPIO0" }, + "TX0": { "x": 57.31, "y": 69.22, "target": "GPIO1" }, + "RX0": { "x": 57.31, "y": 72.10, "target": "GPIO3" }, + "RST": { "x": 2.11, "y": 37.92, "target": "CHIP_PU" }, + "3V3": { "x": 2.11, "y": 40.86, "target": "power(3.3)" }, + "5V": { "x": 2.11, "y": 43.86, "target": "power(5)" }, + "GND.3 ": { "x": 2.11, "y": 47.77, "target": "GND" }, + "GND.4": { "x": 2.11, "y": 49.63, "target": "GND" }, + "VIN": { "x": 2.11, "y": 52.71, "target": "power(5)" }, + "D26": { "x": 2.12, "y": 58.48, "target": "GPIO26" }, + "D25": { "x": 2.12, "y": 61.43, "target": "GPIO25" }, + "D35": { "x": 2.12, "y": 64.38, "target": "GPIO35" }, + "D34": { "x": 2.12, "y": 67.33, "target": "GPIO34" }, + "D33": { "x": 2.12, "y": 70.35, "target": "GPIO33" }, + "D32": { "x": 2.12, "y": 73.28, "target": "GPIO32" } + }, + + /* 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": 20.9, + "y": 28.58, + + /* Supported LED types: 0603, ws2812, apa102, rgb */ + "type": "0603", + + /* LED color - only relevant for 0603 LEDs */ + "color": "green", + + /* 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": "led1", + "x": 39.16, + "y": 33.26, + "type": "0603", + "color": "yellow", + "pins": { + "A": "D13", // The LED connects to GPIO pin 2 + "C": "GND.1" + } + } + ] +} diff --git a/boards/JRC board/board.svg b/boards/JRC board/board.svg new file mode 100644 index 0000000..69de0d5 --- /dev/null +++ b/boards/JRC board/board.svg @@ -0,0 +1 @@ +AMS1117D1123O2WIFIESP-WROOM-321313323334352526VCCGNDGND5V3.3VRST10REFGND18192351314151617420TXORXIIC1R211-161007FCC ID:2AC71-ESPWROOM32DK45R10 \ No newline at end of file