The Teensy LC also works.
So the problem is the Arduino Pro mini.
The Teensy LC also works.
So the problem is the Arduino Pro mini.
Hi,
Thank you.
Now it works.
The trick is D100 must be on pin 2.
I try to make the pin assignments the same for all nodes (STM32, Arduino Pro, Teensy LC Tennsy 3.1 / 3.6, ESP8266).
D100 I had put on pin 6 and
#define MY_RFM95_IRQ_PIN 6
In the sketch.
That was the mistake with the Arduino.
On all other platforms it works.
Many Thanks. I had already given up.
For information on electricity consumption:
Tensy 3.2 mit RFM96HW 130 µA
Tensy 3.2 mit RFM96HW BME280 130 µA
Tensy 3.2 mit RFM96HW BME280 BH1750 165 µA
Teensy LC mit RFM95 90 µA
Arduino Pro mit RFM95 DS18b20 6 µA
Arduino Pro mit RFM95 BME280 BH1750 11 µA
I thank you. Now I have come a whole lot further.
I know that only the pins 2 and 3 are IRQ capable.
I thought I would have read that the IRQ is not used, but the pin is only polled.
This is how it is done with the LMIC Lib at The Things Network.
I have still determined when I use the following at the Arduino:
#define MY_RFM95_RST_PIN 4
The Arduino does not send anything.
It works with Teensy or ESP.
The sleep mode with the teensy does also not always work.
Sometimes he freezes.
I will continue tomorrow....
Hi,
Thank you.
Now it works.
The trick is D100 must be on pin 2.
I try to make the pin assignments the same for all nodes (STM32, Arduino Pro, Teensy LC Tennsy 3.1 / 3.6, ESP8266).
D100 I had put on pin 6 and
#define MY_RFM95_IRQ_PIN 6
In the sketch.
That was the mistake with the Arduino.
On all other platforms it works.
Many Thanks. I had already given up.
The Teensy LC also works.
So the problem is the Arduino Pro mini.
Fine.
I'm just trying a Teensy LC Node.
See you tomorrow.
Here in Essen, Germany, it should also rain.
Hi,
I have connected my Arduino Pro Nodes. They do not work.
The ESP Node has been running since last night without problems.
Can you try an Arduino?
Now I do not understand anything anymore.
I have made an update on the RPI and compiled the gateway software again.
I had already done more than 10 times.
After the start of the RPI nothing worked.
Multiple resets of the NodeMCU also brought nothing.
I pulled the micro usb plug and plugged again - suddenly it works. WAU
Then I must have a fault in the wiring between the RFM95 and the Arduino Pro.
Just for info: I had set up 5 pieces. All do not work.
./bin/mysgw -d
mysgw: Starting gateway...
mysgw: Protocol version - 2.2.0-beta
mysgw: MCO:BGN:INIT GW,CP=RLNG----,VER=2.2.0-beta
mysgw: TSF:LRT:OK
mysgw: TSM:INIT
mysgw: TSF:WUR:MS=0
mysgw: TSM:INIT:TSP OK
mysgw: TSM:INIT:GW MODE
mysgw: TSM:READY:ID=0,PAR=0,DIS=0
mysgw: MCO:REG:NOT NEEDED
mysgw: MCO:BGN:STP
mysgw: MCO:BGN:INIT OK,TSP=1
mysgw: Attempting MQTT connection...
mysgw: connected to 192.168.0.23
mysgw: MQTT connected
mysgw: Sending message on topic: mysensors2-out/0/255/0/0/18
mysgw: TSF:MSG:READ,33-33-0,s=3,c=1,t=16,pt=1,l=1,sg=0:1
mysgw: Sending message on topic: mysensors2-out/33/3/1/0/16
mysgw: TSF:MSG:READ,33-33-0,s=3,c=1,t=16,pt=1,l=1,sg=0:0
mysgw: Sending message on topic: mysensors2-out/33/3/1/0/16
mysgw: TSF:MSG:READ,33-33-0,s=3,c=1,t=16,pt=1,l=1,sg=0:1
mysgw: Sending message on topic: mysensors2-out/33/3/1/0/16
mysgw: TSF:MSG:READ,33-33-0,s=3,c=1,t=16,pt=1,l=1,sg=0:0
mysgw: Sending message on topic: mysensors2-out/33/3/1/0/16
mysgw: TSF:MSG:READ,33-33-0,s=3,c=1,t=16,pt=1,l=1,sg=0:1
mysgw: Sending message on topic: mysensors2-out/33/3/1/0/16
A Node with a Pro mini or a Teensy would help me more.
All my RFM69 Nodes have a Pro mini (50 pcs)
The TTN Nodes a Pro mini or a Teensy. (Approx. 20 pieces)
Have a node with a NodeMCU built.
Does not work either.
At the gateway comes nothing.
Since I must look further.
22820 !TSM:FPAR:NO REPLY
22822 TSM:FPAR
24824 TSF:MSG:SEND,33-33-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
26831 !TSM:FPAR:NO REPLY
26833 TSM:FPAR
28835 TSF:MSG:SEND,33-33-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
30842 !TSM:FPAR:NO REPLY
30844 TSM:FPAR
32846 TSF:MSG:SEND,33-33-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
34853 !TSM:FPAR:FAIL
34854 TSM:FAIL:CNT=1
34856 TSM:FAIL:DIS
34858 TSF:TDI:TSL
44860 TSM:FAIL:RE-INIT
44861 TSM:INIT
44878 TSM:INIT:TSP OK
44880 TSF:SID:OK,ID=33
44882 TSM:FPAR
46885 TSF:MSG:SEND,33-33-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
48892 !TSM:FPAR:NO REPLY
48894 TSM:FPAR
50896 TSF:MSG:SEND,33-33-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
52903 !TSM:FPAR:NO REPLY
52905 TSM:FPAR
54907 TSF:MSG:SEND,33-33-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
56914 !TSM:FPAR:NO REPLY
56916 TSM:FPAR
58918 TSF:MSG:SEND,33-33-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
60925 !TSM:FPAR:FAIL
60926 TSM:FAIL:CNT=2
60928 TSM:FAIL:DIS
60930 TSF:TDI:TSL
My gateway will work, I think.
Pity,
I am using an Arduino Pro mini.
I can make a node with esp8266.
But I can not do that today, I think I have time for it tomorrow.