summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-11-24 12:31:49 +0100
committerjaseg <git@jaseg.de>2021-11-24 12:31:49 +0100
commit396c62e422e0d0e98b58d4c76e5a377cdbd52bee (patch)
treef10627e097eb2b71d9ee1b4a1538f105bb76bd93
parenta6ecebf64878f254c7d40bfe0fdc00ac4dbf63e2 (diff)
downloadblog-396c62e422e0d0e98b58d4c76e5a377cdbd52bee.tar.gz
blog-396c62e422e0d0e98b58d4c76e5a377cdbd52bee.tar.bz2
blog-396c62e422e0d0e98b58d4c76e5a377cdbd52bee.zip
Polish wifi LED driver post
-rw-r--r--content/posts/wifi-led-driver/images/board_in_case.jpg (renamed from content/posts/wifi-led-driver/images/lyza_board_in_case.jpg)bin2898747 -> 2898747 bytes
-rw-r--r--content/posts/wifi-led-driver/images/board_in_case.small.jpg (renamed from content/posts/wifi-led-driver/images/lyza_board_in_case.small.jpg)bin817789 -> 817789 bytes
-rw-r--r--content/posts/wifi-led-driver/images/boards.jpg (renamed from content/posts/wifi-led-driver/images/lyza_boards.jpg)bin3642485 -> 3642485 bytes
-rw-r--r--content/posts/wifi-led-driver/images/boards.small.jpg (renamed from content/posts/wifi-led-driver/images/lyza_boards.small.jpg)bin865465 -> 865465 bytes
-rw-r--r--content/posts/wifi-led-driver/images/lyza_case_complete.jpgbin2241604 -> 0 bytes
-rw-r--r--content/posts/wifi-led-driver/images/lyza_case_complete.small.jpgbin766734 -> 0 bytes
-rw-r--r--content/posts/wifi-led-driver/images/lyza_case_raw.jpgbin3028377 -> 0 bytes
-rw-r--r--content/posts/wifi-led-driver/images/lyza_case_raw.small.jpgbin740884 -> 0 bytes
-rw-r--r--content/posts/wifi-led-driver/index.rst25
-rw-r--r--deploy.py2
10 files changed, 5 insertions, 22 deletions
diff --git a/content/posts/wifi-led-driver/images/lyza_board_in_case.jpg b/content/posts/wifi-led-driver/images/board_in_case.jpg
index 843900a..843900a 100644
--- a/content/posts/wifi-led-driver/images/lyza_board_in_case.jpg
+++ b/content/posts/wifi-led-driver/images/board_in_case.jpg
Binary files differ
diff --git a/content/posts/wifi-led-driver/images/lyza_board_in_case.small.jpg b/content/posts/wifi-led-driver/images/board_in_case.small.jpg
index 5c0aa81..5c0aa81 100644
--- a/content/posts/wifi-led-driver/images/lyza_board_in_case.small.jpg
+++ b/content/posts/wifi-led-driver/images/board_in_case.small.jpg
Binary files differ
diff --git a/content/posts/wifi-led-driver/images/lyza_boards.jpg b/content/posts/wifi-led-driver/images/boards.jpg
index 79f8154..79f8154 100644
--- a/content/posts/wifi-led-driver/images/lyza_boards.jpg
+++ b/content/posts/wifi-led-driver/images/boards.jpg
Binary files differ
diff --git a/content/posts/wifi-led-driver/images/lyza_boards.small.jpg b/content/posts/wifi-led-driver/images/boards.small.jpg
index 6f5c28c..6f5c28c 100644
--- a/content/posts/wifi-led-driver/images/lyza_boards.small.jpg
+++ b/content/posts/wifi-led-driver/images/boards.small.jpg
Binary files differ
diff --git a/content/posts/wifi-led-driver/images/lyza_case_complete.jpg b/content/posts/wifi-led-driver/images/lyza_case_complete.jpg
deleted file mode 100644
index c784149..0000000
--- a/content/posts/wifi-led-driver/images/lyza_case_complete.jpg
+++ /dev/null
Binary files differ
diff --git a/content/posts/wifi-led-driver/images/lyza_case_complete.small.jpg b/content/posts/wifi-led-driver/images/lyza_case_complete.small.jpg
deleted file mode 100644
index db9b083..0000000
--- a/content/posts/wifi-led-driver/images/lyza_case_complete.small.jpg
+++ /dev/null
Binary files differ
diff --git a/content/posts/wifi-led-driver/images/lyza_case_raw.jpg b/content/posts/wifi-led-driver/images/lyza_case_raw.jpg
deleted file mode 100644
index 4b61a52..0000000
--- a/content/posts/wifi-led-driver/images/lyza_case_raw.jpg
+++ /dev/null
Binary files differ
diff --git a/content/posts/wifi-led-driver/images/lyza_case_raw.small.jpg b/content/posts/wifi-led-driver/images/lyza_case_raw.small.jpg
deleted file mode 100644
index a8d416e..0000000
--- a/content/posts/wifi-led-driver/images/lyza_case_raw.small.jpg
+++ /dev/null
Binary files differ
diff --git a/content/posts/wifi-led-driver/index.rst b/content/posts/wifi-led-driver/index.rst
index 0cc27c9..8e8b24d 100644
--- a/content/posts/wifi-led-driver/index.rst
+++ b/content/posts/wifi-led-driver/index.rst
@@ -10,7 +10,7 @@ Project motivation
.. raw:: html
<figure>
- <img src="images/lyza_board_in_case.small.jpg">
+ <img src="images/board_in_case.small.jpg">
<figcaption>The completed driver board installed in the 3D-printed case. This device can now be connected to
12V and two segments of LED tape that can then be controlled trough Wifi. The ESP8266 module goes on the pin
header on the left and was removed for this picture.
@@ -53,7 +53,7 @@ currents their `trip times get long enough that they become unlikely to trip in
<figcaption>
The schematic of the driver board, with the ESP8266 on the top left, the STM32 microcontroller for LED
modulation below, the shift register in the middle and the LED drivers and outputs on the right.
- <a href="resource/lyza_schematic_and_pcb.pdf">Download PDF</a>
+ <a href="resource/schematic_and_pcb.pdf">Download PDF</a>
</figcaption>
</figure><figure class="side-by-side">
<img src="images/layout.png">
@@ -63,7 +63,7 @@ currents their `trip times get long enough that they become unlikely to trip in
with one connector per LED tape segment. The power input connector is on the bottom right. The LED driver
MOSFETs are in small SOT-23 packages on the back of the board. Since this board is not intended for
super-high currents, the MOSFETs are adequately cooled just through the board's copper planes.
- <a href="resource/lyza_schematic_and_pcb.pdf">Download PDF</a>
+ <a href="resource/schematic_and_pcb.pdf">Download PDF</a>
</figcaption>
</figure>
</figure>
@@ -71,7 +71,7 @@ currents their `trip times get long enough that they become unlikely to trip in
.. raw:: html
<figure>
- <img src="images/lyza_boards.small.jpg">
+ <img src="images/boards.small.jpg">
<figcaption>The completed PCBs of this project (front) and the `multichannel LED driver`_ project the driver
circuitry was derived from (back).
</figcaption>
@@ -121,23 +121,6 @@ unless you're on a beefy machine or interrupt it when it starts auto-rendering t
The board is mounted into the enclosure using knurled insert nuts that are pressed into a 3D-printed hole using a bit of
violence.
-.. FIXME openscad screenshot
-.. FIXME enclosure parts
-.. FIXME finished enclosure with board inside
-
-.. raw:: html
-
- <figure>
- <figure class="side-by-side">
- <img src="images/lyza_case_raw.small.jpg">
- <figcaption>The 3D-printed case with threaded inserts before painting.</figcaption>
- </figure><figure class="side-by-side">
- <img src="images/lyza_case_complete.small.jpg">
- <figcaption>The 3D-printed case with the board installed after painting. This was my first attempt at
- painting a 3D-printed case so it looks pretty bad.</figcaption>
- </figure>
- </figure>
-
.. _`multichannel LED driver`: {{<ref "posts/multichannel-led-driver/index.rst">}}
.. _`LED characterization`: {{<ref "posts/led-characterization/index.rst">}}
.. _ESP8266: https://en.wikipedia.org/wiki/ESP8266
diff --git a/deploy.py b/deploy.py
index 96f2b33..b0e87ca 100644
--- a/deploy.py
+++ b/deploy.py
@@ -21,6 +21,6 @@ if __name__ == '__main__':
commit = subprocess.run(['git', 'commit-tree', '-p', 'HEAD', '-p', 'refs/heads/deploy', '-m', 'deploy.py auto-commit', tree], cwd=tmpdir, check=True, capture_output=True).stdout.strip()
subprocess.run(['git', 'update-ref', '-m', f'deploy.sh update deploy branch to {commit}', 'refs/heads/deploy', commit], cwd=tmpdir, check=True)
- subprocess.run(['git', 'push', 'git.jaseg.de:blog.git', 'deploy'], cwd=tmpdir, check=True)
+ subprocess.run(['git', 'push', 'git@git.jaseg.de:blog.git', 'deploy'], cwd=tmpdir, check=True)
finally:
subprocess.run(['git', 'worktree', 'remove', '-f', tmpdir], check=True)