[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 - Sensor op Extension shield werkend krijgen • nodo-domotica.nl

nodo-domotica.nl

Sensor op Extension shield werkend krijgen

Hier alles over de hardware kant van de Nodo

Sensor op Extension shield werkend krijgen

Berichtdoor PieterS » 05 sep 2012, 21:44

Ik wil graag een magneetsensor aansluiten op de Nodo extension shield V1.1 en stelde me voor dat als volgt te kunnen regelen:

één draad van deze sensor op 5 V-aansluiting en andere op D7. Deze poort wil ik beschermd gebruiken en heb daarom jumper geplaatst.

Deze print is geplaatst op Nodo met Mega en 4.07b

Tevens in eventlist de regel toegevoegd:
WiredIn 1, on; Sound 5

Ik verwacht dan dat als contact gesloten wordt een geluidsignaal (hoog/laag) hoorbaar wordt. Speaker werkt wel want als ik in telnet het commando Sound 5 geef wordt dit wel gegenereerd. :P

Hierbij mijn eventlist
!****************************************************
EventList 1; Boot; Sound 7,0
EventList 2; WildCard IR,KAKU; RawSignalSend 0
EventList 3; WildCard RF,All; SendEvent HTTP
EventList 4; WildCard IR,All; SendEvent HTTP
EventList 5; WildCard Variables,All; SendEvent HTTP
EventList 6; WildCard Wired,All; SendEvent HTTP
EventList 7; WildCard All,UserEvent; SendEvent HTTP
EventList 8; Boot; TimerSetMin 2,1
EventList 9; Boot; TimerSetMin 3,60
EventList 10; Timer 2,0; VariablePulse 2,Time
EventList 11; Timer 2,0; TimerSetMin 2,1
EventList 12; Timer 3,0; VariablePulse 3,Count
EventList 13; Timer 3,0; TimerSetMin 3,60
EventList 16; Boot; UserPlugin 2,109
EventList 17; Boot; UserPlugin 1,68
EventList 18; WiredIn 1,On; Sound 5,0
!****************************************************

FYI: Regel 16 en 17 houden verband met mijn Alecto weerstation :P

In de Wiki kan ik nog maar weinig info over interfaces vinden.

Kan iemand mij verder helpen? Met belangstelling.

Pieter
PieterS
 
Berichten: 234
Geregistreerd: 21 dec 2011, 22:11

Re: Sensor op Extension shield werkend krijgen

Berichtdoor mvdbro » 06 sep 2012, 06:09

Volgens mij haal je in en output door elkaar. Binnen de Nodo is D7 een output en kun je alleen wiredout 1,x gebruiken op deze poort.

Je moet de sensor aansluiten op poort A0 (analoge ingang).
Dan kun je met wiredin 1,x werken.
(je kunt ook met "status wiredanalog 1" de werkelijke waarde opvragen van deze poort)
mvdbro
 
Berichten: 1092
Geregistreerd: 21 okt 2011, 12:06

Re: Sensor op Extension shield werkend krijgen

Berichtdoor PieterS » 06 sep 2012, 17:31

PieterS
 
Berichten: 234
Geregistreerd: 21 dec 2011, 22:11


Keer terug naar Nodo Hardware

Wie is er online?

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

cron