[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/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/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/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/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 - 8 relay module • nodo-domotica.nl

nodo-domotica.nl

8 relay module

Hier alles over de hardware kant van de Nodo

Re: 8 relay module

Berichtdoor manjh » 23 aug 2013, 12:31

Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: 8 relay module

Berichtdoor mvdbro » 23 aug 2013, 13:31

mvdbro
 
Berichten: 1092
Geregistreerd: 21 okt 2011, 12:06

Re: 8 relay module

Berichtdoor manjh » 23 aug 2013, 14:34

He zojuist bij dx een bordje besteld, wel duurder dan de losse chips maar je kunt er rechtstreeks mee aan de slag. Goed om mee te beginnen.
Hans
manjh
 
Berichten: 1173
Geregistreerd: 29 aug 2011, 14:39

Re: 8 relay module

Berichtdoor mvdbro » 23 aug 2013, 15:52

Even nieuwe testopstelling gemaakt om het device te testen. Het werkt in elk geval met twee chips, meer heb ik even niet voorhanden:
Afbeelding

Als er testers zijn, hier de concept device code (nu nog device #255)


Voorbeeld commando's:

ExtWiredOut 1,On
ExtWiredOut 9,Off

Getest op een Slave met Nodo R555. De slave heeft nu dus even 4+8+8=20 output poorten...

gr
Martinus
mvdbro
 
Berichten: 1092
Geregistreerd: 21 okt 2011, 12:06

Re: 8 relay module

Berichtdoor ff2000 » 23 aug 2013, 18:17

Top...

Ik heb ook een zo'n bordje besteld op ebay.

Nog even een paar dagen wachten...
ff2000
 
Berichten: 61
Geregistreerd: 06 sep 2011, 10:42

Re: 8 relay module

Berichtdoor kabouter » 23 aug 2013, 18:25

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

Re: 8 relay module

Berichtdoor mvdbro » 23 aug 2013, 21:04

Nog even een belangrijke opmerking. Ik was vergeten dat de PCF8574 pinnen zowel input als output zijn. Er is dus geen control register om dit te bepalen. De pinnen zijn daarom wel "active low" en dus moet een relaisbordje dat bedoeld is voor een Arduino via een inverter worden aangesloten.

Ik gebruikte in het "pre Nodo" tijdperk deze chips samen met Solid State Relais (werken met optocoupler). Een LED of optocoupler kun je met een serieweerstand direct aansluiten tussen output pin en VCC. Dan is een active low pin dus direct te gebruiken.

Overigens geef ik de voorkeur aan een Solid State Relais t.o.v. een mechanisch relais, Helaas zijn deze wel een stuk duurder, b.v.:


Aangezien deze thread is gestart tbv klassiek relais, is de PCF8574 wellicht minder handig dan andere I2C IO chips

gr
Martinus
mvdbro
 
Berichten: 1092
Geregistreerd: 21 okt 2011, 12:06

Re: 8 relay module

Berichtdoor jody » 31 aug 2013, 19:03

is het mogelijk om met de relay print een ontvanger en een atmega 328 een 8 kanaals ontvanger te maken ???
jody
 
Berichten: 40
Geregistreerd: 29 apr 2012, 10:52

Re: 8 relay module

Berichtdoor bunny007 » 19 sep 2013, 00:38

Hehe, mijn 10x PCF8574AP chipjes binnen, kan ik D20 SDA en D21 SCL parralel aansluiten aangezien die al verbonden is met mijn nodo ?

Afbeelding

Verder vroeg ik me af of het onderstaande aansluitschema correct was, ik geloof dat de blauwe draad PWM2 niet hoeft.

Afbeelding

Kan ik dan de 8 extra poorten op de PCF8574AP direct aansluiten op mijn 8 relay module ?

Mvg
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: 8 relay module

Berichtdoor mvdbro » 19 sep 2013, 07:11

mvdbro
 
Berichten: 1092
Geregistreerd: 21 okt 2011, 12:06

VorigeVolgende

Keer terug naar Nodo Hardware

Wie is er online?

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

cron