<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Hasse&#039;s Hacks</title>
	<atom:link href="http://hacks.hasse.nl/feed/" rel="self" type="application/rss+xml" />
	<link>http://hacks.hasse.nl</link>
	<description>just playing with technology</description>
	<lastBuildDate>Thu, 03 Dec 2009 23:53:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ATX powersupply conversion</title>
		<link>http://hacks.hasse.nl/63/electronics/atx-powersupply-conversion/</link>
		<comments>http://hacks.hasse.nl/63/electronics/atx-powersupply-conversion/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 18:10:48 +0000</pubDate>
		<dc:creator>Hasse</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[ATX]]></category>
		<category><![CDATA[Lab]]></category>
		<category><![CDATA[power supply]]></category>

		<guid isPermaLink="false">http://hacks.hasse.nl/?p=63</guid>
		<description><![CDATA[How to convert a standard ATX powersupply to a lab powersupply?
 In need for a powersupply that can really give some power I converted a standard ATX powersupply from an old desktop PC to a Lab Power Supply of 350W.  With 40A at 5V and 15A at 12V I sure have some power to play [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_93" class="wp-caption alignleft" style="width: 193px"><img class="size-full wp-image-93 " title="ATX Lab Power Supply" src="http://hacks.hasse.nl/wp-content/uploads/2009/10/thumb_atxsupply.gif" alt="ATX Supply" width="183" height="138" /><p class="wp-caption-text">ATX Supply</p></div>
<p><strong>How to convert a standard ATX powersupply to a lab powersupply?</strong></p>
<p><strong> </strong>In need for a powersupply that can really give some power I converted a standard ATX powersupply from an old desktop PC to a Lab Power Supply of 350W.  With 40A at 5V and 15A at 12V I sure have some power to play with. Maybe I now can finally start working on a robotics project with some strong motors that need some amps to run&#8230; Well, if you are interested in a how-to-convert-an-atx-supply, you should continue reading&#8230;.<br />
<span id="more-63"></span><br />
 <div align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-8180342670186353";
/* hacks 468x60, horizontal 2ads */
google_ad_slot = "5113606982";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div><br />
<strong><em>Let&#8217;s start with &#8220;Why would you do that?&#8221;</em></strong><br />
Well, I am always playinh with technology and electronic parts and most of the time I take an old adapter for a supply but those are always limited to 500mA or 1A max. So sometimes when I need more amps, I used to put paperclips in a connector from an old ATX powersupply and shortcut the poweron signal. The great thing about ATX power supplies is that they can give a lott of Amps, have different voltages, are very stable and have build in protection. So almost ideal for benchtesting when you dont want to buy a real lab supply. If you are still reading, you probably know what I mean.<br />
<strong><br />
<img class="alignnone size-full wp-image-91" title="ATX Lab Supply" src="http://hacks.hasse.nl/wp-content/uploads/2009/10/ATX_lab_supply.jpg" alt="ATX Lab Supply" width="369" height="138" /> </strong></p>
<p><strong><em><br />
</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://hacks.hasse.nl/63/electronics/atx-powersupply-conversion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RGWii</title>
		<link>http://hacks.hasse.nl/13/wii/rgwii/</link>
		<comments>http://hacks.hasse.nl/13/wii/rgwii/#comments</comments>
		<pubDate>Sat, 08 Mar 2008 18:00:56 +0000</pubDate>
		<dc:creator>Hasse</dc:creator>
				<category><![CDATA[LED]]></category>
		<category><![CDATA[Wii]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[glovepie]]></category>
		<category><![CDATA[moodvision]]></category>
		<category><![CDATA[RGB]]></category>
		<category><![CDATA[rs232]]></category>
		<category><![CDATA[vogel's]]></category>

		<guid isPermaLink="false">http://hacks.hasse.nl/?p=13</guid>
		<description><![CDATA[Use a Nintendo Wii to control the
color of your LED Lighting

After my first Wiimote project in which I controlled my curtains, I realized the endless possibilties of home automation with a Nintendo Wii and it&#8217;s Wiimote controller. On this page you can read how I set the color of my LED lighting with the Wiimote. Read [...]]]></description>
			<content:encoded><![CDATA[<h1>Use a Nintendo Wii to control the<br />
color of your LED Lighting</h1>
<p><img class="alignnone size-full wp-image-34" title="RGWii_header" src="http://hacks.hasse.nl/wp-content/uploads/2008/03/RGWii_header.jpg" alt="RGWii_header" width="738" height="184" /></p>
<p><strong>After my <a href="http://hacks.hasse.nl/9/wii/wiindow-curtain-control/" target="_parent">first</a> Wiimote project in which I controlled my curtains, I realized the endless possibilties of home automation with a Nintendo Wii and it&#8217;s Wiimote controller. On this page you can read how I set the color of my LED lighting with the Wiimote.</strong><strong> Read on to get a detailed HowTo.</strong></p>
<p>Let&#8217;s start with a video of the end-result:</p>
<p><!-- Smart Youtube --><span class="youtube"><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/FyBjt5KYyZ8&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/FyBjt5KYyZ8&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="355" ></embed><param name="wmode" value="transparent" /></object></span></p>
<p><strong><span id="more-13"></span>The RGB Controller</strong><br />
The controller I used is from a <a href="http://www.vogels.com/" target="_blank">Vogel&#8217;s</a> Moodvision XLF200 set. These real nice looking, very intense LED lighting tubes are available in 2 versions. There is a button controlled version (XLF200) and a remote controlled version (XLF300). Extra LED tubes are available in the XLF100 package. I used the XLF200 controller with a nice blue button.</p>
<p><img src="http://hacks.hasse.nl/wp-content/uploads/2008/03/xlf200_controller.jpg" alt="XLF200 Moodvision Controller" width="544" height="240" /></p>
<p><strong>Hacking the controller</strong><br />
I wanted to be able to make any color and not only simulate button presses with my Wiimote. So I had to modify the controller a bit. It&#8217;s rather easy to open the controller. Inside is a microcontroller, some fet&#8217;s that drive the LEDs and a switch. I wanted to talk to this controller by RS232 so I soldered a SUB-D9 connector to the TDO and RDI pins of the micro. Picture below:<br />
<img src="http://hacks.hasse.nl/wp-content/uploads/2008/03/electronics.jpg" alt="Moodvision Inside" width="434" height="251" /></p>
<p><img src="http://hacks.hasse.nl/wp-content/uploads/2008/03/before_and_after.jpg" alt="" width="534" height="191" /></p>
<p><strong>Bluetooth Dongle</strong><br />
On the PC I attached a cheap USB Bluetooth dongle that I bought in China. It comes with a free version of the <a href="http://www.bluesoleil.com/" target="_blank">Blue Soleil</a> bluetooth stack.</p>
<p>I paired my Wiimote with my PC. This is done by holding down the 1 and 2 button on the Wiimote (leds will flash) and use the bluetooth software to set op a connection with a HID device.</p>
]]></content:encoded>
			<wfw:commentRss>http://hacks.hasse.nl/13/wii/rgwii/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Wiindow curtain control</title>
		<link>http://hacks.hasse.nl/9/wii/wiindow-curtain-control/</link>
		<comments>http://hacks.hasse.nl/9/wii/wiindow-curtain-control/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 18:00:06 +0000</pubDate>
		<dc:creator>Hasse</dc:creator>
				<category><![CDATA[Wii]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[curtains]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[home automation]]></category>
		<category><![CDATA[window control]]></category>

		<guid isPermaLink="false">http://hacks.hasse.nl/?p=9</guid>
		<description><![CDATA[I got inspired by all those great Nintendo Wii projects on the internet. I used my Wiimote to control my curtains. Read below how I did that.
Let&#8217;s start with a video of the end-result:

Curtain Controller
The curtain control system is an existing system from Goelst and is called &#8220;G-Rail 6200&#8243;. Normally it is controlled by infrared or [...]]]></description>
			<content:encoded><![CDATA[<p><strong>I got inspired by all those great Nintendo Wii projects on the internet. I used my Wiimote to control my curtains. Read below how I did that.</strong></p>
<p>Let&#8217;s start with a video of the end-result:</p>
<p><!-- Smart Youtube --><span class="youtube"><object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/FSMJiGPPzGM&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0" /><param name="allowFullScreen" value="true" /><embed wmode="transparent" src="http://www.youtube.com/v/FSMJiGPPzGM&amp;rel=1&amp;color1=d6d6d6&amp;color2=f0f0f0&amp;border=&amp;fs=1&amp;hl=en&amp;autoplay=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="355" ></embed><param name="wmode" value="transparent" /></object></span></p>
<p><strong><span id="more-9"></span>Curtain Controller</strong><br />
The curtain control system is an existing system from <a href="http://www.goelst.nl/" target="_blank">Goelst</a> and is called &#8220;G-Rail 6200&#8243;. Normally it is controlled by infrared or wallswitches. However, it can also be controlled with a CAN bus. I used this CAN bus to interface with an old PC.</p>
<p><strong>Bluetooth Dongle</strong><br />
On the PC I attached a cheap USB Bluetooth dongle that I bought in China. It comes with a free version of the <a href="http://www.bluesoleil.com/" target="_blank">Blue Soleil</a> bluetooth stack.</p>
<p>I paired my Wiimote with my PC. This is done by holding down the 1 and 2 button on the Wiimote (leds will flash) and use the bluetooth software to set op a connection with a HID device.</p>
<p><strong>GlovePIE</strong><br />
There are several free programs on the internet that make it possible to interface your Wiimote with PC applications. I used a program called <a href="http://carl.kenner.googlepages.com/glovepie" target="_blank">GlovePIE</a>. It takes some time to understand the functions of the program because the documentation seems to be written for people that already know GlovePIE. Also the copyright disclaimer is really strange. But after investing some time to learn the functions of the programm and going through many examples and forums on the internet I found it one of the best solutions currently available. Actually real good solutions do not yet exists.</p>
<p>GlovePIE has no function to send messages to a CAN bus. So I started up my good old visual basic and made a little program that handles the CAN messaging. In the first version I used the keypressed event. I made a GlovePIE script that sends out keyboard keys when the Wiimote has a certain orientation and voila&#8230; L is for left, R is for Right and S is for Stop.</p>
<p>This is the first version of my script:</p>
<p><span style="font-size: 12px; color: #0000ff;"><em>ExitScript = HeldDown(Wiimote.Home, 3s)</em></span><span style="font-size: 12px; color: #0000ff;"> // a safety break</span></p>
<p style="font-size: 12px; color: #0000ff;"><em>if window.title == &#8220;G-rail control&#8221; then<br />
//only do this when grail control software is active</em></p>
<p><em> </em></p>
<p><em>key.RepeatFakeKeys = false<br />
</em></p>
<p style="font-size: 12px; color: #0000ff;"><em>// read values from Wiimote<br />
var.x = wiimote1.gx<br />
var.y = wiimote1.gy<br />
var.z = wiimote1.gz</em></p>
<p style="font-size: 12px; color: #0000ff;"><em>// now control the curtains </em><em><br />
if var.x &gt; 0.8 then</em></p>
<blockquote>
<p style="font-size: 12px; color: #0000ff;"><em>var.debug = &#8216;L&#8217;<br />
key.R = false<br />
key.S = false<br />
key.L = true</em></p></blockquote>
<p style="font-size: 12px; color: #0000ff;"><em>elseif var.x &lt; -0.8 then</em></p>
<blockquote>
<p style="font-size: 12px; color: #0000ff;"><em>var.debug = &#8216;R&#8217;<br />
key.S = false<br />
key.L = false<br />
key.R = true</em></p></blockquote>
<p style="font-size: 12px; color: #0000ff;"><em>elseif var.y &gt; 0.9 then</em></p>
<blockquote>
<p style="font-size: 12px; color: #0000ff;"><em>var.debug = &#8216;S&#8217;<br />
key.R = false<br />
key.L = false<br />
key.S = true</em></p></blockquote>
<p style="font-size: 12px; color: #0000ff;"><em>else</em></p>
<blockquote>
<p style="font-size: 12px; color: #0000ff;"><em>var.debug = &#8221;<br />
key.R = false<br />
key.L = false<br />
key.S = false</em></p></blockquote>
<p style="font-size: 12px; color: #0000ff;"><em>endif</em></p>
<p style="font-size: 12px; color: #0000ff;"><em>debug = var.x + &#8216; &#8216; + var.y + &#8216; &#8216; + var.z + &#8216; &#8216; + var.debug<br />
endif</em></p>
<p style="font-size: 12px; color: #0000ff;"><em>else<br />
debug = window.title<br />
endif</em></p>
<p>So the GlovePIE script sends keystrokes to a visual basic program that sends CAN messages to the curtain controllers.<strong> </strong></p>
<p><strong> </strong></p>
<p><strong>Next version<br />
</strong>After the basic version I demanded more. I wanted forcefeedback when curtains are already on their maximum position. I also wanted speech feedback and even speech control as a backup for Wiimote control. Most is basic GlovePIE functionality but getting feedback from the CAN to GlovePIE was real tricky. I ended up using the OSC (Open Sound Control) function to send messages to and from my Visual Basic program. Basically this is an UDP package on localhost. So with that I could tell GlovePIE that the curtains are on their end position and give force and audio feedback. I will soon add the technical details to this website.</p>
]]></content:encoded>
			<wfw:commentRss>http://hacks.hasse.nl/9/wii/wiindow-curtain-control/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Check out my Ambilight Fireplace!</title>
		<link>http://hacks.hasse.nl/40/led/check-out-my-ambilight-fireplace/</link>
		<comments>http://hacks.hasse.nl/40/led/check-out-my-ambilight-fireplace/#comments</comments>
		<pubDate>Tue, 17 Apr 2007 18:00:15 +0000</pubDate>
		<dc:creator>Hasse</dc:creator>
				<category><![CDATA[LED]]></category>
		<category><![CDATA[ambilight]]></category>
		<category><![CDATA[DIY]]></category>
		<category><![CDATA[fireplace]]></category>
		<category><![CDATA[RGB]]></category>

		<guid isPermaLink="false">http://hacks.hasse.nl/?p=40</guid>
		<description><![CDATA[
It makes the Philips Ambilight TV system look like child play
A what? 
Do you know that Philips TV system that lights up your wall with the same color as the picture on the TV screen? That&#8217;s what they call Ambilight. It&#8217;s a great system that ads another dimension to watching TV. It really ads a [...]]]></description>
			<content:encoded><![CDATA[<h3><a href="http://fireplace.hasse.nl/index.php"><img class="aligncenter" style="border: 0px initial initial;" src="http://fireplace.hasse.nl/header_englisch.jpg" border="0" alt="Ambilight Fireplace" width="622" height="120" /></a></h3>
<h4>It makes the Philips Ambilight TV system look like child play</h4>
<p align="left"><strong>A what? </strong></p>
<p align="left">Do you know that Philips TV system that lights up your wall with the same color as the picture on the TV screen? That&#8217;s what they call Ambilight. It&#8217;s a great system that ads another dimension to watching TV. It really ads a cozy atmosphere but&#8230;. only around the TV.</p>
<p align="left">So when we decided to build a new fireplace, I decided to start a new project to make an ambilight fireplace. Read on to see how I did it.</p>
<p align="left"><strong>Let&#8217;s start with the results:</strong></p>
<table border="0" width="750">
<tbody>
<tr>
<td width="143"><img src="http://fireplace.hasse.nl/ambilight_fireplace.gif" alt="Ambilight Fireplace Animiation" width="115" height="154" /></td>
<td width="597">
<p align="left">This small animated gif file shows just a few colors. But&#8230;</p>
<p align="left">It can make ANY COLOR</p>
<p align="left">it can do many different EFFECTS from very smooth transitions to seizure causing blisterings. Even a fire effect is not missing.</p>
<p align="left">it can also be turned off&#8230;</p>
</td>
</tr>
</tbody>
</table>
<p align="left">So now you got a small impression of what an ambilight fireplace is.</p>
<p align="left">Since you are still reading, I assume you want to know more and see every single detail about this project. In the next paragraphs I will try to show you all the ins and outs.</p>
<p align="left"><span id="more-40"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://hacks.hasse.nl/40/led/check-out-my-ambilight-fireplace/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome@Hasse&#8217;s Hacks</title>
		<link>http://hacks.hasse.nl/3/other/welcomehasses-hacks/</link>
		<comments>http://hacks.hasse.nl/3/other/welcomehasses-hacks/#comments</comments>
		<pubDate>Tue, 26 Sep 2000 20:57:43 +0000</pubDate>
		<dc:creator>Hasse</dc:creator>
				<category><![CDATA[other]]></category>
		<category><![CDATA[welcome]]></category>

		<guid isPermaLink="false">http://hacks.hasse.nl/?p=3</guid>
		<description><![CDATA[From now on, I will be collecting all my projects on this weblog.  After this post I will move all my different project websites to this weblog. I hope you enjoy reading about my projects. In case you have questions, please contact me.
]]></description>
			<content:encoded><![CDATA[<p>From now on, I will be collecting all my projects on this weblog.  After this post I will move all my different project websites to this weblog. I hope you enjoy reading about my projects. In case you have questions, please contact me.</p>
]]></content:encoded>
			<wfw:commentRss>http://hacks.hasse.nl/3/other/welcomehasses-hacks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
