TTN UNO rn2483(A) questions

The Things Uno is based on the Arduino Leonardo, yes I know a bad name choice , confusing because its totally different then an Arduino UNO.

Connecting should be done like you connect a Leonardo to your computer.
The TTN UNO uses a software UART while the original UNO uses a hardware UART.

So if you have the board connected and you goto Tools-> Serial Port -> you must be sure that the board is connected to the right port.
If you donā€™t see the port you can :

Upload a sketch (for example blink) and press the reset button of the board during compiling.

Thanks. Iā€™ve checked the COM-port and Iā€™m sure it is set correctly, as I can see it as well in device manager showing up with the name ā€œArduino Leonardo (COM11)ā€.

thatā€™s ok then.

and you have the TTN lib installed ?

ttn%20uno1

I have a TTN UNO on my desk now and also win 10 So we will find the problem.

-1 change USB cable (sounds stupid but it happend before)
-2

Yes I do.
image
But just to make it clear - I havenā€™t tried yet to compile and upload a sketch as I wanted to use this standard pre-installed app. But since it does not seem to be installed, I wonder if I can get it to upload it in my Things Uno.

ahā€¦ well then compile/install device info from the examples and open the terminalā€¦ write down the info you get from the board because youā€™ll need it later

question: do you own a gateway ?

Thanks. But I suppose ā€œdevice infoā€ will not make my Uno appeared on https://ttn.fyi/activate ?
I donā€™t own a gateway (yet :slight_smile:).

So you powered the new UNO and nothing happend ?
if there is no gateway listening in range you also wonā€™t see it.

Yes, thatā€™s right. New UNO, nothing happens.
If no one from TTN can share the app, Iā€™ll do it the ā€œQuick Startā€ way.
Thanks for trying to help @BoRRoZ :slight_smile: Itā€™s much appreciated.

1 Like

I think I found the issue : my Uno gets stuck in the function ttn.showStatus(). It never returns.
I can see that from the serial output, after uploading a new sketch (using DeviceInfo as a start point) and putting some delays so I get time to start the serial monitor.
Is that a known issue? Iā€™ll do some research in the forum, perhaps I find an answer there.

good ideaā€¦ read and search a bit, and in your case its important to be sure that there is a gateway receiving your TTN UNO signal.

Do you mean that it is normal behavior that the function ttn.showStatus() does not return if there is no gateway?
I tested the Things Node last week, and it never got stuck, even though they was no gateway available.

After some hours in reading, understanding and testing, I found out that the issue is the RN2483, being mute, never answering to commands! Is it sleeping, dead?
I verified this with 2 sketches.
With DeviceInfo, the method ->readBytesUntil never returns a message (only 0).
With PassThrough, function loraSerial.available is never true -> nothing to read from RN2583, even though command ā€œmac get deveuiā€ is sent.
Any suggestion on what to do next? Any way to ā€œwake upā€ the module, sending some control control char, hard reset, upload of new firmware (I doubt this will work).
Thanks.
Update : I downloaded the Microchip LoRa Dev utility, but it does not detect any device (PassTrough used, correct COM port detected).

1 Like

Thanks, but cable is working fine (I have 2 and both works with a Things Node and other Wemos projects). Sending and receiving from the PC to the Things Uno works fine, the problem in receiving from the RN2483.
(I think it is USB 3.0 yes, but again, the problem is not between the PC and the Things Uno, but between the Uno and the RN2483).

steps

  • in the arduino IDE under File / Preferences / Show check verbose output during upload

  • in the IDE under Sketch / Include Library / Manage Libraries / The Things Network Arduino Library / version 2.5.12 OR 2.5.13 (no lib problem)

  • reboot arduino IDE

  • remove USB cable and insert again

  • select Board ā€˜ā€˜Arduino Leonardoā€™ā€™

  • select Port ā€˜ā€™ COM 1x Arduino Leonardoā€™ā€™

  • Load sketch from File / Examples / TheThingsNetwork / DeviceInfo

  • Load File / Examples / TheThingsNetwork / DeviceInfo

  • change line 7 with the right plan #define freqPlan TTN_FP_EU868

  • verify (sketch uses 6268 bytes(21%)

  • press and hold reset button board

  • press upload sketch !

  • because youā€™ve set verbose output previous , its possible that you see the compiler searching for a port

leo2
the moment you see thisā€¦ RELEASE resetbutton

now the sketch should upload , when done without errors:
start serial monitorā€¦ the board should respond like this after some time

leo3

1 Like

Thanks, all this work fine, except that showStatus never returns :disappointed:
image
I actually tried a lot of things, like this one below, but no way to establish contact with the RN2483 chip.

1 Like

Is the hardware documentation / wiring available somewhere? Canā€™t find it. Thanks.
PS: for the Things Node, not for the standard Leonardo nor the RN2483.

See GitHub - TheThingsProducts/uno: The Things Uno, including a PDF.

For the The Things Uno, right?

(Worst name ever. Also, I guess you just got a faulty device; return/change it?)

1 Like

Just a thought, but maybe RTS and CTS are supported by default on the new RN2483A. You could try connecting them together.

1 Like

Just to let you know. This Uno was defected. I received a new one this this weekend and so far so good. Everything is working as expected.

1 Like