Go to file
imi415 56664d3be5
Update drivers.
2021-03-22 00:01:12 +08:00
include Update drivers. 2021-03-22 00:01:12 +08:00
lib Fixed SPI driver, updated LCD driver. 2021-03-18 23:50:37 +08:00
misc Update drivers. 2021-03-22 00:01:12 +08:00
src Update drivers. 2021-03-22 00:01:12 +08:00
.clang-format Update drivers. 2021-03-22 00:01:12 +08:00
.gitignore Update drivers. 2021-03-22 00:01:12 +08:00
.gitmodules Removed libconfig. 2021-03-20 23:43:13 +08:00
CMakeLists.txt LCD implementation. 2021-03-21 01:23:19 +08:00
LICENSE Added License and README. 2021-03-14 16:40:54 +08:00
README.md Fixed SPI driver, updated LCD driver. 2021-03-18 23:50:37 +08:00
aarch64-buildroot.cmake Update drivers. 2021-03-22 00:01:12 +08:00
arm-buildroot.cmake Update drivers. 2021-03-22 00:01:12 +08:00

README.md

My sensor runs Linux!

This is the source repository for a simple system monitor program,

which runs on Linux.

Supported sensors

  • Bosch SensorTec BME280 digital temperature/humidity/pressure sensor
  • AMS(Sciosense) CCS811 eTVOC sensor
  • MH-Z19 series NDIR eCO2 sensor
  • TDK InvenSense 6-Axis gyro/accelerometer
  • General GPIO based water detector sensors

Other supported devices

  • ST7789 IPS TFT LCD(240px * 240px)
  • General GPIO based buttons
  • Genetal GPIO based LEDs

Libraries used

  • LittleVGL
  • mosquitto
  • libgpiod
  • libconfig
  • libpthread
  • libiio

How to compile

  • Native:
mkdir build && cd build
cmake ..
make -j${nproc}
  • Cross:
mkdir build && cd build
cmake -DCMAKE_TOOLCHAIN_FILE=${TOOLCHAIN_FILE_NAME} .. # Replace to yours
make -j${nproc}