Issue with Heltec wireless stick and RAK831 Pi gateway

Hi,
Hoping someone could suggest some possible causes for the problems I’m seeing
I have a RAK831 Pi gateway running (this kit this looks like its all running correctly I can see its “connected” status in ttn
I used the instructions here to set it up via resin.io (balena)

I also have a Heltec wirless stick running the example code from here - having changed the band to 868E6

I can see packets being received by the gateway but they all fail CRC check - example output from the log

26.04.19 17:28:41 (+0100)  main  ##### 2019-04-26 16:28:41 GMT #####

26.04.19 17:28:41 (+0100) main ### [UPSTREAM] ###
26.04.19 17:28:41 (+0100) main # RF packets received by concentrator: 2
26.04.19 17:28:41 (+0100) main # CRC_OK: 0.00%, CRC_FAIL: 100.00%, NO_CRC: 0.00%
26.04.19 17:28:41 (+0100) main # RF packets forwarded: 0 (0 bytes)
26.04.19 17:28:41 (+0100) main # PUSH_DATA datagrams sent: 0 (0 bytes)
26.04.19 17:28:41 (+0100) main # PUSH_DATA acknowledged: 0.00%
26.04.19 17:28:41 (+0100) main ### [DOWNSTREAM] ###
26.04.19 17:28:41 (+0100) main # PULL_DATA sent: 0 (0.00% acknowledged)
26.04.19 17:28:41 (+0100) main # PULL_RESP(onse) datagrams received: 0 (0 bytes)
26.04.19 17:28:41 (+0100) main # RF packets sent to concentrator: 0 (0 bytes)
26.04.19 17:28:41 (+0100) main # TX errors: 0
26.04.19 17:28:41 (+0100) main ### BEACON IS DISABLED!
26.04.19 17:28:41 (+0100) main ### [JIT] ###
26.04.19 17:28:41 (+0100) main # INFO: JIT queue contains 0 packets.
26.04.19 17:28:41 (+0100) main # INFO: JIT queue contains 0 beacons.
26.04.19 17:28:41 (+0100) main ### [GPS] ###

I’ve moved both gateway and node so they are 6+ m away (its all inside) and I’ve even made sure the heltec has the correct chip on for 868 (in case I bought the wrong one)

I’m looking for other ideas as I’m new to LoRaWan - is the node code the correct choice - should I expect to see CRC pass with that code?

Is there a better example code I could use on the node to test?

I’m thinking of buying an alternative node hardware to test with - whats a good choice for cheap arduino setup?

Thanks
Richard

start with looking at your TTN connected gateway console.

so this is the console in ttn

image

and this is the traffic view - empty - because the CRC check fails on the actual gateway?

image

crc error could be from a non lorawan packet.

start with leaving your browser window open and then join your node on the network.
you should see at least your node trying to join (ABP / OTAA)

Is your gateway working… do you see data from other sources being forwarded ?

ok I’ll give that a try - I don’t see any other nodes (or even packets) when my node is not powered but I’m in very rural part of Somerset UK so thats expected :slight_smile:

to be sure, you understand that you have to create an application first in the console and then add you’re registered node

see
https://www.thethingsnetwork.org/docs/devices/registration.html

no I thought I would at least get packets forwarded by the gateway without that - is creating app, registering node device required for CRC check to pass ?? - I had assumed that was just low level validation of the packets?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.