<?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>Jelengar :)</title>
	<atom:link href="http://jelengar.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jelengar.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Fri, 16 Jul 2010 18:09:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jelengar.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Jelengar :)</title>
		<link>http://jelengar.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jelengar.wordpress.com/osd.xml" title="Jelengar :)" />
	<atom:link rel='hub' href='http://jelengar.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Ukrajina pt.2</title>
		<link>http://jelengar.wordpress.com/2010/07/16/ukrajina-pt-2/</link>
		<comments>http://jelengar.wordpress.com/2010/07/16/ukrajina-pt-2/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 18:09:42 +0000</pubDate>
		<dc:creator>jelengar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jelengar.wordpress.com/?p=56</guid>
		<description><![CDATA[Hei hei vsi, evo se en kratek post iz ukrajine. Sem se preselil k enmu od organizatorju za ta vecer in je prov lepo bit spet en mal v civilizaciji (beri normalen tus in wc brez tisoc hroscov). Ukrajina me se kr vztrajno preseneca, dns sem sel iz univerze na rob kiejvega z trolo (to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jelengar.wordpress.com&amp;blog=4377544&amp;post=56&amp;subd=jelengar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hei hei vsi,</p>
<p>evo se en kratek post iz ukrajine. Sem se preselil k enmu od organizatorju za ta vecer in je prov lepo bit spet en mal v civilizaciji (beri normalen tus in wc brez tisoc hroscov). Ukrajina me se kr vztrajno preseneca, dns sem sel iz univerze na rob kiejvega z trolo (to v kijevmu zgleda kukr en micken rumen avtobus).</p>
<p>Voznja traja cca 1.5 ure in stane 2.5 hryvne (0.25 eura). Funkcionira pa tko da je voznik steje solde, krci na tiste k niso placali, vmes se sortira solde in jih spenja u take lustne majhne rolce in zravn seveda tudi vozi, je prov cudno da ni dosti nesrec. Seveda trola nima klime in zicu zmanka po prvi postaji in temperatura je cca 45 degC. Ko pride folk na to trolo da solde u tisto smer k je voznik, voznik pa pol vrne na tak nacin solde nazaj. K ce it folk dol iz trole pove tistmu pred njim nej ustavi in tako se pol cel avtobus igra telefoncke dukler ne pride do voznika. Ljudje se gor ne poznajo ampak se vseglih vsi pogovarjajo, krcijo na pijancke, krcijo na tiste k niso placali itd. Zelo zabavna zadeva, priporocam vsakmi k bo v ukrajini da proba lokalne prevoze <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p>Druga stvar k me je presentla pa je polozaj punc v druzbi. Noben recimo ni presenecen ce punca studira aeronavtiko alpa strojnistvo alpa informatiko (beri precej napredno), ampak odnos do fantov je pa precej zanimiv. Se vedno nekako velja, ce ne bos lepa, ne bos dobila fanta, ne bos mela soldov,itd (to ne govorijo zgolj stare mame)&#8230; In ce se pri nas fantje tepejo za punce, je tuki precej drugacna situacija, vsi so zadrzani, in punca mora bit res neki oh in sploh da ima fanta, vglavnem cel dating sistem je precej old-school. Zlo zabavno je blo recimo tudi ko je ena od organizatork kadila na eni izmed zurk (navadne cigarete), so bli potem drug vsi fanti precej jezni nanjo (kao, to se pa res ne spodobi, da punca kadi).</p>
<p>Evo nazaj iz vecerje. Mmmm, koncno enkrat zares sit po 10ih dnevih <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (ok, se ni blo res tko hudo, sam majo navado met res res majhne porcije. tko majhne da so se se hrvatske punce prtozavale da so lacne <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). Se en zabavn fact, po vecerji majo navado spit salco caja in jest maslene piskote, in jejo jih s putrm, tko kukr v starih cajtih <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>Aha, se glede chernobyla, ce bo gdu gdaj tel it&#8230; Probt najdt vodica direkt u kijevmi med lokalnim prebivastlvom je no go. To je zanje se vedno precej prepovedana cona in vecina se nece niti ment o tem (so pa seveda tudi izjeme, ki jih zanima kaj je tam). Jst sem najdu vodica online in me je poklicu v roku 10 min po tem ko sem mu poslal mejl. Cena za tako eksukrzijo je ponavadi tam nekje v rangu 250-500 usd, ampak nm se je ratalo prdruzt eni mal vecji grupci in smo dobili za mal vec k 100eur. Vodic te pobere u kijevu, pelje u chernobyl (200 km severnu), zrihta vse potrebne dokumente (potrebujes dnveni zone-pass ce zelis bit znotraj 30km radija), te pelje cez vse potrebne tocke, potem pa gres se skozi obvezen pregled za radioaktivnost preden zapustis the zone . tako da all in all 100eur niti ni tulku.</p>
<p>To je za zdej vse, ce vas kj zanima praste <img src='http://s2.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/jelengar.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jelengar.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jelengar.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jelengar.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jelengar.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jelengar.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jelengar.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jelengar.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jelengar.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jelengar.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jelengar.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jelengar.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jelengar.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jelengar.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jelengar.wordpress.com&amp;blog=4377544&amp;post=56&amp;subd=jelengar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jelengar.wordpress.com/2010/07/16/ukrajina-pt-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f3e72b4aef9cc43a8d51f0a12aa4699?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelengar</media:title>
		</media:content>
	</item>
		<item>
		<title>Ukrajina</title>
		<link>http://jelengar.wordpress.com/2010/07/09/ukrajina/</link>
		<comments>http://jelengar.wordpress.com/2010/07/09/ukrajina/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 09:33:10 +0000</pubDate>
		<dc:creator>jelengar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jelengar.wordpress.com/?p=50</guid>
		<description><![CDATA[Hei hei vsi,m lep pozdravcek iz ukrajine. Ker res nimm cajta da vsakmi napism svoj mejl, bom dal kr blog&#8230; morde bo vse en malu polomlenu ker je zlo cudnu pisat na njihove tipkovnce&#8230; Tle gor je precej teksas style, ubistvi kar se infrastruktur tice je precej slabs (beri sovjetsku) kukr sm mislu. Je pa [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jelengar.wordpress.com&amp;blog=4377544&amp;post=50&amp;subd=jelengar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hei hei vsi,m lep pozdravcek iz ukrajine. Ker res nimm cajta da vsakmi napism svoj mejl, bom dal kr blog&#8230; morde bo vse en malu polomlenu ker je zlo cudnu pisat na njihove tipkovnce&#8230;</p>
<p>Tle gor je precej teksas style, ubistvi kar se infrastruktur tice je precej slabs (beri sovjetsku) kukr sm mislu. Je pa zabavnu, ker je vse precej enaku in ker majo vse hise fasade iz ploscic <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . In vsi bloki so HUGE in zlo zlo cudnu narjeni (pridejo fotke ko se prebijem do kkga rac. k bo mel citalc). Njihova univerza me se najbl spominja na kko termoelektrano <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p> Ubistvi je vse kr precej revnu, ceprov c se mens z njimi vsi pravjo da jim gre full fajn, sam se pac primerjajo z indijci in mehicani (jp, tku slabu). Anglesku ne govori skor nobedn razn studentu, se pa da precej zment u eni mesanci hrvascine/slovenscine/ukrajinscine. Aja, mi zvimo u studenskmi domi in zgleda precej kurk kka zlu zlu stara jugoslovanska kasarana alpa zapot. In majo kke precej zabavne fore, recimo k sm prsu mi je organizatorka rekla: so does your government also have this funny habbit of turning off the hot water during the sumer? . Jp v vseh ukrainskih javnih placih poleti ni tople vode&#8230;<br />
Ampak, ni vse tku zlu slabu, ql stvar je da je vse full full full poceni&#8230; kulk poceni? recimo full fina fensi vodka (taka k jo ne rabs mest) stane dobre 3.5eur/l (poceni vodka je cca 1 euro). Piva u kafici je tm od 50 centu do 1,3 eura. Podobno je z vsmi stvarmi, recimo taksi od letalisca u mestu (kko dobro urco voznje ponoci) je bil 20eur, ampak bi se komot dalu zment za mnj ce bi vedu, trola je 15 centu itd. In to je kijevu k je najbl dragu mestu u ukrajini&#8230;<br />
Full me je presentu folk, so vsi zlu prjazni (vsaj tisti k znajo govort anglesku), in nobedn nc ne tezi, bi vsi sam zurali in pili pivo stabo. Pa tud drgaci je folk zlo fer, recimo na avtobusu vsak kr pride gor in pol podas solde naprej, tko da si pol cel avtobus podaja solde do voznika. Se pa ful pozna ker ni turistu, in so pol vsi cist prevc navduseni nad tujci&#8230;<br />
Aja, kku zgledajo ukrajinke? precej stereotipicnu (se dost bl ku na fotkah), vse majo tm cca 1.8m (pika bi se pocutla majhno&#8230;) in u povprecji kkih 50kg z opremo. Vec al mnj so vse blond, in vec al mnj majo vse najbl kartku moznu krilce alpa kavbojke. Ok, sej so izjeme, ampak tu je povprecje <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
<p>@andraz: ukrajina ni glih nek problematicnega za turiste iz EU k ne rabjo vize, sam k bos prsu na mejo ti bo tezu za imigracijski list. Tu so eni piltki k jih mors izpolnt na njihovi meji preden te spustijo u drzavo. D ne bos mel problemu pod namen napisi turist, pod destinacjio pa kijev. Ne pozabt izpolnt tud stvari za povratek. Men ni tga noben povedu, in pol sm rabu kko uro in pol d sm se prebil cez mejo. Aja, pa u italiji c ti bodo na meji tezili za vizo povdari da gres u ukrajino in d ne rabs vize&#8230; Aja, kam gremo se ne vem, delamo pa vse na tm da bi prslu u chernobyl <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Zaenkrat vem da je prosto dostopen c mas vodica in da radiacija ni vec nek resn problem.  Je pa tku da ukrajinici precej neradi govorijo o tem in pol se bl delajo kukr d ne obstaja, tko da je mal problem pridt do zanesljivih informacij&#8230;<br />
Zdej morm sibt na juzno, c vs se kj zanima praste spodi u komentarjh in vm bom probu odgovort kdr naslednic pridm do interneta.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jelengar.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jelengar.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jelengar.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jelengar.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jelengar.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jelengar.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jelengar.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jelengar.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jelengar.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jelengar.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jelengar.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jelengar.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jelengar.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jelengar.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jelengar.wordpress.com&amp;blog=4377544&amp;post=50&amp;subd=jelengar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jelengar.wordpress.com/2010/07/09/ukrajina/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f3e72b4aef9cc43a8d51f0a12aa4699?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelengar</media:title>
		</media:content>
	</item>
		<item>
		<title>cheap simple tiny48 stepper motor driver</title>
		<link>http://jelengar.wordpress.com/2009/05/13/cheap-simple-tiny48-stepper-motor-driver/</link>
		<comments>http://jelengar.wordpress.com/2009/05/13/cheap-simple-tiny48-stepper-motor-driver/#comments</comments>
		<pubDate>Wed, 13 May 2009 19:59:03 +0000</pubDate>
		<dc:creator>jelengar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jelengar.wordpress.com/?p=41</guid>
		<description><![CDATA[The idea of this project is to create cheap and simple bipolar stepper motor driver with current chopper. The design is nothing new and is used in most of today’s drivers (very similar to internals of popular l297/l298 pair), the difference, however, is in the price. This board is my first SMD project (first SMD [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jelengar.wordpress.com&amp;blog=4377544&amp;post=41&amp;subd=jelengar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The idea of this project is to create cheap and simple bipolar stepper motor driver with current chopper.  The design is nothing new and is used in most of today’s drivers (very similar to internals of popular l297/l298 pair), the difference, however, is in the price.<br />
This board is my first SMD project (first SMD design and my first SMD soldering). I managed to solder all of the parts without the need of any expensive equipment(old soldering iron with blunt tip   and chinese tweezers). So if you have never soldered SMD, this is a good project to start (just make sure you get a good tweezers and thin enough solder).</p>
<p style="text-align:center;"><img class="aligncenter size-full wp-image-43" title="board_tiny48_stepper" src="http://jelengar.files.wordpress.com/2009/05/brd.png?w=353&#038;h=335" alt="board_tiny48_stepper" width="353" height="335" /> L297 is replaced by using dirt cheap microcontroller (ATTINY48 – cca 1,6€) , two lm358 dual op-amps (cca 0.15€ each) and couple of discrete components -&gt; much cheaper than overpriced l297 (8€).<br />
The power part consists of logic level mosfets and power diodes to protect them from power spikes.  Mosfets can be replaced with any other logic level mosfet, as long as they can handle enough current. I chose NTD3055L104G (12A, 60V) mostly due to its price (0,44€).<br />
The driver can produce full (with two energized coils at the same time) or half steps and is capable of following frequencies up to around 30 kHz. Power part should be able to handle up to around 3A without additional cooling and up to 10A (MOSFETs are rated 12A so high currents should be used with caution) with heat sinks placed across MOSFETs and power diodes.<br />
Current limiting is done via current chopper, consisting of sensing resistor and two op-amps. In first stage of op-amp sensed voltage is amplified app 10x times. Second stage is used as a voltage comparator.  The desired current is set via potentiometer acting as a voltage divider. If recommended 0.1 ohm resistor is used than 1V on the pot should correspond to app 1A on coil. Logical AND gate is not used, as it is realized in microcontroller’s firmware.<br />
Current sensing resistors should be 0.1 ohm with power rating at least 2,5W (5W recommended), however different value can be used.<a href="http://jelengar.files.wordpress.com/2009/05/sch.png?w=299"><img class="aligncenter size-medium wp-image-44" title="schematic_tiny48_stepper" src="../files/2009/05/sch.png?w=299" alt="schematic_tiny48_stepper" width="299" height="209" /></a>PCB is designed for toner transfer (or other homemade techniques) and is single sided with minimum trace width 0.16mil. All the bridges are done via 0ohm 1206 resistors. Most of the components are SMD (resistor 603, capacitors 1206 (603 fit as well), with exception of microcontroller (so it can be programmed of board) and power resistors.</p>
<p>Source code is completly written in C and compiled using WinAVR (gcc).</p>
<p>Note that is project was made mostly for my education and as a fundation for next stepper controller (rev2) wich will include microstepping and fixed frequency current chopper.</p>
<p>Download project files:</p>
<p><a title="DOWNLOAD" href="http://dl.getdropbox.com/u/520656/stepper.zip"><strong>DOWNLOAD</strong></a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jelengar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jelengar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jelengar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jelengar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jelengar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jelengar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jelengar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jelengar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jelengar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jelengar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jelengar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jelengar.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jelengar.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jelengar.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jelengar.wordpress.com&amp;blog=4377544&amp;post=41&amp;subd=jelengar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jelengar.wordpress.com/2009/05/13/cheap-simple-tiny48-stepper-motor-driver/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f3e72b4aef9cc43a8d51f0a12aa4699?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelengar</media:title>
		</media:content>

		<media:content url="http://jelengar.files.wordpress.com/2009/05/brd.png" medium="image">
			<media:title type="html">board_tiny48_stepper</media:title>
		</media:content>

		<media:content url="../files/2009/05/sch.png?w=299" medium="image">
			<media:title type="html">schematic_tiny48_stepper</media:title>
		</media:content>
	</item>
		<item>
		<title>MakeController Tweeter library</title>
		<link>http://jelengar.wordpress.com/2009/05/05/makecontroller-tweeter-library/</link>
		<comments>http://jelengar.wordpress.com/2009/05/05/makecontroller-tweeter-library/#comments</comments>
		<pubDate>Tue, 05 May 2009 22:30:46 +0000</pubDate>
		<dc:creator>jelengar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jelengar.wordpress.com/?p=32</guid>
		<description><![CDATA[Here it is, a Tweeter library for MakeControler. Why? Well, it seemed like a good idea couse it has built in network support, so there wasn&#8217;t to much work. The library might be (is?) a bit buggy and should be used with caution. Feel free to modify code (and do not forget to send me [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jelengar.wordpress.com&amp;blog=4377544&amp;post=32&amp;subd=jelengar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here it is, a Tweeter library for MakeControler.</p>
<p>Why? Well, it seemed like a good idea couse it has built in network support, so there wasn&#8217;t to much work.</p>
<p>The library might be (is?) a bit buggy and should be used with caution. Feel free to modify code (and do not forget to send me a copy <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).</p>
<p>Functions are well explained in the header file, still here is a quick copy (to make post look longer <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ):</p>
<p><span style="color:#000080;"><br />
</span></p>
<p><span style="color:#000080;">int Twitter_PostUpdate(char* tweet, char* user);<br />
/*<br />
** Used to post update to Tweeter. This is NOT THREAD SAFE. Function will pause execution of current program/thread until it is able to post.<br />
** Parameters:<br />
** &#8211; tweet: text to post, make sure it does not exceed 140 chars.<br />
** &#8211; user: base64 encoded username:password (search online for info on how to encode your user/pass)<br />
** Returns:<br />
** &#8211; ERROR_SOCKET if socket can not be opend<br />
** &#8211; ERROR_POST if it was not possible to send all data<br />
** &#8211; 0 if everything went ok <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
*/</p>
<p>int Twitter_GetUpdate(char* username, char* output);<br />
/*<br />
** Used to get LAST update from desired user<br />
** Parameters:<br />
** &#8211; username: name of the user (eg. jelengar)<br />
** &#8211; output: pointer to char array into wich output gets posted (make sure it is large enough -&gt; 140)<br />
** Returns:<br />
** &#8211; ERROR_SOCKET if socket can not be opend<br />
** &#8211; 0 if everything went ok <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
*/</span></p>
<h4><a title="Download" href="http://dl.getdropbox.com/u/520656/tweeter.zip" target="_blank"><strong><span style="color:#ff0000;">Download</span></strong></a></h4>
<p>If you decide to use this library in your own project please let me know about it.</p>
<p>Tweet away <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>PS: feel free to folow me on http://twitter.com/jelengar</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jelengar.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jelengar.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jelengar.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jelengar.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jelengar.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jelengar.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jelengar.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jelengar.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jelengar.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jelengar.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jelengar.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jelengar.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jelengar.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jelengar.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jelengar.wordpress.com&amp;blog=4377544&amp;post=32&amp;subd=jelengar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jelengar.wordpress.com/2009/05/05/makecontroller-tweeter-library/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f3e72b4aef9cc43a8d51f0a12aa4699?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelengar</media:title>
		</media:content>
	</item>
		<item>
		<title>Fiio E3 power supply</title>
		<link>http://jelengar.wordpress.com/2008/11/25/fiio-e3-power-supply/</link>
		<comments>http://jelengar.wordpress.com/2008/11/25/fiio-e3-power-supply/#comments</comments>
		<pubDate>Tue, 25 Nov 2008 22:17:22 +0000</pubDate>
		<dc:creator>jelengar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jelengar.wordpress.com/?p=19</guid>
		<description><![CDATA[I really like my E3, it gives my HD555 a much needed bass boost&#8230; But, it eats loads and loads of batteries, so i decided to make a power supply for it, but I also wanted to keep case intact, so i can still use it with batteries. So I made a power supply that [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jelengar.wordpress.com&amp;blog=4377544&amp;post=19&amp;subd=jelengar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I really like my E3, it gives my HD555 a much needed bass boost&#8230; But, it eats loads and loads of batteries, so i decided to make a power supply for it, but I also wanted to keep case intact, so i can still use it with batteries. So I made a power supply that can go into battery compartment. It is based around LP2950 LDO 3.3 V voltage regulator. I decided to go for the 3.3V since the op amp in the hart of Fiio is made for 1.2-3.5V. The whole thing, is in my case powered from USB, but you can connect it to any voltage up to 30V. Here is how it turned out:</p>
<p><a href="http://jelengar.files.wordpress.com/2008/11/dsc09541.jpg"><img class="alignnone size-full wp-image-21" title="dsc09541" src="http://jelengar.files.wordpress.com/2008/11/dsc09541.jpg?w=495&#038;h=350" alt="dsc09541" width="495" height="350" /></a></p>
<p>Note that the whole thing fits into battery compartment&#8230;</p>
<p><a href="http://jelengar.files.wordpress.com/2008/11/dsc09546.jpg"><img class="alignnone size-full wp-image-22" title="dsc09546" src="http://jelengar.files.wordpress.com/2008/11/dsc09546.jpg?w=495&#038;h=330" alt="dsc09546" width="495" height="330" /></a></p>
<p><a href="http://jelengar.files.wordpress.com/2008/11/dsc09549.jpg"><img class="alignnone size-full wp-image-23" title="dsc09549" src="http://jelengar.files.wordpress.com/2008/11/dsc09549.jpg?w=495&#038;h=330" alt="dsc09549" width="495" height="330" /></a></p>
<p>Here is the ultra simple schematic&#8230;</p>
<p><a href="http://jelengar.files.wordpress.com/2008/11/schematic.png"><img class="alignnone size-full wp-image-24" title="schematic" src="http://jelengar.files.wordpress.com/2008/11/schematic.png?w=315&#038;h=156" alt="schematic" width="315" height="156" /></a></p>
<p>And here is the simple board layout, note that it is created on piece of proto board I had laying around. Sorry for a bit poor graphics, i guess i&#8217;m just to lazy  to start illustrator to draw it better (so I drew it in eagle <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ):</p>
<p><a href="http://jelengar.files.wordpress.com/2008/11/board.png"><img class="alignnone size-full wp-image-20" title="board" src="http://jelengar.files.wordpress.com/2008/11/board.png?w=475&#038;h=211" alt="board" width="475" height="211" /></a></p>
<p>You can of course use any other 1.2 &#8211; 3.3 voltage regulator with same pinout (a lm317 in to-92 package, perhaps)&#8230;</p>
<p>The masterpiece works <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . There is no audible noise, hum or anything else that is not suposed to be there and the amplified sound is exactly the same as before. Regulator emits little to no heat and op amp remains as cool as before, so there is no worries of destroying it. However, when I pluged it into my laptop (insted of my PC), certian noise was audible (probably due it&#8217;s poor voltage regualtion, and digital &#8211; analog ground separation), so i also made a veresion that is powerd from old Nokia charger, it of course also works just as well&#8230;</p>
<p>If you have any questions, feel free to ask&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jelengar.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jelengar.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jelengar.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jelengar.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jelengar.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jelengar.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jelengar.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jelengar.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jelengar.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jelengar.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jelengar.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jelengar.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jelengar.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jelengar.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jelengar.wordpress.com&amp;blog=4377544&amp;post=19&amp;subd=jelengar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jelengar.wordpress.com/2008/11/25/fiio-e3-power-supply/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f3e72b4aef9cc43a8d51f0a12aa4699?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelengar</media:title>
		</media:content>

		<media:content url="http://jelengar.files.wordpress.com/2008/11/dsc09541.jpg" medium="image">
			<media:title type="html">dsc09541</media:title>
		</media:content>

		<media:content url="http://jelengar.files.wordpress.com/2008/11/dsc09546.jpg" medium="image">
			<media:title type="html">dsc09546</media:title>
		</media:content>

		<media:content url="http://jelengar.files.wordpress.com/2008/11/dsc09549.jpg" medium="image">
			<media:title type="html">dsc09549</media:title>
		</media:content>

		<media:content url="http://jelengar.files.wordpress.com/2008/11/schematic.png" medium="image">
			<media:title type="html">schematic</media:title>
		</media:content>

		<media:content url="http://jelengar.files.wordpress.com/2008/11/board.png" medium="image">
			<media:title type="html">board</media:title>
		</media:content>
	</item>
		<item>
		<title>Converting 29USD ET AVR board to 60+ USD wiring compatible board</title>
		<link>http://jelengar.wordpress.com/2008/11/11/converting-29usd-et-avr-board-to-60-usd-wiring-compatible-board/</link>
		<comments>http://jelengar.wordpress.com/2008/11/11/converting-29usd-et-avr-board-to-60-usd-wiring-compatible-board/#comments</comments>
		<pubDate>Tue, 11 Nov 2008 23:10:46 +0000</pubDate>
		<dc:creator>jelengar</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jelengar.wordpress.com/?p=3</guid>
		<description><![CDATA[We all love arduino, don’t we? And we love it because it’s cheap, flexible, has great user support, because it’s opensoruce (so we don’t feel bad about all the pirate software we stole J ) and so on. But arduino has it’s disadvantages as well, for me that is mostly a low pin count (yes, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jelengar.wordpress.com&amp;blog=4377544&amp;post=3&amp;subd=jelengar&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]&gt;  Normal 0     false false false  EN-US X-NONE X-NONE              MicrosoftInternetExplorer4              &lt;![endif]--><!--[if gte mso 9]&gt;                                                                                                                                            &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face 	{font-family:"Cambria Math"; 	panose-1:0 0 0 0 0 0 0 0 0 0; 	mso-font-charset:1; 	mso-generic-font-family:roman; 	mso-font-format:other; 	mso-font-pitch:variable; 	mso-font-signature:0 0 0 0 0 0;} @font-face 	{font-family:Calibri; 	panose-1:2 15 5 2 2 2 4 3 2 4; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-parent:""; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} a:link, span.MsoHyperlink 	{mso-style-priority:99; 	color:blue; 	mso-themecolor:hyperlink; 	text-decoration:underline; 	text-underline:single;} a:visited, span.MsoHyperlinkFollowed 	{mso-style-noshow:yes; 	mso-style-priority:99; 	color:purple; 	mso-themecolor:followedhyperlink; 	text-decoration:underline; 	text-underline:single;} p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpFirst, li.MsoListParagraphCxSpFirst, div.MsoListParagraphCxSpFirst 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpMiddle, li.MsoListParagraphCxSpMiddle, div.MsoListParagraphCxSpMiddle 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:0in; 	margin-left:.5in; 	margin-bottom:.0001pt; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} p.MsoListParagraphCxSpLast, li.MsoListParagraphCxSpLast, div.MsoListParagraphCxSpLast 	{mso-style-priority:34; 	mso-style-unhide:no; 	mso-style-qformat:yes; 	mso-style-type:export-only; 	margin-top:0in; 	margin-right:0in; 	margin-bottom:10.0pt; 	margin-left:.5in; 	mso-add-space:auto; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoChpDefault 	{mso-style-type:export-only; 	mso-default-props:yes; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-fareast-font-family:Calibri; 	mso-fareast-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin; 	mso-bidi-font-family:"Times New Roman"; 	mso-bidi-theme-font:minor-bidi;} .MsoPapDefault 	{mso-style-type:export-only; 	margin-bottom:10.0pt; 	line-height:115%;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.0in 1.0in 1.0in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:441725615; 	mso-list-type:hybrid; 	mso-list-template-ids:1615097788 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Symbol;} @list l0:level2 	{mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level3 	{mso-level-tab-stop:1.5in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level4 	{mso-level-tab-stop:2.0in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level5 	{mso-level-tab-stop:2.5in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level6 	{mso-level-tab-stop:3.0in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level7 	{mso-level-tab-stop:3.5in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level8 	{mso-level-tab-stop:4.0in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l0:level9 	{mso-level-tab-stop:4.5in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l1 	{mso-list-id:1286083515; 	mso-list-type:hybrid; 	mso-list-template-ids:1654188258 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l1:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:none; 	mso-level-number-position:left; 	text-indent:-.25in; 	font-family:Symbol;} @list l1:level2 	{mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l1:level3 	{mso-level-tab-stop:1.5in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l1:level4 	{mso-level-tab-stop:2.0in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l1:level5 	{mso-level-tab-stop:2.5in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l1:level6 	{mso-level-tab-stop:3.0in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l1:level7 	{mso-level-tab-stop:3.5in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l1:level8 	{mso-level-tab-stop:4.0in; 	mso-level-number-position:left; 	text-indent:-.25in;} @list l1:level9 	{mso-level-tab-stop:4.5in; 	mso-level-number-position:left; 	text-indent:-.25in;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --></p>
<p><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-priority:99; 	mso-style-qformat:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin-top:0in; 	mso-para-margin-right:0in; 	mso-para-margin-bottom:10.0pt; 	mso-para-margin-left:0in; 	line-height:115%; 	mso-pagination:widow-orphan; 	font-size:11.0pt; 	font-family:"Calibri","sans-serif"; 	mso-ascii-font-family:Calibri; 	mso-ascii-theme-font:minor-latin; 	mso-hansi-font-family:Calibri; 	mso-hansi-theme-font:minor-latin;} --></p>
<p><!--[endif]--></p>
<p class="MsoNormal">We all love <a href="http://arduino.cc/" target="_blank">arduino</a>, don’t we? And we love it because it’s cheap, flexible, has great user support, because it’s opensoruce (so we don’t feel bad about all the pirate software we stole <span style="font-family:Wingdings;"><span>J</span></span> ) and so on.<span> </span>But arduino has it’s disadvantages as well, for me that is mostly a low pin count (yes, you zcan use port expanders, but that’s still not the same as having natively high pin count).<span> </span>Arduino’s older bigger brother <a href="http://wiring.org.co/" target="_blank">­wiring</a><span> </span>is using the same programming language, but is based on ATmega128 instead ATmega 168. That means that you get 53 pins instead of 11, and 128kb (instead of 16kb) of memory for your programs (check <a href="http://wiring.org.co/hardware/compare.html" target="_blank">this site for details</a>). The downside? It costs 60+ $ (ok, a worthy upgrade in US, but in EU this comes closer to 100€ with postage, and that is whole army or arduinos … ). So what I will show you is how to convert cheapest (to my knowing) atmega128 board <a href="http://futurlec.com/ATMEGA_Controller.shtml">http://futurlec.com/ATMEGA_Controller.shtml</a>) to be wiring compatible.<span> </span></p>
<p class="MsoNormal">
<h2 class="MsoNormal">Hardware:</h2>
<p class="MsoNormal">Part list:</p>
<ul>
<li><!--[if !supportLists]--><span style="font-family:Symbol;"><span>·<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:&quot;"> </span></span></span><!--[endif]-->ET AVR controller board</li>
<li><!--[if !supportLists]--><span style="font-family:Symbol;"><span>·<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:&quot;"> </span></span></span><!--[endif]-->32khz crystal</li>
<li><span style="font-family:Symbol;"><span>·<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:&quot;"> </span></span></span><!--[endif]-->14 Contact IDC Socket Connector <span> </span>(http://futurlec.com/Connectors/IDCC14.shtml)</li>
<li><!--[if !supportLists]--><span style="font-family:Symbol;"><span>·<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:&quot;"> </span></span></span><!--[endif]-->Switch (optional)</li>
<li><!--[if !supportLists]--><span style="font-family:Symbol;"><span>·<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:&quot;"> </span></span></span><!--[endif]-->Led (optional)</li>
<li><!--[if !supportLists]--><span style="font-family:Symbol;"><span>·<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:&quot;"> </span></span></span><!--[endif]-->Resistor (optional)<!--[if !supportLists]--></li>
</ul>
<p class="MsoNormal">Tools:</p>
<ul>
<li><!--[if !supportLists]--><span style="font-family:Symbol;"><span>·<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:&quot;"> </span></span></span><!--[endif]-->Everything you need for some light soldering</li>
<li><!--[if !supportLists]--><span style="font-family:Symbol;"><span>·<span style="font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:&quot;"> </span></span></span><!--[endif]-->Some sort of programmer (you can use the one that is sold at futurlec, otherwise just Google around a bit)</li>
</ul>
<p class="MsoNormal">Most of the more expensive ATmega128 boards do not need any hardware modifications to run wiring, but this one is missing 32khz watch crystal, so we need to add it (unlike arduino, wiring will not operate without it, because it uses it as main clock, for time keeping etc..). When we are at it we will also add a bootloader switch and a status led for it. Note that these two components are not need, you can simply install time based bootloader to use instead of button based one and led is only for indication.</p>
<p class="MsoNormal">To avoid unnecessary hustle with creating pcb for those 3 simple components will simply put them around connector that plugs into ETCLCD port. Take a look at schematics below:</p>
<p class="MsoNormal"><a href="http://jelengar.files.wordpress.com/2008/07/schematic1.jpg"><img class="aligncenter size-medium wp-image-7" src="http://jelengar.files.wordpress.com/2008/07/schematic1.jpg?w=220&#038;h=260" alt="" width="220" height="260" /></a></p>
<p class="MsoNormal">
<p class="MsoNormal" style="text-align:center;">My version looks like this:<a href="http://jelengar.files.wordpress.com/2008/11/dsc09558.jpg"><img class="size-full wp-image-11 aligncenter" title="dsc09558" src="http://jelengar.files.wordpress.com/2008/11/dsc09558.jpg?w=311&#038;h=273" alt="dsc09558" width="311" height="273" /></a><a href="http://jelengar.files.wordpress.com/2008/11/dsc09561.jpg"><img class="size-full wp-image-12 aligncenter" title="dsc09561" src="http://jelengar.files.wordpress.com/2008/11/dsc09561.jpg?w=313&#038;h=299" alt="dsc09561" width="313" height="299" /></a></p>
<p class="MsoNormal">
<p class="MsoNormal" style="text-align:center;">I assume you have already worked with this kind of connectors and that you have basic soldering skills, so I will not go into details on how to build it (if you are having problems you can mail me, or ask in the comments). Basically you just stick wires into connector, clamp it together, solder components and hot glue everything together (or put it into shrink tube, or use your imagination). <span> </span></p>
<h2 class="MsoNormal">Second step: software (bootloader).</h2>
<p class="MsoNormal">Before we can use the wiring we need to program our AT mega with appropriate bootloader. You can find source code for wiring bootloaders on this site: <a href="http://www.avride.com/article/wiring/">http://www.avride.com/article/wiring/</a> . Bellow are my two versions of bootloader.</p>
<p class="MsoNormal">First one is button based, that means that you have to hold bootloader button down while you reset the board to enter bootloader, also note that when you are in bootloader the led will turn on (PG0 will be high). Note that this is V1 bootloader.</p>
<address class="MsoNormal"><a class="alignleft" href="http://www.box.net/shared/ps9eg24ys8" target="_blank">BOOTLOADER DOWNLOAD</a><br />
</address>
<p class="MsoNormal">Second one is time based, that means that you do not need to press bootloader button, instead every time you reset the board it will enter the bootloader for 8sec and than the normal program will start. <span> </span>Downside is of course that you will have to wait 8 sec every time you turn on the board (very very annoying when you are programming or debugging it). Note that this is V1 bootloader.</p>
<h2 class="MsoNormal"><strong>Programming fuses:</strong></h2>
<p class="MsoNormal">If you are using PonyProg for programming, here is the screenshot of the appropriate fuses.</p>
<p class="MsoNormal" style="line-height:normal;text-align:left;margin:0 0 .0001pt .5in;">
<p class="MsoNormal" style="line-height:normal;margin:0 0 .0001pt .5in;">Otherwise here is copy/past from wiring bootloader site:</p>
<p class="MsoNormal" style="line-height:normal;margin:0 0 .0001pt .5in;">
<p class="MsoNormal" style="line-height:normal;text-align:left;margin:0 0 .0001pt .5in;"><strong><span style="font-size:10pt;font-family:&quot;">Fuse setting is same as Wiring Board</span></strong></p>
<p class="MsoNormal" style="line-height:normal;text-align:left;margin:0 0 .0001pt 1in;"><span style="font-size:10pt;font-family:&quot;">Extended: 0xFF<br />
High: 0xCC<br />
Low: 0x3F</span></p>
<p style="text-align:left;padding-left:60px;"><strong>Important bit fuse</strong><br />
Boot Flash size 1024 words : BOOTSZ=10<br />
Boot Reset vector enable : BOOTRST=0<br />
CKOPT=0<br />
BOD at 4.0V, : BODLEVEL=0<br />
BOD enable : BODEN=0<br />
Ext. crystal/resonator High Freq.; Start-up time 16K CLK + 64ms. : CKSEL=1111 SUT=11<br />
Watchdog disable: WDTON=0<br />
OCD disable: OCDEN=0<br />
JTAG disable: JTAGEN=0<br />
SPIEN enable: SPIEN=0</p>
<p class="MsoNormal">
<p class="MsoNormal">A quick note on bootloaders, I was unable to use V2 bootloader source code, if any1 succeeds please contact me.</p>
<p class="MsoNormal">Everything should be ready now, connect your brand new wiring clone to computer via RS232 port (yeah I know, it’s not usb but it’ll do), start up wiring, select correct COM port, select firmware version V1 and try to upload some simple blinking sketch.</p>
<p class="MsoNormal">
<h2 class="MsoNormal"><strong>About ports and pin numbering:</strong></h2>
<p class="MsoNormal">The problem is that the layout on the ET ATmega board is completely different than the one on the wiring board, so how do you know which pin is which? Just check the bellow diagram and everything will be crystal clear (I hope).<span> </span>Now go and play with your new toy, make something great, publish it under some OpenSource license and feel good about yourself.</p>
<p class="MsoNormal" style="text-align:center;"><a href="http://jelengar.files.wordpress.com/2008/07/diagram.jpg"><img class="size-medium wp-image-4 aligncenter" src="http://jelengar.files.wordpress.com/2008/07/diagram.jpg?w=503&#038;h=345" alt="" width="503" height="345" /></a></p>
<p class="MsoNormal" style="text-align:center;"><a href="http://jelengar.files.wordpress.com/2008/07/graphic1.pdf">Diagram PDF</a></p>
<p class="MsoNormal" style="text-align:center;">
<h3 class="MsoNormal" style="text-align:left;">Notes on using other boards:</h3>
<p class="MsoNormal" style="text-align:left;">You can of course any other ATmega128 board, as long as it is working at 16mhz, and has 32khz watch crystal. For pin mapping just check schematics on the official wiring site.</p>
<p class="MsoNormal" style="text-align:left;">
<p class="MsoNormal" style="text-align:left;">Update:</p>
<p class="MsoNormal" style="text-align:left;">If you are converting a ET-AVR stamp board, you should solder the crystal between PG3 and PG4, as illustrated. The led is of course optional and should be tied between PG0 and GND. You should use a time based bootloader, to avoid the need of a button. Because stamp board doesn&#8217;t  have RS232 converter u will have to use external(just google TTL UART to RS232 (or USB) ) and you have to connect it to PE0 (receive) and PE1 (transmit) pins.  Note that I don&#8217;t have any of these boards, so this is untested.</p>
<p class="MsoNormal" style="text-align:left;"><a href="http://jelengar.files.wordpress.com/2008/11/untitled-1.jpg"><img class="alignnone size-full wp-image-27" title="ET-AVT STAMP" src="http://jelengar.files.wordpress.com/2008/11/untitled-1.jpg?w=358&#038;h=324" alt="ET-AVT STAMP" width="358" height="324" /></a></p>
<p class="MsoNormal"><span> </span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jelengar.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jelengar.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jelengar.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jelengar.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jelengar.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jelengar.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jelengar.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jelengar.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jelengar.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jelengar.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jelengar.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jelengar.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jelengar.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jelengar.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jelengar.wordpress.com&amp;blog=4377544&amp;post=3&amp;subd=jelengar&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jelengar.wordpress.com/2008/11/11/converting-29usd-et-avr-board-to-60-usd-wiring-compatible-board/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0f3e72b4aef9cc43a8d51f0a12aa4699?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">jelengar</media:title>
		</media:content>

		<media:content url="http://jelengar.files.wordpress.com/2008/07/schematic1.jpg?w=220" medium="image" />

		<media:content url="http://jelengar.files.wordpress.com/2008/11/dsc09558.jpg" medium="image">
			<media:title type="html">dsc09558</media:title>
		</media:content>

		<media:content url="http://jelengar.files.wordpress.com/2008/11/dsc09561.jpg" medium="image">
			<media:title type="html">dsc09561</media:title>
		</media:content>

		<media:content url="http://jelengar.files.wordpress.com/2008/07/diagram.jpg?w=300" medium="image" />

		<media:content url="http://jelengar.files.wordpress.com/2008/11/untitled-1.jpg" medium="image">
			<media:title type="html">ET-AVT STAMP</media:title>
		</media:content>
	</item>
	</channel>
</rss>
