Difference between revisions of "CubeCell"

From RevSpace
Jump to navigation Jump to search
m
(16 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
   |Name=CubeCell
 
   |Name=CubeCell
 
   |Omschrijving=Low-power LoRaWAN Board
 
   |Omschrijving=Low-power LoRaWAN Board
   |Picture=cubecell.jpg
+
   |Picture=cubecell.png
   |Status=Initializing
+
   |Status=In progress
 
   |Contact=bertrik
 
   |Contact=bertrik
 
}}
 
}}
Line 9: Line 9:
 
== 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]
 +
 
 +
Plans for immediate future:
 +
* get the LoRaWAN example running, in OTAA (or restored OTAA)
 +
* get LoRaWAN time synchronisation protocol running, figure out RTC API
 +
* investigate if wake up can be done by pin too (not just timer)
 +
 
 +
== 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 ==
 +
Example code:
 +
* [https://github.com/HelTecAutomation/platform-asrmicro650x/blob/develop/examples/LoRa/LoRaWAN/LoRaWAN/src/LoRaWan.ino LoraWan example code]
 +
* A basic platformio demo project is available at https://github.com/bertrik/cubecelldemo
  
What I'd like to investigate:
+
What I'd like to do for a LoraBatBox:
* Can we run the arduino-lmic core on this? This should be possible because arduino-lmic is also targeted to a sx12x2 core.
+
* register with OTAA (and remember the session keys)
* Can we compile the code with platformio? Currently this is not the case, you need the Arduino IDE...
+
* wake up when there is movement sensed by the PIR
  https://github.com/HelTecAutomation/ASR650x-Arduino/issues/11
+
* keep track of times when movement was detected (in wall-clock time)
  https://github.com/platformio/platformio-core/issues/3078
+
* send activity (say) once per hour to TTN
* Use this board for my [[LoraBatBox]]
 

Revision as of 14:33, 24 June 2020

Project CubeCell
Cubecell.png
Low-power LoRaWAN Board
Status In progress
Contact bertrik
Last Update 2020-06-24

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

Plans for immediate future:

  • get the LoRaWAN example running, in OTAA (or restored OTAA)
  • get LoRaWAN time synchronisation protocol running, figure out RTC API
  • investigate if wake up can be done by pin too (not just timer)

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

Example code:

What I'd like to do for a LoraBatBox:

  • register with OTAA (and remember the session keys)
  • wake up when there is movement sensed by the PIR
  • keep track of times when movement was detected (in wall-clock time)
  • send activity (say) once per hour to TTN