<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Avr on unordered</title>
		<link>https://unorde.red/categories/avr/</link>
		<description>Recent content in Avr on unordered</description>
		<generator>Hugo</generator>
		<language>en-US</language>
		
		
		
		
			<lastBuildDate>Tue, 11 Oct 2016 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://unorde.red/categories/avr/feed.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>AVR programming with Arduino</title>
				<link>https://unorde.red/avr-programming/</link>
				<pubDate>Tue, 11 Oct 2016 00:00:00 +0000</pubDate>
				<guid>https://unorde.red/avr-programming/</guid>
				<description>&lt;p&gt;&lt;em&gt;Written by &lt;a href=&#34;https://vvanpo.github.io/%22&#34;&gt;Victor van Poppelen&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-arduino-nano&#34;&gt;The Arduino Nano&lt;/h2&gt;&#xA;&lt;p&gt;The Nano is a very simple board, essentially just an AVR &lt;!-- raw HTML omitted --&gt;MCU&lt;!-- raw HTML omitted --&gt; with an FTDI chip for communicating over USB.  On the top left of the schematic&lt;sup id=&#34;fnref:1&#34;&gt;&lt;a href=&#34;#fn:1&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;1&lt;/a&gt;&lt;/sup&gt; is the pinout of the board, and in the centre is the pinout of the AVR chip (an ATmega328 or ATmega328p)&lt;sup id=&#34;fnref:2&#34;&gt;&lt;a href=&#34;#fn:2&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;2&lt;/a&gt;&lt;/sup&gt;.&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://unorde.red/assets/arduino-nano-atmega328.png&#34; alt=&#34;ATmega328 schematic&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;You can follow the pins to various components, and/or directly to the pins of&#xA;the board itself.  For example, the &lt;code&gt;D0/TX&lt;/code&gt; and &lt;code&gt;D1/RX&lt;/code&gt; pins on the board are&#xA;connected to the &lt;code&gt;PD0&lt;/code&gt; and &lt;code&gt;PD1&lt;/code&gt; pins of the AVR, which are the &lt;!-- raw HTML omitted --&gt;UART&lt;!-- raw HTML omitted --&gt; TX and RX pins.&#xA;The schematic is confusing at first but gets simpler once you see that every&#xA;label is unique, and anywhere a label appears multiple times means they are&#xA;connected at those points within the board.  So, in the case of the &lt;code&gt;D0&lt;/code&gt; and&#xA;&lt;code&gt;D1&lt;/code&gt; pins, they are connected to the AVR directly &lt;em&gt;before&lt;/em&gt; the 1k resistors&#xA;&lt;code&gt;RP1B&lt;/code&gt; and &lt;code&gt;RP1C&lt;/code&gt;, which are in turn connected to the &lt;code&gt;TXD&lt;/code&gt; and &lt;code&gt;RXD&lt;/code&gt; pins of&#xA;the FT232RL (via the &lt;code&gt;RX&lt;/code&gt; and &lt;code&gt;TX&lt;/code&gt; labels, respectively).  The FT232RL chip&lt;sup id=&#34;fnref:3&#34;&gt;&lt;a href=&#34;#fn:3&#34; class=&#34;footnote-ref&#34; role=&#34;doc-noteref&#34;&gt;3&lt;/a&gt;&lt;/sup&gt;&#xA;is a USB slave to UART converter that connects to the mini-USB connector&#xA;(labelled &lt;code&gt;USB-MINI-B%C&lt;/code&gt;).&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
