<?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>Учебный курс AVR. Использования TWI модуля. Работа с DS1307. Дешево и сердито. Ч3</title>
		<description>Discuss Учебный курс AVR. Использования TWI модуля. Работа с DS1307. Дешево и сердито. Ч3</description>
		<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html</link>
		<lastBuildDate>Mon, 13 Apr 2026 06:51:03 +0000</lastBuildDate>
		<generator>JComments</generator>
		<atom:link href="https://chipenable.ru/index.php/component/jcomments/feed/com_k2/196.html" rel="self" type="application/rss+xml" />
		<item>
			<title>hawkone says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4892</link>
			<description><![CDATA[Подскажыте, что в строке TWDR = (DS1307_ADR]]></description>
			<dc:creator>hawkone</dc:creator>
			<pubDate>Tue, 06 Sep 2016 08:05:01 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4892</guid>
		</item>
		<item>
			<title>Nicholas D. Wolfwood says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4868</link>
			<description><![CDATA[Извините за тупой вопрос но не могу понять, как у вас определяются порты микроконтроллер а под sda scl и сам контроллер, знаю вопрос тупой но ответа и упоминания в коде ничего не нашел....]]></description>
			<dc:creator>Nicholas D. Wolfwood</dc:creator>
			<pubDate>Tue, 19 Jul 2016 18:31:41 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4868</guid>
		</item>
		<item>
			<title>Иван Иванович says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4793</link>
			<description><![CDATA[Всем привет любителям Ардуино. У меня вопрос, не могу ничего подходящего найти. Как в модуль DS1307 подключить датчик Ds18B20.ПО отдельности все работает а вот подключил датчик температуры и все повисло, даже в последовательны й порт часы не выводит? А статья просто супер. МОЛОДЕЦ]]></description>
			<dc:creator>Иван Иванович</dc:creator>
			<pubDate>Thu, 28 Apr 2016 08:34:59 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4793</guid>
		</item>
		<item>
			<title>Михаил says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4469</link>
			<description><![CDATA[Глупый вопрос, а как записать бит разрешения счета у часов и бит разрешения генерации SQWE ???]]></description>
			<dc:creator>Михаил</dc:creator>
			<pubDate>Tue, 10 Mar 2015 06:26:22 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4469</guid>
		</item>
		<item>
			<title>дима says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4398</link>
			<description><![CDATA[а на реальном железе кроме секунду не чего больше не считывает]]></description>
			<dc:creator>дима</dc:creator>
			<pubDate>Tue, 13 Jan 2015 16:47:51 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4398</guid>
		</item>
		<item>
			<title>дмитрий1 says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4390</link>
			<description><![CDATA[А как работать с полученными данными времени, как обратно в десятичное число перевести??]]></description>
			<dc:creator>дмитрий1</dc:creator>
			<pubDate>Tue, 06 Jan 2015 16:44:28 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4390</guid>
		</item>
		<item>
			<title>slawiks says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4356</link>
			<description><![CDATA[Добрый день. Собрал на макете ATMEGA8 и датчик давления. С внешними подтягивающими резисторами по 4.7 кОм не заработало. После подключения внутренних вместе с внешними все нормально. Чем это можно объяснить?Спаси бо]]></description>
			<dc:creator>slawiks</dc:creator>
			<pubDate>Wed, 03 Dec 2014 13:53:26 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4356</guid>
		</item>
		<item>
			<title>Yurii Lemberg says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4214</link>
			<description><![CDATA[Спасибо большое! Очень интересно читать, а главное что все понятно.]]></description>
			<dc:creator>Yurii Lemberg</dc:creator>
			<pubDate>Mon, 23 Jun 2014 09:26:59 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4214</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4126</link>
			<description><![CDATA[В конце статьи проекты, там этот код есть. Только значение времени нужно вводить в двоично десятичном формате, если мне память не изменяет. RTC_SetValue(RT C_HOUR_ADR, 0); RTC_SetValue(RT C_MIN_ADR, 0); RTC_SetValue(RT C_SEC_ADR, 0);]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Sat, 14 Jun 2014 09:55:02 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4126</guid>
		</item>
		<item>
			<title>ALEXIS says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4117</link>
			<description><![CDATA[Павел, скажите а каким образом можно записать новую дату и время с помощью МК. Если есть возможность кусок кода. Благодарю.]]></description>
			<dc:creator>ALEXIS</dc:creator>
			<pubDate>Wed, 04 Jun 2014 10:20:04 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4117</guid>
		</item>
		<item>
			<title>Альнер says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4115</link>
			<description><![CDATA[кто-нибудь может в AlgorithmBuilde r TWI модуль проверить???]]></description>
			<dc:creator>Альнер</dc:creator>
			<pubDate>Fri, 30 May 2014 16:55:14 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4115</guid>
		</item>
		<item>
			<title>Альнер says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4114</link>
			<description><![CDATA[while(!(TWCR & (1]]></description>
			<dc:creator>Альнер</dc:creator>
			<pubDate>Fri, 30 May 2014 16:49:40 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-4114</guid>
		</item>
		<item>
			<title>kleef says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3483</link>
			<description><![CDATA["Поскольку чтение данных выполняется по адресу внутреннего счетчика, его значение нужно предварительно инициализироват ь. Это делается с помощью операции записи, которая обрывается после передачи адреса регистра." Т.е. после этого внутренний счетчик обнуляется и мы можем прочитать значение, которое записано через RTC_SetValue(0, temp) ? Работая с микросхемой m24256 на выходе всегда получаю значение 256 независимо от записанных данных]]></description>
			<dc:creator>kleef</dc:creator>
			<pubDate>Tue, 26 Nov 2013 05:43:57 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3483</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3475</link>
			<description><![CDATA[TWDR = (DS1307_ADR]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Mon, 25 Nov 2013 11:41:28 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3475</guid>
		</item>
		<item>
			<title>kleef says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3472</link>
			<description><![CDATA[TWDR = (DS1307_ADR]]></description>
			<dc:creator>kleef</dc:creator>
			<pubDate>Mon, 25 Nov 2013 04:59:05 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3472</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3424</link>
			<description><![CDATA[Если будут желающие и дойдут руки, то напишу.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Thu, 07 Nov 2013 06:38:42 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3424</guid>
		</item>
		<item>
			<title>sar-bc says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3423</link>
			<description><![CDATA[Здравствуйте! Скажите пожалуйста, будут ли разбираться примеры сопряжения двух атмег по TWI? Например: Есть мега 16 к порту PORTD.7 подключена кнопка. И мега 8 к порту PORTD.7 подключен светодиод. Две меги подключены через TWI. При нажатии кнопки мега16 «говорит» меге8 мол кнопка нажата включи сведодиод. Можно ли разобрать такой пример?]]></description>
			<dc:creator>sar-bc</dc:creator>
			<pubDate>Wed, 06 Nov 2013 22:11:27 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3423</guid>
		</item>
		<item>
			<title>Alex says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3412</link>
			<description><![CDATA[походу я туплю)]]></description>
			<dc:creator>Alex</dc:creator>
			<pubDate>Sun, 03 Nov 2013 20:03:15 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3412</guid>
		</item>
		<item>
			<title>JoJo says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3410</link>
			<description><![CDATA[Тупить пока не установлен бит TWINT. Вот что делает эта строка.]]></description>
			<dc:creator>JoJo</dc:creator>
			<pubDate>Sun, 03 Nov 2013 18:05:01 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3410</guid>
		</item>
		<item>
			<title>Alex says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3409</link>
			<description><![CDATA[while(!(TWCR & (1]]></description>
			<dc:creator>Alex</dc:creator>
			<pubDate>Sun, 03 Nov 2013 17:14:36 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3409</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3408</link>
			<description><![CDATA[Не приходилось пользоваться этим интерфейсом. Это что-то похожее на SPI?]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Sun, 03 Nov 2013 16:50:23 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3408</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3407</link>
			<description><![CDATA[Нет. В TWSR статусные коды хранятся, а бит TWINT относится к управляющему регистру TWCR.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Sun, 03 Nov 2013 16:48:40 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3407</guid>
		</item>
		<item>
			<title>Pashgan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3406</link>
			<description><![CDATA[По прерываниям позже материал будет.]]></description>
			<dc:creator>Pashgan</dc:creator>
			<pubDate>Sun, 03 Nov 2013 16:47:49 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3406</guid>
		</item>
		<item>
			<title>nope says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3405</link>
			<description><![CDATA[А сдесь случайно не TWSR должен быть? while(!(TWCR & (1]]></description>
			<dc:creator>nope</dc:creator>
			<pubDate>Sat, 02 Nov 2013 19:08:59 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3405</guid>
		</item>
		<item>
			<title>FreshMan says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3404</link>
			<description><![CDATA[если можно, сделай пожалуйста статью по работе с DS1307 с прерываниями :-)]]></description>
			<dc:creator>FreshMan</dc:creator>
			<pubDate>Fri, 01 Nov 2013 19:39:53 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3404</guid>
		</item>
		<item>
			<title>Alexey says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3403</link>
			<description><![CDATA[Спасибо! Интересно было бы почитать про сопряжение устройств по Microwire интерфейсу.]]></description>
			<dc:creator>Alexey</dc:creator>
			<pubDate>Fri, 01 Nov 2013 19:17:57 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3403</guid>
		</item>
		<item>
			<title>Noone says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3402</link>
			<description><![CDATA[Спасибо Павел. Большое!!!]]></description>
			<dc:creator>Noone</dc:creator>
			<pubDate>Fri, 01 Nov 2013 19:13:48 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3402</guid>
		</item>
		<item>
			<title>foxit says:</title>
			<link>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3401</link>
			<description><![CDATA[Спасибо за статью.]]></description>
			<dc:creator>foxit</dc:creator>
			<pubDate>Fri, 01 Nov 2013 17:41:32 +0000</pubDate>
			<guid>https://chipenable.ru/index.php/programming-avr/196-uchebnyy-kurs-avr-ispolzovaniya-twi-modulya-rabota-s-ds1307-deshevo-i-serdito-ch3.html#comment-3401</guid>
		</item>
	</channel>
</rss>
