<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>- 富 - XSATRIA - 富 -</title>
	<atom:link href="http://xsatria.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://xsatria.wordpress.com</link>
	<description>- digitall electronics engineering -</description>
	<lastBuildDate>Mon, 09 Jan 2012 10:16:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='xsatria.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>- 富 - XSATRIA - 富 -</title>
		<link>http://xsatria.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://xsatria.wordpress.com/osd.xml" title="- 富 - XSATRIA - 富 -" />
	<atom:link rel='hub' href='http://xsatria.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Serial Modem Configuration for Dial-Up in linux</title>
		<link>http://xsatria.wordpress.com/2012/01/07/serial-modem-configuration-for-dial-up-in-linux/</link>
		<comments>http://xsatria.wordpress.com/2012/01/07/serial-modem-configuration-for-dial-up-in-linux/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 20:52:09 +0000</pubDate>
		<dc:creator>satriant</dc:creator>
				<category><![CDATA[Embedded]]></category>

		<guid isPermaLink="false">http://xsatria.wordpress.com/?p=257</guid>
		<description><![CDATA[this is the old stuff that I found in my drawer. Wavecom Modem GPRS class II. hee&#8230; ok, here I&#8217;ll tell you the steps to dialing up the modem until you got an DNS from your ISP. checking &#38; setting modem: 1. plug in &#38; power up your modem to serial com 2. goin to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=257&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>this is the old stuff that I found in my drawer.<br />
Wavecom Modem GPRS class II. hee&#8230;</p>
<p>ok, here I&#8217;ll tell you the steps to dialing up the modem<br />
until you got an DNS from your ISP.</p>
<p>checking &amp; setting modem:<br />
1. plug in &amp; power up your modem to serial com<br />
2. goin to your favorite serial terminal.(minicom, gtkterm etc&#8230;)<br />
3. example in minicom.<br />
   #minicom -s<br />
   the terminal will show you the choices and then pick portsetting<br />
   the default baudrate of wavecom is 115200<br />
4. setting some modem parameters<br />
   in minicom that connected to your modem just enter(without double quote) :<br />
   &#8220;AT&#8221;<br />
   if correct, modem should answer<br />
   &#8220;OK&#8221;<br />
   then disable echo.<br />
   &#8220;ATE0&#8243;<br />
   setting baud<br />
   &#8220;AT+IPR=115200&#8243;<br />
   saving configurations<br />
   &#8220;AT&amp;W&#8221;</p>
<p>ok, now exit minicom(ALT-Z-X)</p>
<p>these are the steps of dialing up:</p>
<p>1. make sure that you have wvdial installed, otherwise you have to install it<br />
   just enter this command at terminal :</p>
<p>   # apt-get install wvdial</p>
<p>2. after you got the wvdial installed, now edit the /etc/wvdial.conf</p>
<p>   # vim /etc/wvdial.conf</p>
<p>   because I&#8217;m using three operator(ISP) this is the configuration<br />
   *please suit to your preferred ISP.</p>
<p>   [Dialer Defaults]<br />
   Init1 = ATZ<br />
   Init2 = AT+CGDCONT=1,&#8221;IP&#8221;,&#8221;3gprs&#8221;<br />
   Modem Type = Analog Modem<br />
   ISDN = 0<br />
   Phone = *99***1#<br />
   Modem = /dev/ttyS0<br />
   Username = 3gprs<br />
   Password = 3gprs<br />
   Baud = 115200</p>
<p>   save and exit from editor.</p>
<p>3. now for dialing up, just enter wvdial in your terminal(make sure that you&#8217;re root)</p>
<p>   # wvdial</p>
<p>if success you&#8217;ll get dns and ip from your ISP.<br />
this is the example of my success connection :</p>
<p>tommy@tommy-home:~$ sudo wvdial<br />
&#8211;&gt; WvDial: Internet dialer version 1.60<br />
&#8211;&gt; Initializing modem.<br />
&#8211;&gt; Sending: ATZ<br />
OK<br />
&#8211;&gt; Sending: AT+CGDCONT=1,&#8221;IP&#8221;,&#8221;3gprs&#8221;<br />
OK<br />
&#8211;&gt; Modem initialized.<br />
&#8211;&gt; Sending: ATDT*99***1#<br />
&#8211;&gt; Waiting for carrier.<br />
CONNECT 115200<br />
~[7f]}#@!}!}!} }6}!}$}%\}&#8221;}&amp;} } } } }&#8217;}&#8221;}(}&#8221;}#}$@#&amp;4~<br />
&#8211;&gt; Carrier detected.  Waiting for prompt.<br />
~[7f]}#@!}!}!} }6}!}$}%\}&#8221;}&amp;} } } } }&#8217;}&#8221;}(}&#8221;}#}$@#&amp;4~<br />
&#8211;&gt; PPP negotiation detected.<br />
&#8211;&gt; Starting pppd at Sat Jan  7 03:17:29 2012<br />
&#8211;&gt; Pid of pppd: 2036<br />
&#8211;&gt; Using interface ppp0<br />
&#8211;&gt; pppd: p�r ��r<br />
&#8211;&gt; pppd: p�r ��r<br />
&#8211;&gt; pppd: p�r ��r<br />
&#8211;&gt; pppd: p�r ��r<br />
&#8211;&gt; pppd: p�r ��r<br />
&#8211;&gt; local  IP address 10.25.146.98<br />
&#8211;&gt; pppd: p�r ��r<br />
&#8211;&gt; remote IP address 192.168.111.111<br />
&#8211;&gt; pppd: p�r ��r<br />
&#8211;&gt; primary   DNS address 10.0.18.54<br />
&#8211;&gt; pppd: p�r ��r<br />
&#8211;&gt; secondary DNS address 10.0.28.3<br />
&#8211;&gt; pppd: p�r ��r </p>
<p>OK, tengkyu and goodnite <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xsatria.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xsatria.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xsatria.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xsatria.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xsatria.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xsatria.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xsatria.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xsatria.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xsatria.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xsatria.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xsatria.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xsatria.wordpress.com/257/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xsatria.wordpress.com/257/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xsatria.wordpress.com/257/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=257&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xsatria.wordpress.com/2012/01/07/serial-modem-configuration-for-dial-up-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5ef32631a756aafe9fadee303dff2014?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tommy</media:title>
		</media:content>
	</item>
		<item>
		<title>on going &#8212;-&gt; DONE</title>
		<link>http://xsatria.wordpress.com/2011/10/27/on-going/</link>
		<comments>http://xsatria.wordpress.com/2011/10/27/on-going/#comments</comments>
		<pubDate>Thu, 27 Oct 2011 06:29:18 +0000</pubDate>
		<dc:creator>satriant</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://xsatria.wordpress.com/?p=255</guid>
		<description><![CDATA[1. robot explorer: special function robot for search &#38; rescue. wireless control up to 100 meters AVR Atmega16 for Controller wireless camera with auto brightness 4 DOF Arm for Catch Something / Grip UPDATED : DONE 2. Radar Simulation This simulation for non-comercial Output Image drawn to Framebuffer 2-D Vector Imaging Technology UPDATED : DONE [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=255&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. robot explorer:<br />
   special function robot for search &amp; rescue.<br />
   wireless control up to 100 meters<br />
   AVR Atmega16 for Controller<br />
   wireless camera with auto brightness<br />
   4 DOF Arm for Catch Something / Grip</p>
<p>   <strong>UPDATED : DONE</strong></p>
<p>2. Radar Simulation<br />
   This simulation for non-comercial<br />
   Output Image drawn to Framebuffer<br />
   2-D Vector Imaging Technology</p>
<p>   <strong>UPDATED : DONE</strong></p>
<p>3. Home Automation &amp; Security<br />
   Automation for some kind of home appliance<br />
   PIR Sensors &amp; Camera<br />
   Capturing Image when the Movement Sensor Triggered</p>
<p>   <strong>UPDATED : DONE</strong></p>
<p>   someday if I have any spare time, I will post the picture and how them work <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xsatria.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xsatria.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xsatria.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xsatria.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xsatria.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xsatria.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xsatria.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xsatria.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xsatria.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xsatria.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xsatria.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xsatria.wordpress.com/255/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xsatria.wordpress.com/255/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xsatria.wordpress.com/255/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=255&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xsatria.wordpress.com/2011/10/27/on-going/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5ef32631a756aafe9fadee303dff2014?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tommy</media:title>
		</media:content>
	</item>
		<item>
		<title>Installing and setting TFTPD in Ubuntu</title>
		<link>http://xsatria.wordpress.com/2011/10/20/installing-and-setting-tftpd-in-ubuntu/</link>
		<comments>http://xsatria.wordpress.com/2011/10/20/installing-and-setting-tftpd-in-ubuntu/#comments</comments>
		<pubDate>Thu, 20 Oct 2011 04:52:49 +0000</pubDate>
		<dc:creator>satriant</dc:creator>
				<category><![CDATA[Embedded]]></category>
		<category><![CDATA[tftpboot]]></category>
		<category><![CDATA[tftp]]></category>
		<category><![CDATA[xinetd]]></category>

		<guid isPermaLink="false">http://xsatria.wordpress.com/?p=252</guid>
		<description><![CDATA[1. Install tftpd and related packages. $ sudo apt-get install xinetd tftpd tftp 2. Create /etc/xinetd.d/tftp and put this entry: service tftp { protocol = udp port = 69 socket_type = dgram wait = yes user = nobody server = /usr/sbin/in.tftpd server_args = /tftpboot disable = no } 3. Make /tftpboot directory $ sudo mkdir [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=252&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>1. Install tftpd and related packages.</p>
<p>$ sudo apt-get install xinetd tftpd tftp</p>
<p>2. Create /etc/xinetd.d/tftp and put this entry:</p>
<p>service tftp<br />
{<br />
protocol        = udp<br />
port            = 69<br />
socket_type     = dgram<br />
wait            = yes<br />
user            = nobody<br />
server          = /usr/sbin/in.tftpd<br />
server_args     = /tftpboot<br />
disable         = no<br />
}</p>
<p>3. Make /tftpboot directory</p>
<p>$ sudo mkdir /tftpboot<br />
$ sudo chmod -R 777 /tftpboot<br />
$ sudo chown -R nobody /tftpboot</p>
<p>4. Start tftpd through xinetd</p>
<p>$ sudo /etc/init.d/xinetd start</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xsatria.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xsatria.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xsatria.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xsatria.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xsatria.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xsatria.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xsatria.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xsatria.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xsatria.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xsatria.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xsatria.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xsatria.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xsatria.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xsatria.wordpress.com/252/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=252&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xsatria.wordpress.com/2011/10/20/installing-and-setting-tftpd-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5ef32631a756aafe9fadee303dff2014?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tommy</media:title>
		</media:content>
	</item>
		<item>
		<title>You don&#039;t have to listen. I just like to talk.</title>
		<link>http://xsatria.wordpress.com/2011/05/18/you-dont-have-to-listen-i-just-like-to-talk/</link>
		<comments>http://xsatria.wordpress.com/2011/05/18/you-dont-have-to-listen-i-just-like-to-talk/#comments</comments>
		<pubDate>Wed, 18 May 2011 09:44:03 +0000</pubDate>
		<dc:creator>satriant</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://spinlocked.wordpress.com/?p=66</guid>
		<description><![CDATA[Sometimes we just need a place to talk, even if no one is really listening. Although, to be honest, I really hope someone is listening!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=227&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sometimes we just need a place to talk, even if no one is really listening. Although, to be honest, I really hope someone is listening!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xsatria.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xsatria.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xsatria.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xsatria.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xsatria.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xsatria.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xsatria.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xsatria.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xsatria.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xsatria.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xsatria.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xsatria.wordpress.com/227/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xsatria.wordpress.com/227/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xsatria.wordpress.com/227/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=227&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xsatria.wordpress.com/2011/05/18/you-dont-have-to-listen-i-just-like-to-talk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5ef32631a756aafe9fadee303dff2014?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tommy</media:title>
		</media:content>
	</item>
		<item>
		<title>NMEA Parser &#8211; GPS Messages</title>
		<link>http://xsatria.wordpress.com/2011/04/21/nmea-parser-gps-messages/</link>
		<comments>http://xsatria.wordpress.com/2011/04/21/nmea-parser-gps-messages/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 08:16:11 +0000</pubDate>
		<dc:creator>satriant</dc:creator>
				<category><![CDATA[Electronics and Robotics]]></category>

		<guid isPermaLink="false">http://spinlocked.wordpress.com/?p=67</guid>
		<description><![CDATA[okay..enough boss.., gw jadi orang multitalenan d kantor. smua2 knp harus gw, tp okelah gw juga lagi nuntut ilmu..hehehe&#8230; NMEA : whats NMEA ? NMEA is a combined electrical and data specification for communication between marine electronic devices such as echo sounder, sonars, anemometer, gyrocompass, autopilot, GPS receivers and many other types of instruments. It [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=226&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>okay..enough boss.., gw jadi orang multitalenan d kantor. smua2 knp harus gw, tp okelah gw juga lagi nuntut ilmu..hehehe&#8230;</p>
<p><strong>NMEA : whats NMEA ?</strong></p>
<p><strong>NMEA</strong> is a combined electrical and data specification for communication between marine electronic devices such as echo sounder, sonars, anemometer, gyrocompass, autopilot, GPS receivers and many other types of instruments. It has been defined by, and is controlled by, the U.S.-based National Marine Electronics Association</p>
<p>okeh, dont be pusing ya, NMEA is one of many Message Protocol from GPS Satellite.</p>
<p>These are how you get your location from NMEA message :</p>
<p>from your GPS receiver u just listen to Serial Ports that have configurations:</p>
<p><strong> CONFIGS:</strong></p>
<p><em>1. ini pake alias this using fix baudrate 4800</em></p>
<p><em>2. databits 8</em></p>
<p><em>3. Parity &#8211; NONE</em></p>
<p><em>4. STOP bits 1</em></p>
<p><em>5. Handshake &#8211; None, if u wanna force of this handshake, just handshake with ur own hand..hahahahaha</em><br />
<strong>ANSI C / Parser Program :</strong></p>
<p>for example this is what u got from your receiver<br />
$GPRMC,095146.000,A,0615.5814,S,10647.3518,E,0.16,238.45,090211,,,A*79</p>
<p>$GPVTG,238.45,T,,M,0.16,N,0.3,K,N*0E</p>
<p>$GPGGA,095147.000,0615.5811,S,10647.3526,E,1,03,3.2,57.6,M,2.9,M,,0000*4B</p>
<p>$GPGSA,A,2,12,18,25,,,,,,,,,,3.4,3.2,1.0*39</p>
<p>$GPRMC,095147.000,A,0615.5811,S,10647.3526,E,0.33,248.75,090211,,,A*73</p>
<p>$GPVTG,248.75,T,,M,0.33,N,0.6,K,N*08</p>
<p>$GPGGA,095148.000,0615.5808,S,10647.3532,E,1,03,3.2,57.6,M,2.9,M,,0000*49</p>
<p>$GPGGA,095149.000,0615.5803,S,10647.3542,E,1,03,3.2,57.7,M,2.9,M,,0000*45</p>
<p>$GPGSA,A,2,12,18,25,,,,,,,,,,3.4,3.2,1.0*39</p>
<p>$GPRMC,095149.000,A,0615.5803,S,10647.3542,E,1.11,73.30,090211,,,A*46</p>
<p>$GPVTG,73.30,T,,M,1.11,N,2.1,K,N*37</p>
<p>$GPGGA,095150.000,0615.5803,S,10647.3537,E,1,03,3.2,57.6,M,2.9,M,,0000*4E</p>
<p>$GPGSA,A,2,12,18,25,,,,,,,,,,3.4,3.2,1.0*39</p>
<p>$GPGGA,095151.000,0615.5802,S,10647.3536,E,1,03,3.2,57.7,M,2.9,M,,0000*4E</p>
<p><strong>NOW can u read what they mean? hihihihihi&#8230;</strong></p>
<p>in this program I just parse the <strong>GPGGA</strong> part that is enough to get your <strong>LATITUDE &amp; LONGITUDE</strong></p>
<p>#include &lt;stdio.h&gt;<br />
#include &lt;string.h&gt;</p>
<p>int main()<br />
{<br />
FILE *file = fopen(&#8220;gps.txt&#8221;, &#8220;r&#8221;);<br />
char Buffer[1024] = {0};<br />
char temp [512] = {0};<br />
while(fgets(Buffer,1024,file) != NULL)<br />
{<br />
if(Buffer[0] == &#8216;$&#8217;)<br />
{<br />
if (memcmp(Buffer+1,&#8221;GPGGA&#8221;,5) == 0)<br />
{<br />
printf(&#8220;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;\n&#8221;);<br />
printf(&#8220;%s\n&#8221;, Buffer);<br />
char *token = strtok(Buffer+6,&#8221;,&#8221;);<br />
int i = 0;<br />
while(token != NULL)<br />
{<br />
switch(i)<br />
{<br />
case 0:<br />
// cout &lt;&lt;&#8221;Universal Time Coordinated (UTC): &#8221; &lt;&lt;token &lt;&lt; endl;<br />
break;<br />
case 1:<br />
strcpy(temp,token);<br />
token = strtok(NULL,&#8221;, &#8220;);<br />
strcat(temp,&#8221;, &#8220;);<br />
strcat(temp,token);<br />
printf(&#8220;Latitude : %s\n&#8221;, temp);<br />
i++;<br />
break;<br />
case 2:<br />
// cout &lt;&lt; &#8220;North or South :&#8221; &lt;&lt;token &lt;&lt; endl;<br />
break;<br />
case 3:<br />
strcpy(temp,token);<br />
token = strtok(NULL,&#8221;, &#8220;);<br />
strcat(temp,&#8221;, &#8220;);<br />
strcat(temp,token);<br />
i++;<br />
printf(&#8220;Longitude : %s\n&#8221;, temp);<br />
break;<br />
case 4:<br />
// cout &lt;&lt;&#8221;East or West :&#8221; &lt;&lt;token &lt;&lt; endl;<br />
break;<br />
case 5:<br />
// cout &lt;&lt; &#8220;GPS Quality Indicator :&#8221;&lt;&lt;token &lt;&lt; endl;<br />
break;<br />
case 6:<br />
// cout &lt;&lt; &#8220;Number of satellites in view, 00 &#8211; 12 :&#8221;&lt;&lt;token &lt;&lt; endl;<br />
break;<br />
case 7:<br />
// cout &lt;&lt; &#8220;Horizontal Dilution of precision :&#8221;&lt;&lt;token &lt;&lt; endl;<br />
break;<br />
case 8:<br />
strcpy(temp,token);<br />
token = strtok(NULL,&#8221;, &#8220;);<br />
strcat(temp,&#8221;, &#8220;);<br />
strcat(temp,token);<br />
i++;<br />
printf(&#8220;Altitude : %s\n&#8221;, temp);<br />
break;<br />
case 9:<br />
// cout &lt;&lt; &#8220;Units of antenna altitude, meters :&#8221;&lt;&lt;token &lt;&lt; endl;<br />
break;<br />
case 10:<br />
// cout &lt;&lt; &#8220;Geoidal separation :&#8221;&lt;&lt;token &lt;&lt; endl;<br />
break;<br />
case 11:<br />
// cout &lt;&lt; &#8220;Units of geoidal separation :&#8221;&lt;&lt;token &lt;&lt; endl;<br />
break;<br />
case 12:<br />
// cout &lt;&lt; &#8220;Age of differential GPS data :&#8221;&lt;&lt;token &lt;&lt; endl;<br />
break;<br />
case 13:<br />
// cout &lt;&lt; &#8220;Differential reference station ID :&#8221;&lt;&lt;token &lt;&lt; endl;<br />
break;<br />
case 14:<br />
// cout &lt;&lt; &#8220;Checksum :&#8221;&lt;&lt;token &lt;&lt; endl;<br />
break;<br />
default:<br />
break;<br />
}<br />
i++;<br />
token = strtok(NULL,&#8221;,&#8221;);<br />
}<br />
getchar();<br />
}<br />
}<br />
}<br />
}</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xsatria.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xsatria.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xsatria.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xsatria.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xsatria.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xsatria.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xsatria.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xsatria.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xsatria.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xsatria.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xsatria.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xsatria.wordpress.com/226/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xsatria.wordpress.com/226/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xsatria.wordpress.com/226/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=226&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xsatria.wordpress.com/2011/04/21/nmea-parser-gps-messages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5ef32631a756aafe9fadee303dff2014?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tommy</media:title>
		</media:content>
	</item>
		<item>
		<title>error while loading shared libraries: /usr/local/lib/libgcc_s.so.1: ELF file OS ABI invalid</title>
		<link>http://xsatria.wordpress.com/2011/04/18/error-while-loading-shared-libraries-usrlocalliblibgcc_s-so-1-elf-file-os-abi-invalid/</link>
		<comments>http://xsatria.wordpress.com/2011/04/18/error-while-loading-shared-libraries-usrlocalliblibgcc_s-so-1-elf-file-os-abi-invalid/#comments</comments>
		<pubDate>Mon, 18 Apr 2011 04:12:55 +0000</pubDate>
		<dc:creator>satriant</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[libgcc_s.so.1]]></category>
		<category><![CDATA[library error]]></category>

		<guid isPermaLink="false">http://spinlocked.wordpress.com/?p=64</guid>
		<description><![CDATA[heelooo&#8230; this is happen after I&#8217; finished installing one application from apt-get. when u open a application from terminal, it would appear something like this : error while loading shared libraries: /usr/local/lib/libgcc_s.so.1: ELF file OS ABI invalid problem: the libgcc_s.so.1 wasn&#8217;t succesfully linked. just check at : ls -l /lib/libgcc_s.so.1 thats the correct lib and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=225&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>heelooo&#8230; this is happen after I&#8217; finished installing one application from apt-get.</p>
<p>when u open a application from terminal, it would appear something like this :</p>
<p>error while loading shared libraries: /usr/local/lib/libgcc_s.so.1: ELF file OS ABI invalid</p>
<p>problem:<br />
the libgcc_s.so.1 wasn&#8217;t succesfully linked.</p>
<p>just check at :<br />
ls -l /lib/libgcc_s.so.1</p>
<p>thats the correct lib and now you can remove the /usr/local/lib.libgcc_s.so.1 and replace with the correct lib.</p>
<p># cp /lib/libgcc_s.so.1  /usr/local/lib/libgcc_s.so.1</p>
<p>now, all work fine.. hehe&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xsatria.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xsatria.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xsatria.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xsatria.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xsatria.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xsatria.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xsatria.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xsatria.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xsatria.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xsatria.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xsatria.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xsatria.wordpress.com/225/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xsatria.wordpress.com/225/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xsatria.wordpress.com/225/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=225&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xsatria.wordpress.com/2011/04/18/error-while-loading-shared-libraries-usrlocalliblibgcc_s-so-1-elf-file-os-abi-invalid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5ef32631a756aafe9fadee303dff2014?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tommy</media:title>
		</media:content>
	</item>
		<item>
		<title>Changing IP Address from DHCP to Static IP in Ubuntu</title>
		<link>http://xsatria.wordpress.com/2011/04/07/changing-ip-address-from-dhcp-to-static-ip-in-ubuntu/</link>
		<comments>http://xsatria.wordpress.com/2011/04/07/changing-ip-address-from-dhcp-to-static-ip-in-ubuntu/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 04:24:50 +0000</pubDate>
		<dc:creator>satriant</dc:creator>
				<category><![CDATA[Common]]></category>

		<guid isPermaLink="false">http://spinlocked.wordpress.com/?p=61</guid>
		<description><![CDATA[Hello&#8230; this will remind me.. hihhihi&#8230; ok, lets now open the interfaces file $ sudo vim /etc/network/interfaces for the default, you&#8217;ll see in the file auto eth0 iface eth0 inet dhcp ok, now we&#8217;re going to change the way from DHCP to Static, just enter these text, and suit to your needs auto eth0 iface [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=224&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello&#8230; this will remind me.. hihhihi&#8230;</p>
<p>ok, lets now open the interfaces file</p>
<p><strong>$ sudo vim /etc/network/interfaces</strong></p>
<p>for the default, you&#8217;ll see in the file</p>
<p><em><strong>auto eth0</strong></em><br />
<em><strong>iface eth0 inet dhcp</strong></em></p>
<p>ok, now we&#8217;re going to change the way from DHCP to Static, just enter these text, and suit to your needs</p>
<p><em><strong> auto eth0</strong></em><br />
<em><strong> iface eth0 inet static</strong></em><br />
<em><strong> address        192.168.1.100</strong></em><br />
<em><strong> netmask     255.255.255.0</strong></em><br />
<em><strong> network      192.168.1.0</strong></em><br />
<em><strong> broadcast  192.168.1.255</strong></em><br />
<em><strong> gateway     192.168.1.1</strong></em></p>
<p>now, set the DNS setting by open and edit the file</p>
<p><strong>$ sudo vim /etc/resolv.conf</strong></p>
<p>on the line &#8220;name server xxx.xxx.xxx.xxx&#8221;  replace the x with your nameserver,</p>
<p>you can do ifconfig /all to find out what they are.</p>
<p>ok, thats all&#8230;  the last u have to do is, removing the DHCP client and Restart the Net-Interface</p>
<p><strong>$ sudo apt-get remove dhcp-client</strong></p>
<p>&amp; restart the network</p>
<p><strong>$ sudo /etc/init.d/networking restart</strong></p>
<p>&nbsp;</p>
<p>See you&#8230;.. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xsatria.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xsatria.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xsatria.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xsatria.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xsatria.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xsatria.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xsatria.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xsatria.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xsatria.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xsatria.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xsatria.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xsatria.wordpress.com/224/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xsatria.wordpress.com/224/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xsatria.wordpress.com/224/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=224&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xsatria.wordpress.com/2011/04/07/changing-ip-address-from-dhcp-to-static-ip-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5ef32631a756aafe9fadee303dff2014?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tommy</media:title>
		</media:content>
	</item>
		<item>
		<title>Tugas Akhir!!</title>
		<link>http://xsatria.wordpress.com/2011/03/17/tugas-akhir/</link>
		<comments>http://xsatria.wordpress.com/2011/03/17/tugas-akhir/#comments</comments>
		<pubDate>Thu, 17 Mar 2011 05:45:11 +0000</pubDate>
		<dc:creator>satriant</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://xsatria.wordpress.com/?p=207</guid>
		<description><![CDATA[Advanced System Control. Self Balancing Vehicle with Artificial Neural Network Tommy Agustianto &#8211; Teknik Elektro Universitas Indonesia<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=207&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Advanced System Control.</p>
<p>Self Balancing Vehicle with Artificial Neural Network</p>
<p>Tommy Agustianto &#8211; Teknik Elektro<br />
        Universitas Indonesia</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xsatria.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xsatria.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xsatria.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xsatria.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xsatria.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xsatria.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xsatria.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xsatria.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xsatria.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xsatria.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xsatria.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xsatria.wordpress.com/207/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xsatria.wordpress.com/207/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xsatria.wordpress.com/207/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=207&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xsatria.wordpress.com/2011/03/17/tugas-akhir/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5ef32631a756aafe9fadee303dff2014?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tommy</media:title>
		</media:content>
	</item>
		<item>
		<title>Terminator &#8211; Multi ViewTerminal</title>
		<link>http://xsatria.wordpress.com/2010/11/29/terminator-multi-viewterminal/</link>
		<comments>http://xsatria.wordpress.com/2010/11/29/terminator-multi-viewterminal/#comments</comments>
		<pubDate>Mon, 29 Nov 2010 03:30:07 +0000</pubDate>
		<dc:creator>satriant</dc:creator>
				<category><![CDATA[Common]]></category>

		<guid isPermaLink="false">http://spinlocked.wordpress.com/?p=56</guid>
		<description><![CDATA[Ctrl-Shift-E: will split the view vertically. Ctrl-Shift-O: will split the view horizontally. Ctrl-Shift-P: will focus be active on the previous view. Ctrl-Shift-N: will focus be active on the next view. Ctrl-Shift-W: will close the view where the focus is on. Ctrl-Shift-Q: will exit terminator. F11: will make terminator go fullscreen.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=56&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ctrl-Shift-E: will split the view vertically.</p>
<p>Ctrl-Shift-O: will split the view horizontally.</p>
<p>Ctrl-Shift-P: will focus be active on the previous view.</p>
<p>Ctrl-Shift-N: will focus be active on the next view.</p>
<p>Ctrl-Shift-W: will close the view where the focus is on.</p>
<p>Ctrl-Shift-Q: will exit terminator.</p>
<p>F11: will make terminator go fullscreen.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xsatria.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xsatria.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xsatria.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xsatria.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xsatria.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xsatria.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xsatria.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xsatria.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xsatria.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xsatria.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xsatria.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xsatria.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xsatria.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xsatria.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=56&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xsatria.wordpress.com/2010/11/29/terminator-multi-viewterminal/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5ef32631a756aafe9fadee303dff2014?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tommy</media:title>
		</media:content>
	</item>
		<item>
		<title>Accessing Parallel Port on Unix/Linux Systems</title>
		<link>http://xsatria.wordpress.com/2010/11/14/accessing-parallel-port-on-unixlinux-systems/</link>
		<comments>http://xsatria.wordpress.com/2010/11/14/accessing-parallel-port-on-unixlinux-systems/#comments</comments>
		<pubDate>Sat, 13 Nov 2010 18:29:31 +0000</pubDate>
		<dc:creator>satriant</dc:creator>
				<category><![CDATA[Embedded]]></category>
		<category><![CDATA[parallel coding]]></category>
		<category><![CDATA[programming parallel ports]]></category>
		<category><![CDATA[unix parallel port]]></category>

		<guid isPermaLink="false">http://spinlocked.wordpress.com/?p=51</guid>
		<description><![CDATA[Hello..long time no see&#8230;. karna ksibukan, saya baru bisa nulis lagi nih, ni malam minggu setelah pulang dari rumah pacar dan akhirnya ga bisa bo2, akhirnya ngoding dikit lah, ada rokok sama kopi, ada solder dan teman2nya&#8230; dan hayu kita oprekan lagiiiii&#8230;.. pengenalan parallel port paralel port biasa d gunakan untuk komunikasi printer, makanya port [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=223&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hello..long time no see&#8230;.<br />
karna ksibukan, saya baru bisa nulis lagi nih, ni malam minggu setelah pulang dari rumah pacar dan akhirnya ga bisa bo2, akhirnya ngoding dikit lah, ada rokok sama kopi, ada solder dan teman2nya&#8230; dan hayu kita oprekan lagiiiii&#8230;..</p>
<p><strong>pengenalan parallel port</strong><br />
paralel port biasa d gunakan untuk komunikasi printer, makanya port ini juga sering di sebut printer port. port ini beralamat di 0x378H pada PC.<br />
standartnya itu, di mulai dari dulu, di IBM PC-XT, unix system.</p>
<p>mempunyai beberapa komponen, yaitu port data, status dan interrupt.<br />
dsini saya akan ngasih tau cara mrogram 8 bit data bus pada parallel port, yaitu dari mulai D0-D7</p>
<p>saya ngerjain ini dalam waktu 15 menit, so&#8230;ikutin step2nya nih..<br />
1.siapin parallel male connector.<br />
2.bikin led bederet 8 biji, pake resistor R-pack<br />
3.sambungin/solder anoda pada masing2 led ke port D0-D7 (pin 2 sampe 9)<br />
4.jgn lupa untuk ngisep roko anda, nanti jatoh ke karpet *pengalaman pribadi*<br />
5.pasang tuh alat ke parallel port komputer/laptop</p>
<p>kita buka vim atau apalah yang mau kamu pake, gedit atau notepad++ atau kwrite..</p>
<p>tulis source code ini&#8230;.., ini dah d tes loh dan jalan sebagai mana mestinya&#8230;</p>
<p>Hello..long time no see&#8230;.<br />
karna ksibukan, saya baru bisa nulis lagi nih, ni malam minggu setelah pulang dari rumah pacar dan akhirnya ga bisa bo2, akhirnya ngoding dikit lah, ada rokok sama kopi, ada solder dan teman2nya&#8230; dan hayu kita oprekan lagiiiii&#8230;..</p>
<p>&lt;b&gt;pengenalan parallel port&lt;/b&gt;<br />
paralel port biasa d gunakan untuk komunikasi printer, makanya port ini juga sering di sebut printer port. port ini beralamat di 0x378H pada PC.<br />
standartnya itu, di mulai dari dulu, di IBM PC-XT, unix system.</p>
<p>mempunyai beberapa komponen, yaitu port data, status dan interrupt.<br />
dsini saya akan ngasih tau cara mrogram 8 bit data bus pada parallel port, yaitu dari mulai D0-D7</p>
<p>saya ngerjain ini dalam waktu 15 menit, so&#8230;ikutin step2nya nih..<br />
1.siapin parallel male connector.<br />
2.bikin led bederet 8 biji, pake resistor R-pack<br />
3.sambungin/solder anoda pada masing2 led ke port D0-D7 (pin 2 sampe 9)<br />
4.jgn lupa untuk ngisep roko anda, nanti jatoh ke karpet *pengalaman pribadi*<br />
5.pasang tuh alat ke parallel port komputer/laptop</p>
<p>kita buka vim atau apalah yang mau kamu pake, gedit atau notepad++ atau kwrite..</p>
<p>tulis source code ini&#8230;.., ini dah d tes loh dan jalan sebagai mana mestinya&#8230;</p>
<p><em><strong>/*</strong></em><br />
<em><strong> +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+</strong></em><br />
<em><strong> |    Simple Paralel Port Programming      |</strong></em><br />
<em><strong> |        XSATRIA &#8211; 2010                                              |</strong></em><br />
<em><strong> +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;+</strong></em><br />
<em><strong>*/</strong></em></p>
<p><em><strong>#include &lt;stdio.h&gt;</strong></em><br />
<em><strong>#include &lt;unistd.h&gt;</strong></em><br />
<em><strong>#include &lt;sys/io.h&gt;</strong></em><br />
<em><strong>#include &lt;stdlib.h&gt;</strong></em></p>
<p><em><strong>/* paralel port address */</strong></em><br />
<em><strong>#define BASEPORT    0&#215;378</strong></em></p>
<p><em><strong>int main(int argc, char *argv[])</strong></em><br />
<em><strong>{</strong></em><br />
<em><strong> unsigned char value; </strong></em><br />
<em><strong> int i;</strong></em></p>
<p><em><strong> /* get the value from arguments*/</strong></em><br />
<em><strong> if (argc &lt; 2) {</strong></em><br />
<em><strong> printf(&#8220;enter port value\n&#8221;);</strong></em><br />
<em><strong> return (-1);</strong></em><br />
<em><strong> }</strong></em></p>
<p><em><strong> /* convert it to numbers type */</strong></em><br />
<em><strong> value = atoi(argv[1]);</strong></em><br />
<em><strong> printf(&#8220;value = 0x%x\n&#8221;, value);</strong></em></p>
<p><em><strong> /* set input/output permissions */</strong></em><br />
<em><strong> if (ioperm(BASEPORT, 3, 1)) {</strong></em><br />
<em><strong> perror(&#8220;ioperm&#8221;);</strong></em><br />
<em><strong> return(-1);</strong></em><br />
<em><strong> }</strong></em></p>
<p><em><strong> /* blinking the leds that connect to D0-D7 */</strong></em><br />
<em><strong> for (i=0; i&lt;=1000; i++) {</strong></em><br />
<em><strong> outb(value, BASEPORT);</strong></em><br />
<em><strong> usleep(100000);</strong></em><br />
<em><strong> outb(~value, BASEPORT);</strong></em><br />
<em><strong> usleep(100000);</strong></em><br />
<em><strong> }</strong></em></p>
<p><em><strong> printf(&#8220;status : 0x%X \n&#8221;, inb(BASEPORT + 1));</strong></em></p>
<p><em><strong> /* we dont need the ports anymore, just close it*/</strong></em><br />
<em><strong> if (ioperm(BASEPORT, 3, 0)) {</strong></em><br />
<em><strong> perror(&#8220;ioperm&#8221;);</strong></em><br />
<em><strong> return(-1);</strong></em><br />
<em><strong> }</strong></em></p>
<p><em><strong> return(0);</strong></em><br />
<em><strong>}</strong></em></p>
<p>&nbsp;</p>
<p>sekarang, compile tuh program :</p>
<p><em><strong># gcc -o paraleltest paraleltest.c</strong></em></p>
<p>jalanin programnya(kamu harus jadi root untuk jalanin program ini, soalnya doi kan ngakses IO) dan lihat tuh lednya&#8230; ngedap-ngedip bukan?? hohohoho&#8230;..it works now..</p>
<p>ok&#8230;sepertinya udah malem nih..bo2 yuks..</p>
<p>&nbsp;</p>
<p>regards</p>
<p>&nbsp;</p>
<p>tommy</p>
<p><strong><em> </em></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/xsatria.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/xsatria.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/xsatria.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/xsatria.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/xsatria.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/xsatria.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/xsatria.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/xsatria.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/xsatria.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/xsatria.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/xsatria.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/xsatria.wordpress.com/223/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/xsatria.wordpress.com/223/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/xsatria.wordpress.com/223/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=xsatria.wordpress.com&amp;blog=5122427&amp;post=223&amp;subd=xsatria&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://xsatria.wordpress.com/2010/11/14/accessing-parallel-port-on-unixlinux-systems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5ef32631a756aafe9fadee303dff2014?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tommy</media:title>
		</media:content>
	</item>
	</channel>
</rss>
