[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/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 - Nodo 3.8 op mini met NRF24L01. • nodo-domotica.nl

nodo-domotica.nl

Nodo 3.8 op mini met NRF24L01.

Voor hulp om je Nodo aan de praat te krijgen

Nodo 3.8 op mini met NRF24L01.

Berichtdoor Joske09 » 01 jun 2015, 21:02

Ik heb versie 3.8 geinstalleerd op een nodo mini met NRF24L01 (Uit de webshop).
Ik heb de hardwarefile aangepast voor de NRF:

// SPI: ==================================================================================
#define HARDWARE_SPI_SOFTWARE true
#define PIN_SPI_CSN_0 7 // SPI Chipselect lijn 0 (Default ingezet voor de NRF24L01)
#define PIN_SPI_MOSI 8 // MISO lijn van de SPI-Poort
#define PIN_SPI_MISO A2 // MISO lijn van de SPI-Poort
#define PIN_SPI_SCK A3 // SCK-lijn van de de SPI-Poort

// NRF24L01: ==================================================================================
#define HARDWARE_NRF24L01 true

Via de serial monitor zie ik dat het programmeren is gelukt:

******************************************************************************!
Nodo Domotica controller V3.8 BETA (Small)
(c) Copyright 2014 P.K.Tonkes. Licensed under GNU General Public License.
Product=SWACNC-SMALL-R817, ThisUnit=20, HWConfig=0x800A0402, HWStatus=0x800A0402
!******************************************************************************!

Echter ik zie geen event op de hoofd-nodo voorbij komen dat unit 20 er is en ik heb eigenlijk geen idee hoe ik kan controleren of de mini werkt.

Weet iemand hoe kan nagaan of de nodo mini en de NRF werkt?

Groeten
Jos.
Joske09
 
Berichten: 8
Geregistreerd: 01 apr 2013, 19:32

Re: Nodo 3.8 op mini met NRF24L01.

Berichtdoor mselten » 03 jun 2015, 11:18

Hallo Jos,

Als ik het goed begrijp hebt je dus een nodo mini met NRF koppelprint en NRF bordje van de nodo-shop waarbij het NRF bordje wordt aangesloten op de A0 tm A3 lijnen van de Arduino Pro mini.

Als je dan Config_20.c gebruikt met daarin:
"#define HARDWARE_CONFIG 1502 // Nodo-Small met NRF24L01 op"
zou alles goed moeten staan om het NRF bordje goed te laten werken.
Kijk voor meer uitleg over de verschillende hardware configuraties ook eens in het Read_me.txt bestand in de Hardware folder.

Nu zou dan onderaan in het resultaat van een "Status All" commando op de hoofd-nodo te zien moeten zijn dat een unit 20 gedetecteerd is. Ik weet niet of de hoofd-nodo eerst nog een reboot nodig heeft om de slave nodo te detecteren.

Daarna kan bijvoorbeeld via de serial monitor van de hoofd-nodo, dan via het "SendTo 20,All" commando ook een Status van de slave nodo opgevraagd worden.
En wellicht overbodige info, maar eindig het sturen van commando's naar de slave nodo door een "SendTo 20,Off".

Ik hoop dat je hiermee al weer wat verder komt.
Groet, Marco
mselten
 
Berichten: 4
Geregistreerd: 27 maart 2014, 11:03

Re: Nodo 3.8 op mini met NRF24L01.

Berichtdoor Joske09 » 21 jun 2015, 20:46

Klopt, ik heb een nodo mini met NRF koppelprint en NRF bordje van de nodo-shop maar aangesloten via
#define PIN_SPI_CSN_0 7
#define PIN_SPI_MOSI 8
#define PIN_SPI_MISO A2
#define PIN_SPI_SCK A3

Ik heb intussen gezien dat bij de Status van de Mega Unit 20 verschijnt. Ik heb op de mini de statusled actief gemaakt en die zie ik oplichten als ik er iets naar toe stuur.
Het lijkt dus te werken.
Nu nog via het SendTo commando een eventlist erop zien te krijgen zodat ie iets nuttigs gaat doen....

Bedankt,
Jos.
Joske09
 
Berichten: 8
Geregistreerd: 01 apr 2013, 19:32

Re: Nodo 3.8 op mini met NRF24L01.

Berichtdoor Sjoerdp » 27 jul 2015, 15:07

Voor zover ik weet werkt SendTo niet via NRF! Je zult je Mini dus tijdelijk via I2C moeten verbinden om hem van een EventList te voorzien.

Dit is wat ik uit de documentatie haalde. Ik moet het zelf nog even uitproberen binnenkort. NRF onderdelen zijn onderweg en Pro-Mini heb ik nog wel liggen.
Sjoerdp
 
Berichten: 106
Geregistreerd: 01 okt 2011, 17:20

Re: Nodo 3.8 op mini met NRF24L01.

Berichtdoor rwijbenga » 29 jul 2015, 20:06

SendTo zou wel moeten werken in 3.8 inmiddels. Maar daar zou Paul na zijn vakantie wat meer uitleg over kunnen geven.

Als het goed is moet je bij het opstarten ook kunnen zien welke NRF modules er actief zijn.
rwijbenga
 
Berichten: 344
Geregistreerd: 28 aug 2011, 14:58

Re: Nodo 3.8 op mini met NRF24L01.

Berichtdoor kabouter » 30 jul 2015, 14:27

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

Re: Nodo 3.8 op mini met NRF24L01.

Berichtdoor Sjoerdp » 30 jul 2015, 14:46

Dat is goed nieuws! En een erg goede reden om uit te zoeken wat ik allemaal moet veranderen om volledig op 3.8 over te kunnen stappen.

En even voor de zekerheid, aangezien ik dat niet kan opmaken uit jouw output: Nodo 14 heeft uitsluitend NRF en gebruikt geen enkel gebruik van 433MHz, I2C, etc?
Sjoerdp
 
Berichten: 106
Geregistreerd: 01 okt 2011, 17:20

Re: Nodo 3.8 op mini met NRF24L01.

Berichtdoor kabouter » 30 jul 2015, 21:34

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


Keer terug naar Nodo aan de praat krijgen

Wie is er online?

Gebruikers in dit forum: Geen geregistreerde gebruikers. en 1 gast

cron