Difference between revisions of "CubeCell"

From RevSpace
Jump to navigation Jump to search
(Created page with "== Intro == This page is about the [https://heltec.org/project/htcc-ab01/ CubeCell board] from heltec.org * based on an ASR605x (ARM cortex M0+ core) + SX1262 radio chip * lo...")
 
(Software)
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
{{Project
 +
  |Name=CubeCell
 +
  |Omschrijving=Low-power LoRaWAN Board
 +
  |Picture=cubecell.png
 +
  |Status=In progress
 +
  |Contact=bertrik
 +
}}
 +
 
== Intro ==
 
== Intro ==
  
This page is about the [https://heltec.org/project/htcc-ab01/ CubeCell board] from heltec.org
+
This page is about the [https://heltec.org/project/htcc-ab01/ CubeCell board] from [https://nl.aliexpress.com/store/3213115 heltec.org], aka HTCC-AB01
 +
 
 +
[https://github.com/HelTecAutomation/ASR650x-Arduino the github page for the Arduino code]
 +
 
 +
What I'd like to investigate:
 +
* Does it have an RTC? YES, it appears so
 +
* --Can we run the arduino-lmic library on this? NO, probably not in the short term--
 +
* --Can we compile the code with platformio? YES--
 +
* Use this board for my [[LoraBatBox]]
 +
* [https://www.youtube.com/watch?v=lobNwqHLrag Video review by Andreas Spiess]
 +
 
 +
== Hardware ==
 +
Features:
 
* based on an ASR605x (ARM cortex M0+ core) + SX1262 radio chip
 
* based on an ASR605x (ARM cortex M0+ core) + SX1262 radio chip
 
* low power, only microamps sleep current
 
* low power, only microamps sleep current
 
* battery connection
 
* battery connection
 
* solar cell connection
 
* solar cell connection
 +
* [https://resource.heltec.cn/download/CubeCell/HTCC-AB01/HTCC-AB01_PinoutDiagram.pdf pinout]
  
[https://github.com/HelTecAutomation/ASR650x-Arduino the github page for the Arduino code]
+
== Software ==
 +
The CubeCell hardware works with (an export of) the [https://github.com/LacunaSpace/basicmac basicmac] device stack from Lacuna Space, just needs a pinmap definition,
 +
(see also https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-2/37225/72):
 +
<pre>
 +
const lmic_pinmap lmic_pins = {
 +
    .nss = RADIO_NSS,
 +
    .tx = LMIC_CONTROLLED_BY_DIO2,
 +
    .rx = LMIC_UNUSED_PIN,
 +
    .rst = RADIO_RESET,
 +
    .dio = {LMIC_UNUSED_PIN, RADIO_DIO_1, LMIC_UNUSED_PIN},
 +
    .busy = RADIO_BUSY,
 +
    .tcxo = LMIC_CONTROLLED_BY_DIO3,
 +
};
 +
</pre>
  
What I'd like to investigate:
+
Example code:
* Can we run the arduino-lmic core on this? This should be possible because arduino-lmic is also targeted to sx1262 core.
+
* A basic working LoRaWAN platformio demo project is available at https://github.com/bertrik/cubecelldemo
* Can we compile the code with platformio? Currently this is not the case, you need the Arduino IDE...
+
* [https://github.com/HelTecAutomation/platform-asrmicro650x/blob/develop/examples/LoRa/LoRaWAN/LoRaWAN/src/LoRaWan.ino LoraWan example code] from Heltec (not recommended)
  https://github.com/HelTecAutomation/ASR650x-Arduino/issues/11
 
  https://github.com/platformio/platformio-core/issues/3078
 
* Use this board for my [[LoraBatBox]]
 

Revision as of 09:37, 25 April 2021

Project CubeCell
Cubecell.png
Low-power LoRaWAN Board
Status In progress
Contact bertrik
Last Update 2021-04-25

Intro

This page is about the CubeCell board from heltec.org, aka HTCC-AB01

the github page for the Arduino code

What I'd like to investigate:

  • Does it have an RTC? YES, it appears so
  • --Can we run the arduino-lmic library on this? NO, probably not in the short term--
  • --Can we compile the code with platformio? YES--
  • Use this board for my LoraBatBox
  • Video review by Andreas Spiess

Hardware

Features:

  • based on an ASR605x (ARM cortex M0+ core) + SX1262 radio chip
  • low power, only microamps sleep current
  • battery connection
  • solar cell connection
  • pinout

Software

The CubeCell hardware works with (an export of) the basicmac device stack from Lacuna Space, just needs a pinmap definition, (see also https://www.thethingsnetwork.org/forum/t/heltec-cubecell-part-2/37225/72):

const lmic_pinmap lmic_pins = {
    .nss = RADIO_NSS,
    .tx = LMIC_CONTROLLED_BY_DIO2,
    .rx = LMIC_UNUSED_PIN,
    .rst = RADIO_RESET,
    .dio = {LMIC_UNUSED_PIN, RADIO_DIO_1, LMIC_UNUSED_PIN},
    .busy = RADIO_BUSY,
    .tcxo = LMIC_CONTROLLED_BY_DIO3,
};

Example code: