daa792
(daa792)
July 20, 2020, 10:46am
1
hello,
at the moment I am testing the E78-868LN22S LoRaWAN module
(ASR6501 chip)
the module is connected to the TTN,
device information on the TTN Console: registered device
if i send a payload 0123456789 (AT+DTRX=1,2,10,0123456789),
then i do not see the payload on the TTN Console (0 bytes)
what could be the reason ?
thank you.
my test setup:
descartes
(Nick McCloud)
July 20, 2020, 11:48am
2
Does this mean you see an uplink entry - can you provide a screen shot as that’s the focus of attention.
1 Like
weradis
(Willem)
July 20, 2020, 11:55am
3
Did you set the all the parameters, did you perform a join prior to sending a ‘payload’ remember the payload is hexadecimal, so to transmit one byte your payload consists of two bytes …
1 Like
True from a human point of view. So, if the 10
in AT+DTRX=1,2,10,0123456789
is the length, then that should read 5
for 0123456789
. (I don’t know that device/its commands.)
And if you have access to the gateway’s log or its Traffic page in TTN Console, then copying the complete LoRaWAN packet here will help too.
daa792
(daa792)
July 20, 2020, 2:22pm
5
i did not change the module settings,
but now, sometimes i see the payload,
the dev addr is changing and i see a lot of activation entries ?
descartes
(Nick McCloud)
July 20, 2020, 2:41pm
6
Looks like it’s resetting or having power problems.
What is the power supply and what is sending commands to the module?
daa792
(daa792)
July 20, 2020, 3:09pm
7
power supply is usb -> ldo -> module,
up to 500mA, i can measure with osci.
now i switched for test to ABP:
descartes
(Nick McCloud)
July 20, 2020, 3:13pm
8
and what is sending commands to the module?
daa792
(daa792)
July 20, 2020, 3:24pm
9
i used following commands:
AT+CTXP?
AT+CTXP=2
AT+CJOINMODE?
AT+CJOINMODE=1
AT+CDEVADDR?
AT+CDEVADDR=2______0
AT+CAPPSKEY?
AT+CAPPSKEY=D______________________________D
AT+CNWKSKEY?
AT+CNWKSKEY=6______________________________B
AT+CULDLMODE?
AT+CULDLMODE=2
AT+CCLASS?
AT+CCLASS=0
AT+CCONFIRM?
AT+CCONFIRM=0
AT+CNBTRIALS?
AT+CNBTRIALS=0,1
AT+CSAVE
AT+IREBOOT=0
AT+DTRX=1,2,10,0123456789
daa792
(daa792)
July 20, 2020, 3:41pm
10
i will measure the power supply and
i should add 2 caps 100u + 100n to VCC.
descartes
(Nick McCloud)
July 21, 2020, 8:26am
11
Is this through a serial port as what I was trying to find out was what sort of microcontroller you were using to drive the E78 module - like STM32 or MSP430 or ATmega4809?
weradis
(Willem)
July 21, 2020, 9:15am
12
I just ordered two of these to play with, it will take some time before they arrive.
daa792
(daa792)
July 21, 2020, 9:55am
13
i connected the module serial port (3.3v uart)
via the cp2102 (usb uart bridge) to my win10 device.
daa792
(daa792)
July 21, 2020, 10:02am
14
i am already using E32 LoRa modules from ebyte,
they are working fine,
my test:
now i like to start with LoRaWAN.
descartes
(Nick McCloud)
July 21, 2020, 1:39pm
15
Your commands appear to turn off confirm but the screen shot for ABP looks like it’s confirming so it’s not clear what the settings may be.
Can you try a CSTATUS after the DTRX to see what the result was?
Linar
(Linar)
July 23, 2020, 7:38am
16
I see you are using a prototyping board to evaluate your E78 module.
You may think about to transit onto my E78 breakout board design:
I’ve recently made public my own PCB design of breakout board for Ebyte E78 module.
[image]
GitHub project link: https://github.com/lyusupov/Ebyte-E78-breakout-PCB
The module contains ASR6501 SoC which is actually Infineon (former Cypress Corp) PSoC 4100S core plus Semtech SX1262 LoRa radio.
daa792
(daa792)
July 24, 2020, 10:10am
17
i measured the supply voltage close to the module,
there was a voltage drop about 300mV during initialisation and
a voltage drop about 300mV during Tx.
(3.3V-0.3V is still inside the specification 2.5V-3.7V,
but maybe this can cause some instability)
i added 1000uF and a connection for optional external power supply,
now the supply voltage is clean and stable.
daa792
(daa792)
July 24, 2020, 10:12am
18
AT+CSTATUS?
returns
07 – there is data sent and success but no download
daa792
(daa792)
July 24, 2020, 10:14am
19
the breakout board looks fine,
have you calculated the rf-output-trace to 50R ?
daa792
(daa792)
July 25, 2020, 5:57pm
20
now sending data to TTN is working fine,
i use AT+DTRX=0,1,10,0123456789
(without ack.)
maybe there is a space (wiki) on TTN available
for creating a small docu - connecting E78… to TTN.