[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 - LDR geeft een 0 waarde • nodo-domotica.nl

nodo-domotica.nl

LDR geeft een 0 waarde

Hier alles over de hardware kant van de Nodo

LDR geeft een 0 waarde

Berichtdoor bunny007 » 22 dec 2011, 10:22

Hoi,

Ik probeer een LDR werkend te krijgen zoals beschreven staat in "7.2 Lampen automatisch schakelen als het donker wordt" nu heb ik de LDR aangesloten op de 1e analoge poort met 1 pootje het andere pootje op de massa (0) maar nu krijg ik alleen maar een waarde 0, zou het wellicht kunnen zijn dat het iets verkeerd beschreven staat en dat 1 pootje in de analog a0 moet (eerste vrije analoge poort) en de andere op de +5v moet ?

Heb een arduino mega 2560, met losse componenten eromheen. (rf/ir-recieve/speaker), zowel in EventGhost als de Nodo beheer tool krijg ik deze 0 waarde. Heb ook al een andere vrije analoge poort gebruikt maar daar ook de waarde 0
R744, Mega, LAN, Nodoshield v1.2, 1xDHT22, 5xDS18B20, 5x8ch relay, 40/8p PCF8574, 5xKAKU, 4x2262, RFID
R744, Mega, LAN, 2xDS18B20, 2x8ch relay, 16/8p PCF8574, 2xHC-SR501
R818, MiniPro, 433RF, 2xMG995 Servo
Orange PI PC (€15) - Lubuntu 14.04 - Domoticz
bunny007
 
Berichten: 129
Geregistreerd: 09 dec 2011, 08:46

Re: LDR geeft een 0 waarde

Berichtdoor kabouter » 22 dec 2011, 14:20

kabouter
 
Berichten: 214
Geregistreerd: 10 nov 2011, 13:57

Re: LDR geeft een 0 waarde

Berichtdoor bunny007 » 22 dec 2011, 18:53

Dank je wel kabouter, had al het vermoeden dat ik wat mis deed.

Maar ik heb hem nu aangesloten met een 10K weerstand zoals op het schema staat en nu doet hij het, dank je wel !

Afbeelding
R744, Mega, LAN, Nodoshield v1.2, 1xDHT22, 5xDS18B20, 5x8ch relay, 40/8p PCF8574, 5xKAKU, 4x2262, RFID
R744, Mega, LAN, 2xDS18B20, 2x8ch relay, 16/8p PCF8574, 2xHC-SR501
R818, MiniPro, 433RF, 2xMG995 Servo
Orange PI PC (€15) - Lubuntu 14.04 - Domoticz
bunny007
 
Berichten: 129
Geregistreerd: 09 dec 2011, 08:46

Re: LDR geeft een 0 waarde

Berichtdoor Paul » 22 dec 2011, 21:53

Dan nog een tip, de Nodo berekent aan de hand van datum/tijd de momenten van zonsopgang en -ondergang. Daar kan je ook mee schakelen. Niet zo comfortabel als feitelijke lichtmeting, maar de Nodo mag dan in de meterkast blijven liggen.
Groeten Paul
Paul
 
Berichten: 1152
Geregistreerd: 31 aug 2011, 20:33


Keer terug naar Nodo Hardware

Wie is er online?

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

cron