Forum Replies Created
-
AuthorPosts
-
bpmcgeeParticipant
I went back and carefully resoldered those joints again and it began working!
Thanks very much for your help! Here’s the packet I’m getting in TTN:
{ "time": "2019-12-22T15:39:15.777170148Z", "frequency": 905.3, "modulation": "LORA", "data_rate": "SF10BW125", "coding_rate": "4/5", "gateways": [ { "gtw_id": "foobar1", "gtw_trusted": true, "timestamp": 2071954556, "time": "2019-12-22T15:39:15Z", "channel": 7, "rssi": -40, "snr": 10, "rf_chain": 1, "latitude": 42.20507, "longitude": -89.9862, "altitude": 4, "location_source": "registry" } ] }
bpmcgeeParticipantMy iron doesn’t have a temperature indicator. I had it set at 4.5 out of 5. The solder is 1.6mm lead-free rosin core solder.
I didn’t expect to have to do this fine level of soldering for this project, honestly. Even with a magnifying glass, my eyes are poor enough that I have a hard time seeing the joints. I can try again but I’m frightened of overheating the surface mount joints near them — particularly D6-DI01.
Are there test points that I can use with my multimeter to tell if the joints are good?
bpmcgeeParticipantSent to your gmail account.
bpmcgeeParticipantSorry, to which code? The gateway? No. To your example? Just to replace the rtc alarm with a delay so that the USB doesn’t disconnect.
B
bpmcgeeParticipantI will take a picture next time I’m near it.
I am certain the radio worked when it left your shop. I’m worried that I may have either smoked it or I have a bad solder joint. Is there a way for me to test it to see if it’s working?
It’s an 8 channel gateway. I know with my Laird node I had to put it in subband 2 for it to work. I don’t currently have the source to the gateway program, so I can’t tell you right now which particular channels are enabled.
B
bpmcgeeParticipantD3 is reset, correct? I soldered DI01 and D3.
In the code, the last 3 bytes are as above.
The gateway I’m using is this https://uk.pi-supply.com/products/iot-lora-gateway-hat-for-raspberry-pi?_pos=39&_sid=2299b155b&_ss=r . It’s based on the RAK833 Gateway Concentrator Module, which I believe is multi-channel. I’m inquiring with the writer of the software if they’re in some way restricting it to a single channel.
How can I tell if the radio is on and working correctly?
B
bpmcgeeParticipantLim,
I did, thank you. That failure is an ASSERT in lmic\radio.c:
static void startrx (u1_t rxmode) { ASSERT( (readReg(RegOpMode) & OPMODE_MASK) == OPMODE_SLEEP ); if(getSf(LMIC.rps) == FSK) { // FSK modem rxfsk(rxmode); } else { // LoRa modem rxlora(rxmode); } // the radio will go back to STANDBY mode as soon as the RX is finished // or timed out, and the corresponding IRQ will inform us about completion. }
I’m not an expert, but it seems to be saying the library expected the radio to NOT be asleep but it was.
I soldered the connections on the underside of the board — DI01 and D3, although I’m a ham-fisted half-witted solderer. Is there a way for me to tell if the radio is up and operating?
I put my APPEUI in REVERSED from what is shown in the TTN console.
I put my DEVEUI into the TTN console AS SHOWN in the sketch output.
I put my APPKEY in AS SHOWN in the TTN console.I reset the board by unplugging it, and the sketch proceeds without the FAILURE assertion, but I still don’t get any events past “EV_JOINING”:
Starting
DEVEUI: 0x00 0x04 0xA3 0x0B 0x00 0xE8 0x6A 0xCC
Battery: 4.29 V
Packet queued
50167: EV_JOININGbpmcgeeParticipantUnderstood, thank you. With the ArduinoLowPower library I was able to get my sketch working.
B
-
AuthorPosts