This is tATA on Raspberry Pico Sim868-GSM/GPRS/GNS.
^ check the video.
Features:
- retrieve car location
- location based car theft detection
- spy on microphone
- low battery alert
This is a remake of my old android based application (tATA Watcher SMS on Google Play). The goal is to re-create tATA Protector on Raspberry Pico.
A pre-built apk can be downloaded from here: WatcherSMS.
NOTE. Work in Progress:
- learning Rust on the way
- pico app does nothing yet
- cpp version with some Sim868 interfacing can be found on the cpp-backup branch
- app: the tATA Watcher SMS android application.
- pico: the tATA Protector application for Raspberry RP2040 micro controller written in Rust.
$tATA/location/12345
$tATA/call/12345
$tATA/park [on/off]/12345
$tATA/service [on/off]/12345
TODO: configuration by SMS commands.
Building the uf2 file:
cd pico/app
# default run is with probe-rs, uf2 can also be generated, see .cargo/config.yaml
cargo run
# attach to the app
probe-rs attach --chip RP2040 ../target/thumbv6m-none-eabi/debug/tATA-picoRunning the tests, etc:
cd pico/pico-lib
# run the tests
cargo test
# analyze
cargo check
# format
cargo fmt
# run a specific test case
RUST_BACKTRACE=1 cargo test test_call_number -- --nocaptureReading the logs:
minicom -b 115200 -o -D /dev/serial0 # for uart
minicom -b 115200 -o -D /dev/ttyACM0 # for usb