RST to DocBook

This commit is contained in:
Kujiu 2022-05-10 01:23:24 +02:00
parent 3fd83c6de9
commit 1276b9e149
Signed by: kujiu
GPG key ID: ABBB2CAC6855599F
2 changed files with 108 additions and 38 deletions

108
README.dbk Normal file
View file

@ -0,0 +1,108 @@
<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE article>
<article
xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xlink="http://www.w3.org/1999/xlink" >
<info>
<title>Lithophane Lantern</title>
</info>
<para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="img/build_with_light.jpg" />
</imageobject>
</inlinemediaobject>
</para>
<para>
<inlinemediaobject>
<imageobject>
<imagedata fileref="img/build_off.jpg" />
</imageobject>
</inlinemediaobject>
</para>
<para>
These files are under EUPL-1.2 license. You can use them as is,
without any guarantee.
</para>
<para>
The 100Ω resistor must be adapted in function of your WS2812 strip
and your level shifter board.
</para>
<para>
Each lithophane panel is 108x78mm including 4mm border and 3mm
thickness. Do not forget to create positive images, not negative
ones. You can use
<link xlink:href="https://3dp.rocks/lithophane">3dp.rocks
service</link> to create your own lithophane plates. The lantern can
be printed with 5% infill but lithophane plates must be 100% infill
and vertically printed. You can print several lithophanes at the
same time with border on bed to avoid grip issues.
</para>
<para>
You need :
</para>
<itemizedlist spacing="compact">
<listitem>
<para>
<link xlink:href="https://www.reichelt.de/de/en/miniature-push-button-on-0-5-a-24-vac-black-t-250a-sw-p19987.html">2
push buttons</link>;
</para>
</listitem>
<listitem>
<para>
<link xlink:href="https://www.reichelt.de/de/en/rocker-switch-round-1x-on-off-ws-r13-112-aaaa-p105442.html">1
power button</link>;
</para>
</listitem>
<listitem>
<para>
<link xlink:href="https://www.reichelt.de/de/en/led-strip-digital-rgb-150-leds-5-m-ws2812b-opt-st4491-p260970.html">1
WS2812 strip</link> (cut four strips of three leds for each
lantern);
</para>
</listitem>
<listitem>
<para>
<link xlink:href="https://www.reichelt.de/de/en/d1-mini-esp8266-v3-0-d1-mini-p253978.html">1
D1 Mini</link>;
</para>
</listitem>
<listitem>
<para>
1 level shifter (sorry, I lost the link...);
</para>
</listitem>
<listitem>
<para>
2 resistors of 1kΩ;
</para>
</listitem>
<listitem>
<para>
1 resistor of 100Ω (must be changed in function of strip and
level shifter);
</para>
</listitem>
<listitem>
<para>
1 capacitor of 1000µF;
</para>
</listitem>
<listitem>
<para>
<link xlink:href="https://www.reichelt.de/de/en/barrel-connector-panel-jack-central-installation-i-2-1-mm-hebl-21-p8524.html">1
barrel connector</link>;
</para>
</listitem>
<listitem>
<para>
<link xlink:href="https://www.reichelt.de/de/en/plug-in-power-supply-unit-12-w-5-v-2-4-a-ea1012ahes501-p293278.html">1
power supply 5V &gt;2A</link>.
</para>
</listitem>
</itemizedlist>
<para>
Install ESP8266 boards in your Arduino software and WS2812FX
library.
</para>
</article>

View file

@ -1,38 +0,0 @@
Lithophane Lantern
==================
.. image:: img/build_with_light.jpg
:alt: The lithophane lantern with light on
.. image:: img/build_off.jpg
:alt: The lithophane lantern with light off
These files are under EUPL-1.2 license. You can use them as is, without
any guarantee.
The 100Ω resistor must be adapted in function of your WS2812 strip
and your level shifter board.
Each lithophane panel is 108x78mm including 4mm border and 3mm thickness.
Do not forget to create positive images, not negative ones. You can use
`3dp.rocks service <https://3dp.rocks/lithophane>`_ to create your own
lithophane plates. The lantern can be printed with 5% infill but
lithophane plates must be 100% infill and vertically printed. You can
print several lithophanes at the same time with border on bed to avoid
grip issues.
You need :
- `2 push buttons <https://www.reichelt.de/de/en/miniature-push-button-on-0-5-a-24-vac-black-t-250a-sw-p19987.html>`_;
- `1 power button <https://www.reichelt.de/de/en/rocker-switch-round-1x-on-off-ws-r13-112-aaaa-p105442.html>`_;
- `1 WS2812 strip <https://www.reichelt.de/de/en/led-strip-digital-rgb-150-leds-5-m-ws2812b-opt-st4491-p260970.html>`_
(cut four strips of three leds for each lantern);
- `1 D1 Mini <https://www.reichelt.de/de/en/d1-mini-esp8266-v3-0-d1-mini-p253978.html>`_;
- 1 level shifter (sorry, I lost the link...);
- 2 resistors of 1kΩ;
- 1 resistor of 100Ω (must be changed in function of strip and level shifter);
- 1 capacitor of 1000µF;
- `1 barrel connector <https://www.reichelt.de/de/en/barrel-connector-panel-jack-central-installation-i-2-1-mm-hebl-21-p8524.html>`_;
- `1 power supply 5V >2A <https://www.reichelt.de/de/en/plug-in-power-supply-unit-12-w-5-v-2-4-a-ea1012ahes501-p293278.html>`_.
Install ESP8266 boards in your Arduino software and WS2812FX library.