# Heltec CubeCell - part 1

**URL:** <https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684>\
**Category:** Heltec CubeCell\
**Created:** [October 11, 2019, 1:12pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684 "2019-10-11T13:12:18Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![rodri16](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/rodri16/32/45237_2.png) [@rodri16](https://www.thethingsnetwork.org/forum/u/rodri16)\
**Post date:** [October 11, 2019, 1:12pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/1 "2019-10-11T13:12:18Z")

</div>

By @bluejedi:

![board002](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/3/5/3527aba6b71f3002046d3e6ff40543e9cc624fd0.png)

```auto

```

This is the main topic for the new Heltec CubeCell Series products.  
The CubeCell products are based on the ASR650x series SiP (system-in-package) which combine a Cypress PSoC 4000 ARM Cortex-M0+ 32 bits 48MHz MCU (with 16kB SRAM and 128kB flash) together with a Semtech SX1262 LoRa tranceiver in a single package.

The CubeCell modules have an integrated LoRaWAN stack (based on Semtech’s LoRaMac-node). It can be programmed via API and also via serial AT commands.

The CubeCell products support development with the Arduino framework. Sketches are uploaded via the serial port. The development boards have a USB port with USB-to-serial so sketches can be easily uploaded via USB. Uploading sketches to the sensor capsules requires a special adapter from Heltec.

The CubeCell development boards and sensor capsules come in different shapes with different optional features like UFL/IPEX or SMA antenna connector, RGB LED, OLED display, battery holder, GPS and solar panel (connection).

For an actual overview of available CubeCell products, links to product documentation, GitHub repository and PlatformIO documentation see [Part 2](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-2/37225) of this topic:

For the next part of this topic see: [Heltec CubeCell - part 2](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-2/37225)

```auto

```

* * *

Original post by @rodri16 :

Hi, there is a new board from Heltec called CubeCell, Arduino compatible.  
[https://heltec.org/cubecell/](https://heltec.org/cubecell/)  
What do you think?

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [October 11, 2019, 1:28pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/2 "2019-10-11T13:28:28Z")

</div>

> [@rodri16](#):
>
> What do you think?

that I couldn’t find ONE example _(at this moment)_ howto connect to TTN , how to set keys in your code

![capsule%20sensor](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/5/1/51834476a51d7863a4a2a072504584775fa993cd.jpeg)

- [Heltec Products Operation Documention — main latest documentation](https://docs.heltec.cn/#/en/user_manual/how_to_install_ASR650x_Arduino)
- [GitHub - HelTecAutomation/CubeCell-Arduino: Heltec CubeCell Series (based on ASR6501, ASR6502 chip) Arduino support.](https://github.com/HelTecAutomation/ASR650x-Arduino)

---

<div class="post-metadata">

**Author:** ![rodri16](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/rodri16/32/45237_2.png) [@rodri16](https://www.thethingsnetwork.org/forum/u/rodri16)\
**Post date:** [October 11, 2019, 1:38pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/3 "2019-10-11T13:38:59Z")

</div>

No examples yet, let’s see how it progress.

> **[HelTecAutomation/ASR650x-Arduino](https://github.com/HelTecAutomation/ASR650x-Arduino)**
>
> Heltec CubeCell Series (based on ASR6501, ASR6502 chip) Arduino support. - HelTecAutomation/ASR650x-Arduino

  
I’m trying to contact Aaron Lee from Heltec.  
Ordered [one from Aliexpress](https://www.aliexpress.com/item/4000197916984.html?spm=a2g0o.productlist.0.0.16b076c2eJUMUa&algo_pvid=d480b8f7-89fe-4c82-9ea9-b631707e50e5&algo_expid=d480b8f7-89fe-4c82-9ea9-b631707e50e5-0&btsid=33ed92e8-ad8a-4e5e-ab35-a521f27253cc&ws_ab_test=searchweb0_0,searchweb201602_7,searchweb201603_52) to test 🙂

---

<div class="post-metadata">

**Author:** ![solotaker](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/solotaker/32/29595_2.png) [@solotaker](https://www.thethingsnetwork.org/forum/u/solotaker)\
**Post date:** [October 12, 2019, 6:38am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/4 "2019-10-12T06:38:54Z")

</div>

HI Brothers I just saw heltec updated the instructions for connecting to TTN, it seems to support AT commands, which will make batch configuration easy.  
Sleep power is lower than ESP32. This looks good.

> [Heltec Products Operation Documention — main latest documentation](https://docs.heltec.cn/#/en/user_manual/how_to_connect_cubecell_to_ttn-the-things-network)

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [October 12, 2019, 8:22am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/5 "2019-10-12T08:22:08Z")

</div>

tnx for the info.

I’m especially interested in the version with the a **t** titude sensor 😉

![attitudesensor](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/b/7/b746431cbcb8ca2c1c17eb34a9634031972406e6.jpeg)

---

<div class="post-metadata">

**Author:** ![hunter8801](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/hunter8801/32/41750_2.png) [@hunter8801](https://www.thethingsnetwork.org/forum/u/hunter8801)\
**Post date:** [October 12, 2019, 11:04am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/6 "2019-10-12T11:04:01Z")

</div>

@rodri16  
Haha, I received your email, thanks you for your hot heart to paste information here.

Here is the user manual of how to connect to TTN:  
[https://docs.heltec.cn/#/en/user\_manual/how\_to\_connect\_cubecell\_to\_ttn-the-things-network](https://docs.heltec.cn/#/en/user_manual/how_to_connect_cubecell_to_ttn-the-things-network)

**Overall, CubeCell’s technical advantages can be summarized into 4 points:**

1. Full Arduino-compatible, and work with Windows, Mac OS, Linux. Arduino is developed via C++, it’s very friendly for software developers to do some IoT applications, they just need call the API, don’t need mind the basic hardware;
2. In the past, to make a LoRa Node application, we need a MCU + LoRa chip, at least two chip. Now, CubeCell use ASR6501/6502, it’s already integrated ARM M0+ core and SX1262, within one chip. The size and cost are more advantageous.
3. Complete encryption system… For example, your products are developed by CubeCell series, but if your competitors copy the hardware and the firmware. And flash into the same hardware, it can’t run.
4. Ultra low power design and Solar panel support.

---

<div class="post-metadata">

**Author:** ![hunter8801](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/hunter8801/32/41750_2.png) [@hunter8801](https://www.thethingsnetwork.org/forum/u/hunter8801)\
**Post date:** [October 12, 2019, 11:04am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/7 "2019-10-12T11:04:34Z")

</div>

We are gradually improving the information. If you are interested, please pay attention to the relative product page in our website: [https://heltec.org/proudct\_center/lora/cubecell/](https://heltec.org/proudct_center/lora/cubecell/)

Every relative resource will shown in the “Docs & Resource” table:  
 ![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/8/d/8dbc2dce96b31ccc3eb3aa70547f99a19d7d1ac4.png)

---

<div class="post-metadata">

**Author:** ![BoRRoZ](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/borroz/32/44234_2.png) [@BoRRoZ](https://www.thethingsnetwork.org/forum/u/BoRRoZ)\
**Post date:** [October 12, 2019, 11:46am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/8 "2019-10-12T11:46:48Z")

</div>

Hi Hunter8801 from Heltec , thanx for the information / clarification on your new product(s)

I was looking at some docs and especially the **[schematic](https://github.com/HelTecAutomation/ASR650x-Arduino/blob/master/BlockDiagram/HT-AB01.pdf)**  
what’s not clear to me is this

![cubecell-Q](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/1/6/169801c1bdfffa30de754d3871d677cc5c9cb9a0.jpeg)

- what do you mean by ’ Battery maximum input voltage 3.7 v’ ?

is that the voltage you’re max charging the lipo battery, or the max voltage coming from that battery ?

---

<div class="post-metadata">

**Author:** ![hunter8801](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/hunter8801/32/41750_2.png) [@hunter8801](https://www.thethingsnetwork.org/forum/u/hunter8801)\
**Post date:** [October 24, 2019, 9:08am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/9 "2019-10-24T09:08:23Z")

</div>

Uhh, I think that’s an expression error… Indeed, the battery input should be 3.3 ~ 4.2V.

But we are the easiest to find a 3.7V lithium battery. I will contact my colleague to fix this problem.

---

<div class="post-metadata">

**Author:** ![E\_T](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/e_t/32/35697_2.png) [@E\_T](https://www.thethingsnetwork.org/forum/u/E_T)\
**Post date:** [November 3, 2019, 10:00am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/10 "2019-11-03T10:00:50Z")

</div>

Hallo,

i got my CubeCell and the LORAWan-example (OTAA) worked fine.

Now i want to test the deepsleep (10 μA with LiPo)!

The goal ist to wake up the CPU with an external Signal on a GPIO and send one packet over LoRaWan (TTN) and then go into DeepSleep.

Is there any lowpower-library available like Arduino-lowpower:

[https://www.arduino.cc/en/Reference/LowPowerDeepSleep](https://www.arduino.cc/en/Reference/LowPowerDeepSleep)

---

<div class="post-metadata">

**Author:** ![Vaelid](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/vaelid/32/36194_2.png) [@Vaelid](https://www.thethingsnetwork.org/forum/u/Vaelid)\
**Post date:** [November 3, 2019, 10:48pm UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/11 "2019-11-03T22:48:16Z")

</div>

Heltec Cube Cell Product is a great product using ASR65001/2 with SX1262.  
I have now been using the product for a few weeks. I have found a number of issues and produced a guide for the community on how to use it and some of the pitfalls to ensure you can get an operational LoRaWAN node.  
This is not a Vendor guide and I recommend that you use that as well.

This document is located in my GitHub [https://github.com/Securethingsuk/Heltec\_CubeCell](https://github.com/Securethingsuk/Heltec_CubeCell) and I have added some “Working” sketches for BME280.

I would also like to comment regarding sleep current. The best I have obtained is around 20 μA not the initial 3.5 μA which as Heltec have stated only occurs in some special conditions on battery in deep sleep mode.

The Board manager need to have a file updated, if you want to use the BMP/BME range of sensors and there are other issues such as: -Vext power line settle time, -TX output power, -Antennas, -AT Commands, -Key programming.

I will update as needed as time goes on and I am happy to receive other views and comments and if anyone gets LoRaWAN Solution with other sensors working that are not In Heltec GitHub, then happy to have them uploaded.

I hope this helps those that have CubeCell Products or considering buying one.

Simon Collins

---

<div class="post-metadata">

**Author:** ![hunter8801](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/hunter8801/32/41750_2.png) [@hunter8801](https://www.thethingsnetwork.org/forum/u/hunter8801)\
**Post date:** [November 6, 2019, 3:25am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/12 "2019-11-06T03:25:48Z")

</div>

Arduino-lowpower library will not work with CubeCell series, because different MCU core has a different low power mechanism.

You can try our example:

**Sleep 5000ms, wake up via GPIO:**

> <https://github.com/HelTecAutomation/ASR650x-Arduino/blob/master/libraries/Basics/examples/LowPower_WakeUpByGPIO/LowPower_WakeUpByGPIO.ino>

  
**Sleep 5000ms, wake up via RTC timer:**  

> <https://github.com/HelTecAutomation/ASR650x-Arduino/blob/master/libraries/Basics/examples/LowPower_WakeUpByTimer/LowPower_WakeUpByTimer.ino>

---

<div class="post-metadata">

**Author:** ![E\_T](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/e_t/32/35697_2.png) [@E\_T](https://www.thethingsnetwork.org/forum/u/E_T)\
**Post date:** [November 6, 2019, 9:28am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/13 "2019-11-06T09:28:54Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![Paul\_Stewart](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/paul_stewart/32/46922_2.png) [@Paul\_Stewart](https://www.thethingsnetwork.org/forum/u/Paul_Stewart)\
**Post date:** [November 10, 2019, 1:29am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/14 "2019-11-10T01:29:37Z")

</div>

Hi All,

just got my hands on one of these.

I use AU915 and in libraries like LMIC I have always been able to set the sub band (i.e. channels 8-15) that TTN uses.

Anybody know how to do this on the Cube Cell

cheers  
Paul

---

<div class="post-metadata">

**Author:** ![hunter8801](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/hunter8801/32/41750_2.png) [@hunter8801](https://www.thethingsnetwork.org/forum/u/hunter8801)\
**Post date:** [November 14, 2019, 3:32am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/15 "2019-11-14T03:32:51Z")

</div>

Look into the code,and set the channel mask. In LoRaWan\_APP.cpp file:  
 ![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/a/5/a56f663e80ed181ce13555889b122437cb9e4901.png)

---

<div class="post-metadata">

**Author:** ![Paul\_Stewart](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/paul_stewart/32/46922_2.png) [@Paul\_Stewart](https://www.thethingsnetwork.org/forum/u/Paul_Stewart)\
**Post date:** [November 14, 2019, 4:05am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/16 "2019-11-14T04:05:31Z")

</div>

thanks @hunter8801 for the response, trouble is I am not at all a programmer or even half decent at coding.

What would I need to change here to achieve [this frequency plan](https://www.thethingsnetwork.org/docs/lorawan/frequency-plans.html#au915-928)?

---

<div class="post-metadata">

**Author:** ![hunter8801](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/hunter8801/32/41750_2.png) [@hunter8801](https://www.thethingsnetwork.org/forum/u/hunter8801)\
**Post date:** [November 14, 2019, 4:13am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/17 "2019-11-14T04:13:39Z")

</div>

I am often asked questions about the Capsule sensor’s screw nut… Hope this picture can make a direct sense to you.

When we design the capsule sensor, we hope users can do some basic test immediately, users can insert various sensors with a basic shell.

So, we don’t think there is anything easier than finding a cola bottle all over the world.

![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/4/2/42aba7c8a34b3ded9c18b6fe283a7d0af029e98c.jpeg)

.stl file for 3D print (Thanks to Raystream for sharing): [https://github.com/HelTecAutomation/ASR650x-Arduino/tree/master/3D\_Print/HTCC-AC01](https://github.com/HelTecAutomation/ASR650x-Arduino/tree/master/3D_Print/HTCC-AC01)

---

<div class="post-metadata">

**Author:** ![hunter8801](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/hunter8801/32/41750_2.png) [@hunter8801](https://www.thethingsnetwork.org/forum/u/hunter8801)\
**Post date:** [November 14, 2019, 4:23am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/18 "2019-11-14T04:23:38Z")

</div>

Choose AU\_915 in Arduino menu firstly, and then change the channelsMaskTemp[0] like this:  
`channelsMaskTemp[0] = 0xFF00`

![image](https://www.thethingsnetwork.org/forum/uploads/default/original/3X/4/3/4394d7442329b438a64e4375c3889378e3615594.png)

---

<div class="post-metadata">

**Author:** ![jody-crow](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jody-crow/32/25844_2.png) [@jody-crow](https://www.thethingsnetwork.org/forum/u/jody-crow)\
**Post date:** [November 22, 2019, 7:41am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/19 "2019-11-22T07:41:19Z")

</div>

@hunter8801 How does one program the “CubeCell – Module” without the board? Is it just a case of connecting a USB to serial to the TX and RX pins? Does it need to be in a special bootloader mode?

Thank you, great product.

---

<div class="post-metadata">

**Author:** ![Paul\_Stewart](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/paul_stewart/32/46922_2.png) [@Paul\_Stewart](https://www.thethingsnetwork.org/forum/u/Paul_Stewart)\
**Post date:** [November 22, 2019, 8:12am UTC](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684/20 "2019-11-22T08:12:10Z")

</div>

Hi @hunter8801,

That doesn’t seem to change the behaviour at all

Cheers  
Paul .

[Next page](https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-1/30684.md?page=2)
