Selaa lähdekoodia

add anchor link to subheading in octoprint

Thomas Buck 2 vuotta sitten
vanhempi
commit
1edafa4e32

+ 13
- 4
input/projects/3d-printing/ctc-i3.md Näytä tiedosto

48
 
48
 
49
 ## Heatbed Replacement
49
 ## Heatbed Replacement
50
 
50
 
51
-
51
+The original FR-4 heatbed is very flimsy and bends easily.
52
+For this reason, I replaced it immediately with a very commonly available replacement heatbed made out of 3mm aluminium, with 214mm x 214mm.
53
+Below it I mounted some self-adhesive foam insulation.
52
 
54
 
53
 <!--%
55
 <!--%
54
 lightgallery([
56
 lightgallery([
85
 
87
 
86
 ## MOSFET for Heatbed
88
 ## MOSFET for Heatbed
87
 
89
 
88
-
90
+It is common knowledge that the heatbed MOSFETS on Anet A8 printers are not sufficient and present a fire hazard.
91
+Because my CTC-i3 has a different mainboard, I didn't think this problem applied to me.
92
+But sure enough, after a year or so of regular usage, the heatbed MOSFET, as well as some parts of the PCB of my mainboard stopped working and were visibly burnt.
93
+Because of this, I added the widely used beefy external MOSFET to power the heatbed.
89
 
94
 
90
 <!--%
95
 <!--%
91
 lightgallery([
96
 lightgallery([
116
 So I simply got a properly sized piece of aluminium from ebay, drilled the holes for some small printed bearing holders and mounted the heatbed to it.
121
 So I simply got a properly sized piece of aluminium from ebay, drilled the holes for some small printed bearing holders and mounted the heatbed to it.
117
 This was easy and has worked very well as a replacement.
122
 This was easy and has worked very well as a replacement.
118
 
123
 
119
-TODO photos
124
+<!--%
125
+lightgallery([
126
+    [ "img/ctc_i3_bed.jpg", "Side view of printbed with insulation" ]
127
+])
128
+%-->
120
 
129
 
121
 ## Y-Axis Webcam Mount
130
 ## Y-Axis Webcam Mount
122
 
131
 
207
 
216
 
208
 ## Power Button
217
 ## Power Button
209
 
218
 
210
-
219
+To use the power button with the Pi, see [my page about setting up OctoPrint](octoprint.html#power_button).
211
 
220
 
212
 <!--%
221
 <!--%
213
 lightgallery([
222
 lightgallery([

+ 4
- 1
input/projects/3d-printing/octoprint.md Näytä tiedosto

133
 </pre>
133
 </pre>
134
 
134
 
135
 ## Physical Power Button
135
 ## Physical Power Button
136
+<a class="anchor" name="power_button"></a>
136
 
137
 
137
 Besides controlling eg. an ATX power supply or a relay connecting the printer to the power supply, I also wanted a push-button connected to the Raspberry Pi that can toggle the power supply using the aforementioned connection on the Pi.
138
 Besides controlling eg. an ATX power supply or a relay connecting the printer to the power supply, I also wanted a push-button connected to the Raspberry Pi that can toggle the power supply using the aforementioned connection on the Pi.
138
 This can be solved using a simple Python script.
139
 This can be solved using a simple Python script.
237
 Of course, you may need to adjust the destination path on your webserver.
238
 Of course, you may need to adjust the destination path on your webserver.
238
 Finally, add the script as a cronjob using `crontab -e`:
239
 Finally, add the script as a cronjob using `crontab -e`:
239
 
240
 
240
-    */5 * * * * sudo -u pi /home/pi/foto-script/upload.sh >/dev/null 2>/dev/null
241
+<pre class="sh_sh">
242
+*/5 * * * * sudo -u pi /home/pi/foto-script/upload.sh >/dev/null 2>/dev/null
243
+</pre>
241
 
244
 
242
 And that's it. An updated photo will appear on your webserver every 5 minutes.
245
 And that's it. An updated photo will appear on your webserver every 5 minutes.
243
 You can take a look at it [on my website](printer.html).
246
 You can take a look at it [on my website](printer.html).

+ 7
- 0
static/css/style.css Näytä tiedosto

48
     #wrap {
48
     #wrap {
49
         height: 5em;
49
         height: 5em;
50
     }
50
     }
51
+
52
+    a.anchor {
53
+        display: block;
54
+        position: relative;
55
+        top: -175px;
56
+        visibility: hidden;
57
+    }
51
 }
58
 }
52
 
59
 
53
 pre {
60
 pre {

Loading…
Peruuta
Tallenna