Skip to content

Codes and documents for our current_sensing power module

License

Notifications You must be signed in to change notification settings

fghanei/power_module

Folders and files

NameName
Last commit message
Last commit date
Oct 9, 2019
Oct 9, 2019
Apr 11, 2018
Oct 9, 2019
Apr 29, 2018
Jun 21, 2018
Apr 11, 2018
Apr 11, 2018

Repository files navigation

power_module

This repository is intended for use with current_sensing power module.

Documentations for selecting the hardware and instruments can be found in "doc" Basic test scripts can be found in "i2c-test"

For running measurements:

  • measure.py is the code to run on the drone, to measure motors currents, as well as receiving information from the agent, and recording them in log files.
  • constant.py is a configuration file imported in measure.py
  • tcp_client.py is a test code to run and act as the agent to send some commands to the measure.py manually.

All graph related scripts are in "graph", the ones in 2016 are not necessarily kept anymore, be careful.


measurement procedure:

  • Note that the time of the system is correct before logging. if not, set it manually. sudo date -s "2017-05-25 00:00"