diff options
author | jaseg <git@jaseg.net> | 2019-05-24 15:23:34 +0900 |
---|---|---|
committer | jaseg <git@jaseg.net> | 2019-05-24 15:23:34 +0900 |
commit | e991e91f28be121631e3b6aa71d26ed3b23d6ae2 (patch) | |
tree | d837947cfddfa1d66566e5dec990f69e8a60090a /content/posts | |
parent | a78380049fca7eb6de32d60898463943731cae77 (diff) | |
download | blog-e991e91f28be121631e3b6aa71d26ed3b23d6ae2.tar.gz blog-e991e91f28be121631e3b6aa71d26ed3b23d6ae2.tar.bz2 blog-e991e91f28be121631e3b6aa71d26ed3b23d6ae2.zip |
Fix snafu
Diffstat (limited to 'content/posts')
-rw-r--r-- | content/posts/led-characterization/index.rst | 2 | ||||
-rw-r--r-- | content/posts/thors-hammer/images/thors_hammer_breadboard.jpg | bin | 0 -> 3229178 bytes | |||
-rw-r--r-- | content/posts/thors-hammer/images/thors_hammer_schematic.jpg | bin | 0 -> 1822573 bytes | |||
-rw-r--r-- | content/posts/thors-hammer/index.rst (renamed from content/posts/zeus-hammer/index.rst) | 42 | ||||
-rw-r--r-- | content/posts/thors-hammer/video/thors_hammer.mkv | bin | 0 -> 3799797 bytes | |||
-rw-r--r-- | content/posts/thors-hammer/video/thors_hammer.mov | bin | 0 -> 33979697 bytes | |||
-rw-r--r-- | content/posts/thors-hammer/video/thors_hammer.webm | bin | 0 -> 4868825 bytes |
7 files changed, 31 insertions, 13 deletions
diff --git a/content/posts/led-characterization/index.rst b/content/posts/led-characterization/index.rst index 7f9a754..6a8c7ee 100644 --- a/content/posts/led-characterization/index.rst +++ b/content/posts/led-characterization/index.rst @@ -1,5 +1,5 @@ --- -title: "Led Characterization" +title: "LED Characterization" date: 2018-05-02T11:18:38+02:00 --- diff --git a/content/posts/thors-hammer/images/thors_hammer_breadboard.jpg b/content/posts/thors-hammer/images/thors_hammer_breadboard.jpg Binary files differnew file mode 100644 index 0000000..4504d83 --- /dev/null +++ b/content/posts/thors-hammer/images/thors_hammer_breadboard.jpg diff --git a/content/posts/thors-hammer/images/thors_hammer_schematic.jpg b/content/posts/thors-hammer/images/thors_hammer_schematic.jpg Binary files differnew file mode 100644 index 0000000..3061f61 --- /dev/null +++ b/content/posts/thors-hammer/images/thors_hammer_schematic.jpg diff --git a/content/posts/zeus-hammer/index.rst b/content/posts/thors-hammer/index.rst index 6865bdb..ba851a5 100644 --- a/content/posts/zeus-hammer/index.rst +++ b/content/posts/thors-hammer/index.rst @@ -1,13 +1,26 @@ --- -title: "Zeus Hammer" +title: "Thor's Hammer" date: 2018-05-03T11:59:37+02:00 --- In case you were having an inferiority complex because your friends' IBM Model M keyboards are so much louder than the -shitty rubber dome freebie you got with your pc... Here's the solution: Zeus Hammer, a simple typing cadence enhancer +shitty rubber dome freebie you got with your pc... Here's the solution: Thor's Hammer, a simple typing cadence enhancer for `PS/2`_ keyboards. -.. FIXME: add demo video +.. raw:: html + + <figure> + <video controls loop> + <source src="video/thors_hammer.mov" type="video/h264"> + <source src="video/thors_hammer.webm" type="video/webm"> + Your browser does not support the HTML5 video tag. + </video> + <figcaption>A demonstration of the completed project. + + <a href="video/thors_hammer.mov">h264 download</a> / + <a href="video/thors_hammer.webm">webm download</a> + </figcaption> + </figure> The connects to the keyboard's PS/2 clock line and briefly actuates a large solenoid on each key press. An interesting fact about PS/2 is that the clock line is only active as long as either the host computer or the input device actually @@ -16,27 +29,32 @@ LED state, otherwise the clock line is silent. We ignore the LED activity for no presses. By just triggering an NE555 configured as astable flipflop we can stretch each train of clock pulses to a pulse a few tens of milliseconds long that is enough to actuate the solenoid. -.. image:: /images/zeus_hammer_schematic.jpg +.. raw:: html + + <figure> + <img src="images/thors_hammer_schematic.jpg" alt="The schematic of the PS2 driver"> + <figcaption>The schematic of the driver stretching the PS/2 clock pulses to drive the solenoid.</figcaption> + </figure> + Since PS/2 sends each key press and key release separately this circuit will pulse twice per keystroke. It would be possible to ignore one of them but I figure the added noise just adds to the experience. Built on a breadboard, the circuit looks like this. -.. image:: /images/zeus_hammer_breadboard.jpg - -The completed system looks like this. +.. raw:: html + + <figure> + <img src="images/thors_hammer_breadboard.jpg" alt="The circuit built on a breadboard"> + <figcaption>The completed circuit built up on a breadboard and attached to a keyboard.</figcaption> + </figure> -.. FIXME: add image of completed system Since my solenoid did not have a tensioning spring I used a rubber band and some vinyl tape to make an adjustable tensioner. The small orange USB hub serves as an end-stop because I had nothing else of the right shape. The sound and resonance of the thing can be adjusted to taste by moving the end stop, adjusting the tensioning rubber and tuning the excitation duration using the potentiometer. My particular solenoid was a bit slow so I added some pieces of circuit -board as shims between the plunger and the case to limit the plunger's travel inside the solenoid core. Here is another -video of the thing in action in which I tune and de-tune the mechanical resonance using the potentiometer. - -.. FIXME: add video w/ tune/detune +board as shims between the plunger and the case to limit the plunger's travel inside the solenoid core. .. _`PS/2`: https://en.wikipedia.org/wiki/PS/2_port diff --git a/content/posts/thors-hammer/video/thors_hammer.mkv b/content/posts/thors-hammer/video/thors_hammer.mkv Binary files differnew file mode 100644 index 0000000..c9581e9 --- /dev/null +++ b/content/posts/thors-hammer/video/thors_hammer.mkv diff --git a/content/posts/thors-hammer/video/thors_hammer.mov b/content/posts/thors-hammer/video/thors_hammer.mov Binary files differnew file mode 100644 index 0000000..fff65a8 --- /dev/null +++ b/content/posts/thors-hammer/video/thors_hammer.mov diff --git a/content/posts/thors-hammer/video/thors_hammer.webm b/content/posts/thors-hammer/video/thors_hammer.webm Binary files differnew file mode 100644 index 0000000..2bcf1ca --- /dev/null +++ b/content/posts/thors-hammer/video/thors_hammer.webm |