[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 488: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4762: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4764: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4765: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4766: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3897)
Toon onderwerp - Tiny RTC I2C Module + DS18B20 • nodo-domotica.nl

nodo-domotica.nl

Tiny RTC I2C Module + DS18B20

Hier alles over de hardware kant van de Nodo

Tiny RTC I2C Module + DS18B20

Berichtdoor BasPost » 08 aug 2013, 14:10

Even een vraagje, ik ben bezig om een shield te maken voor mijn UNO om deze als een Small ingezeten. Ik heb een Tiny RTC I2C module die ik uiteraard als klok ga gebruiken.
Op deze module is het mogelijk om een DS18B20 temperatuur sensor te plaatsen wat ik ook graag wil benutten, moet er nog een 4k7 weerstand tussen de "DS" aansluiting en de UNO? of kan ik deze direct aansluiten middels de module?


Afbeelding
BasPost
 
Berichten: 118
Geregistreerd: 03 jul 2012, 06:46
Woonplaats: Tolkamer

Re: Tiny RTC I2C Module + DS18B20

Berichtdoor BasPost » 10 aug 2013, 21:20

Kan iemand hulp bieden?


Afbeelding
BasPost
 
Berichten: 118
Geregistreerd: 03 jul 2012, 06:46
Woonplaats: Tolkamer

Re: Tiny RTC I2C Module + DS18B20

Berichtdoor rjmulder » 10 aug 2013, 22:19

Net even gecontroleerd op de RTC module die ik heb gebruikt.

Als je de temp sensor er nog niet op hebt zitten en je meet tussen DS en de 5V aansluiting moet je een weerstand meten, meet je die niet dan zit de pull-up weerstand er niet op.

Je kunt het ook meten als je de module is aangesloten (zonder temp sensor) dan moet er tussen DS en GND ongeveer 5 volt staan.

Ik hoop dat je er wat aan hebt, succes.
rjmulder
 
Berichten: 52
Geregistreerd: 29 jul 2013, 14:31

Re: Tiny RTC I2C Module + DS18B20

Berichtdoor Arkest » 10 aug 2013, 23:33

Ik ben benieuwd hoe je de sensor gaat uitlezen. De huidige device maakt volgens mij gebruik van het one-wire protocol en deze RTC gebruikt de I2C bus. Maar misschien heb ik het mis hoor.
Arkest
 
Berichten: 23
Geregistreerd: 23 jun 2013, 21:52

Re: Tiny RTC I2C Module + DS18B20

Berichtdoor rjmulder » 14 aug 2013, 19:56

rjmulder
 
Berichten: 52
Geregistreerd: 29 jul 2013, 14:31

Re: Tiny RTC I2C Module + DS18B20

Berichtdoor gijs » 21 aug 2013, 01:55

Ik heb alle antwoorden maar helaas in de vorm van 3 jpg files. Doe me even een berichtje met een e-mail adres erin en ik stuur je de zaak toe.

Maar hier een summary:

- Hoe uit te lezen, het is geen I2C zoals de RTC. Klopt helemaal. Met I2C kan je de RTC benaderen en ook nog een EEProm op hetzelfde boardje. Arduino libraries voor de EEProm heb ik ook. De Dallas gaat inderdaad met één wire (naast voeding). Oplossing is simpel :D een extra draadje van pin6 van de grote connector of pin 5 van de kleine naar een digitale pin op de Arduino, dus de Dallas loopt niet via het I2C busje.

- De weerstand voor de Dallas is R1, die zit precies tegenover de SCL aansluiting op de 7 pins connector. Volgens het schema is het ding 3k3 ohm. Als je het bordje onder power hebt moet je op de middelste pin van de Dallas (aansluiting) Vcc (ergens tussen de 3 en 5 volt) meten.
Groet, Gijs
gijs
 
Berichten: 27
Geregistreerd: 09 mei 2013, 20:42


Keer terug naar Nodo Hardware

Wie is er online?

Gebruikers in dit forum: Geen geregistreerde gebruikers. en 10 gasten

cron