How to programming a CubeCell Module
CubeCell module provide two version:
AT command only
小技巧
For the flash size reason, the “AT command only” HTCC-AM01 only provide CN470-510MHz hardware versions, sending & lestening frequency are fixed (Channel 0~7), cannot be configured by software, and can’t upgrade without special hardwares.
Arduino compatible & AT command
小技巧
Support AT command defaultly, already have an actived Arduino bootloader, can development via Arduino.
This document is for the “Arduino compatible & AT command” version. Take HTCC-AM01 as an example.
备注
CubeCell module (HTCC-AM01) only have ASR6501and RF relevant circute inside. In order to program it, need connect to a external UART-USB bridge. CH340G, CP2102 etc.
Recommend Circuit
There are two recommend schematics:
Arduino compatible recommend design
This circuit have an auto boot circuit, can running into bootloader mode automatically.
A slave module control by a master device
This circuit need access bootloader mode manually (How to access bootloader).
Get start
Install the CubeCell development framework correctly: CubeCell Series Quick Start;
Connect your redesigned board to a computer, make sure useing a high quality Micro USB cable;
Click the
tools
option to select the appropriate port and board.
Success access the bootloader mode, following log will be print via serial port:
小技巧
If use the Arduino compatible circuit, and system into bootloader mode automatically, will not see this log. Log printed by CubeCell normally, but the com port used by IDE for programming purpose, there is no place to show.
Program via Arduino IDE;
Enjoy.