<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Частотомер на микроконтроллере</title>
		<description>Discuss Частотомер на микроконтроллере</description>
		<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html</link>
		<lastBuildDate>Wed, 08 Apr 2026 07:43:11 +0000</lastBuildDate>
		<generator>JComments</generator>
		<atom:link href="https://chipenable.ru/index.php/component/jcomments/feed/com_k2/88.html" rel="self" type="application/rss+xml" />
		<item>
			<title>plotik says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-4923</link>
			<description><![CDATA[bcd.c +48 для чего?]]></description>
			<dc:creator>plotik</dc:creator>
			<pubDate>Fri, 07 Oct 2016 10:09:57 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-4923</guid>
		</item>
		<item>
			<title>Boussel says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-4784</link>
			<description><![CDATA[Уважаемый админ, подскажите, почему прошивка cymometer.hex из chastotomer-pro teus на частоте 10 кГц считает правильно(часто та-0009999.7, число тиков-16013131) , а прошивка из chastotomer-cv- avr считает с погрешностью (частота-000996 2.9, число тиков-16021335) ?]]></description>
			<dc:creator>Boussel</dc:creator>
			<pubDate>Sun, 10 Apr 2016 10:48:56 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-4784</guid>
		</item>
		<item>
			<title>ptol says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-4609</link>
			<description><![CDATA[Запустил на Mega8(кварц на 14.7456МГц) Работает отлично правда только до 2МГц, оно и понятно, т.к. система захвата съедает 2,5такта (это по даташиту). Проверить на точном генераторе пока не было возможности, но показания стабильны. Программу писал сам на асемблере (моя певая на асемблере). Результатом доволен. Алгоритм отличный]]></description>
			<dc:creator>ptol</dc:creator>
			<pubDate>Sun, 27 Sep 2015 22:12:56 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-4609</guid>
		</item>
		<item>
			<title>Nikolayyyy says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-4586</link>
			<description><![CDATA[Так как счетчик Т1 не асинхронный, накопится погрешность из-за схемы захвата входного сигнала, проще взять 4 8битных двоичных счетчика + регистр сдвига, запускать все это от высокоточного секундного генератора, в паузе перегонять данные из счетчиков по 2 проводному послед. интерфейсу в микроконтроллер .]]></description>
			<dc:creator>Nikolayyyy</dc:creator>
			<pubDate>Mon, 07 Sep 2015 20:46:42 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-4586</guid>
		</item>
		<item>
			<title>_lex says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-4339</link>
			<description><![CDATA[хочу сделать частотомер для 220В на stm8. Будет ли нормально работать вход с обвязкой как http://www.atmel.com/images/doc2508.pdf , или надо ставить защитные диоды и снаружи?]]></description>
			<dc:creator>_lex</dc:creator>
			<pubDate>Wed, 12 Nov 2014 13:22:00 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-4339</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-3298</link>
			<description><![CDATA[Да. Рисуя эту схему, взял одну из старых и забыл убрать эти цепи.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Sat, 28 Sep 2013 20:04:44 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-3298</guid>
		</item>
		<item>
			<title>Novomatik says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-3293</link>
			<description><![CDATA[Для чего выводы DOWN UP и ENTER на принципиальной схеме? Их использование в программе я не нашел, они лишние?]]></description>
			<dc:creator>Novomatik</dc:creator>
			<pubDate>Sat, 28 Sep 2013 10:07:44 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-3293</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-3119</link>
			<description><![CDATA[Сорвалась статья (]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Mon, 19 Aug 2013 21:55:05 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-3119</guid>
		</item>
		<item>
			<title>Vadis says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2843</link>
			<description><![CDATA[Статья в процессе написания, но фотки смогу сделать когда дома появлюсь те после 10го]]></description>
			<dc:creator>Vadis</dc:creator>
			<pubDate>Thu, 25 Apr 2013 18:36:19 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2843</guid>
		</item>
		<item>
			<title>foxit says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2841</link>
			<description><![CDATA[ Я только за. Ждем появления интересной статьи!]]></description>
			<dc:creator>foxit</dc:creator>
			<pubDate>Thu, 25 Apr 2013 11:35:50 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2841</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2839</link>
			<description><![CDATA[ Я только за.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Mon, 22 Apr 2013 19:53:59 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2839</guid>
		</item>
		<item>
			<title>foxit says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2835</link>
			<description><![CDATA[ +1]]></description>
			<dc:creator>foxit</dc:creator>
			<pubDate>Sun, 21 Apr 2013 03:43:44 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2835</guid>
		</item>
		<item>
			<title>Vadis says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2834</link>
			<description><![CDATA[В общем то тайны не делаю, задача была освоение синтезаторов, в результате получилась неплохая заготовка которой чуть не хватает до полезного прибора, причем если павел не будет возражать т можно его опубликовать здесь, я готов предоставить черновик(чистов ик статьи + исходники и фото) вкратце что получилось, проц авр64 + dds AD9834 + DDS AD9850 + индикатор 16x2 + Энкодер + частотомер отсюда, тестовый прототип на протеусе, сейчас я это собрал в конструктив, на очереди управления уровнем сигнала DDS (уже решено) ну и отображение уровня на индикаторе, + интерфейс с компом, это пока откладывается, хотя сложностей нет, просто некогда.]]></description>
			<dc:creator>Vadis</dc:creator>
			<pubDate>Sat, 20 Apr 2013 20:56:43 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2834</guid>
		</item>
		<item>
			<title>foxit says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2833</link>
			<description><![CDATA[ Расскажите подробнее про ваш прибор]]></description>
			<dc:creator>foxit</dc:creator>
			<pubDate>Sat, 20 Apr 2013 13:23:39 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2833</guid>
		</item>
		<item>
			<title>SeNiMal says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2683</link>
			<description><![CDATA[Алгоритм теоретически отличный, но на практике его мне реализовать не удалось, т.к. нет повторяемости результатов даже в Proteus. Большая полемика по этой теме шла на electronix.ru, но работающего кода так никто и не представил. Пришлось ставить медианный фильтр для отбрасывания "выбросов". Но это заказчику не понравилось. Пришлось вернуться на старый алгоритм.]]></description>
			<dc:creator>SeNiMal</dc:creator>
			<pubDate>Tue, 26 Mar 2013 05:01:42 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2683</guid>
		</item>
		<item>
			<title>Vadis says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2682</link>
			<description><![CDATA[Сегодня пытался найти закономерность, но так и не смог, частотомер является частью прибора в котором стоят еще 2 синтезатора, так что проблемы формирования эталонной частоты у меня нет, сначала делал ради освоения синтезаторов, теперь пытаюсь довести это до полноценного прибора. надеюсь доведу.]]></description>
			<dc:creator>Vadis</dc:creator>
			<pubDate>Mon, 25 Mar 2013 21:29:45 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2682</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2679</link>
			<description><![CDATA[Пожалуйста.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Mon, 25 Mar 2013 20:49:28 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2679</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2678</link>
			<description><![CDATA[Надо разобраться откуда она берется. У меня не удалось добиться заявленной точности метода. Может я где-то допустил ошибку.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Mon, 25 Mar 2013 20:48:58 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2678</guid>
		</item>
		<item>
			<title>Vadis says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2673</link>
			<description><![CDATA[Да и забыл сказать большое спасибо за сайт и за материалы.]]></description>
			<dc:creator>Vadis</dc:creator>
			<pubDate>Mon, 25 Mar 2013 12:07:55 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2673</guid>
		</item>
		<item>
			<title>Vadis says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2672</link>
			<description><![CDATA[Запустил этот частотомер на Mege128 на 7.3728 мгц. Возникли вопросы с точностью результатов, в проекте протеуса в приложении частота считается точно, но если перемножить показания счетчиков по формуле то видна ошибка в 4 гц на 4 кГц то есть одна тысячная, когда я повторил алгоритм то получил ту же ошибку, она вполне компенсируется но проблеа в том что у меня она постоянна до 60 кГц. На частотах выше она возрастает до 100 Гц. в общем случае у меня частотомер работал до частоты в 2 МГц. Думаю как оптимальнее скомпенсировать ошибку.]]></description>
			<dc:creator>Vadis</dc:creator>
			<pubDate>Mon, 25 Mar 2013 12:00:10 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2672</guid>
		</item>
		<item>
			<title>RA_DU_GA says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2598</link>
			<description><![CDATA[Человек видимо имел ввиду, что любое измерение есть процесс получения случайных величин :) Так это уже второй вопрос - чем достовернее хочешь померить, тем просто большее количество измерений проводишь (получая децл разные результаты), сводишь в таблицу, а там считаешь дисперсию и все прочее :)]]></description>
			<dc:creator>RA_DU_GA</dc:creator>
			<pubDate>Sun, 10 Mar 2013 16:36:50 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2598</guid>
		</item>
		<item>
			<title>DmAlex says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2359</link>
			<description><![CDATA[Спасибо автору за статью и ее разжевывание. У себя большие частоты от 32кГц до 4Мгц я не мерил и естественно не знаю погрешность измерений, но когда измерял частоту в 4096Гц с ds1307 погрещность у меня составила 1,5%(4030 - 4110). Возможно при больших частотах измерений она будет составлять меньше.]]></description>
			<dc:creator>DmAlex</dc:creator>
			<pubDate>Sun, 06 Jan 2013 13:07:02 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2359</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2234</link>
			<description><![CDATA[Разрядности аппаратных счетчиков не хватает для подсчета числа импульсов. Поэтому используются дополнительные переменные, которые считают число переполнений аппаратных таймеров. Физически они существуют только в виде ячеек оперативной памяти. Указываются (объявляются) как обычные переменные.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Fri, 23 Nov 2012 21:16:24 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2234</guid>
		</item>
		<item>
			<title>TRON says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2230</link>
			<description><![CDATA[Не понял смысла в дополнительных программных счетчиках, которые заполняются при прерываниях. Они физически получается в микроконтроллер е не существуют? И как их указать в программе? Объясните пожалуйста чайнику).]]></description>
			<dc:creator>TRON</dc:creator>
			<pubDate>Tue, 20 Nov 2012 23:25:12 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2230</guid>
		</item>
		<item>
			<title>den3z says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2216</link>
			<description><![CDATA[частота это не процесс, а физ. величина.]]></description>
			<dc:creator>den3z</dc:creator>
			<pubDate>Sat, 17 Nov 2012 08:12:35 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2216</guid>
		</item>
		<item>
			<title>SeNiMal says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2201</link>
			<description><![CDATA[Спасибо! Разобрался.]]></description>
			<dc:creator>SeNiMal</dc:creator>
			<pubDate>Wed, 07 Nov 2012 07:22:36 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2201</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2200</link>
			<description><![CDATA[Недостаточно. В этом алгоритме вычисления частоты используется и вход захвата таймера Т1 и тактовый вход таймера Т0. Объяснение алгоритма в статье.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Tue, 06 Nov 2012 21:12:20 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2200</guid>
		</item>
		<item>
			<title>SeNiMal says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2197</link>
			<description><![CDATA[В схеме проекта Proteus к данной статье показано подсоединение генератора частоты к ножкам PD6(ICP1) и PB0(T0). Разве недостаточно подключить генератор только к PD6(ICP1)?]]></description>
			<dc:creator>SeNiMal</dc:creator>
			<pubDate>Mon, 05 Nov 2012 16:18:47 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2197</guid>
		</item>
		<item>
			<title>Roger says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2026</link>
			<description><![CDATA[[quote name="DM"] // External Interrupt 1 service routine
interru pt [EXT_INT1] void ext_int1_isr(vo id)
{ a=1; // при поступлении импульса
}
// Timer 0 overflow interrupt service routine
interru pt [TIM0_OVF] void timer0_ovf_isr( void)
{ tik++; if(a){chast=tik ; tik=0; a=0;} //измеряем время между импульсами
}
Ft ek=(2600/(chast /12))*60; //переводим в об/мин Поясните формулу?И с какой частотой у вас прерывание TIM0_OVF]]></description>
			<dc:creator>Roger</dc:creator>
			<pubDate>Sat, 25 Feb 2012 11:20:04 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-2026</guid>
		</item>
		<item>
			<title>Слава says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1919</link>
			<description><![CDATA[Некоректно спросил, какие выставить и в какие состояния?]]></description>
			<dc:creator>Слава</dc:creator>
			<pubDate>Sun, 25 Dec 2011 18:17:32 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1919</guid>
		</item>
		<item>
			<title>Слава says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1918</link>
			<description><![CDATA[Скажите пожалуйста, а фьюз биты как выставить?]]></description>
			<dc:creator>Слава</dc:creator>
			<pubDate>Sun, 25 Dec 2011 18:16:36 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1918</guid>
		</item>
		<item>
			<title>GM says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1885</link>
			<description><![CDATA[Ещё один вариант программы частотомера на си http://electronix.ru/forum/index.php?showtopic=77251&st=30]]></description>
			<dc:creator>GM</dc:creator>
			<pubDate>Sun, 04 Dec 2011 12:56:20 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1885</guid>
		</item>
		<item>
			<title>Dmitrii says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1881</link>
			<description><![CDATA[Как должны быть прошиты fuze bits?]]></description>
			<dc:creator>Dmitrii</dc:creator>
			<pubDate>Thu, 01 Dec 2011 20:42:19 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1881</guid>
		</item>
		<item>
			<title>pitato says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1788</link>
			<description><![CDATA[pitato/ Здравствуйте. А как перевести программу на ATMEGA16? Не могу найти 8535.]]></description>
			<dc:creator>pitato</dc:creator>
			<pubDate>Wed, 19 Oct 2011 07:15:55 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1788</guid>
		</item>
		<item>
			<title>DM says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1735</link>
			<description><![CDATA[Сначала я тоже считал кол-во входных импульсов за определенный интервал времени, но при низких частотах-от 10 до 100 гц-быстродейств ие моего девайса уже будет никакой, поэтому я решил чситать время между импульсами,так уже нормально, импульсы поступают на вход внешнего прерывания, а таймер считает время между прерываниями.Пр остейший код- 3 строки. // External Interrupt 1 service routine
interru pt [EXT_INT1] void ext_int1_isr(vo id)
{ a=1; // при поступлении импульса
}
// Timer 0 overflow interrupt service routine
interru pt [TIM0_OVF] void timer0_ovf_isr( void)
{ tik++; if(a){chast=tik ; tik=0; a=0;} //измеряем время между импульсами
}
Ft ek=(2600/(chast /12))*60; //переводим в об/мин]]></description>
			<dc:creator>DM</dc:creator>
			<pubDate>Sat, 01 Oct 2011 05:37:53 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1735</guid>
		</item>
		<item>
			<title>John Walker says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1714</link>
			<description><![CDATA[ У меня этот алгоритм работает так, как заявлено автором с сайта electronix.ru]]></description>
			<dc:creator>John Walker</dc:creator>
			<pubDate>Tue, 20 Sep 2011 14:55:42 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1714</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1704</link>
			<description><![CDATA[Да, мой косяк. Но по счастливой случайности на правильность работы он не влияет.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Sat, 17 Sep 2011 21:11:25 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1704</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1703</link>
			<description><![CDATA[Мне не удалось добиться такой точности]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Sat, 17 Sep 2011 21:10:45 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1703</guid>
		</item>
		<item>
			<title>TarasH says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1655</link>
			<description><![CDATA[ http://electronix.ru/forum/index.php?showtopic=29796&view=findpost&p=234466]]></description>
			<dc:creator>TarasH</dc:creator>
			<pubDate>Tue, 30 Aug 2011 11:35:29 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1655</guid>
		</item>
		<item>
			<title>Zorkiy says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1641</link>
			<description><![CDATA[В статье, к данному методу вычисления частоты не сказано главное преимущество данного метода, это точность вычисления, которая составляет при измерении, ну к примеру сигнала частотой 1МГц, за время измерения 0,1 сек дать точность до 0,01 Гц и более. То есть с помощью данного метода за 0,1сек вы можете измерить сигнал 7999999,99Гц!!! Каким еще методом можно этого добиться?! Стандартным методом подсчета сигнала для такой точности понадобится считать 100сек!, а здесь измеряйте частоту хоть непрерывно, каждые 0,01сек или чаще. Книга, где описываются алгоритмы: Касаткин А.С. Обработка сигналов частотных датчиков. – М.: Энергия, 1966. – 120 с.]]></description>
			<dc:creator>Zorkiy</dc:creator>
			<pubDate>Tue, 23 Aug 2011 04:27:17 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1641</guid>
		</item>
		<item>
			<title>kitekat says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1430</link>
			<description><![CDATA[В файлах timer.c есть описка в инициализации таймера Т1, а именно - вместо операции сдвига - знак "меньше" : TCCR1B=(0]]></description>
			<dc:creator>kitekat</dc:creator>
			<pubDate>Wed, 06 Apr 2011 03:48:29 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1430</guid>
		</item>
		<item>
			<title>Валентин says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1354</link>
			<description><![CDATA[Фух, с трудом но освоил. Спасибо за статью, очень благодарен!]]></description>
			<dc:creator>Валентин</dc:creator>
			<pubDate>Sun, 13 Mar 2011 17:46:23 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1354</guid>
		</item>
		<item>
			<title>Гость says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1346</link>
			<description><![CDATA[будут измеряться правильно до частоты Fx]]></description>
			<dc:creator>Гость</dc:creator>
			<pubDate>Sat, 12 Mar 2011 05:47:09 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1346</guid>
		</item>
		<item>
			<title>Гость says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1345</link>
			<description><![CDATA[Здравствуйте. Статья понравилась. Несколько дополнений, если можно -в выражение вычисления частоты правильнее вводить точно измеренное значение Fcpu генерации системы резонатор+контр оллер. -согласно выражения определения абсолютной погрешности метода A_ERR>=Fx/(Fcpu *Tизмер.) десятые доли будут измеряться правильно до частоты Fx]]></description>
			<dc:creator>Гость</dc:creator>
			<pubDate>Sat, 12 Mar 2011 05:42:09 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1345</guid>
		</item>
		<item>
			<title>add says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1337</link>
			<description><![CDATA[ уф, а я уж читая, подумал что ссылки на первоисточник не будет)))]]></description>
			<dc:creator>add</dc:creator>
			<pubDate>Thu, 10 Mar 2011 05:54:48 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1337</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1336</link>
			<description><![CDATA[1. Можно 2. Не пробовал, но думаю, что можно]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Wed, 09 Mar 2011 22:18:48 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1336</guid>
		</item>
		<item>
			<title>Technician says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1332</link>
			<description><![CDATA[Отличная статья! Именно то, чем занимаюсь сейчас. Всвязи с этим есть несколько вопросов: 1. Можно ли величину программной задержки в 1 секунду снизить хотя бы до 0,5 секунды? Мне необходимо реализовать ПИД алгоритм для контроля частоты вращения двигателя, и за секунду частота может сильно "уплыть" 2. Необходимо измерять частоту одновременно с 2х устройств. Можно ли после получения стартовых Мнач и Nнач и завершающих пар Мкон и Nкон для одной частоты подключить к МК мультиплексором другую частоту?(идея с форума electronix.ru).]]></description>
			<dc:creator>Technician</dc:creator>
			<pubDate>Wed, 09 Mar 2011 03:23:17 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1332</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1326</link>
			<description><![CDATA[Один счетчик считает импульсы входного сигнала, второй - импульсы опорной частоты укладывающийся в "определенный промежуток времени". А промежуток этот складывается из программной задержки и двух "хвостиков" - первый от Capture1 до программной задержки, второй от программной задержки до Capture2.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Mon, 07 Mar 2011 21:11:57 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1326</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1325</link>
			<description><![CDATA[Идея не моя. Я прочитал об этом методе на форуме electronix.ru. В идеале метод должен давать точность +-1 такт контроллера. На практике получается хуже. Думаю на XMEGA хорошо получилось бы реализовать - там несколько 16-ти разрядных счетчиков и их можно каскадировать в 32 разрядные.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Mon, 07 Mar 2011 20:54:58 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1325</guid>
		</item>
		<item>
			<title>Brigadir says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1324</link>
			<description><![CDATA[Довольно экзотический алгоритм измерений. Pashgan, и как ты до такого додумался? И, действительно, почему бы просто не считать кол-во входных импульсов за определенный интервал времени? В таком случае, тактовая частота МК не играла бы роли.]]></description>
			<dc:creator>Brigadir</dc:creator>
			<pubDate>Mon, 07 Mar 2011 20:37:36 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1324</guid>
		</item>
		<item>
			<title>AtMega8 says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1322</link>
			<description><![CDATA[Ужас для начинающих.. Я вот не пойму если один счетчик подсчитывае количество импульсов измеряемого сигнала за определенный промежуток времени(то что надо), зачем тогда некая опорная частота?))]]></description>
			<dc:creator>AtMega8</dc:creator>
			<pubDate>Mon, 07 Mar 2011 16:16:52 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1322</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1321</link>
			<description><![CDATA[Материал носит обучающий характер. Мы не создаем здесь девайс на продажу. Объясните популярно (или дайте ссылку) почему частота случайный процесс и где написано как ее правильно измерять.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Mon, 07 Mar 2011 08:17:31 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1321</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1320</link>
			<description><![CDATA[Читаем внимательно ]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Mon, 07 Mar 2011 08:07:51 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1320</guid>
		</item>
		<item>
			<title>Crazy Synergetic says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1319</link>
			<description><![CDATA[А какова максимальная измеряемая частота???? Мне из этого поста сие совсем не ясно... P.S. Конечно хотелось бы еще узнать какова максимальная частота измерений на практике:)))]]></description>
			<dc:creator>Crazy Synergetic</dc:creator>
			<pubDate>Mon, 07 Mar 2011 05:25:24 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1319</guid>
		</item>
		<item>
			<title>Crafter76 says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1318</link>
			<description><![CDATA[А вот и косяк будет в настоящем-то устройстве... Проблема в том, что частота - это случайный процесс, и померить ее без использования дисперсии - неправильно...]]></description>
			<dc:creator>Crafter76</dc:creator>
			<pubDate>Mon, 07 Mar 2011 05:05:31 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/88-chastotomer-na-mikrokontrollere.html#comment-1318</guid>
		</item>
	</channel>
</rss>
