<?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>lets get educated</title>
	<atom:link href="http://devinurtsyani.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://devinurtsyani.wordpress.com</link>
	<description>microconHolic</description>
	<lastBuildDate>Fri, 30 Jul 2010 05:53:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='devinurtsyani.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>lets get educated</title>
		<link>http://devinurtsyani.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://devinurtsyani.wordpress.com/osd.xml" title="lets get educated" />
	<atom:link rel='hub' href='http://devinurtsyani.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Timer/Counter</title>
		<link>http://devinurtsyani.wordpress.com/2010/07/30/timercounter/</link>
		<comments>http://devinurtsyani.wordpress.com/2010/07/30/timercounter/#comments</comments>
		<pubDate>Fri, 30 Jul 2010 05:52:42 +0000</pubDate>
		<dc:creator>microcon</dc:creator>
		
		<guid isPermaLink="false">http://devinurtsyani.wordpress.com/?p=209</guid>
		<description><![CDATA[Many people ask me about this, I think this is the time for me to start writing about timer or counter. As long as I know, almost every microcontroller has a timer/counter feature. Not only AVR family but also the old micro such as MCS. The basic protocol not change at all, you just have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=209&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Many people ask me about this, I think this is the time for me to start writing about timer or counter. </p>
<p>As long as I know, almost every microcontroller has a timer/counter feature. Not only AVR family but also the old micro such as MCS. The basic protocol not change at all, you just have to understand this one an then you will able to work with timer/counter in any other microcontroller. </p>
<p>I take an example ATmega 8535, take a look the datasheet its all there. There are Timer 0, timer 1, and sometimes timer 2. My senior at lab told me that timer 0 was not good enough, but i forgot to ask the reason. Maybe you wanna try to prove his suggestion (let me know if you already have the answer <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />   )</p>
<p>Open page about the operation mode of timer. There are several mode of timer, in MCS usually there are only 3 mode, mode 0 mode 1 and mode 2, in AVR there are mode phase correct, phase&amp;frequency correct, normal mode, etc&#8230; (i forget, can`t open datasheet right now). The important thing is, you should read and understan what the register are in timer/counter. there are TCNT, ICR, OCR. The fast way to understand How timer/counter works is by see the picture of timer/counter diagram in datasheet. </p>
<p>Guys&#8230;.wait a moment please, gotta the job to do&#8230;. continue this post next week i have several project to finish&#8230; </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devinurtsyani.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devinurtsyani.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devinurtsyani.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devinurtsyani.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devinurtsyani.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devinurtsyani.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devinurtsyani.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devinurtsyani.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devinurtsyani.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devinurtsyani.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devinurtsyani.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devinurtsyani.wordpress.com/209/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devinurtsyani.wordpress.com/209/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devinurtsyani.wordpress.com/209/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=209&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devinurtsyani.wordpress.com/2010/07/30/timercounter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24bb91d1f620183620aaa998baaa681b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devinurtsyani</media:title>
		</media:content>
	</item>
		<item>
		<title>from sensor to Seven Segment (in Progress)</title>
		<link>http://devinurtsyani.wordpress.com/2010/05/05/from-sensor-to-seven-segment-in-progress/</link>
		<comments>http://devinurtsyani.wordpress.com/2010/05/05/from-sensor-to-seven-segment-in-progress/#comments</comments>
		<pubDate>Wed, 05 May 2010 02:35:25 +0000</pubDate>
		<dc:creator>microcon</dc:creator>
		
		<guid isPermaLink="false">http://devinurtsyani.wordpress.com/?p=190</guid>
		<description><![CDATA[Kali ini kita belajar tentang Seven Segment yaks!, murah kok (klo yang kecil). Ok seperti biasa display ini akan dikontrol oleh mikrokontroller, untuk project ini saya hanya pakai empat 7 segment. Komponen dasar 7 segment adalah LED (Light Emitting Diode), jadi aplikasi rangkaiannya pun sama dengan LED. Dirangkaian ada resistor yang berfungsi untuk membatasi arus [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=190&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://devinurtsyani.files.wordpress.com/2010/05/dsc02070.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/05/dsc02070.jpg?w=448&#038;h=252" alt="" title="DSC02070" width="448" height="252" class="aligncenter size-full wp-image-191" /></a></p>
<p>Kali ini kita belajar tentang Seven Segment yaks!, murah kok (klo yang kecil). Ok seperti biasa display ini akan dikontrol oleh mikrokontroller, untuk project ini saya hanya pakai empat 7 segment. </p>
<p>Komponen dasar 7 segment adalah LED (Light Emitting Diode), jadi aplikasi rangkaiannya pun sama dengan LED. Dirangkaian ada resistor yang berfungsi untuk membatasi arus yang melewati LED (semakin tinggi arus semakin terang nyala LED, tapi resistornya jangan terlalu kecil karena ada batasan arus yang diperbolehkan agar LED tidak rusak).<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/05/led1.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/05/led1.jpg?w=187&#038;h=168" alt="" title="led" width="187" height="168" class="aligncenter size-full wp-image-196" /></a><br />
Kalau beli 7 Segmen pasti ntar ditanya mau yang Anoda atau yang Katoda. Prinsipnya sama aja, komponennya juga sama, cuma nanti letak rangkaiannya agak beda, disini saya pakai 7 segmen common Anoda.<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/05/7segment.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/05/7segment.jpg?w=353&#038;h=299" alt="" title="7segment" width="353" height="299" class="aligncenter size-full wp-image-195" /></a><br />
Dari gambar diatas dah kebayangkan kira-kira gimana caranya nampilin angka 0,1,2,atau3, dst&#8230;   contoh klo mau nampilin angka 0 berarti LED g dan LED dp(desimal point) harus mati. Dari pemahaman ini kita bisa buat rangkaian kontrolnya<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/05/rank1.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/05/rank1.jpg?w=591&#038;h=355" alt="" title="rank1" width="591" height="355" class="aligncenter size-full wp-image-197" /></a><br />
NAAAHhhh&#8230;&#8230;  sekarang masalahnya klo saya mau pakai empat 7 segment berarti ada banyak pin I/O yang hrs disediakan (4&#215;8= 32pin) itu namanyya pemborosan&#8230;oleh karena itu harus diakalin &#8230;.caranya dengan skematik dibawah ini.<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/05/rangkaian7segment.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/05/rangkaian7segment.jpg?w=300&#038;h=151" alt="" title="RANGKAIAN7SEGMENT" width="300" height="151" class="aligncenter size-medium wp-image-198" /></a></p>
<p>Pada rangkaian diatas semua kakai 7 segment disatukan (tentunya kaki yang sama, a dengan a, b dengan b, dst), tapi supply voltage nya dibedakan, dan diatur oleh mikro. Dan untuk menampilkan misal bilangan 2300, PORTD=1010 0100 PORTC=0001 0000 lalu  PORTD=1011 0000 PORTC=0010 0000 lalu PORTD=1100 0000 PORTC=0100 0000 lalu PORTD=1100 0000 PORTC=1000 0000 ini dilakukan dengan sangat cepat. </p>
<p><a href="http://devinurtsyani.files.wordpress.com/2010/05/tabel.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/05/tabel.jpg?w=300&#038;h=168" alt="" title="tabel" width="300" height="168" class="aligncenter size-medium wp-image-200" /></a></p>
<p>to be continue&#8230;&#8230;&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devinurtsyani.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devinurtsyani.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devinurtsyani.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devinurtsyani.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devinurtsyani.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devinurtsyani.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devinurtsyani.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devinurtsyani.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devinurtsyani.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devinurtsyani.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devinurtsyani.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devinurtsyani.wordpress.com/190/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devinurtsyani.wordpress.com/190/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devinurtsyani.wordpress.com/190/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=190&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devinurtsyani.wordpress.com/2010/05/05/from-sensor-to-seven-segment-in-progress/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24bb91d1f620183620aaa998baaa681b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devinurtsyani</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/05/dsc02070.jpg" medium="image">
			<media:title type="html">DSC02070</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/05/led1.jpg" medium="image">
			<media:title type="html">led</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/05/7segment.jpg" medium="image">
			<media:title type="html">7segment</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/05/rank1.jpg" medium="image">
			<media:title type="html">rank1</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/05/rangkaian7segment.jpg?w=300" medium="image">
			<media:title type="html">RANGKAIAN7SEGMENT</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/05/tabel.jpg?w=300" medium="image">
			<media:title type="html">tabel</media:title>
		</media:content>
	</item>
		<item>
		<title>Using Codewizard in CodevisionAVR</title>
		<link>http://devinurtsyani.wordpress.com/2010/03/16/using-codewizard-in-codevisionavr/</link>
		<comments>http://devinurtsyani.wordpress.com/2010/03/16/using-codewizard-in-codevisionavr/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 06:09:51 +0000</pubDate>
		<dc:creator>microcon</dc:creator>
				<category><![CDATA[ATmega8535 project]]></category>

		<guid isPermaLink="false">http://devinurtsyani.wordpress.com/?p=171</guid>
		<description><![CDATA[PROGRAM : OUTPUT Tujuan Program : Membuat delapan lampu LED menyala Hardware : Hubungkan rangkaian LED ke PORTC Codewizard : setting PORTC sebagai output, set Chip Langkahnya&#8230;. 1. Pilih shortcut codevisionAVR dengan tampilan seperti berikut 2. Buat file baru dengan cara : File , NEW 3.Pilih Project 4. Pilih Codewizard 5. Menggunakan CodeWizard : Pengaturan [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=171&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PROGRAM  : OUTPUT<br />
Tujuan Program : Membuat delapan lampu LED menyala<br />
Hardware 	   : Hubungkan rangkaian LED ke PORTC<br />
Codewizard	   : setting PORTC sebagai output, set Chip</p>
<p>Langkahnya&#8230;.<br />
1. Pilih shortcut codevisionAVR dengan tampilan seperti berikut<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/03/cv.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/03/cv.jpg?w=105&#038;h=83" alt="" title="cv" width="105" height="83" class="aligncenter size-full wp-image-172" /></a><br />
2. Buat file baru dengan cara : File ,  NEW<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/03/new.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/03/new.jpg?w=300&#038;h=143" alt="" title="new" width="300" height="143" class="aligncenter size-medium wp-image-173" /></a><br />
3.Pilih Project<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/03/proj.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/03/proj.jpg?w=253&#038;h=176" alt="" title="proj" width="253" height="176" class="aligncenter size-full wp-image-174" /></a><br />
4. Pilih Codewizard<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/03/cw.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/03/cw.jpg?w=360&#038;h=180" alt="" title="cw" width="360" height="180" class="aligncenter size-full wp-image-175" /></a><br />
5. Menggunakan  CodeWizard : Pengaturan Chip, jenis mikro dan nilai crystal yang digunakan<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/03/ch.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/03/ch.jpg?w=165&#038;h=300" alt="" title="ch" width="165" height="300" class="aligncenter size-medium wp-image-176" /></a><br />
6.Menggunakan  CodeWizard, setting PORTC sebagai Output (klik &#8220;In&#8221; shg berubah menjadi &#8220;out&#8221;)<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/03/port.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/03/port.jpg?w=191&#038;h=300" alt="" title="port" width="191" height="300" class="aligncenter size-medium wp-image-177" /></a><br />
7.Simpan hasil CodeWizard<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/03/sav.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/03/sav.jpg?w=280&#038;h=354" alt="" title="sav" width="280" height="354" class="aligncenter size-full wp-image-178" /></a><br />
8.Save setting : save tiga kali dengan nama file yang persis sama<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/03/save.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/03/save.jpg?w=300&#038;h=225" alt="" title="save" width="300" height="225" class="aligncenter size-medium wp-image-179" /></a></p>
<p>&#8230;..SELESAI&#8230;&#8230;<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/03/hasl.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/03/hasl.jpg?w=568&#038;h=304" alt="" title="hasl" width="568" height="304" class="aligncenter size-full wp-image-181" /></a><br />
Nah, di program yang dah jadi ini tinggal menambahkan kebutuhan kita, contohnya saya mau menyalakan 8 buah LED (aktif high) yang terhubung di PORT C maka program tambahannya adalah<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/03/pro.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/03/pro.jpg?w=375&#038;h=126" alt="" title="pro" width="375" height="126" class="aligncenter size-full wp-image-183" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devinurtsyani.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devinurtsyani.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devinurtsyani.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devinurtsyani.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devinurtsyani.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devinurtsyani.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devinurtsyani.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devinurtsyani.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devinurtsyani.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devinurtsyani.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devinurtsyani.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devinurtsyani.wordpress.com/171/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devinurtsyani.wordpress.com/171/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devinurtsyani.wordpress.com/171/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=171&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devinurtsyani.wordpress.com/2010/03/16/using-codewizard-in-codevisionavr/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24bb91d1f620183620aaa998baaa681b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devinurtsyani</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/03/cv.jpg" medium="image">
			<media:title type="html">cv</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/03/new.jpg?w=300" medium="image">
			<media:title type="html">new</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/03/proj.jpg" medium="image">
			<media:title type="html">proj</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/03/cw.jpg" medium="image">
			<media:title type="html">cw</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/03/ch.jpg?w=165" medium="image">
			<media:title type="html">ch</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/03/port.jpg?w=191" medium="image">
			<media:title type="html">port</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/03/sav.jpg" medium="image">
			<media:title type="html">sav</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/03/save.jpg?w=300" medium="image">
			<media:title type="html">save</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/03/hasl.jpg" medium="image">
			<media:title type="html">hasl</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/03/pro.jpg" medium="image">
			<media:title type="html">pro</media:title>
		</media:content>
	</item>
		<item>
		<title>RELEASE  &#8230;Guidline Project (REVISI)</title>
		<link>http://devinurtsyani.wordpress.com/2010/03/16/coming-soon-guidline-project-revisi/</link>
		<comments>http://devinurtsyani.wordpress.com/2010/03/16/coming-soon-guidline-project-revisi/#comments</comments>
		<pubDate>Tue, 16 Mar 2010 04:03:21 +0000</pubDate>
		<dc:creator>microcon</dc:creator>
				<category><![CDATA[ATmega8535 project]]></category>

		<guid isPermaLink="false">http://devinurtsyani.wordpress.com/?p=168</guid>
		<description><![CDATA[it`s finish, if you want to have it, just click this link Bagi yang ingin memperoleh e-book ini silahkan langsung download saja, sudah saya upload lewat scribd, download disini<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=168&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>it`s finish, if you want to have it, just click this <a href="http://www.scribd.com/doc/30876404/Guidline-Project">link</a><br />
Bagi yang ingin memperoleh e-book ini silahkan langsung download saja, sudah saya upload lewat scribd, <a href="http://www.scribd.com/doc/30876404/Guidline-Project">download disini</a><br />
<a href="http://devinurtsyani.files.wordpress.com/2010/03/untitled1.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/03/untitled1.jpg?w=255&#038;h=300" alt="" title="untitled" width="255" height="300" class="aligncenter size-medium wp-image-169" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devinurtsyani.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devinurtsyani.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devinurtsyani.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devinurtsyani.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devinurtsyani.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devinurtsyani.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devinurtsyani.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devinurtsyani.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devinurtsyani.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devinurtsyani.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devinurtsyani.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devinurtsyani.wordpress.com/168/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devinurtsyani.wordpress.com/168/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devinurtsyani.wordpress.com/168/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=168&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devinurtsyani.wordpress.com/2010/03/16/coming-soon-guidline-project-revisi/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24bb91d1f620183620aaa998baaa681b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devinurtsyani</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/03/untitled1.jpg?w=255" medium="image">
			<media:title type="html">untitled</media:title>
		</media:content>
	</item>
		<item>
		<title>Minimum Schematic for micro-controller</title>
		<link>http://devinurtsyani.wordpress.com/2010/03/12/minimum-schematic-for-micro-controller/</link>
		<comments>http://devinurtsyani.wordpress.com/2010/03/12/minimum-schematic-for-micro-controller/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 03:48:02 +0000</pubDate>
		<dc:creator>microcon</dc:creator>
				<category><![CDATA[ATmega8535 project]]></category>

		<guid isPermaLink="false">http://devinurtsyani.wordpress.com/?p=159</guid>
		<description><![CDATA[This is the minimum schematic for your microcon, if you want to use one of these pin I/O just put another jumper/pin header on the board. to be continue&#8230;.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=159&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is the minimum schematic for your microcon, if you want to use one of these pin I/O just put another jumper/pin header on the board.<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/03/untitled.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/03/untitled.jpg?w=678&#038;h=523" alt="" title="untitled" width="678" height="523" class="aligncenter size-full wp-image-160" /></a></p>
<p>to be continue&#8230;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devinurtsyani.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devinurtsyani.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devinurtsyani.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devinurtsyani.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devinurtsyani.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devinurtsyani.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devinurtsyani.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devinurtsyani.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devinurtsyani.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devinurtsyani.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devinurtsyani.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devinurtsyani.wordpress.com/159/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devinurtsyani.wordpress.com/159/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devinurtsyani.wordpress.com/159/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=159&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devinurtsyani.wordpress.com/2010/03/12/minimum-schematic-for-micro-controller/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24bb91d1f620183620aaa998baaa681b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devinurtsyani</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/03/untitled.jpg" medium="image">
			<media:title type="html">untitled</media:title>
		</media:content>
	</item>
		<item>
		<title>ADC to LCD (ATmega8535)</title>
		<link>http://devinurtsyani.wordpress.com/2010/03/06/adc-to-lcd-atmega8535/</link>
		<comments>http://devinurtsyani.wordpress.com/2010/03/06/adc-to-lcd-atmega8535/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 12:42:34 +0000</pubDate>
		<dc:creator>microcon</dc:creator>
				<category><![CDATA[AD/DA Converter]]></category>

		<guid isPermaLink="false">http://devinurtsyani.wordpress.com/?p=137</guid>
		<description><![CDATA[as my promise to aryo danurwendo Pertama codewizardnya di setting dulu yah, terutama adc dan lcd This is the source code, enjoy ======================================================== #include mega8535.h #include delay.h // Alphanumeric LCD Module functions #asm .equ __lcd_port=0&#215;15 ;PORTC #endasm #include lcd.h #include stdio.h #define ADC_VREF_TYPE 0&#215;60 // Read the 8 most significant bits // of the AD [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=137&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>as my promise <em>to aryo danurwendo</em></p>
<p>Pertama codewizardnya di setting dulu yah, terutama adc dan lcd</p>
<p><a href="http://devinurtsyani.files.wordpress.com/2010/03/adc.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/03/adc.jpg?w=240&#038;h=298" alt="" title="adc" width="240" height="298" class="aligncenter size-full wp-image-138" /></a></p>
<p><a href="http://devinurtsyani.files.wordpress.com/2010/03/lcd.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/03/lcd.jpg?w=244&#038;h=300" alt="" title="lcd" width="244" height="300" class="aligncenter size-medium wp-image-139" /></a></p>
<p>This is the source code, enjoy <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>========================================================</p>
<p>#include mega8535.h<br />
#include delay.h</p>
<p>// Alphanumeric LCD Module functions<br />
#asm<br />
   .equ __lcd_port=0&#215;15 ;PORTC<br />
#endasm<br />
#include lcd.h<br />
#include stdio.h<br />
#define ADC_VREF_TYPE 0&#215;60</p>
<p>// Read the 8 most significant bits<br />
// of the AD conversion result<br />
unsigned char read_adc(unsigned char adc_input)<br />
{<br />
ADMUX=adc_input | (ADC_VREF_TYPE &amp; 0xff);<br />
// Delay needed for the stabilization of the ADC input voltage<br />
delay_us(10);<br />
// Start the AD conversion<br />
ADCSRA|=0&#215;40;<br />
// Wait for the AD conversion to complete<br />
while ((ADCSRA &amp; 0&#215;10)==0);<br />
ADCSRA|=0&#215;10;<br />
return ADCH;<br />
}</p>
<p>// Declare your global variables here<br />
char lcd_buffer[33];</p>
<p>void main(void)<br />
{<br />
// Analog Comparator initialization<br />
// Analog Comparator: Off<br />
// Analog Comparator Input Capture by Timer/Counter 1: Off<br />
ACSR=0&#215;80;<br />
SFIOR=0&#215;00;</p>
<p>// ADC initialization<br />
// ADC Clock frequency: 691.200 kHz<br />
// ADC Voltage Reference: AVCC pin<br />
// ADC High Speed Mode: Off<br />
// ADC Auto Trigger Source: Free Running<br />
// Only the 8 most significant bits of<br />
// the AD conversion result are used<br />
ADMUX=ADC_VREF_TYPE &amp; 0xff;<br />
ADCSRA=0xA4;<br />
SFIOR&amp;=0x0F;</p>
<p>// LCD module initialization<br />
lcd_init(16);</p>
<p>while (1)<br />
      {<br />
        lcd_gotoxy(0,0);<br />
        sprintf(lcd_buffer,&#8221;adc = %c &#8220;,read_adc(0));<br />
        lcd_puts(lcd_buffer);<br />
      };<br />
}<br />
============================================================</p>
<p>ini menampilkan hasil pembacaan adc di PORTA.0 ke LCD yang dipasang di PORTC<br />
kalau mau membaca ADC yang lain, misal PORTA.1  ganti read_adc(0) jadi read_adc(1)</p>
<p>NB:<br />
1. perhatikan yang include, seharusnya da tanda kurung tapi dianggap sintak ni sama webna jdi sy hapus aja<br />
2. ini basicnya, silahkan di modif, kalau mau tampil berupa nilai tegangan seperti multimeter lihat post menampilkan bilangan desimal ke LCD</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devinurtsyani.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devinurtsyani.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devinurtsyani.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devinurtsyani.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devinurtsyani.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devinurtsyani.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devinurtsyani.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devinurtsyani.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devinurtsyani.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devinurtsyani.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devinurtsyani.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devinurtsyani.wordpress.com/137/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devinurtsyani.wordpress.com/137/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devinurtsyani.wordpress.com/137/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=137&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devinurtsyani.wordpress.com/2010/03/06/adc-to-lcd-atmega8535/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24bb91d1f620183620aaa998baaa681b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devinurtsyani</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/03/adc.jpg" medium="image">
			<media:title type="html">adc</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/03/lcd.jpg?w=244" medium="image">
			<media:title type="html">lcd</media:title>
		</media:content>
	</item>
		<item>
		<title>Project : Stopwatch on ATmega16 (AVR)</title>
		<link>http://devinurtsyani.wordpress.com/2010/02/11/project-stopwatch-on-atmega16-avr/</link>
		<comments>http://devinurtsyani.wordpress.com/2010/02/11/project-stopwatch-on-atmega16-avr/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 03:42:29 +0000</pubDate>
		<dc:creator>microcon</dc:creator>
				<category><![CDATA[ATmega8535 project]]></category>

		<guid isPermaLink="false">http://devinurtsyani.wordpress.com/?p=127</guid>
		<description><![CDATA[Atmega16 and atmega8535 have the same characteristic, so this explanation should work for both of them. I was helping Mrs Sri, she need this for her Thesis. It is a simply program, she just need to make a stopwatch with microcontroller. I use INT0 as timer ON and INT1 as timer OFF. We use LCD [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=127&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Atmega16 and atmega8535 have the same characteristic, so this explanation should work for both of them.</p>
<p><a href="http://devinurtsyani.files.wordpress.com/2010/02/dsc01652.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/02/dsc01652.jpg?w=300&#038;h=225" alt="" title="DSC01652" width="300" height="225" class="aligncenter size-medium wp-image-128" /></a></p>
<p>I was helping Mrs Sri, she need this for her Thesis. It is a simply program, she just need to make a stopwatch with microcontroller. I use INT0 as timer ON and INT1 as timer OFF. We use LCD to display the time.<br />
crystal clock = 11.0592 MHz, Timer 0.</p>
<p>This is the program================================================<br />
#include </p>
<p>// Alphanumeric LCD Module functions<br />
#asm<br />
   .equ __lcd_port=0&#215;15 ;PORTC<br />
#endasm<br />
#include lcd.h<br />
#include stdio.h<br />
char lcd_buffer[33];<br />
unsigned int count;</p>
<p>// External Interrupt 0 service routine<br />
interrupt [EXT_INT0] void ext_int0_isr(void)<br />
{<br />
     count=0;<br />
}</p>
<p>// External Interrupt 1 service routine<br />
interrupt [EXT_INT1] void ext_int1_isr(void)<br />
{<br />
// Place your code here<br />
   //TCCR0=0&#215;00;<br />
   lcd_gotoxy(0,0);<br />
   sprintf(lcd_buffer,&#8221;waktu %u ms&#8221;,count);<br />
   lcd_puts(lcd_buffer);<br />
}</p>
<p>// Timer 0 overflow interrupt service routine<br />
interrupt [TIM0_OVF] void timer0_ovf_isr(void)<br />
{<br />
TCNT0=0&#215;53;<br />
count++; </p>
<p>  }</p>
<p>void main(void)<br />
{<br />
// Port D initialization<br />
// Func7=In Func6=In Func5=In Func4=In Func3=In Func2=In Func1=In Func0=In<br />
// State7=T State6=T State5=T State4=T State3=P State2=P State1=T State0=T<br />
PORTD=0x0C;<br />
DDRD=0&#215;00;</p>
<p>// Timer/Counter 0 initialization<br />
// Clock source: System Clock<br />
// Clock scale: 64<br />
// Mode: Normal top=FFh<br />
// OC0 output: Disconnected<br />
TCCR0=0&#215;03;<br />
TCNT0=0&#215;53;<br />
OCR0=0&#215;00;</p>
<p>// External Interrupt(s) initialization<br />
// INT0: On<br />
// INT0 Mode: Rising Edge<br />
// INT1: On<br />
// INT1 Mode: Rising Edge<br />
// INT2: Off<br />
GICR|=0xC0;<br />
MCUCR=0x0F;<br />
MCUCSR=0&#215;00;<br />
GIFR=0xC0;</p>
<p>// Timer(s)/Counter(s) Interrupt(s) initialization<br />
TIMSK=0&#215;01;</p>
<p>// Analog Comparator initialization<br />
// Analog Comparator: Off<br />
// Analog Comparator Input Capture by Timer/Counter 1: Off<br />
ACSR=0&#215;80;<br />
SFIOR=0&#215;00;</p>
<p>// LCD module initialization<br />
lcd_init(16);</p>
<p>// Global enable interrupts<br />
#asm(&#8220;sei&#8221;)</p>
<p>while (1);<br />
}<br />
=================================================================<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/02/dsc01654.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/02/dsc01654.jpg?w=300&#038;h=225" alt="" title="DSC01654" width="300" height="225" class="aligncenter size-medium wp-image-129" /></a></p>
<p>How to set up 1 millisecond ?<br />
the key point are  : TCCR0=0&#215;03;   and    TCNT0=0&#215;53;<br />
<strong>TCCR0=0&#215;03;</strong> that means clock crystal/64, we got 5.78 us for one clock cycle in TCNT0<br />
<strong>TCNT0=0&#215;53;</strong> that means timer0 will overflow start from 83 (=53 in hexa) to 256, this is the multiplier </p>
<p>timer 0 will count 5.78 us x 173 (256-83) = 999.94 us, <em>it&#8217;s almost 1 ms right</em><br />
after the timer 0 finish the counting, micro will perform the program  in the interrupt timer (interrupt [TIM0_OVF] void timer0_ovf_isr(void))</p>
<p>IMPORTANT : don`t open up PIN INT0 &amp; INT1 keep them in low state when there is no signal interrupt.</p>
<p><a href="http://devinurtsyani.files.wordpress.com/2010/02/include.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/02/include.jpg?w=380&#038;h=207" alt="" title="include" width="380" height="207" class="aligncenter size-full wp-image-205" /></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devinurtsyani.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devinurtsyani.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devinurtsyani.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devinurtsyani.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devinurtsyani.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devinurtsyani.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devinurtsyani.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devinurtsyani.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devinurtsyani.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devinurtsyani.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devinurtsyani.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devinurtsyani.wordpress.com/127/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devinurtsyani.wordpress.com/127/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devinurtsyani.wordpress.com/127/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=127&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devinurtsyani.wordpress.com/2010/02/11/project-stopwatch-on-atmega16-avr/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24bb91d1f620183620aaa998baaa681b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devinurtsyani</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/02/dsc01652.jpg?w=300" medium="image">
			<media:title type="html">DSC01652</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/02/dsc01654.jpg?w=300" medium="image">
			<media:title type="html">DSC01654</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/02/include.jpg" medium="image">
			<media:title type="html">include</media:title>
		</media:content>
	</item>
		<item>
		<title>How to download program into Atmega8535 (AVR)</title>
		<link>http://devinurtsyani.wordpress.com/2010/02/10/how-to-download-program-into-atmega8535-avr/</link>
		<comments>http://devinurtsyani.wordpress.com/2010/02/10/how-to-download-program-into-atmega8535-avr/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 03:32:54 +0000</pubDate>
		<dc:creator>microcon</dc:creator>
				<category><![CDATA[ATmega8535 project]]></category>

		<guid isPermaLink="false">http://devinurtsyani.wordpress.com/?p=118</guid>
		<description><![CDATA[This post will explain about the way to download program into micro (atmega8535 or AVR) using codevisionAVR as compiler and STK500 (AVR USB ISP) as the programmer-this picture below- the step by step : 1. connect the cable from the programmer to the mcrocontroller connection, turn on power supply 2. plug in the USB cable [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=118&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This post will explain about the way to download program into micro (atmega8535 or AVR) using codevisionAVR as compiler and STK500 (AVR USB ISP) as the programmer-this picture below-<br />
<div id="attachment_119" class="wp-caption aligncenter" style="width: 160px"><a href="http://devinurtsyani.files.wordpress.com/2010/02/dsc01650.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/02/dsc01650.jpg?w=150&#038;h=112" alt="" title="AVR USB ISP" width="150" height="112" class="size-thumbnail wp-image-119" /></a><p class="wp-caption-text">u can buy it</p></div></p>
<p>the step by step :<br />
1. connect the cable from the programmer to the mcrocontroller connection, turn on power supply<br />
2. plug in the USB cable from the programmer into your computer<br />
3. Choose : My computer,  (right click) properties, Hardware, Device Manager, (double click) Unknown Device<br />
4. Install the driver<br />
5. Back again to device manager and see&#8230; Which port is the programmer plug in&#8230;for example com 3 &#8230;..<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/02/dsc01651.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/02/dsc01651.jpg?w=150&#038;h=112" alt="" title="avrisp" width="150" height="112" class="aligncenter size-thumbnail wp-image-122" /></a><br />
Now your programmer is ready to use, its time to set the compiler (codevisionAVR)<br />
1. Go to : Setting, programmer<br />
2. Choose : STK500/AVRISP, com &#8230;. (remember step no. 5 above)<br />
3. Go to : Project, Configure, After build.<br />
4. Click : Program the chip, OK<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/02/cv.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/02/cv.jpg?w=150&#038;h=150" alt="" title="cv" width="150" height="150" class="aligncenter size-thumbnail wp-image-120" /></a></p>
<p>DONE </p>
<p>you are ready to download any program. to compile your program F9, to download CTRL+F9</p>
<p>Good Luck !!</p>
<p>thanks to :  Gun-gun (@my office) and Ismail (@lab) very helpful </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devinurtsyani.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devinurtsyani.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devinurtsyani.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devinurtsyani.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devinurtsyani.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devinurtsyani.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devinurtsyani.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devinurtsyani.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devinurtsyani.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devinurtsyani.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devinurtsyani.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devinurtsyani.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devinurtsyani.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devinurtsyani.wordpress.com/118/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=118&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devinurtsyani.wordpress.com/2010/02/10/how-to-download-program-into-atmega8535-avr/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24bb91d1f620183620aaa998baaa681b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devinurtsyani</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/02/dsc01650.jpg?w=150" medium="image">
			<media:title type="html">AVR USB ISP</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/02/dsc01651.jpg?w=150" medium="image">
			<media:title type="html">avrisp</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/02/cv.jpg?w=150" medium="image">
			<media:title type="html">cv</media:title>
		</media:content>
	</item>
		<item>
		<title>an Easy way to understand LCD</title>
		<link>http://devinurtsyani.wordpress.com/2010/02/09/an-easy-way-to-understand-lcd/</link>
		<comments>http://devinurtsyani.wordpress.com/2010/02/09/an-easy-way-to-understand-lcd/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 02:08:49 +0000</pubDate>
		<dc:creator>microcon</dc:creator>
				<category><![CDATA[LCD]]></category>

		<guid isPermaLink="false">http://devinurtsyani.wordpress.com/?p=102</guid>
		<description><![CDATA[I hope this explanation would fit the title. This post will explain about How to control LCD (model LMB162A) using microcontroller such as AVR. Furthermore, I will add the basic information about LCD that will help you to be more familiar with LCD, especially when u used another micro. LCD : liquid crystal display Usually [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=102&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I hope this explanation would fit the title.</p>
<p>This post will explain about How to control LCD (model LMB162A) using microcontroller such as AVR. Furthermore, I will add the basic information about LCD that will help you to be more familiar with LCD, especially when u used another micro.<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/02/dsc01621.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/02/dsc01621.jpg?w=150&#038;h=112" alt="" title="DSC01621" width="150" height="112" class="aligncenter size-thumbnail wp-image-104" /></a><br />
LCD : liquid crystal display<br />
Usually I use LCD model LMB162A (16Characters x 2lines) for electronics research purpose. Please googling it on web (u need the datasheet to be more clear about this LCD). This LCD has a driver on it. So, all we have to do is to understand How the driver works. First, we have to know the hardware and How to set up all the components.</p>
<p>Hardware:<br />
There are 16 PIN in the LCD.<br />
PIN 1 = GND<br />
PIN 2 = +5 Volt<br />
PIN 3 = Voltage variable<br />
PIN 4 = RS (control pin)<br />
PIN 5 = R/W (control pin)<br />
PIN 6 = E (control pin)<br />
PIN 7 = DB0 (data pin)<br />
PIN 8 = DB0 (data pin)<br />
PIN 9 = DB0 (data pin)<br />
PIN 10 = DB0 (data pin)<br />
PIN 11 = DB0 (data pin)<br />
PIN 12 = DB0 (data pin)<br />
PIN 13 = DB0 (data pin)<br />
PIN 14 = DB0 (data pin)<br />
PIN 15 = + 5 Volt<br />
PIN 16 = GND<br />
This is the hardware (take attention to pin 3, u need variable resistor to make variable voltage)<br />
<a href="http://devinurtsyani.files.wordpress.com/2010/02/lcd.jpg"><img src="http://devinurtsyani.files.wordpress.com/2010/02/lcd.jpg?w=300&#038;h=219" alt="" title="lcd" width="300" height="219" class="aligncenter size-medium wp-image-105" /></a></p>
<p>We can divide all those PIN into there main point :<br />
<strong>1. POWER : PIN no. 1,2,3,15,16.</strong><br />
   1 &amp; 2 stand for Logic ; 3 stand for LCD supply; 15 &amp; 16 stand for back light </p>
<p><strong>2. CONTROL : PIN no. 4,5,6.</strong><br />
   4 : RS, Register Selection : 1(High) = data byte , 0(Low) = command byte<br />
   5 : R/W, Read/Write : 1(High) = Read operation , 0(Low) = Write operation<br />
   6 : E, Enable Signal : High = Read data, H=&gt;L (falling edge) = write data</p>
<p><strong>3. DATA : PIN no.7,8,9,10,11,12,13,14.</strong><br />
   there r 2 way to put data on LCD, 4-bit and 8-bit<br />
   In 8-bit mode : PIN no.7-14 (DB0-DB7)<br />
   In 4-bit mode : PIN no.11-14, (DB4-DB7)<br />
                        and open all the pin no.7-10 (don`t connect them to ground, just open up,do nothing)</p>
<p>to be continue&#8230;.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devinurtsyani.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devinurtsyani.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devinurtsyani.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devinurtsyani.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devinurtsyani.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devinurtsyani.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devinurtsyani.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devinurtsyani.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devinurtsyani.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devinurtsyani.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devinurtsyani.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devinurtsyani.wordpress.com/102/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devinurtsyani.wordpress.com/102/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devinurtsyani.wordpress.com/102/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=102&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devinurtsyani.wordpress.com/2010/02/09/an-easy-way-to-understand-lcd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24bb91d1f620183620aaa998baaa681b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devinurtsyani</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/02/dsc01621.jpg?w=150" medium="image">
			<media:title type="html">DSC01621</media:title>
		</media:content>

		<media:content url="http://devinurtsyani.files.wordpress.com/2010/02/lcd.jpg?w=300" medium="image">
			<media:title type="html">lcd</media:title>
		</media:content>
	</item>
		<item>
		<title>Menampilkan bilangan desimal ke LCD</title>
		<link>http://devinurtsyani.wordpress.com/2010/02/07/menampilkan-bilangan-desimal-ke-lcd/</link>
		<comments>http://devinurtsyani.wordpress.com/2010/02/07/menampilkan-bilangan-desimal-ke-lcd/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 04:58:55 +0000</pubDate>
		<dc:creator>microcon</dc:creator>
				<category><![CDATA[LCD]]></category>

		<guid isPermaLink="false">http://devinurtsyani.wordpress.com/?p=91</guid>
		<description><![CDATA[thanks to Acuy&#8230;.it&#8217;s really work untuk menampilkan suatu tampilan ke LCD sebenarnya sangat mudah, apalagi kalau kita menggunakan codewizard nya codevisionAVR. Hanya saja data yang ditampilkan terbatas dalam bentuk integer. NAh&#8230; dalam banyak kasus kita membutuhkan tampilan hasil dari suatu rumus tertentu atau hasil dari pembacaan sensor yang terkadang memiliki angka dibelakang koma alias desimal [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=91&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>thanks to Acuy&#8230;.it&#8217;s really work</p>
<p>untuk menampilkan suatu tampilan ke LCD sebenarnya sangat mudah, apalagi kalau kita menggunakan codewizard nya codevisionAVR. Hanya saja data yang ditampilkan terbatas dalam bentuk integer. NAh&#8230; dalam banyak kasus kita membutuhkan tampilan hasil dari suatu rumus tertentu atau hasil dari pembacaan sensor yang terkadang memiliki angka dibelakang koma alias desimal atau float. kalau dipaksakan (dengan cara biasa) maka mikro akan menolak dan akan muncul peringatan memory tidak mencukupi&#8230;&#8230;&#8230;  sudah pernah dicoba sampai pake ATMEGA64 tapi teuteup aja ga bisa.<br />
Oleh karena itu harus di akalin&#8230;.  thanks to Acuy again, I know this solution from him. </p>
<p>Ops tapi sebelumnya mungkin harus saya jelaskan dulu seperti apa sih cara nampilin bilangan yang biasa ke LCD<br />
Ok, this is the step :<br />
1. Di codewizard silahkan pilih LCD, tentukan mau di PORT mana LCD dipasang<br />
2. Catat nomor-nomor pin yang harus dihubungkan antara PORT mikro dan PIN LCD<br />
3. Save dan berikut contoh programnya</p>
<p>=======================================================================<br />
#include </p>
<p>// Alphanumeric LCD Module functions<br />
#asm<br />
   .equ __lcd_port=0&#215;15 ;PORTC<br />
#endasm<br />
#include<br />
#include<br />
#include </p>
<p>char lcd_buffer[33];</p>
<p>void main(void)<br />
{</p>
<p>// Timer(s)/Counter(s) Interrupt(s) initialization</p>
<p>// LCD module initialization<br />
lcd_init(16);<br />
lcd_gotoxy(0,0);<br />
lcd_puts(&#8220;HAsil pembacaan&#8221;);<br />
lcd_gotoxy(0,1);<br />
lcd_puts(&#8220;nampilin apaa gitu&#8221;);</p>
<p>// Global enable interrupts<br />
#asm(&#8220;sei&#8221;)</p>
<p>while (1)<br />
      {};<br />
}<br />
========================================================================<br />
jadiii penambahannya :<br />
char lcd_buffer[33];<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
lcd_gotoxy(0,0);<br />
lcd_puts(&#8220;Hasil pembacaan&#8221;);<br />
lcd_gotoxy(0,1);<br />
lcd_puts(&#8220;nampilin apaa gitu&#8221;);<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>lcd_gotoxy(0,0); artinya menampilkan di baris pertama, kalau mau dibaris kedua  ganti jadi (0,1);<br />
silahkan aja dicoba-coba.</p>
<p>kalau mau nampilin suatu nialai dari variabel semisal<br />
unsigned int data;<br />
&#8212;-<br />
sprintf(lcd_buffer,&#8221;%u&#8221;,data);<br />
lcd_puts(lcd_buffer);<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>ok, that&#8217;s all, simple kan<br />
Nah masalah akan datang kalau nilai yang mau ditampilkan dari variabel data itu float atau desimal<br />
Solusinya kita pakai <strong>fmod</strong> , termasuk dalam library math.h<br />
saya dah baca di help-nya codevision tapi sungguh tidak help (he..he&#8230;), saya lebih ngerti pas liat contoh penggunaannya<br />
intinya fmod akan menyimpan <strong>sisa</strong> pembagian, berikut contohnya :<br />
misal saya mau nampilkan hasil perhitungan dari 8/3 ke LCD</p>
<p>a=8;<br />
b=3;<br />
<strong>c=a/b;</strong><br />
d=fmod(a,b);<br />
<strong>e=d*10/b;</strong><br />
f=fmod(d,b);<br />
<strong>g=f/b;</strong></p>
<p>tampilkan ke lcd<br />
sprintf(lcd_buffer,&#8221;hasilnya %u,%u%&#8221;,c,e,g);<br />
lcd_puts(lcd_buffer);</p>
<p>jadi<br />
c = angka pertama<br />
e = angka pertama dibelakang koma<br />
g = angka kedua dibelakang koma</p>
<p>maka di LCD akan tampil :   hasilnya 2,66</p>
<p>Selamat mencoba</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/devinurtsyani.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/devinurtsyani.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/devinurtsyani.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/devinurtsyani.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/devinurtsyani.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/devinurtsyani.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/devinurtsyani.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/devinurtsyani.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/devinurtsyani.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/devinurtsyani.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/devinurtsyani.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/devinurtsyani.wordpress.com/91/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/devinurtsyani.wordpress.com/91/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/devinurtsyani.wordpress.com/91/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=devinurtsyani.wordpress.com&amp;blog=6434397&amp;post=91&amp;subd=devinurtsyani&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://devinurtsyani.wordpress.com/2010/02/07/menampilkan-bilangan-desimal-ke-lcd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/24bb91d1f620183620aaa998baaa681b?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">devinurtsyani</media:title>
		</media:content>
	</item>
	</channel>
</rss>
