Skip to content

SIMAR's installation scripts, program files and more

License

Notifications You must be signed in to change notification settings

cnpem-emi/simar-sw

Repository files navigation

SIMAR Software

Build

SIMAR is an easily deployable intelligent platform for extensive monitoring and remote actuation of electrical systems and environment data, such as temperature, humidity, voltage, power factor and current.

Communication

Protocols that are confirmed working in BBB kernel version >=4.14 with the additional boards:

  • UART
  • I2C
  • SPI
  • OneWire
  • Analog (ADC/DAC)
  • CAN

Features that are only available in the TI kernel >=5.10:

  • PRU communication (used for glitch detection/power factor)

Works better with Debian 10 or later

SIMAR sensors utility

Basic utilization

Run ./install.sh and follow the onscreen instructions. Or:

Build all binaries

make

Wired connection

make install

Wireless

make install_wireless

Generating documentation

make docs

The resulting documentation (in LaTeX and HTML) will be inside the docs folder. This will also automatically open the documentation in your browser.

Important notes

  • If SPI isn't working, check the bus before anything else. Depending on your board, the first bus might be either 1.0 or 0.0
  • If OneWire fails to receive/transmit information, check your kernel version and apt-get update && apt-get upgrade

Support

  • Tested on AM3358
  • PRU features only work on TI kernels (utilizes remoteproc)