Smartfin FW v3
Please review the following pages:
Library | Version | License | Source | Location |
---|---|---|---|---|
LIS3DH | 0.2.8 | MIT | https://github.com/rickkas7/LIS3DH | lib/LIS3DH |
gps-ublox | 1.2.0 | Apache 2.0 | https://github.com/particle-iot/gps-ublox/ | lib/gps-ublox |
gps-quectel | 1.0.0 | Apache 2.0 | https://github.com/particle-iot/gps-quectel | lib/gps-quectel |
gps-nmea-parser | 1.2.0 | Apache 2.0 | https://github.com/particle-iot/gps-nmea-parser/ | lib/gps-nmea-parser |
tracker edge | v18 | Apache 2.0 | https://github.com/particle-iot/tracker-edge | lib/tracker-edge |
SparkFun ICM | 1.2.0 | MIT | https://github.com/UCSD-E4E/SparkFun_ICM-20948_ParticleLibrary | lib/SparkFun_ICM-20948_ParticleLibrary |
Max 31725 | 2019 | Apache 2.0 | https://os.mbed.com/teams/MaximIntegrated/code/MAX31725_Accurate_Temperature_Sensor//file/b4fdbbe79036/max31725.h/ | temperature/ |
urlsafe-b64 | 022c4cc | MIT | https://github.com/Akagi201/urlsafe-b64 | src/cellular/encoding |
base85 | 9c52d27 | MIT | https://github.com/rafagafe/base85 | src/cellular/encoding |
State | Color | Pattern |
---|---|---|
Charge | Yellow | Solid |
Sleep | Black | Solid |
CLI | Red | Solid |
Network Off | Black | Solid |
Network On | Blue | Solid |
Network Connecting | Blue | Solid |
Network DHCP | Blue | Solid |
Cloud Connecting | Blue | Solid |
Cloud Connected | Blue | Blink |
Cloud Handshake | Blue | Blink |
Condition | Battery LED State |
---|---|
No charger | LED OFF |
Is charging and less than 60 ms have passed | No Change |
Is charging and at least 60 ms have passed | LED Blinking |
Not charging and less than 10 ms have passed | No Change |
Not charging and at least 10 ms have passed | LED ON |
TODO
Run in a Linux environment
- Install build-essentials and cmake, gdb
- Ensure submodules are initialized and updated
- We recommend using a serial terminal such as PuTTY.
- Find the COM port for the Smartfin using Device Manager.
- Open PuTTY.
- Set the
Connection Type
toSerial
. - Set
Serial Line
to the COM port discovered in Device Manager (e.g. COM3).
Note that there is no need to modify the Speed
, as Smartfin uses Serial over
USB, which does not have a physical speed parameter.
- Select the
Terminal
category. - Ensure the
Implicit CR in every LF
checkbox is checked. - Click
Open
. - Type in
#CLI
without hittingENTER
to access the CLI.
- We recommend using a serial terminal such as
minicom
orpicocom
. - Find the tty port for the Smartfin by running
ls /dev/tty*
in the terminal. - Open the port using the following command:
picocom --omap lfcrlf /dev/ttyUSB0
where /dev/ttyUSB0
is the correct TTY port for the Smartfin.
You may need to run this command as sudo
if your user is not part of the
dialout
group!
4. Type in #CLI
without hitting ENTER
to access the CLI.