Error programming CubeCell HTCC AB-01 board in Arduino

Hi Aaron.Lee, I already tried the LoRa Sender code and it worked perfectly. Now I want to connect the CubeCell HTCC AB-01 node to TTN but I have not succeeded. I generated the same Device EUI, Application EUI and App Key in the node (with the code LoRaWan_downlinkdatahandle.ino) and in TTN.
I send screenshots as evidence. What should I do? How should I do it?

I would also like to ask something else: yesterday I soldered the pin rule to the board, then connect the HTCC module to the USB port of the pc and the led next to the microUSB input turned on normally, I also measured the voltage of the pins: Vs = 5VDC, 3V3 = 3.3VDC, VIN = 5 VDC, Ve = 0VDC, then I tried the Hello World code again and it worked fine. But today I connected the HTCC AB-01 module to the USB port of the pc and the LED next to the microUSB input of the LoRa module did not light up, I uploaded the Hello Wolrd code again and it worked fine, then I measured voltages of the pins and I got the following values: Vs = 2VDC, 3V3 = 3.3VDC, VIN = 5VDC, Ve = 0 VDC, as you can see the only voltage value that changed was that of Vs (down 3 VDC) and I’m concerned about the fact that the indicator LED of the LoRa module is not working. I would like to know what may be happening, since the day before everything worked very well, , and how can I solve it.

Thanks for your help. I wait fast answer.

can you post a pic of your board where we can see the solder point for the pin headers you have soldered?
perhaps you have a little solderbridge.

Hello, thanks for answering.

Yes of course. Attached .zip file where are the pictures I took to the node. The file is called CubeCell HTCC AB-01.zip

Also attached .rar where are the screenshots of the connection of the CubeCell HTCC AB-01 node to TTN, which has not worked for me. The file is called Connection to TTN.rar

The compressed files are uploaded to a Drive account. They can be accessed through the following link:

https://drive.google.com/drive/folders/1Y_9YdbZXeiHmV26RAnCaHvcwdaT-rwb5?usp=sharing

the DevEUI looks strange.
Please generate a new one in TTN for the device.

On first sight i cant see solder bridges but you have to improve your soldering skills

Hello, thanks for answering.

Yes, I understand that I am not good at welding and I must improve.

If I need to power the module with an adjustable power supply without using power via micro USB port or 3.7V LiPo battery, on which pins could I connect the power supply and with what maximum voltage and current values? In addition, I must supply a 1-channel relay module with the CubeCell HTCC AB-01 module, with which pin of the CubeCell module can I supply the relay module and how should I connect it?

Regarding the DevEUI, that was the one that gave the LoRaWAN example in the Arduino IDE and registered it in TTN with that DevEUI. Regarding the other data such as: Application EUI, Device Address, Network Session Key, App Session Key were the ones that TTN gave me and modify the values ​​of those keys that were in the LoRaWAN sample code of the Arduino IDE. Could you please send me a step by step what should I do to connect the HTCC AB-01 module to TTN and link it to a UG87 Gateway (Ursalink).

Thanks for your help.

Hello, according to your reply sent in the message:

“The DevEUI must be unique the sample one won’t work go to your device in thettn console and let generate a DevEUI. Copy that to your source code and it will join”

I noticed that when generating any LoRaWAN example in Arduino IDE it generates the same DevEUI: AT + DevEui = 2232330000888802 and that was the same one I defined in TTN.

I loaded the LoRaWAN example to the CubeCell HTCC AB-01 board, all the data that appears in the code I assign them in TTN and I check in the Serious Monitor of the Arduino IDE but it shows the following message repeatedly: “confirmed uplink sending”. What could I do to achieve the connection between the LoRa module with the UG87 Gateway, considering that both the Gateway and the application are already registered in TTN?

You have to generate a unique DevEUI in the ttn console for your device and copy that to your arduino sketch.

Hello, I used the keys that TTN generated automatically. I assign those keys in the Arduino IDE sketch (Example LoRaWAN), I only modify the keys in the code but I cannot make the connection. When reviewing the Arduino IDE serious monitor in OTAA fashion it says “joining … join failed, join again at 30s later” repeatedly and in ABP mode “confirmed uplink sending …” repeatedly. Could you please send me a video tutorial of what I should do step by step, it is that the truth has made several attempts but it has not been possible. It could also be connected remotely to my computer via TeamViewer so please tell me what to do. Thank you.

Do you have an own gateway or a ttn gateway nearby?

Yes, I have a UG87 (Ursalink) gateway and it is already connected to TTN.

Anything in the logs of your gateway?

I have no record of information received from the Gateway, even no record of information appears in the application registered in TTN. I used the LoRaWAN sample code given by Arduino IDE (Examples for CubeCell HTCC AB-01 cards), from the code I only change the keys and assign the keys that TTN generates automatically. I upload the code to the module and it loads perfectly, but it doesn’t send the data. If I use the OTAA activation method on the Arduino IDE serial monitor it says “joining… join failed repeatedly, join again at 30s later” and if I use the ABP activation method it indicates “confirmed uplink sending…” repeatedly. This indicates that the node does not connect to TTN and does not send the information. What could I do about it?

Excuse me for insisting. Are you available? so that it connects to my computer remotely via TeamViewer and helps me by explaining what the problem is and how to fix it. Thank you.

imagen

Where are you located?
have you selected the right frequency band for the CubeCell?

Hello, I live in the city of Neiva (Colombia), both the Gateway and the CubeCell HTCC AB-01 module are in the US915 frequency band. I already verified that they were both in the same frequency band.

Hello, I am working with them to develop a remote control project for an actuator. The module can be programmed in Arduino IDE. I have run the tests using the examples provided by Arduino: LoRaSender, LoRaReceiver, Ping-Pong and LoRaWAN, and they have all worked in the module correctly. I would like to know some things:

  1. How does the LoRaWAN sample code work? What exactly does it do? What does it consist of?

  2. How to send the information that the module sends and that TTN receives to a local server to be able to work with it (manipulate, classify, filter, etc.)?

  3. How to modify the code that is loaded to the module so that it can remotely control an actuator?

Any information you can offer me will be very helpful. Thank you.

Hello Juan
My name is Antonio and I live in Brazil. I have the same problem with the CubeCell HTCC AB 01. Do you have any documentation about the programming of LoRa radio using this board?

hola soy Ruddy. Soy nuevo con la placa de desarrollo Heltec CubeCell HTCC-AB01, estoy con el propósito de realizar comunicación punto a punto dos de estas placas, pero me encontré con el mismo error al compilar el ejemplo de LoraSender.
les agradezco de antemano la ayuda. Estoy usando Windows 10 y tengo id de Arduino 1.8.13, y instale tal como la guía indica para la placa CubeCell el la id de Arduino.
adjunto la imagen.

hi,

maybe you can try the git version.
https://heltec-automation-docs.readthedocs.io/en/latest/cubecell/quick_start.html

hola, buenas tardes probé la versión Git y sigo con el mismo problema. agradezco su ayuda anticipadamente ya voy varios días con este problema.

tengo lo siguiente después de la compilación.

Arduino:1.8.13 (Windows 10), Tarjeta:“CubeCell-Board(HTCC-AB01), REGION_US915, CLASS_A, CUSTOM, OTAA, ON, CONFIRMED, OFF, ON, ACTIVE, None”

“C:\Users\mi” no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.
[10540] Failed to execute script CubeCellelftool
Traceback (most recent call last):
File “CubeCellelftool.py”, line 3, in
File “elftool.py”, line 26, in elftool.main
FileNotFoundError: [Errno 2] No such file or directory: ‘C:\Users\MIPC~1\AppData\Local\Temp\arduino_build_785592/LoRaSender.ino.hex’
exit status -1
Error compilando para la tarjeta CubeCell-Board(HTCC-AB01).