diff --git a/.gitignore b/.gitignore index 6e29f8f..516c50a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,5 @@ # Development .pio -.vscode/.browse.c_cpp.db* -.vscode/c_cpp_properties.json -.vscode/launch.json -.vscode/ipch -.vscode/settings.json \ No newline at end of file +.vscode +!.vscode\extensions.json diff --git a/README.md b/README.md new file mode 100644 index 0000000..71eeaad --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# DMX-Interface + +Art-Net-Interface + +## Case + +[OnShape](https://cad.onshape.com/documents/7363818fd18bf0cbf094790e/w/52455282b39e47fbde5d0e53/e/9bec98aa83a813dc9a4d6ab2) + +STL's coming soon, case still being developed. + +## Wiring + +![Handwritten diagram](/assets/circuit/handwritten/circuit%20diagram.jpeg) + +## Pin usage + +| GPIO | Usage | +| ---- | -------------- | +| GND | GND to others | +| 3,5V | VIN on RS485 | +| 5V | VIN on W5500 | +| 0 | Onboard Button | +| 5 | Ext. Button | +| 7 | Ext. LED | +| 15 | Onboard LED | +| 17 | U1TXD | +| 18 | U1RXD | +| 21 | U0TXD | +| 33 | U0RXD | +| 34 | SPI CS | +| 35 | SPI MOS | +| 36 | SPI SCK | +| 37 | SPI MISO | diff --git a/assets/circuit/handwritten/circuit diagram.jpeg b/assets/circuit/handwritten/circuit diagram.jpeg new file mode 100644 index 0000000..15d287b Binary files /dev/null and b/assets/circuit/handwritten/circuit diagram.jpeg differ diff --git a/src/ESPDMX.cpp b/src/ESPDMX.cpp index a132bfc..5408807 100644 --- a/src/ESPDMX.cpp +++ b/src/ESPDMX.cpp @@ -1,15 +1,3 @@ -// - - - - - -// ESPDMX - A Arduino library for sending and receiving DMX using the builtin serial hardware port. -// ESPDMX.cpp: Library implementation file -// -// Copyright (C) 2015 Rick -// This work is licensed under a GNU style license. -// -// Last change: Hendrik Rauh -// -// Documentation and samples are available at https://github.com/Rickgg/ESP-Dmx -// - - - - - - /* ----- LIBRARIES ----- */ #include #include "ESPDMX.h" diff --git a/src/ESPDMX.h b/src/ESPDMX.h index a8f4938..04123ae 100644 --- a/src/ESPDMX.h +++ b/src/ESPDMX.h @@ -1,15 +1,3 @@ -// - - - - - -// ESPDMX - A Arduino library for sending and receiving DMX using the builtin serial hardware port. -// ESPDMX.cpp: Library implementation file -// -// Copyright (C) 2015 Rick -// This work is licensed under a GNU style license. -// -// Last change: Hendrik Rauh -// -// Documentation and samples are available at https://github.com/Rickgg/ESP-Dmx -// - - - - - - #include #ifndef ESPDMX_h