CubeCell-Arduino
CubeCell-Arduino copied to clipboard
Example for htcc ab01
Hi guys, I've had the htcc ab01 for a few days now and have only ever failed. I would like to have the thing simply transmit via Lora, without ttn or anything else. But no matter what I do, I can't even get far enough to send anything, the examples provided work as long as they only run locally and I can access them via serial. Does anyone have an example that works on a defined frequency with a defined syncword and SFP that I could build on? So far I have always used Arduino minis with RFM95 modules, but found the idea here much more attractive, as PV modules can be connected directly. I would be very grateful for any help.
I have a cubecell example project as part of https://github.com/bertrik/mesh-backend see https://github.com/bertrik/mesh-backend/tree/master/cubecell
This initializes the board with the correct pins and uses radiolib to send LoRa packets, in this case meshtastic packets. It builds with platformio, so you can build it in the visual code IDE + platformio plugin, or build it from the command line.
From this line on you can see how the SX1262 lora chip is initialized and how various properties like the pre-amble, syncword, bandwidth, spreading factor, coding rate, crc, implicit/explicit header are configured.
You can connect a terminal application over the serial port (115200 bps) and send some test messages