<?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>nattster &#187; micropro</title>
	<atom:link href="http://nattster.siamdev.net/tag/micropro/feed/" rel="self" type="application/rss+xml" />
	<link>http://nattster.siamdev.net</link>
	<description>ลั่ลล้า...</description>
	<lastBuildDate>Sun, 25 Dec 2011 05:13:38 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>นาฬิกาปลุกทำมือ</title>
		<link>http://nattster.siamdev.net/2010/05/micropro-alarm-clock/</link>
		<comments>http://nattster.siamdev.net/2010/05/micropro-alarm-clock/#comments</comments>
		<pubDate>Fri, 21 May 2010 12:23:19 +0000</pubDate>
		<dc:creator>nattster</dc:creator>
				<category><![CDATA[บล็อก]]></category>
		<category><![CDATA[alarm clock]]></category>
		<category><![CDATA[micropro]]></category>

		<guid isPermaLink="false">http://nattster.siamdev.net/?p=1104</guid>
		<description><![CDATA[นาฬิกาปลุกทำมืออันนี้ใช้ &#8220;เสียงพูด&#8221; เป็นเสียงปลุกครับ ลองดู Demo ดีกว่า&#8230; ใครฟังออก ว่ามันพูดว่าอะไร (จะดีใจมาก แต่ไม่มีรางวัลให้ เอิ๊กๆ) จริงๆ แล้วเสียงปลุกเนี่ย จะอัดเสียงอะไรก็ได้ยาวไม่เกิน 5 วินาที ใครอยากตื่นขึ้นมาด้วยเสียงอะไร&#8230; เสียงใคร&#8230; ก็เลือกได้ตามใจชอบครับ ทำไมต้องทำเองหงะ? ปี 3 ลงเรียนวิชาเลือก Microprocessor ครับ ตอนนี้เหมือนจะเป็นวิชาบังคับไปแล้ว การบ้านชิ้นนึงที่ต้องทำคือ &#8220;นาฬิกาปลุก&#8221; เรือนนี้หละครับ การบ้านนี้ทำแล้ว &#8220;สนุก&#8221; มาก.. สนุกที่ได้จับหัวแร้ง ได้สูดดมๆ ตะกั่ว (จริงๆ เป็นไอระเหยของน้ำยาในตะกั่วกรดแหละ&#8230; ถ้าไอตะกั่วจริงๆ คงต้องเข้าโรงพยาบาลไปแล้ว) ทำเอง จะคุ้มมั้ย ราคาเท่าไหร่? ไม่คุ้มครับ ฮ่าๆ&#8230; นาฬิกาปลุกเรือนนี้ราคาวัสดุเฉยๆ น่าจะ 400-500 บาท (ไม่รวมค่าแรง ของหนุ่มโรงงาน @nattster ที่ต้องนั่งทำถึงตี 2 ตี 3 [...]]]></description>
			<content:encoded><![CDATA[<p>นาฬิกาปลุกทำมืออันนี้ใช้ &#8220;เสียงพูด&#8221; เป็นเสียงปลุกครับ</p>
<p>ลองดู Demo ดีกว่า&#8230; ใครฟังออก ว่ามันพูดว่าอะไร (จะดีใจมาก แต่ไม่มีรางวัลให้ เอิ๊กๆ)<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/SvVyKsT12a0&amp;hl=en_US&amp;fs=1&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/SvVyKsT12a0&amp;hl=en_US&amp;fs=1&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>จริงๆ แล้วเสียงปลุกเนี่ย จะอัดเสียงอะไรก็ได้ยาวไม่เกิน 5 วินาที<br />
ใครอยากตื่นขึ้นมาด้วยเสียงอะไร&#8230; เสียงใคร&#8230; ก็เลือกได้ตามใจชอบครับ</p>
<p><span id="more-1104"></span></p>
<h3>ทำไมต้องทำเองหงะ?</h3>
<p>ปี 3 ลงเรียนวิชาเลือก Microprocessor ครับ ตอนนี้เหมือนจะเป็นวิชาบังคับไปแล้ว<br />
การบ้านชิ้นนึงที่ต้องทำคือ &#8220;นาฬิกาปลุก&#8221; เรือนนี้หละครับ</p>
<p>การบ้านนี้ทำแล้ว &#8220;สนุก&#8221; มาก.. สนุกที่ได้จับหัวแร้ง ได้สูดดมๆ ตะกั่ว<br />
(จริงๆ เป็นไอระเหยของน้ำยาในตะกั่วกรดแหละ&#8230; ถ้าไอตะกั่วจริงๆ คงต้องเข้าโรงพยาบาลไปแล้ว)</p>
<h3>ทำเอง จะคุ้มมั้ย ราคาเท่าไหร่?</h3>
<p>ไม่คุ้มครับ ฮ่าๆ&#8230; นาฬิกาปลุกเรือนนี้ราคาวัสดุเฉยๆ น่าจะ 400-500 บาท (ไม่รวมค่าแรง ของหนุ่มโรงงาน <a href="http://twitter.com/nattster">@nattster</a> ที่ต้องนั่งทำถึงตี 2 ตี 3 ด้วยนะเธอว์)</p>
<h3>ขั้นตอนการทำ</h3>
<blockquote><p>นี่ไม่ใช่วิธีสอนทำระเบิดนะจ๊ะ&#8230;. หวังว่าจะไม่โดน block &#8211; -&#8221;</p></blockquote>
<p>อธิบายแบบรายการทำอาหาร ทาง TV ละกัน (รายละเอียดเชิญหลังไมค์ <img src='http://nattster.siamdev.net/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> )</p>
<p><strong>1. ออกแบบวงจร</strong> แต่ช้าก่อน&#8230;. ลุงบึกฃ์ (เมพแห่ง hardware) ได้ออกแบบไว้ให้แล้ว ดังนั้นข้ามข้อนี้ไป<br />
<strong>2. ซื้ออุปกรณ์</strong>&#8230; นั่งรถไปบ้านหม้อ ก็ได้นะ แต่มันไกลและรถติดมากกก&#8230; สั่งผ่านเว็บดีกว่า (ไม่ได้โฆษณานะ แต่แนะนำสั่งผ่าน <a href="http://www.es.co.th">เว็บ ES</a> เขาส่งพัสดุให้ถึงบ้านเลย)<br />
<strong>3. ลุย! (คลิกที่รูป+ดูคำอธิบายนะครับ)</strong><br />

<a href='http://nattster.siamdev.net/2010/05/micropro-alarm-clock/attachment/49760169/' title='ประกอบวงจรตามที่ออกแบบไว้'><img width="150" height="150" src="http://nattster.siamdev.net/wp-content/uploads/2010/05/49760169-150x150.jpg" class="attachment-thumbnail" alt="ประกอบวงจรตามที่ออกแบบไว้" title="ประกอบวงจรตามที่ออกแบบไว้" /></a>
<a href='http://nattster.siamdev.net/2010/05/micropro-alarm-clock/attachment/49787620/' title='ค่อยๆ ทำทีละส่วนมาประกอบกัน (สายไฟหยุ่บหยับมาก)'><img width="150" height="150" src="http://nattster.siamdev.net/wp-content/uploads/2010/05/49787620-150x150.jpg" class="attachment-thumbnail" alt="ค่อยๆ ทำทีละส่วนมาประกอบกัน (สายไฟหยุ่บหยับมาก)" title="ค่อยๆ ทำทีละส่วนมาประกอบกัน (สายไฟหยุ่บหยับมาก)" /></a>
<a href='http://nattster.siamdev.net/2010/05/micropro-alarm-clock/attachment/56058727/' title='เขียนโปรแกรมใส่ลงไป'><img width="150" height="150" src="http://nattster.siamdev.net/wp-content/uploads/2010/05/56058727-150x150.png" class="attachment-thumbnail" alt="เขียนโปรแกรมใส่ลงไป" title="เขียนโปรแกรมใส่ลงไป" /></a>
<a href='http://nattster.siamdev.net/2010/05/micropro-alarm-clock/attachment/50170062/' title='Work แล้วๆ (แต่มันยังปลุกเป็นเสียงปี๊บๆ อยู่)'><img width="150" height="150" src="http://nattster.siamdev.net/wp-content/uploads/2010/05/50170062-150x150.jpg" class="attachment-thumbnail" alt="Work แล้วๆ (แต่มันยังปลุกเป็นเสียงปี๊บๆ อยู่)" title="Work แล้วๆ (แต่มันยังปลุกเป็นเสียงปี๊บๆ อยู่)" /></a>
<a href='http://nattster.siamdev.net/2010/05/micropro-alarm-clock/attachment/57001812/' title='ทำวงจรอัดเสียงพูด… เจอปัญหา เสียงออกมา “ซ่าาาาาา ซ่าาาา ซ่าาาา”'><img width="150" height="150" src="http://nattster.siamdev.net/wp-content/uploads/2010/05/57001812-150x150.jpg" class="attachment-thumbnail" alt="ทำวงจรอัดเสียงพูด… เจอปัญหา เสียงออกมา “ซ่าาาาาา ซ่าาาา ซ่าาาา”" title="ทำวงจรอัดเสียงพูด… เจอปัญหา เสียงออกมา “ซ่าาาาาา ซ่าาาา ซ่าาาา”" /></a>
<a href='http://nattster.siamdev.net/2010/05/micropro-alarm-clock/attachment/60416932/' title='สำเร็จแล้ว เย้!'><img width="150" height="150" src="http://nattster.siamdev.net/wp-content/uploads/2010/05/60416932-150x150.jpg" class="attachment-thumbnail" alt="สำเร็จแล้ว เย้!" title="สำเร็จแล้ว เย้!" /></a>
</p>
<p>ปล. ฝากถึงน้องๆ ที่กำลังจะเรียนวิชานี้นะครับ&#8230; ลุยเต็มที่ครับๆ สนุกจริงๆ นะขอบอก <img src='http://nattster.siamdev.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<strong>ปล2. มีใครสนใจ อยากได้นาฬิกาปลุกเรือนนี้ไปใช้มั้ยครับ&#8230; แถมเสียงปลุกเสี่ยวๆ แบบใน clip วีดีโอด้วยนะเออ&#8230;</strong><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://nattster.siamdev.net/2010/05/micropro-alarm-clock/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Getting a FTDI USB-to-Serial converter to work on Ubuntu 9.10</title>
		<link>http://nattster.siamdev.net/2010/02/getting-a-ftdi-usb-to-serial-converter-to-work-on-ubuntu-9-10/</link>
		<comments>http://nattster.siamdev.net/2010/02/getting-a-ftdi-usb-to-serial-converter-to-work-on-ubuntu-9-10/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 12:57:32 +0000</pubDate>
		<dc:creator>nattster</dc:creator>
				<category><![CDATA[คอมพิวเตอร์จ๋า]]></category>
		<category><![CDATA[ftdi]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[micropro]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false">http://nattster.siamdev.net/?p=638</guid>
		<description><![CDATA[I bought a USB-to-Serial converter from ETTeam.com and test it with Ubuntu 9.10 (Karmic kernel 2.6.31-18-generic.) I&#8217;ve found that it doesn&#8217;t show as /dev/ttyUSB0 as other generic USB-to-Serial converter do. I&#8217;ve been googling for the solution for a while and found this bug report: ftdi serial driver broken in linux-image-2.6.31-14-generic (2.6.31-14.48) It said that the [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.etteam.com/product/intf/et-usb-rs232-mini.jpg" width="200" align="left" style="padding: 5px;" /> I bought a USB-to-Serial converter from ETTeam.com and test it with Ubuntu 9.10 (Karmic kernel 2.6.31-18-generic.) I&#8217;ve found that it doesn&#8217;t show as /dev/ttyUSB0 as other generic USB-to-Serial converter do.<br />
<span id="more-638"></span><br />
I&#8217;ve been googling for the solution for a while and found this bug report: <a href="https://bugs.launchpad.net/ubuntu/+source/linux/+bug/460857">ftdi serial driver broken in linux-image-2.6.31-14-generic (2.6.31-14.48)</a><br />
It said that the fix is released with linux-kernel 2.6.32-13.18.</p>
<p>So I download a new 2.6.32 kernel package (.deb) from <a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.32.8/">Ubuntu&#8217;s kernel-ppa</a>. I installed these package with a command:</p>

<div class="wp_syntax"><div class="code"><pre class="generic" style="font-family:monospace;">sudo dpkg -i *.deb</pre></div></div>

<p>Now, I can load a ftdi_sio (FTDI Serial Input/Output) driver with a modprobe command. But it doesn&#8217;t recognize my device yet. I ran a <strong>lsusb</strong> command and found that my converter has a different Product ID. (It might be customized by ETTeam.com)</p>

<div class="wp_syntax"><div class="code"><pre class="generic" style="font-family:monospace;">$ lsusb
Bus 005 Device 005: ID 0403:e2e6 Future Technology Devices International, Ltd</pre></div></div>

<p>(0403 = vendor ID, e2e6 = product ID)</p>
<p>To get it work, I have to run the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="generic" style="font-family:monospace;">$ sudo modprobe ftdi_sio vendor=0x0403 product=0xe2e6</pre></div></div>

<p>Then I replug the converter and it is shown as /dev/ttyUSB0 now!</p>
<p><!-- PHP 5.x --></p>
]]></content:encoded>
			<wfw:commentRss>http://nattster.siamdev.net/2010/02/getting-a-ftdi-usb-to-serial-converter-to-work-on-ubuntu-9-10/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

