<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=47&amp;t=5212&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2014-05-13T21:29:16+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=47&amp;t=5212&amp;mode</id>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2014-05-13T21:29:16+01:00</updated>
<published>2014-05-13T21:29:16+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=81065#p81065</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=81065#p81065"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=81065#p81065"><![CDATA[
Skleciłem kod który działa na Arduino Mega oraz w5100 ethernet. Po dodaniu  dodatkowego urządzenia pomiędzy je kod przestaje działać całkowicie. Kończy się w setup na obsłudze karty a właściwie brakiem jej wykrycia. Pomierzyłem wszystkie złącza są przejścia oraz brak zwarć. Rozszerzenie oprócz wlutowanych kabli nic więcej nie ma. Jedyne co mnie dziwi to brak złącza ICSP. Czy to może być przyczyna? W kilku miejscach doczytałem że to złącze nie jest potrzebne do działania w5100 ale czy to przypadkiem nie w tym tkwi problem?<br /><br /><img src="http://forum.atnel.pl/_obrazki/o/thumb/1993/a2ec7f5c80ddd3f9e0bf2116cfc7e1f2.jpg" alt="Obrazek" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 13 maja 2014, o 21:29</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[stachu]]></name></author>
<updated>2014-03-18T22:52:26+01:00</updated>
<published>2014-03-18T22:52:26+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=74881#p74881</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=74881#p74881"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=74881#p74881"><![CDATA[
RAM-u <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /> wiem jak chodzi ethernet na arduino czasami nie wyrabia <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /><br /><br />Popatrz tu nie trzeba shielda <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /><br /><br /><!-- m --><a class="postlink" href="http://www.blue17.elektroda.eu/mikrokontrolery-avr/1618" >http://www.blue17.elektroda.eu/mikrokontrolery-avr/1618</a><!-- m --><br /><br />Pozdrawiam<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=72">stachu</a> — 18 mar 2014, o 22:52</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2014-03-18T21:58:20+01:00</updated>
<published>2014-03-18T21:58:20+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=74876#p74876</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=74876#p74876"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=74876#p74876"><![CDATA[
Odpowiem sobie sam. Zdecydowałem na zakup wersji MEGA. Na zakupionym arduino kod bez przeróbek działa bez problemu. Wg mnie czegoś brakowało w UNO co jest w MEGA.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 18 mar 2014, o 21:58</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2013-12-23T16:07:28+01:00</updated>
<published>2013-12-23T16:07:28+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62145#p62145</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62145#p62145"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62145#p62145"><![CDATA[
Na pewno nie wiem tyle ile bym chciałalem staram się najpierw czytać a potem pytać. Jestem w trakcie przerabiania nocami tych podpowiedzi tylko myślałem że robię błąd na jakiejś oczywistości. Dzięki za uwagi jak będę miał nowe spostrzeżenia to będę pytał.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 23 gru 2013, o 16:07</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xor]]></name></author>
<updated>2013-12-23T15:57:03+01:00</updated>
<published>2013-12-23T15:57:03+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62144#p62144</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62144#p62144"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62144#p62144"><![CDATA[
Ok, więc skoro wiesz tyle ile trzeba to skorzystaj z informacji które daje serial. Coś się sypie na odczycie z karty. Może trzeba sformatować kartę? Wstawić inną kartę? Wrzucić maly program, który będzie tylko czytał/zapisywał kartę, bez tego całego ethernetowego i zegarowego bagażu? Zainicjować pin CS jawnie? Spróbować z inną biblio? Próbowałeś tego wszystkiego?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1774">xor</a> — 23 gru 2013, o 15:57</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2013-12-23T14:54:53+01:00</updated>
<published>2013-12-23T14:54:53+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62142#p62142</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62142#p62142"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62142#p62142"><![CDATA[
Wkleiłem cały serial jaki wypluło w konsoli. Mam wrażenie że dalej wszytko zawisło. Wiem że wszystko jest ważne i nie wycinam sobie tego co mi się podoba. <br />Jak powinno wyglądać inicjowanie biblioteki bo mi wydało się że tak:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">#include &lt;Wire.h&gt;<br />#include &quot;RTClib.h&quot;<br /><br />RTC_DS1307 rtc;</div><br /><br />Czy potrafię podłączyć ocen sam ale ustawiłem czas na module RTC oraz napisałem prosty szkic który włącza i wyłącza diodę zależnie od sekund.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 23 gru 2013, o 14:54</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xor]]></name></author>
<updated>2013-12-23T12:46:16+01:00</updated>
<published>2013-12-23T12:46:16+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62131#p62131</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62131#p62131"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62131#p62131"><![CDATA[
W kodzie jest trochę tych Serial.printlnów a tyś z łaski sypnął trzema. Klawiaturę oszczędzasz czy jak? Zapodaj co tam więcej jest. Zwłaszcza przy wołaniu serwera. <br />Z tego coś podał widać, że karta się inicjuje za to zegar nie działa. A nie działa boś nie zainicjował biblio Wire. Zapoznałeś się w ogóle z przykładami do biblio RTClib? A wiesz w ogóle jak podłącza się urządzenia przez magistralę I2C (pull-ups!)? <br />Myślę, że to nie Arduino jest za słabe tylko twoja wiedza.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1774">xor</a> — 23 gru 2013, o 12:46</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2013-12-23T11:51:02+01:00</updated>
<published>2013-12-23T11:51:02+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62125#p62125</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62125#p62125"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62125#p62125"><![CDATA[
Czy moje problemy mogą być spowodowane tym że Arduino Uno R3 jest za słabe do tego projektu?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 23 gru 2013, o 11:51</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2013-12-22T13:43:35+01:00</updated>
<published>2013-12-22T13:43:35+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62041#p62041</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62041#p62041"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62041#p62041"><![CDATA[
Poprawiony plik w załączniku. W serialu tylko:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">RTC is NOT running!<br />Initializing SD card...<br />SUCCESS - SD card initialized.<br /></div><br /><br />PS. Dziękuję za zainteresowanie.<br />Jak wklejać tak ładnie kolorowany kod?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 22 gru 2013, o 13:43</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xor]]></name></author>
<updated>2013-12-22T12:03:39+01:00</updated>
<published>2013-12-22T12:03:39+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62037#p62037</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62037#p62037"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62037#p62037"><![CDATA[
W tym programie co przysłałeś wcześniej, w funkcji setup() na wyjście serial są wyprowadzone komunikaty diagnostyczne. Pojawiają się przy starcie? Wszystko się inicjalizuje jak trzeba? Inicjalizację rtc.begin przenieś przed inicjalizację karty i zobacz co się wyświetli. Nie zaszkodzi też wstawić swoje printy w podejrzanych miejscach programu np. warunek w linii 135 zamienić na coś takiego:<br />[syntax=c]if (webFile) {<br />int ile; //debug<br />            while(ile=webFile.available()) {<br />                    client.write(webFile.read()); // send web page to client<br />Serial.print(&quot;bajtow: &quot;);Serial.println(ile);  //debug<br />             }<br />             webFile.close();<br />    }<br />else //debug<br />      Serial.println(&quot;nie udało się otworzyć karty&quot;);//debug[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1774">xor</a> — 22 gru 2013, o 12:03</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2013-12-21T21:18:06+01:00</updated>
<published>2013-12-21T21:18:06+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62003#p62003</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62003#p62003"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=62003#p62003"><![CDATA[
Czytam, testuje i tak w kółko. Może ktoś podrzuci mi inny sposób na osiągniecie tego co potrzebuję.<br />1. Warunek sprawdzający stan pin 1 oraz godzinę pomiędzy 6-8 a 15 -22 (z tym sobie poradzę, daje radę z RTC)<br />2. Wyniki stanu wyjść wizualizowane na serwerze www.<br />3. Możliwość załączenia wybranego pinu z www.<br /><br />Potrafię z tutoriali uruchomić serwer www oraz sterować pinem. Jak dodaję bibliotekę RTC pojawia się problem. Mianowicie po dodaniu czasu mam wrażenie że serwer www nie może odczytać pliku index.htm z kary sd. W domowej sieci mam jeszcze serwer www na apachu i może on mógłby komunikować się z z arduino ?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 21 gru 2013, o 21:18</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2013-12-20T16:41:19+01:00</updated>
<published>2013-12-20T16:41:19+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61898#p61898</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61898#p61898"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61898#p61898"><![CDATA[
Czyli żadne z moich przypuszczeń.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 20 gru 2013, o 16:41</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xor]]></name></author>
<updated>2013-12-20T15:52:03+01:00</updated>
<published>2013-12-20T15:52:03+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61894#p61894</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61894#p61894"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61894#p61894"><![CDATA[
<div class="quotetitle">maglo18 napisał(a):</div><div class="quotecontent"><br />Czytam od wczoraj i dochodzę do wniosku że RTC i karta sd używają tego samego interfejsu? I2c oraz cc od karty sd to pin 4.<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">  SD card test <br />   <br /> This example shows how use the utility libraries on which the'<br /> SD library is based in order to get info about your SD card.<br /> Very useful for testing a card when you're not sure whether its working or not.<br />    <br /> The circuit:<br />  * SD card attached to SPI bus as follows:<br /> ** MOSI - pin 11 on Arduino Uno/Duemilanove/Diecimila<br /> ** MISO - pin 12 on Arduino Uno/Duemilanove/Diecimila<br /> ** CLK - pin 13 on Arduino Uno/Duemilanove/Diecimila<br /> ** CS - depends on your SD card shield or module. <br />        Pin 4 used here for consistency with other Arduino examples<br /></div><br /> Czy moje przypuszczenia są poprawne, jeżeli tak to jak z tym się uporać?<br /></div><br /><br />Nie są poprawne. Karta jest podłączona do magistrali SPI, co jest zresztą napisane: &quot;SD card attached to SPI bus...&quot;. Na pinie 4 jest CS (Cable Select) czyli wybór aktywnego urządzenia. Chodzi tu o 4 pin CYFROWY. Magistrala I2C jest na 4 pinie ANALOGOWYM. Obejrzyj sobie swoje Arduino.<br /><br /><strong><span style="color: #808000">------------------------ [ Dodano po: 2 minutach ]</span></strong><br /><br /><div class="quotetitle">maglo18 napisał(a):</div><div class="quotecontent"><br />Dziękuję za odzew. O ile twoja poprzednią sugestię co do błędu zrozumiałem to ostatniej nie. <br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">for (count = 2; count &lt;= 3; count++) { // A2 to A5 byĹ‚o for (count = 2; count &lt;= 3; count++)<br />        analog_val = analogRead(count);</div><br />Ta cześć odpytuje wejścia A2 i A3 i nie powinna wpływać na A4 i A5 na której jest i2c?<br /></div><br /><br />No tak, rzeczywiście.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1774">xor</a> — 20 gru 2013, o 15:52</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2013-12-20T15:44:49+01:00</updated>
<published>2013-12-20T15:44:49+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61893#p61893</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61893#p61893"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61893#p61893"><![CDATA[
Dziękuję za odzew. O ile twoja poprzednią sugestię co do błędu zrozumiałem to ostatniej nie. <br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">for (count = 2; count &lt;= 3; count++) { // A2 to A5 byĹ‚o for (count = 2; count &lt;= 3; count++)<br />        analog_val = analogRead(count);</div><br />Ta cześć odpytuje wejścia A2 i A3 i nie powinna wpływać na A4 i A5 na której jest i2c?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 20 gru 2013, o 15:44</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xor]]></name></author>
<updated>2013-12-20T15:28:12+01:00</updated>
<published>2013-12-20T15:28:12+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61892#p61892</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61892#p61892"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61892#p61892"><![CDATA[
Przerobiłeś przynajmniej ten tutorial od początku czy od razu skoczyłeś do części 16 <!-- m --><a class="postlink" href="http://startingelectronics.com/tutorials/arduino/ethernet-shield-web-server-tutorial/" >http://startingelectronics.com/tutorial ... -tutorial/</a><!-- m --> ? <img src="https://forum.atnel.pl/images/smilies/icon_e_wink.gif" alt=";-)" title="Puszcza oko" /><br />Słuchaj, nikt ci nie będzie debugował kodu, to twoje własne zadanie. Wychodząc od oryginalnego kodu rób małe zmiany w interesujących cię miejscach i sprawdzaj czy działa. Jak wrzucasz wszytko na raz to debugować jest bardzo trudno bo nawet nie wiesz gdzie szukać błędu.<br />A co do tego co przyslałeś to wygląda że jest to ten sam bląd:<br />[syntax=c]for (count = 2; count &lt;= 3; count++) { // A2 to A5 byĹ‚o for (count = 2; count &lt;= 3; count++)<br />        analog_val = analogRead(count);[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1774">xor</a> — 20 gru 2013, o 15:28</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2013-12-20T15:26:29+01:00</updated>
<published>2013-12-20T15:26:29+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61891#p61891</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61891#p61891"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61891#p61891"><![CDATA[
Czytam od wczoraj i dochodzę do wniosku że RTC i karta sd używają tego samego interfejsu? I2c oraz cc od karty sd to pin 4.<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">  SD card test <br />   <br /> This example shows how use the utility libraries on which the'<br /> SD library is based in order to get info about your SD card.<br /> Very useful for testing a card when you're not sure whether its working or not.<br />    <br /> The circuit:<br />  * SD card attached to SPI bus as follows:<br /> ** MOSI - pin 11 on Arduino Uno/Duemilanove/Diecimila<br /> ** MISO - pin 12 on Arduino Uno/Duemilanove/Diecimila<br /> ** CLK - pin 13 on Arduino Uno/Duemilanove/Diecimila<br /> ** CS - depends on your SD card shield or module. <br />        Pin 4 used here for consistency with other Arduino examples<br /></div><br /> Czy moje przypuszczenia są poprawne, jeżeli tak to jak z tym się uporać? <br /><br />Znalazłem jeszcze informacje o podobnym problemie. Proszę o wyjaśnienie poniższego kodu:<br /><div class="codetitle"><b>Code:</b></div><div class="codecontent">// disable RTC SPI<br />  pinMode(7,OUTPUT);<br />  digitalWrite(7,HIGH);<br /><br />  // disable w5100 SPI<br />  pinMode(10,OUTPUT);<br />  digitalWrite(10,HIGH);<br /><br />  Serial.print(F(&quot;Starting SD..&quot;));<br />  if(!SD.begin(4)) Serial.println(F(&quot;failed&quot;));<br />  else Serial.println(F(&quot;ok&quot;));<br /><br />  Serial.print(F(&quot;Starting ethernet...&quot;));<br />  if(!Ethernet.begin(mac)) Serial.println(F(&quot;dhcp failed&quot;));<br />  else Serial.println(Ethernet.localIP());<br /><br />  SPI.setDataMode(SPI_MODE3);<br />  if ( RTC.begin())<br />  {  <br />    RTC.adjust(DateTime(__DATE__, __TIME__));<br />    Serial.println(&quot;RTC Initialised.&quot;);<br />  }<br />  else<br />  {<br />    Serial.println(&quot;RTC failed to Initialise.&quot;);<br />  }<br />  SPI.setDataMode(SPI_MODE0);<br />}<br /><br />void loop() {<br />}</div><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 20 gru 2013, o 15:26</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2013-12-20T09:40:06+01:00</updated>
<published>2013-12-20T09:40:06+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61848#p61848</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61848#p61848"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61848#p61848"><![CDATA[
Pomogło na poprzedni projekt ten w załączniku jest inny. Nowy projekt jest wzbogacony o bibliotekę do obsługi kart SD.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 20 gru 2013, o 09:40</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[majster]]></name></author>
<updated>2013-12-20T03:08:40+01:00</updated>
<published>2013-12-20T03:08:40+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61841#p61841</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61841#p61841"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61841#p61841"><![CDATA[
To pomogło czy nie? <br /><br />Wysłane z telefonu<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1628">majster</a> — 20 gru 2013, o 03:08</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2013-12-20T00:42:30+01:00</updated>
<published>2013-12-20T00:42:30+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61838#p61838</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61838#p61838"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61838#p61838"><![CDATA[
Miałeś rację twoje rozwiązanie pomogło. Proszę jeszcze raz o spojrzenie na projekt bo efekt ten sam gdy dodaje rtc, znika serwer.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 20 gru 2013, o 00:42</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xor]]></name></author>
<updated>2013-12-19T13:55:04+01:00</updated>
<published>2013-12-19T13:55:04+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61787#p61787</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61787#p61787"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61787#p61787"><![CDATA[
Te biblioteki same z siebie się nie gryzą, ethernet używa SPI a rtclib I2C (przez biblio Wire) czyli całkiem inne moduły i całkiem inne piny. Ale jest jedno podejrzane miejsce, mianowicie w kodzie webserwera (domyślam się, że używasz przykładowego kodu) program odpytuje wszystkie wejścia analogowe. To jest ten fragment:<br />[syntax=c]for (int analogChannel = 0; analogChannel &lt; 6; analogChannel++) {<br />            int sensorReading = analogRead(analogChannel);<br />...[/syntax]<br />Magistrala I2C działa używa dwóch pinów wspódzielonych z pinami analogowymi (np. w Arduino UNO są to A4 i A5). Być może tu jest przyczyna.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1774">xor</a> — 19 gru 2013, o 13:55</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2013-12-19T12:56:13+01:00</updated>
<published>2013-12-19T12:56:13+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61773#p61773</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61773#p61773"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61773#p61773"><![CDATA[
Interesuje mnie webserwer oraz RTC jednocześnie. Z góry dziękuję.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 19 gru 2013, o 12:56</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xor]]></name></author>
<updated>2013-12-19T11:34:23+01:00</updated>
<published>2013-12-19T11:34:23+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61764#p61764</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61764#p61764"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61764#p61764"><![CDATA[
Trzeba w opisie albo w kodzie sobie zobaczyć z czego biblioteka korzysta. Daj linki do tych biblio to rzucę okiem.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1774">xor</a> — 19 gru 2013, o 11:34</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2013-12-19T11:11:36+01:00</updated>
<published>2013-12-19T11:11:36+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61762#p61762</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61762#p61762"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61762#p61762"><![CDATA[
Oczywiście jako użytkownik arduino jestem żółtodziobem. Jak mogę  sprawdzić gdzie leży problem? Może ktoś może podać sprawdzone biblioteki?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 19 gru 2013, o 11:11</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[xor]]></name></author>
<updated>2013-12-19T10:51:49+01:00</updated>
<published>2013-12-19T10:51:49+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61761#p61761</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61761#p61761"/>
<title type="html"><![CDATA[Re: RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61761#p61761"><![CDATA[
Możliwe. Niekiedy biblioteki się gryzą. Ale nie powiem ci czy to jest akurat ten przypadek bo nie znam tych bibliotek. To już musisz sobie sprawdzić sam. A zachodzi to gdy dwie biblioteki próbują przejąć kontrolę nad tymi samymi zasobami sprzętowymi. Typowy przypadek: w Arduino są trzy timery (w podstawowym modelu - Arduino UNO), z których jeden jest wykorzystywany przez biblioteki systemowe, więc twórcy bibliotek z niego z reguły nie korzystają. Pozostają dwa: 16 bitowy i 8 bitowy. Twórcy obu użytych bibliotek mogą stwierdzić, że skorzystają akurat z tego samego timera i jest zonk. Można spróbować przerobić którąś bibliotekę przenosząc na drugi timer.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1774">xor</a> — 19 gru 2013, o 10:51</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[maglo18]]></name></author>
<updated>2013-12-19T09:05:31+01:00</updated>
<published>2013-12-19T09:05:31+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61756#p61756</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61756#p61756"/>
<title type="html"><![CDATA[RTC i W5100 Ethernet schield]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5212&amp;p=61756#p61756"><![CDATA[
Próbuje sterować arduino poprzez ethernet. Wczytałem kod z przykładów zawartych w programie i zaczął wyświetlac wartości poprzez www(działa). Dodatkowo chciałe do projektu dodać obsługę RTC. Po dodaniu samych bibliotek od RTC i wire serwer www juz przestał działać. Czy te biblioteki lub moduły mogą razem współpracować? Czy bardziej prawdopodobny jest błąd ludzki czyli mój:).<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1993">maglo18</a> — 19 gru 2013, o 09:05</p><hr />
]]></content>
</entry>
</feed>