Hi,
yes the interrupt are missing. You can have only one Gateway but as many SuperNode as you want.
The SuperNode can bridge from Ethernet to RF and another SuperNode can bridge from Ethernet to RS485, so that RS485 and RF nodes can communicate.
Is it also possible to have a SuperNode with RF and Rs485 connected to a node with Ethernet and RS485.
If the node distance is short, you can use a connection between the USART.
Dario.
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/218d7e76-edc4-4041-b5a6-6b244002d978%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You need to include the bconf/Moteino.h and conf/ethW5100 as configuration files on top of your sketch, this will setup the pins as per Connection page in the wiki.
Then wire accordingly and have a try.
Dario.
From Mobile.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/c0bdeb90-952f-4ae3-8fb2-481de477065e%40googlegroups.com.
Hi Norbert,
yes 900Mhz has better range compared to 2.4 GHz but the range itself depends on the transmitter power.
Had a try with ESP8266?
Dario.
From Mobile.
/************************************************************************** Souliss - Zero Configuration
modifiied to create an uno/w5100/RFM69HW gateway/supernode ***************************************************************************/
#include "bconf/Moteino.h"//#include "bconf/StandardArduino.h" // Use a standard Arduino
#include "conf/ethW5100.h" // Ethernet through Wiznet W5100#include "conf/Gateway.h" // The main node is the Gateway, we have just one node//#include "conf/Webhook.h" // Enable DHCP and DNS#include "conf/DynamicAddressing.h" // Use dynamic address#include "conf/SuperNode.h"
// Include framework code and libraries#include <SPI.h>#include <EEPROM.h>#include "Souliss.h"
uint8_t ip_address[4] = {192, 168, 7, 30};uint8_t subnet_mask[4] = {255, 255, 255, 0};uint8_t ip_gateway[4] = {192, 168, 7, 254};#define myvNet_address ip_address[3]
#define LIGHT1 0 // This is the memory slot used for the execution of the logic#define LIGHT2 1
void setup(){
Initialize();
SetIPAddress(ip_address, subnet_mask, ip_gateway); SetAsGateway(myvNet_address);
Set_SimpleLight(LIGHT1); // Define a simple LED light logic // We connect a pushbutton between 5V and pin2 with a pulldown resistor // between pin2 and GND, the LED is connected to pin9 with a resistor to // limit the current amount pinMode(4, INPUT); // Hardware pulldown required pinMode(5, OUTPUT); // Power the LED // This node will serve all the others in the network providing an address SetAddressingServer();}
void loop(){ // Here we start to play EXECUTEFAST() { UPDATEFAST(); FAST_50ms() { // We process the logic and relevant input and output every 50 milliseconds DigIn(4, Souliss_T1n_ToggleCmd, LIGHT1); // Use the pin2 as ON/OFF toggle command Logic_SimpleLight(LIGHT1); // Drive the LED as per command DigOut(5, Souliss_T1n_Coil, LIGHT1); // Use the pin9 to give power to the LED according to the logic } // Here we handle here the communication with Android, commands and notification // are automatically assigned to LIGHT1 FAST_GatewayComms(); }} --
You received this message because you are subscribed to a topic in the Google Groups "souliss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/souliss/2Zx1k76yEFo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/36ec315e-a4c0-4b40-9809-610e3bebaa51%40googlegroups.com.
Hi Norbert,
good point.
Using a shield keep the connection on pin 10 out, and replace it with a wire on the headers.
Dario.
From Mobile.
--
You received this message because you are subscribed to the Google Groups "souliss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to souliss+u...@googlegroups.com.
To post to this group, send email to sou...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/souliss/217b1895-bceb-4e05-8560-4a388261c40b%40googlegroups.com.