<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>YourITronics &#187; ATmega8</title>
	<atom:link href="http://www.youritronics.com/tag/atmega8/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.youritronics.com</link>
	<description>DIY, Electronics, IT, Gadgets</description>
	<lastBuildDate>Fri, 16 Dec 2011 19:22:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Protostack update their AVR 28 pin board</title>
		<link>http://www.youritronics.com/protostack-update-their-avr-28-pin-board/</link>
		<comments>http://www.youritronics.com/protostack-update-their-avr-28-pin-board/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 11:49:36 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[ATmega168]]></category>
		<category><![CDATA[ATmega8]]></category>
		<category><![CDATA[Protostack]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=3174</guid>
		<description><![CDATA[You may recall, almost a year ago we did a review of Protostack&#8217;s ATmega8 development kit. You can read the original review here. Well it turns out that they have been busily churning out new versions of this board, with version 1.4 being released, just the other week. This version has got many improvements over [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2010/02/protostack28avr.jpg"><img class="alignnone size-medium wp-image-3173" title="protostack AVR 28 pin board" src="http://www.youritronics.com/wp-content/uploads/2010/02/protostack28avr-300x236.jpg" alt="protostack AVR 28 pin board" width="300" height="236" /></a></p>
<p>You may recall, almost a year ago we did a review of Protostack&#8217;s ATmega8 development kit. You can read the original review<a title="atmega8 kit from protostack" href="http://www.youritronics.com/atmega8-kit-from-protostack/"> here</a>. Well it turns out that they have been busily churning out new versions of this board, with version 1.4 being released, just the other week. This version has got many improvements over the one we reviewed. Some of the recent improvements include a power supply block for L7805 and the like, a 2&#215;3 pin ISP port and a section for dual row headers or IDC connectors. The board still retains the same great features that we saw in version 1, like the large breadboard style prototyping area and the power busses that are routed throughout. It is available by <a href="http://www.protostack.com/index.php?main_page=product_info&amp;cPath=1_20&amp;products_id=4">itsel</a>f or as part of an <a href="http://www.protostack.com/index.php?main_page=product_info&amp;products_id=22">ATmega8</a> or <a href="http://www.protostack.com/index.php?main_page=product_info&amp;cPath=1_20&amp;products_id=45">ATMega168</a> development kit. With both kits being under $20 and the board itself under $10, it is still quite affordable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/protostack-update-their-avr-28-pin-board/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AVR J1850 VPW Interface</title>
		<link>http://www.youritronics.com/avr-j1850-vpw-interface/</link>
		<comments>http://www.youritronics.com/avr-j1850-vpw-interface/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 17:33:00 +0000</pubDate>
		<dc:creator>Tiberiu</dc:creator>
				<category><![CDATA[Car Projects]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[ATmega8]]></category>
		<category><![CDATA[OBD]]></category>
		<category><![CDATA[RS232]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=2958</guid>
		<description><![CDATA[Yet another car related project, this is the AVR J1850 VPW Interface which was designed as an On Board Diagnostic tool for car monitoring. The brain of the device is again the ATmega8 AVR microcontroller from Atmel, with 8KB of flash memory (this is more than enough for all kinds of features, since the basic [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2009/08/avr_j1850_vpw_interface.jpg"><img class="alignnone size-medium wp-image-2957" src="http://www.youritronics.com/wp-content/uploads/2009/08/avr_j1850_vpw_interface-300x225.jpg" alt="AVR J1850 VPW Interface" width="300" height="225" /></a></p>
<p>Yet another car related project, this is the AVR J1850 VPW Interface which was designed as an On Board Diagnostic tool for car monitoring. The brain of the device is again the ATmega8 AVR microcontroller from Atmel, with 8KB of flash memory (this is more than enough for all kinds of features, since the basic source code is only 3KB).</p>
<p>The device supports serial RS232 for connection with the automobile, different baud rates (varying from 9600 to 115200 Baud), 4 different bus monitor functions and can handle header messages of 1 and 3 Bytes long. The circuit was designed for a single layer PCB and, starting with firmware 1.04, the device has a crystal 7.3728MHz. The controller is programmed using the ISP connector.</p>
<p>The interface has been tested with various ODB software, including Scantool.net, wOBD, Scanmaster and many more. A .pdf file containing the schematic, parts list, bill of material and other information regarding this project is available in the link below, as well as the source code, released under GPL.</p>
<p><strong>AVR J1850 VPW Interface: </strong><a href="http://www.mictronics.de/?page=j1850_vpw">[Link]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/avr-j1850-vpw-interface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Becker Unilink</title>
		<link>http://www.youritronics.com/becker-unilink/</link>
		<comments>http://www.youritronics.com/becker-unilink/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 10:00:04 +0000</pubDate>
		<dc:creator>Tiberiu</dc:creator>
				<category><![CDATA[Car Projects]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[ATmega8]]></category>
		<category><![CDATA[Becker Monza 7882]]></category>
		<category><![CDATA[Car Radio]]></category>
		<category><![CDATA[Unilink]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=2951</guid>
		<description><![CDATA[Yesterday I wrote an article about an Atmel based Sony Unilink interface and today it&#8217;s another Unilink project, this time based on Becker car radios. For those who do not know, Becker is an important manufacturer of car radios and car navigation devices and it&#8217;s based in the UK. Becker made the first car radio, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2009/08/becker_unilink.jpg"><img class="alignnone size-medium wp-image-2952" src="http://www.youritronics.com/wp-content/uploads/2009/08/becker_unilink-300x277.jpg" alt="Becker Unilink" width="300" height="277" /></a></p>
<p>Yesterday I wrote an article about an <a href="http://www.youritronics.com/atmel-based-sony-unilink/">Atmel based Sony Unilink</a> interface and today it&#8217;s another Unilink project, this time based on Becker car radios. For those who do not know, Becker is an important manufacturer of car radios and car navigation devices and it&#8217;s based in the UK. Becker made the first car radio, the first microcontroller car radio and the first car radio with CD player and has quite a lot of other achievements.</p>
<p>Becker&#8217;s version of the Unilink protocol is very similar with Sony&#8217;s in terms of hardware, but different in software. The good thing about this is that you only need a different connector and source code with Becker support. The model presented here is a Becker Monza 7882, a European model, with two DIN-ISO connectors and a Mini-ISO connector field (the picture above illustrates the pinout for this model, you will also find the complete pin listing and additional information).</p>
<p>The MCU used is the ATmega8 from Atmel and the schematics are available for download. The source code was written in C and is also available in the link below (there is a logger only version, an interface version and a modified source code for Becker Mexico 2330). The files are released under GNU General Public License.</p>
<p><strong>Becker Unilink: </strong><a href="http://www.mictronics.de/?page=becker">[Link]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/becker-unilink/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Atmel based Sony Unilink</title>
		<link>http://www.youritronics.com/atmel-based-sony-unilink/</link>
		<comments>http://www.youritronics.com/atmel-based-sony-unilink/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 18:19:28 +0000</pubDate>
		<dc:creator>Tiberiu</dc:creator>
				<category><![CDATA[Car Projects]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[ATmega8]]></category>
		<category><![CDATA[Sony]]></category>
		<category><![CDATA[Unilink]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=2930</guid>
		<description><![CDATA[The Sony Unilink protocol is usually meant to control the CD-player of an automobile and can also perform other various tasks. The Sony Unilink protocol can be used to connect other auxiliary devices to your car stereo (these devices vary from CD shuttles to iPods). This project is an AVR Sony Unilink interface based on [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2009/08/atmel_based_sony_unilink.JPG"><img class="alignnone size-medium wp-image-2931" src="http://www.youritronics.com/wp-content/uploads/2009/08/atmel_based_sony_unilink-300x198.jpg" alt="Atmel based Sony Unilink" width="300" height="198" /></a></p>
<p>The Sony Unilink protocol is usually meant to control the CD-player of an automobile and can also perform other various tasks. The Sony Unilink protocol can be used to connect other auxiliary devices to your car stereo (these devices vary from CD shuttles to iPods).</p>
<p>This project is an AVR Sony Unilink interface based on the Atmel ATmega8 microcontroller. The MCU runs at 7,3728MHz and the communication with the Unilink bus is made through Serial Peripheral Interface (SPI) and the software supports RS232 input and output. The source code was written in C and the files as well as schematics are available for download under GNU General Public License in the link below.</p>
<p>(Another Unilink interface project entitled GNUnilink, based on the PIC16F628 running at 10MHz is also presented under GNU License).</p>
<p><strong>Atmel based Sony Unilink: </strong><a href="http://www.mictronics.de/?page=unilink">[Link]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/atmel-based-sony-unilink/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>USB Joystick</title>
		<link>http://www.youritronics.com/usb-joystick/</link>
		<comments>http://www.youritronics.com/usb-joystick/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 17:32:52 +0000</pubDate>
		<dc:creator>Tiberiu</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[ATmega8]]></category>
		<category><![CDATA[Joystick]]></category>
		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=2893</guid>
		<description><![CDATA[This is a AVR based joystick that connects to the PC via the USB port. The device utilizes the ATmega8, the 8-bit microcontroller from Atmel and is capable of movement on 8 axis with its analog inputs. The joystick also has 28 buttons for various uses and is fully plug and play, being immediately recognized [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2009/08/usb_joystick.png"><img class="alignnone size-medium wp-image-2892" src="http://www.youritronics.com/wp-content/uploads/2009/08/usb_joystick-300x154.png" alt="USB Joystick" width="300" height="154" /></a></p>
<p>This is a AVR based joystick that connects to the PC via the USB port. The device utilizes the ATmega8, the 8-bit microcontroller from Atmel and is capable of movement on 8 axis with its analog inputs. The joystick also has 28 buttons for various uses and is fully plug and play, being immediately recognized when connected (no driver is needed).</p>
<p>This project is based on the Mjoy16, designed by Mindaugas Milasauskas, with a few adjustments. It is open source, both hardware and software, and the schematics, Gerber files, parts list and source code are all available for free, just follow the link below.</p>
<p><strong>USB Joystick: </strong><a href="http://www.mictronics.de/?page=avr_usb_joystick">[Link]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/usb-joystick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>TMP275 digital sensor thermometer</title>
		<link>http://www.youritronics.com/tmp275-digital-sensor-thermometer/</link>
		<comments>http://www.youritronics.com/tmp275-digital-sensor-thermometer/#comments</comments>
		<pubDate>Wed, 01 Jul 2009 18:00:52 +0000</pubDate>
		<dc:creator>Florin</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LED]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[Personal Projects]]></category>
		<category><![CDATA[ATmega8]]></category>
		<category><![CDATA[DIgital]]></category>
		<category><![CDATA[Sensor]]></category>
		<category><![CDATA[temperature]]></category>
		<category><![CDATA[TMP275]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=1885</guid>
		<description><![CDATA[I recently ordered some samples from TI, which included the TMP275 digital sensor. The sensor has some nice features which I quote from it&#8217;s datasheet: The TMP275 is a 0.5°C accurate, Two-Wire, serial output temperature sensor available in an MSOP-8 or an SO-8 package. The TMP275 is capable of reading temperatures with a resolution of [...]]]></description>
			<content:encoded><![CDATA[<p>I recently ordered some samples from TI, which included the <a title="TMP275 dgital temperature sensor" href="http://focus.ti.com/docs/prod/folders/print/tmp275.html">TMP275 digital sensor</a>. The sensor has some nice features which I quote from it&#8217;s <a title="TMP275 datasheet" href="http://www.ti.com/lit/gpn/tmp275">datasheet</a>:</p>
<p>The <strong>TMP275</strong> is a 0.5°C accurate, Two-Wire, serial output temperature sensor available in an MSOP-8 or an SO-8 package. The TMP275 is capable of reading temperatures with a resolution of 0.0625°C. The TMP275 is SMBus-compatible and allows up to eight devices on one bus. It is ideal for extended temperature measurement in a variety of communication, computer, consumer, environmental, industrial, and instrumentation applications. The TMP275 is specified for operation over a temperature range of −40°C to +125°C.</p>
<p>The easiest way to get the temperature out of the TMP275 seemed to be I2C. So I started by designing a board which has all the components needed: the sensor, an atmega8 brain, and some other components needed for the display and for powering the board. The display is a 4 digit 7 segment display from kingbright product code <strong>CA56-12GWA</strong>. As for the display part of the board, I used PNP transistors on the common anodes and resistors on the segments to limit the current draw on the atmega&#8217;s pins. The transistors are not current limited so the display will alaways light-up the same no matter how many segments are turned on.</p>
<p><a href="http://www.youritronics.com/wp-content/uploads/2009/07/intro-w.jpg"><img class="alignnone size-full wp-image-2595" title="TMP275 digital thermometer board" src="http://www.youritronics.com/wp-content/uploads/2009/07/intro-w.jpg" alt="TMP275 digital thermometer board" width="682" height="434" /></a></p>
<p>For the supply part of the board, I choose to make it portable and power it from a 9V battery, so I needed to use a voltage regulator. The choice was the good old 7805 because it&#8217;s cheap and easy to find.</p>
<p>I2C is a pretty common protocol so various libraries can be found on the web. I chose <a title="I2C library" href="http://homepage.hispeed.ch/peterfleury/group__pfleury__ic2master.html">Peter Fleury&#8217;s I2C library</a> because it was very well documented. The only external components needed by the TMP275 are a bypass capacitor between VCC and GND and two pull-up resistors required on SDA and SCL lines.</p>
<p>All the I2C stuff is handled by the library, so I only had to write a couple of lines of code to get the temperature out of the sensor:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"> i2c_start_wait<span style="color: #009900;">&#40;</span>sensor<span style="color: #339933;">+</span>I2C_WRITE<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	<span style="color: #666666; font-style: italic;">// set device address and write mode</span>
 i2c_write<span style="color: #009900;">&#40;</span><span style="color: #208080;">0x0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>			<span style="color: #666666; font-style: italic;">// write pointer register 00000000 to select temp register</span>
 i2c_rep_start<span style="color: #009900;">&#40;</span>sensor<span style="color: #339933;">+</span>I2C_READ<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>	<span style="color: #666666; font-style: italic;">//set device address and read mode</span>
 temp_high<span style="color: #339933;">=</span>i2c_readAck<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>		<span style="color: #666666; font-style: italic;">// Read high byte of temperature</span>
 temp_low<span style="color: #339933;">=</span>i2c_readNak<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>		<span style="color: #666666; font-style: italic;">// Read low byte of temperature</span></pre></div></div>

<p>After reading the temperature from the sensor I had to display it on the 4 digit display. For that I had to write a display macro, which figures out the numbers and how to display them, basically I used software multiplexing. I even tested it on negative temperatures by placing the sensor in my fridge <img src='http://www.youritronics.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . The readout was correct because I checked with another thermometer.</p>
<p>These new type of digital sensors are great, because you don&#8217;t have to worry about analog to digital conversion, all the  ADC is done inside the sensor. I mainly started working with this sensor because I want to incorporate a temperature reading function into a future project. Now that this part is done, is time to move onto the next one, ultrasonic range finder, which I&#8217;m guessing wont be as easy as the temperature reading.</p>
<p>I tried to comment every line of my code, but if you feel you don&#8217;t understand something, just post a comment and I&#8217;ll reply.</p>
<ul>
<li><a title="source code" href="http://www.youritronics.com/wp-content/uploads/2009/07/TMP275-thermometer-source-files.zip">source code</a></li>
<li><a href="http://www.youritronics.com/wp-content/uploads/2009/07/TMP275-thermometer-schematic.zip">Eagle schematic</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/tmp275-digital-sensor-thermometer/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>LiIon Battery Charger</title>
		<link>http://www.youritronics.com/liion-battery-charger/</link>
		<comments>http://www.youritronics.com/liion-battery-charger/#comments</comments>
		<pubDate>Tue, 30 Jun 2009 16:35:05 +0000</pubDate>
		<dc:creator>Andrei</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[ATmega8]]></category>
		<category><![CDATA[battery]]></category>
		<category><![CDATA[Charger]]></category>
		<category><![CDATA[LiIon]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=2554</guid>
		<description><![CDATA[Even though not much information is published about Lithium Ion Batteries, we find them more and more often powering our portable electronics. While their price sometimes can go pretty high, LiIon batteries offer higher capacity from less weight and volume and faster charging. Laptops, portable media players, cell phones, cameras, etc. almost all use the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2009/06/LiIon-Battery-Charger.jpg"><img class="alignnone size-medium wp-image-2556" src="http://www.youritronics.com/wp-content/uploads/2009/06/LiIon-Battery-Charger-300x280.jpg" alt="LiIon Battery Charger" width="300" height="280" /></a></p>
<p>Even though not much information is published about Lithium Ion Batteries, we find them more and more often powering our portable electronics. While their price sometimes can go pretty high, LiIon batteries offer higher capacity from less weight and volume and faster charging. Laptops, portable media players, cell phones, cameras, etc. almost all use the LiIon so there is a very high probability to recover the battery from a damaged device and this way get all the advantages at a small price.</p>
<p>Like with other batteries, inside the LiIon type there are one to four cells connected in series, each at about 3.6-3.7V. Higher capacity is obtained by connecting series groups of cells in parallel. All is nice though until the battery gets empty, then the tricky part starts. Conventional chargers don&#8217;t work on LiIon and can even destroy them. There are some generic charges on the market but either they&#8217;re very expensive or they&#8217;re for small batteries.</p>
<p>Newer batteries communicate with the charger telling the settings to be used for charging. Even older batteries have a thermistor that monitors temperature and a protection against complete depletion. This being said, in this project is presented a DIY solution for a LiIon Battery Charger. There are some things you must know about the battery so that you can safely charge it.</p>
<p>First of all you must know the pin-out, you risk damaging the battery and/or charger if you connect it the wrong way. Then you must know the number of cells but you can determine this by dividing the battery voltage rating by 3.7V, you must also know the capacity and thermistor value. The charge current can vary between half and full capacity rating, the lower value the safest but the slower.</p>
<p>The charger presented in the link is based on application note AVR450 from Atmel. The project uses the AtMega8 microcontroller and it  features adjustable charging settings as well as Smart Battery Interface. Schematics and code for the Atmel are available as well as information on how to operate it. Good luck!</p>
<p><strong><br />
</strong></p>
<p><strong>LiIon Battery Charger: </strong><a href="http://members.shaw.ca/Botgoodies2/LithBatt/LithBatt.htm">[Link]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/liion-battery-charger/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Digital Thermometer</title>
		<link>http://www.youritronics.com/digital-thermometer-3/</link>
		<comments>http://www.youritronics.com/digital-thermometer-3/#comments</comments>
		<pubDate>Sat, 30 May 2009 21:49:37 +0000</pubDate>
		<dc:creator>Andrei</dc:creator>
				<category><![CDATA[DIY]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[LCD]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[ATmega8]]></category>
		<category><![CDATA[LM35]]></category>
		<category><![CDATA[temperature]]></category>
		<category><![CDATA[thermometer]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=2293</guid>
		<description><![CDATA[Here is a very good looking thermometer project showing the reading as a discrete value and as a bar-graph on a LCD. The idea is simple, we have a sensor, the LM35, who outputs a voltage depending on the ambient temperature, LM35&#8242;s rating is 10mV/ degree Celsius. Since the sensor&#8217;s output is analog we need [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-medium wp-image-2294" src="http://www.youritronics.com/wp-content/uploads/2009/05/digital-thermometer-300x228.jpg" alt="Digital Thermometer" width="300" height="228" /></p>
<p>Here is a very good looking thermometer project showing the reading as a discrete value and as a bar-graph on a LCD. The idea is simple, we have a sensor, the LM35, who outputs a voltage depending on the ambient temperature, LM35&#8242;s rating is 10mV/ degree Celsius. Since the sensor&#8217;s output is analog we need to convert it to digital in order to display the value on LCD. The ATmega8 microcontroller will handle the A/D conversion, with a 4.8mV resolution it is within the accuracy range of the sensor.</p>
<p>Once the LM35&#8242;s output has been converted to digital, the microcontroller will make the calculations necessary to determine the temperature and display that value. The LCD is a 20&#215;4 type so the bar-graph will show 20 levels. ATmega8&#8242;s port C0  reads the analog data from the sensor and port D controls the LCD. The code was written in BASCOM AVR which has some built-in functions to handle the A/D converter of the microcontroller. For Fahrenheit measurement use LM34 sensor.</p>
<p>All in all it is easy to build, as a school project perhaps,  with possibility for upgrade, for example to be able to change the bar-graph&#8217;s scale.</p>
<p><strong><br />
</strong></p>
<p><strong>Digital Thermometer:</strong> <a href="http://www.avrprojects.net/index.php?option=com_content&amp;view=article&amp;id=68:lcd-thermometer-lm35&amp;catid=37:avr-projects&amp;Itemid=57">[Link]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/digital-thermometer-3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AVR Object tracker</title>
		<link>http://www.youritronics.com/avr-object-tracker/</link>
		<comments>http://www.youritronics.com/avr-object-tracker/#comments</comments>
		<pubDate>Wed, 29 Apr 2009 16:10:27 +0000</pubDate>
		<dc:creator>Laci</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[ATmega8]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[camera]]></category>
		<category><![CDATA[object tracker]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=2112</guid>
		<description><![CDATA[Just the simple interfacing of camera with the micro controller sounds a lot of fun, then how about real time object tracking? This device has an amazing 27 fps speed and can track multiple objects which are defined by colors. The image sensor is OV6620 CMOS, and the brain is the ATmega8, trough the serial [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2009/04/avr-object-tracker.jpg"><img class="aligncenter size-full wp-image-2113" src="http://www.youritronics.com/wp-content/uploads/2009/04/avr-object-tracker.jpg" alt="AVR Object tracker" width="300" height="213" /></a></p>
<p>Just the simple interfacing of camera with the micro controller sounds a lot of fun, then how about real time object tracking? This device has an amazing 27 fps speed and can track multiple objects which are defined by colors. The image sensor is OV6620 CMOS, and the brain is the ATmega8, trough the serial interface the user can download snapshots, configure the device or just view the tracked objects.</p>
<p>This project is an ideal start-up for those involved in robotics, by upgrading the basic IR based obstacle detection your robots gain a lot more freedom and intelligence.  Beside the amazing speed of execution the hardware is quite simple, my first thought was that the firmware is written in assembler I was surprised to see that the entire project is written in C. The PC program is in java and made available by the author, great way to get started with image processing methods and algorithms.</p>
<p>If you want to embed this project into your application the best way is to build it as is, and use a second controller for the other functions, since the tight synchronization needed between the atmega8 and the image sensor any other functionality would greatly reduce the image processing speed.</p>
<p><strong>AVR Object tracker:</strong> <a href="http://www.circuitcellar.com/avr2004/wabstracts/A3694abstract.pdf">[pdf]</a> <a href="http://www.circuitcellar.com/avr2004/wentries/A3694.zip">[download]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/avr-object-tracker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ATmega with SD card</title>
		<link>http://www.youritronics.com/atmega-with-sd-card/</link>
		<comments>http://www.youritronics.com/atmega-with-sd-card/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 07:49:07 +0000</pubDate>
		<dc:creator>Laci</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Microcontroller]]></category>
		<category><![CDATA[ATmega8]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[FAT32]]></category>
		<category><![CDATA[SD card]]></category>

		<guid isPermaLink="false">http://www.youritronics.com/?p=1988</guid>
		<description><![CDATA[I was looking for quite a time to interface the SD card and avr&#8217;s in my projects, fortunately here is this demonstrative project which can be a good starting point for anybody who needs to store large amounts of data. By implementing the FAT32 file system the stored data can be accessed directly from any [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.youritronics.com/wp-content/uploads/2009/03/atmega-with-sd-card.jpg"><img class="aligncenter size-full wp-image-1989" src="http://www.youritronics.com/wp-content/uploads/2009/03/atmega-with-sd-card.jpg" alt="ATmega with SD card" width="350" height="191" /></a></p>
<p>I was looking for quite a time to interface the SD card and avr&#8217;s in my projects, fortunately here is this demonstrative project which can be a good starting point for anybody who needs to store large amounts of data. By implementing the FAT32 file system the stored data can be accessed directly from any PC, without the micro controller interface. This is very useful since you don&#8217;t have to carry a laptop or the entire data logger around.</p>
<p>The project is well documented, it really gives the insight needed to understand the FAT32 system and how SD card work, the authors project has serial interface so the SD card can be accessed trough the Hyperterminal. The Atmega8 might be short in memory for the advanced FAT32 handling, so for the actual device it is recommended about 32K flash capacity controller.</p>
<p>Just imagine, instead of the I2C 32kbyte external eeprom you can have 1G storage capacity, and with the FAT32 system you won&#8217;t need the serial interface, usually used to download the stored data.</p>
<p><strong>ATmega with SD card:</strong> <a href="http://www.dharmanitech.com/2009/01/sd-card-interfacing-with-atmega8-fat32.html">[link]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.youritronics.com/atmega-with-sd-card/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

