Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
reversaal
OhmPi
Commits
5816d199
Commit
5816d199
authored
Dec 09, 2021
by
Clement Remi
Browse files
Merge branch 'master' of
https://gitlab.irstea.fr/reversaal/OhmPi
parents
805976a5
ad7bcce4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Ohmpi_4elec.py
View file @
5816d199
...
...
@@ -33,6 +33,8 @@ print(current_time.strftime("%Y-%m-%d %H:%M:%S"))
hardware parameters
"""
R_shunt
=
2
# reference resistance value in ohm
Imax
=
4800
/
50
/
2
print
(
colored
(
'The maximum current cannot be higher than 48 mA'
,
'red'
))
coef_p2
=
2.50
# slope for current conversion for ADS.P2, measurement in V/V
coef_p3
=
2.50
# slope for current conversion for ADS.P3, measurement in V/V
offset_p2
=
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment