@terence-faul this is not a fail prove design. Nodes are not typically moved even within one GW. Each GW must have each one channel and the same goes for nodes. Otherwise, in theory you may have a situation that the same node is reporting to one GW and then to the other GW. For controller this is going to be a chaos. A lot of data will be shared between two similar child IDs, i.e. for example two similar temperature child IDs for one node will have one measurement assigned through the first GW to the first temperature child ID and another measurement assigned to another child ID through another GW.
Posts made by alexsh1
RE: Multiple Gateways
RE: not working Ethernet Gateway (sensebender and/or nano gateway)
I haven't updated any of my SAMD21 boards the last year, so don't know if the latest arduino breaks something.
I updated SAMD21 (Sensebender) with the latest Arduino and nothing has been broken.
I have not tested it extensively though.
RE: 💬 Sensebender Gateway
Forgive me if this isn't the right place to ask; but as a beginner, where do I start? How can I order this thing, or any other stuff from OpenHardware.io ? I see so many design files, I'm not sure what to do with them. Soldering the thing I can probably manage, but is there a guide available how to order the PCB, and maybe the parts as well?
Sesnebender GW can be ordered from Itead:
Other openhardware.io projects maybe ordered either (1) directly from a link; pcb only (2) you can download eagle files and upload them to pcb manufactures like oshpark.com (3) you can purchase the final product. So a generic answer to your question is it depends
I do not think there is a guide here, but if you go to oshpark.com there is a guide how to order a pcb. Parts (BOM) can be ordered from Aliexpress, eBay or more reputable supplies like digi-key or mouser
RE: What did you build today (Pictures) ?
@acb Hot air has been used for soldering the board. I have not tried low power as I did not build this board for a battery sensor. My board has got two LEDs - power and another LED connected to D0 so clearly not very low power. I also have a 16Mhz firmware. I did not have any size limitation either. I have one particular node with a few sensors and with signing I cannot upload the sketch onto ATMEGA328P as it is marginally larger. Having said that I have not spent too much time optimising the sketch. I think that refactoring libraries, you are fine with ATMEGA328P in 98% of all MySensors applications.
BTW - this is not my project. I have followed it https://github.com/peekpt/mightyduino
Re cost. I stopped Ali shopping for ICs and other sensitive components some time ago after purchasing some fake ATMEGA328P and wasting so many hours trying to troubleshoot it. There is a post about it here on MySensors forum. Ever since I order all components on digi-key. 1284p is priced around $5 + 20% VAT. 328P is priced at $1.2 + VAT. However, I can also buy ATSAMD21 for $2.2 + VAT. Do you see my point? 1284p is extremely expensive and yet it is still 8 bit processor. That's why for me it was a one-off board.
I am using TPL5110 which I built myself (similar to Adafruit one).
Check out sleeping current:
Sadly, I struggled to get some sensors to sleep properly - probably lack of my programming skills - and with a sleeping current being hundreds of uA, I had to resort to this trick. Most of the time, the node
sleepsis disconnected from power by TPL5110 then timer is up and it powers up, sends all sensors readings to the GW and then power gets disconnected to the node, only TPL5110 goes to nA sleep. Perfect!
RE: Rocketscream Mini Ultra Pro V3 as gateway
@robbie-deloose Most likely you have a wiring or pin number issue.
I have RFM95 hooked up to Mini Ultra Pro V3 and use the following setting:
#define MY_RADIO_RFM95 #define MY_DEBUG_VERBOSE_RFM95 #define MY_RFM95_FREQUENCY RFM95_868MHZ #define MY_RFM95_CS_PIN 5 #define MY_RFM95_ATC_MODE_DISABLED #if !defined(MY_W5100_SPI_EN) && !defined(ARDUINO_ARCH_SAMD) #define MY_SOFTSPI #define MY_SOFT_SPI_SCK_PIN 24 #define MY_SOFT_SPI_MISO_PIN 22 #define MY_SOFT_SPI_MOSI_PIN 23 #endif
It works like a charm. And this is from my log:
0;255;3;0;9;20890 MCO:BGN:INIT GW,CP=RLNGS---,VER=2.3.0 0;255;3;0;9;20900 TSF:LRT:OK 0;255;3;0;9;20910 TSM:INIT 0;255;3;0;9;20920 TSF:WUR:MS=0 0;255;3;0;9;20930 RFM95:INIT 0;255;3;0;9;20940 RFM95:INIT:PIN,CS=5,IQP=2,IQN=2 0;255;3;0;9;20960 RFM95:PTX:LEVEL=13 0;255;3;0;9;20970 TSM:INIT:TSP OK 0;255;3;0;9;20980 TSM:INIT:GW MODE 0;255;3;0;9;20990 TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;21000 MCO:REG:NOT NEEDED 0;255;3;0;14;Gateway startup complete. 0;255;0;0;18;2.3.0 0;255;3;0;9;21010 MCO:BGN:STP 0;255;3;0;9;21020 MCO:BGN:INIT OK,TSP=1
Is there a chance to reboot GSM modem / gateway on a regular basis?
What I have discovered is that some operators cells stop communicating with the modem if the location is not changed for days. Therefore, modem has to be rebooted manually or on the timer, i.e. rebooting every day at 04:00 morning time.