Difference between revisions of "CubeCell"

From RevSpace
Jump to navigation Jump to search
(Intro)
(3 intermediate revisions by the same user not shown)
Line 14: Line 14:
  
 
What I'd like to investigate:
 
What I'd like to investigate:
* Does it have an RTC?
+
* Does it have an RTC? YES, it appears so
* Can we run the arduino-lmic library on this? This should be possible because arduino-lmic is also targeted to a sx12x2 core.
+
* Can we run the arduino-lmic library on this? NO, probably not in the short term.
 
* Can we compile the code with platformio? YES
 
* Can we compile the code with platformio? YES
  https://github.com/HelTecAutomation/ASR650x-Arduino/issues/11
 
  https://github.com/platformio/platformio-core/issues/3078
 
 
* Use this board for my [[LoraBatBox]]
 
* Use this board for my [[LoraBatBox]]
 
* [https://www.youtube.com/watch?v=lobNwqHLrag Video review by Andreas Spiess]
 
* [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 ==
 
== Hardware ==
Line 32: Line 35:
 
== Software ==
 
== Software ==
 
Example code:
 
Example code:
* [https://github.com/HelTecAutomation/platform-asrmicro650x/tree/develop/examples/arduino-lorawan LoraWan 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
 
* A basic platformio demo project is available at https://github.com/bertrik/cubecelldemo
  

Revision as of 13: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