From adf6d3849770f7ca9e4cbecf289ab4c240d01886 Mon Sep 17 00:00:00 2001 From: bonnyr Date: Sat, 11 Mar 2023 19:15:10 +1100 Subject: [PATCH 1/2] Initial version of Waveshare 2.9" (V2) Board --- boards/ws29v2/board.json | 38 ++++++++++++++++++++++++++++++++++++++ boards/ws29v2/board.svg | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 boards/ws29v2/board.json create mode 100644 boards/ws29v2/board.svg diff --git a/boards/ws29v2/board.json b/boards/ws29v2/board.json new file mode 100644 index 0000000..fe720b5 --- /dev/null +++ b/boards/ws29v2/board.json @@ -0,0 +1,38 @@ +{ + "name": "WS29V2 e-paper module", + "version": 1, + "description": "Waveshare 2.9\" e-Paper Module (V2)", + "author": "Bonny Rais", + "width": 89.5, + "height": 38, + + "chips": [{ "id": "chip", "type": "github:bonnyr/wokwi-ws29v2-custom-chip@0.0.3" }], + + "pins": { + "BUSY" : { "x": 4, "y": 10, "target": "chip:BUSY" }, + "RST": { "x": 4, "y": 12.54, "target": "chip:RST" }, + "DC": { "x": 4, "y": 15.08, "target": "chip:DC" }, + "CS": { "x": 4, "y": 17.62, "target": "chip:CS" }, + "CLK": { "x": 4, "y": 20.18, "target": "chip:CLK" }, + "DIN": { "x": 4, "y": 22.72, "target": "chip:DIN" }, + "VCC": { "x": 4, "y": 25.26, "target": "chip:VCC" }, + "GND": { "x": 4, "y": 27.8, "target": "chip:GND" } + }, + + "displays": [ + { + "id": "chip", + "x": 31.9, + "y": -15, + "rotate": -90, + "width": 31, + "height": 67.5, + "pixelWidth": 128, + "pixelHeight": 296, + "chip": "ws29v2" + } + ] + } + + + \ No newline at end of file diff --git a/boards/ws29v2/board.svg b/boards/ws29v2/board.svg new file mode 100644 index 0000000..04bc226 --- /dev/null +++ b/boards/ws29v2/board.svg @@ -0,0 +1,40 @@ + + + + + + + + + + + + + + + + + + 2.9inch e-Paper Module + + + + + + + + + + + + + + + + + + \ No newline at end of file From dccaf341c9aa2d6b47bedbd0036ef710c79e3d03 Mon Sep 17 00:00:00 2001 From: bonnyr Date: Sun, 12 Mar 2023 10:03:32 +1100 Subject: [PATCH 2/2] fix: renamed directory and board.json to be more generic --- boards/{ws29v2 => epaper-2in9}/board.json | 4 ++-- boards/{ws29v2 => epaper-2in9}/board.svg | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename boards/{ws29v2 => epaper-2in9}/board.json (86%) rename boards/{ws29v2 => epaper-2in9}/board.svg (100%) diff --git a/boards/ws29v2/board.json b/boards/epaper-2in9/board.json similarity index 86% rename from boards/ws29v2/board.json rename to boards/epaper-2in9/board.json index fe720b5..5971cf7 100644 --- a/boards/ws29v2/board.json +++ b/boards/epaper-2in9/board.json @@ -1,7 +1,7 @@ { - "name": "WS29V2 e-paper module", + "name": "2.9\" BW/BWR/BWY e-paper module", "version": 1, - "description": "Waveshare 2.9\" e-Paper Module (V2)", + "description": "2.9\" 2 and 3 colour e-Paper Module (V2)", "author": "Bonny Rais", "width": 89.5, "height": 38, diff --git a/boards/ws29v2/board.svg b/boards/epaper-2in9/board.svg similarity index 100% rename from boards/ws29v2/board.svg rename to boards/epaper-2in9/board.svg