From 152448937c3b8ca8e142ca7d14c22439912415e7 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 22 May 2016 15:51:54 +0200 Subject: seperate images and source code --- content/post/blinkiecar.md | 10 +++++----- content/post/internet-is-magic.md | 10 +++++----- content/post/music-led-visualisation.md | 4 ++-- content/post/weather-snowman.md | 10 +++++----- 4 files changed, 17 insertions(+), 17 deletions(-) (limited to 'content') diff --git a/content/post/blinkiecar.md b/content/post/blinkiecar.md index 9ee461a..c0a88d4 100644 --- a/content/post/blinkiecar.md +++ b/content/post/blinkiecar.md @@ -7,13 +7,13 @@ title: Blinkiecar - 3D printed car with turn signals With some support from a friend with a 3D printer, I successfully built a magnetic car with working turning lights. -![car front view](/downloads/blinkiecar/finished-front.jpg") +![car front view](/images/blinkiecar/finished-front.jpg") _Right, it's a present._ The car was printed in two pieces, the top and the bottom part. My friend downloaded the model from somewhere, I repaired it with [netfabb](http://www.netfabb.com/) (didn't like their software due to an annoying startup dialog and paid features), cut it with [slic3r](http://slic3r.org) (this program looked better) and gave him the [repetier](http://www.repetier.com/)-converted model back. -![car without top part](/downloads/blinkiecar/wip.jpg) +![car without top part](/images/blinkiecar/wip.jpg) _This is how it looks on the inside._ @@ -21,16 +21,16 @@ Inside the car is a 3.3V coin cell battery, which is connected to two switches a A strong magnet from an old hard drive is glued below the car so you can stick it onto a magnetic board. -![magnet below car](/downloads/blinkiecar/magnet.jpg) +![magnet below car](/images/blinkiecar/magnet.jpg) _The magnet also covers the circuit a bit._ The blink LEDs are not in sync for some reason, but that did not matter as they still function as turning lights. -![both leds blinking](/downloads/blinkiecar/blink-both.gif) +![both leds blinking](/images/blinkiecar/blink-both.gif) _You can still try to use them as warning lights, but that's not reliable._ -![front right led blinking](/downloads/blinkiecar/blink-right.gif) +![front right led blinking](/images/blinkiecar/blink-right.gif) Next time, I should think of another solution for power - with this setup, you cannot swap the battery and the LEDs are quite dark. diff --git a/content/post/internet-is-magic.md b/content/post/internet-is-magic.md index e33c4a2..1d21027 100644 --- a/content/post/internet-is-magic.md +++ b/content/post/internet-is-magic.md @@ -9,7 +9,7 @@ aliases: Friendship is magic! I like the My Little Pony series, and two of my best friends, knowing that, surprised me with self-made versions of Twilight and Fluttershy at my birthday. -![Twilight and Fluttershy](/downloads/internet-is-magic/twilight-fluttershy.jpg) +![Twilight and Fluttershy](/images/internet-is-magic/twilight-fluttershy.jpg) _Aren't they adorable?_ @@ -19,13 +19,13 @@ That was kind of unexciting after a while. Luckily, I had an [ESP8266](https://e Awesome! Let's connect the ponies to the world wide web. -![Inside view](/downloads/internet-is-magic/inside.jpg) +![Inside view](/images/internet-is-magic/inside.jpg) _Not much to see here_ I wrote a quick-and-dirty Arduino sketch, [uploaded it]({% post_url 2015-10-14-esp8266%}) and was able to control the LEDs via netcat. You can find the sketch [here](https://git.schneefux.xyz/?p=internet-is-magic;a=blob;f=luminate.ino;hb=HEAD). -![Twilight glows](/downloads/internet-is-magic/twilight-glow.jpg) +![Twilight glows](/images/internet-is-magic/twilight-glow.jpg) _The cables in the background supply power._ @@ -35,8 +35,8 @@ I installed the [telegram-cli](https://github.com/vysheng/tg) client on my [Rasp So whenever my friends are online, their corresponding pony starts to glow. -![Fluttershy glows](/downloads/internet-is-magic/fluttershy-glow.jpg) -![Twilight and Fluttershy glowing in the dark](/downloads/internet-is-magic/night.jpg) +![Fluttershy glows](/images/internet-is-magic/fluttershy-glow.jpg) +![Twilight and Fluttershy glowing in the dark](/images/internet-is-magic/night.jpg) _When they light up at night, you can feel the magic._ diff --git a/content/post/music-led-visualisation.md b/content/post/music-led-visualisation.md index 4bfbb04..f7d5c12 100644 --- a/content/post/music-led-visualisation.md +++ b/content/post/music-led-visualisation.md @@ -7,7 +7,7 @@ title: Visualize music with MPD and an LED strip With Arduinos, 5050 RGB LED strips, Hyperion and MPD on a Raspberry Pi I created a low cost party lightning environment. -![First test results](/downloads/music-led/led-floor.jpg) +![First test results](/images/music-led/led-floor.jpg) _First tests show that the setup seems to work._ @@ -20,6 +20,6 @@ The Raspberry Pi as server runs [Hyperion](https://github.com/tvdzwan/hyperion) Initially, I planned using an ESP8266 instead of the Arduino. I had not the right parts to step down 12V to 3.3V and tried to hack something together with LEDs and a 7V-3.3V-stepdown converter. Well… that didn't work out quite well. I used Arduino Unos instead. -![Failed attempt of connecting an ESP8266](/downloads/music-led/controller-failed.jpg) +![Failed attempt of connecting an ESP8266](/images/music-led/controller-failed.jpg) _Do not reproduce, this fries the ESP…_ diff --git a/content/post/weather-snowman.md b/content/post/weather-snowman.md index a5c8ec5..c55edcb 100644 --- a/content/post/weather-snowman.md +++ b/content/post/weather-snowman.md @@ -9,7 +9,7 @@ It's christmas time! As a kind of pre-christmas gift, I built an Internet of Thi Like in [my last project]({{< ref "internet-is-magic.md" >}}), I used an ESP8266 again, some LEDs and an old acrylic snowman that I cut open. -![blue glowing snowman](/downloads/weather-snowman/snowman-glowblue.jpg) +![blue glowing snowman](/images/weather-snowman/snowman-glowblue.jpg) _The electronics were cheaper than the snowman._ @@ -17,11 +17,11 @@ Inside the snowman was a fading RGB led, a switch and batteries. Boring! I replaced it with the ESP8266, which had 3 LEDs attached to it (red, green, blue). Via a USB cable and a voltage converter, I powered it: -![inside setup](/downloads/weather-snowman/leds.jpg) +![inside setup](/images/weather-snowman/leds.jpg) _Luckily, you don't see how messy it really becomes once you put all this in that tiny snowman…_ -![inside setup, top view](/downloads/weather-snowman/leds-esp.jpg) +![inside setup, top view](/images/weather-snowman/leds-esp.jpg) Coding took a while. @@ -31,8 +31,8 @@ Depending on the forecast, the blue and red LEDs glow in different patterns. If If you inspect [the source code](https://git.schneefux.xyz/?p=weather-snowman;a=tree), you'll see that there also is an Android app. The app simplifies the setup and runs a background service that makes your snowman's green LED flash on new notifications. -![new notification snowman](/downloads/weather-snowman/snowman-blink.jpg) +![new notification snowman](/images/weather-snowman/snowman-blink.jpg) _Gotta check my mails._ -![blue and red glowing snowman](/downloads/weather-snowman/snowman-glowbluered.jpg) +![blue and red glowing snowman](/images/weather-snowman/snowman-glowbluered.jpg) -- cgit v1.3.1