<?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>エンジニアのための総合SNS &#187; AVR</title>
	<atom:link href="https://sns.encafe2.org/blog/?feed=rss2&#038;tag=AVR" rel="self" type="application/rss+xml" />
	<link>https://sns.encafe2.org/blog</link>
	<description>cafetería for all engineers</description>
	<lastBuildDate>Sat, 09 Nov 2019 18:12:29 +0000</lastBuildDate>
	<language>ja</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.0</generator>
	<item>
		<title>AVRISP MK II</title>
		<link>https://sns.encafe2.org/blog/?p=14335</link>
		<comments>https://sns.encafe2.org/blog/?p=14335#comments</comments>
		<pubDate>Sat, 27 Dec 2014 09:31:43 +0000</pubDate>
		<dc:creator><![CDATA[Kaz]]></dc:creator>
				<category><![CDATA[外部公開日記]]></category>
		<category><![CDATA[ATMEL]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[秋月通商]]></category>

		<guid isPermaLink="false">http://sns.encafe2.org/blog/?p=14335</guid>
		<description><![CDATA[atmel純正のAVRライター。 今まで、FT232RLの制御信号でソフトウェア的にSPIをエミュレーションし [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>atmel純正のAVRライター。</p>
<p>今まで、FT232RLの制御信号でソフトウェア的にSPIをエミュレーションして書き込みしていましたけど、速度的に耐えられなくなりまして……</p>
<p>当初、ATtiny13Aを相手にしているうちは1kbyte程度だったので気にならなかったんですけどね。</p>
<p>書き込みとベリファイで3分では済まなくなるくらいコードが肥大化してきていた。</p>
<p>さすがに専用ハード！　ベリファイまで含めても3秒で終了します。(現在は3Kbyteちょっと)</p>
<p>電源は、AVRライターからではなく、自前で供給しないといけないというFAQレベルの失敗もやらかしましたけど、順調に動いていて大変満足しています。</p>
<p>秋月で購入ですが、3,200円とお手頃価格なので最初に揃えたい一品ですね。</p>
]]></content:encoded>
			<wfw:commentRss>https://sns.encafe2.org/blog/?feed=rss2&#038;p=14335</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ROM上においたデータテーブルのデータを取得できない。。。</title>
		<link>https://sns.encafe2.org/blog/?p=14308</link>
		<comments>https://sns.encafe2.org/blog/?p=14308#comments</comments>
		<pubDate>Thu, 13 Nov 2014 09:56:26 +0000</pubDate>
		<dc:creator><![CDATA[Kaz]]></dc:creator>
				<category><![CDATA[外部公開日記]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[avr-gcc]]></category>
		<category><![CDATA[C言語]]></category>

		<guid isPermaLink="false">http://sns.encafe2.org/blog/?p=14308</guid>
		<description><![CDATA[const PROGMEM char defaultMsg[] = {0x30`,0x41}; を char  [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>const PROGMEM char defaultMsg[] = {0x30`,0x41}; </p>
<p>を</p>
<p>char c　=defaultMsg[0];</p>
<p>で意図した値が取得できない！ </p>
<p>c = pgm_read_byte(&amp;defaultMsg[0]);</p>
<p>が正解。</p>
<p>しばし悩んだ。</p>
]]></content:encoded>
			<wfw:commentRss>https://sns.encafe2.org/blog/?feed=rss2&#038;p=14308</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>マトリクスLEDのピン配列が無茶くちゃな件</title>
		<link>https://sns.encafe2.org/blog/?p=14301</link>
		<comments>https://sns.encafe2.org/blog/?p=14301#comments</comments>
		<pubDate>Sat, 08 Nov 2014 04:28:19 +0000</pubDate>
		<dc:creator><![CDATA[Kaz]]></dc:creator>
				<category><![CDATA[外部公開日記]]></category>
		<category><![CDATA[ATmega328P]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[OSL641501]]></category>
		<category><![CDATA[マトリクスLED]]></category>

		<guid isPermaLink="false">http://sns.encafe2.org/blog/?p=14301</guid>
		<description><![CDATA[写真では 01 02 03 04 05 06 07 08 16 15 14 13 12 11 10 9 なんで [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>写真では<br />
01 02 03 04 05 06 07 08</p>
<p>16 15 14 13 12 11 10 9<br />
なんですけど、</p>
<p>行5 行7 列2 列3 行8 列5 行6 行3</p>
<p>列8 列7 行2 列1 行4 列6 列4 行1</p>
<p>などというわけのわからなさ（苦笑）</p>
<p>配線を平面上で重ならない様にピンを割り当てた結果だというのはピンとLEDの間に線を引いてみてある程度理解出来ました。</p>
<p>でも、ここからプログラムに起こすには、またややこしいピン配列のLSI(ATmega328P)のことを考慮する必要がある。</p>
<p>LED 列1 　列2　　列3　　列4 列5　　列6　列7　 列8<br />
LSI端子 PB6 　PC3　PC2　PD6　PC0　PD5　PD3　PD2</p>
<p>common<br />
LED　 行1　　行2　 行3　 行4　　行5　行6　 行7 行8<br />
LSI端子　PD7　PD4　PB1　PB7　PC5　PB2　PC4　PB2</p>
<p>上の表に基づいて信号を送れば良さげなんですけど、今回の安全回路を端折ってまでコンパクトに作りたいという都合で他のピンに影響を与えないように特定のピンを操作するのは難しそう。</p>
<p>(PPB = PPB | (1<<bit) でポートを読み特定ビットだけ操作するだけすむということが今回の回路だと出来ない)</p>
<p>仮想ポートをメモリに作って、出力したピンの状態を記憶してビット操作するしかないようですね。。。</p>
<p>LEDの電流制限抵抗もPWMで電圧を落とすことにより端折りますのでCPUが暴走したらLEDが壊れるようなハードウェア構成になる予定。</p>
]]></content:encoded>
			<wfw:commentRss>https://sns.encafe2.org/blog/?feed=rss2&#038;p=14301</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AquesTalk pico</title>
		<link>https://sns.encafe2.org/blog/?p=14300</link>
		<comments>https://sns.encafe2.org/blog/?p=14300#comments</comments>
		<pubDate>Thu, 06 Nov 2014 18:40:05 +0000</pubDate>
		<dc:creator><![CDATA[Kaz]]></dc:creator>
				<category><![CDATA[外部公開日記]]></category>
		<category><![CDATA[AquesTalk_pico]]></category>
		<category><![CDATA[AVR]]></category>
		<category><![CDATA[音声合成]]></category>

		<guid isPermaLink="false">http://sns.encafe2.org/blog/?p=14300</guid>
		<description><![CDATA[AquesTalk picoと言う音声合成LSI(まあ、AVRなんですけど)で遊んでみましたが、結構使えそう。 [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>AquesTalk picoと言う音声合成LSI(まあ、AVRなんですけど)で遊んでみましたが、結構使えそう。でも、自然な発声を目指すなら、ボーカロイドの調教に準ずる手間がかかりそう。</p>
<p>（ここで、ソフトウェアによる音声合成に行かないのが私ですw）</p>
<p>AntiKaga Systemの自動応答の音声を作ろうと用意したのですが、間に合いませんでした。（苦笑）</p>
<p>多分、音声データの作成だけでも一日仕事になるんだろうな。。。</p>
<p>声優さんに頼んだ方がいいような気がしてきた。（苦笑）</p>
<p>発声の調整を取ろうと思うと、普段何気なく使っている日本語に、自分がこれほど注意を払わずに使っていたのかと驚かされます。</p>
<p>また、D/Aコンバーターを使っていると思ったら、なんと！ PWMで電圧を作っているという。。。</p>
<p>変なところの端子つかっているな～っと思ったんですよ。<br />
（ベースチップはATmega328P）</p>
]]></content:encoded>
			<wfw:commentRss>https://sns.encafe2.org/blog/?feed=rss2&#038;p=14300</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
