arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Primary test - Otii

circle-check

https://github.com/IRNAS/otii-consumption-analysisarrow-up-right

Otii setup
Connection for power

hashtag
Instructions

hashtag
Step 1 - Download "otii-consumption-analysis" from Github.

hashtag
Step 2 - Connect otii setup to your computer and run Otii software - open New project.

hashtag
Step 3 - In Otii software navigate to File -> Preferences -> Server and click "Start"

hashtag
Step 4 - Connect the device via "tag-connect".

hashtag
Step 5 - Run the command with Command Prompt or Visual Studio Code

a) Command Prompt: Navigate to your folder with "otii-consumption-analysis" and run:

b) Visual Studio Code: Navigate to your folder with "otii-consumption-analysis" and run command:

hashtag
Step 6 - Log file after a successful test should look like this:

hashtag
Step 7 - Rename the device log in Otii software "week number"-"device number".

Start Otii server
Lion PCB
On Rhino PCB connect + directly to bat + on PCB
Command prompt
otii settings:  new project
        project settings
        
        -> arc
        supply: power box
        main voltage: 3,30V
        over current protection: 0,500A
        digital voltage level: check ''same as supply''
        
        -> current 
        check main current
        check auto range
        
        -> voltage
        check GPI1 value
        
        -> logs
        check UART
        baud rate: 115200
python .\otii_analyzer.py -f .\otii_smartparks_rhino.json
PS C:\Users\Sticker\Documents\otii-consumption-analysis> python .\otii_analyzer.py -f .\otii_smartparks_rhino.json
OK 0.0400186968914555 μWh
OK 0.2927783995633925 μWh
OK 0.029815154270834313 μWh
OK 0.012477693194445067 μWh
OK 140.1002367360885 μWh
OK 0.02873970756828776 μWh
OK 9.717506900152328 μWh
.
----------------------------------------------------------------------
Ran 1 test in 47.983s
OK