Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soil Moisture sensor #117

Open
ConnorRigby opened this issue Nov 6, 2019 · 0 comments
Open

Soil Moisture sensor #117

ConnorRigby opened this issue Nov 6, 2019 · 0 comments

Comments

@ConnorRigby
Copy link
Collaborator

ICP-10111.pdf

The new soil sensor has an ICP-10111 i2c device required to measure temperature and pressure.

New GCODES could look something like
F85 P<sensor type> for reading a sensor.
and
R85 P<sensor type> V<sensor value> for the report from the firmware.

Types would be:
0 - temperature
1 - pressure

We may also need to add new params for Celsius and Fahrenheit.

param name param number param value example
SENSOR_TEMPERATURE_UNITS 224 0 for Celsius 1 for Fahrenheit F22 P224 V0

read temperature ( Celsius )

F85 P0
R85 P0 V20.33

read pressure ( kpa?)

F85 P1
R85 P1 V101.35

I've only lightly tested the sensor but sending 0x68, 0x25 to i2c address 0x63 resulted in
2 bytes for temperature, 4-1 bytes for pressure.

bonus points

The sensor also exposes calibration values. Maybe we need to implement this as well?

@roryaronson roryaronson added this to Needs categorization in FarmBot Project Board via automation Nov 6, 2019
@roryaronson roryaronson moved this from Needs categorization to Firmware in FarmBot Project Board Nov 6, 2019
@roryaronson roryaronson moved this from Firmware to To do in FarmBot Project Board Nov 7, 2019
@roryaronson roryaronson moved this from To do to Ideas for the Future in FarmBot Project Board Apr 10, 2020
@roryaronson roryaronson moved this from Idea Bin (not planned) to FBOS (not planned) in FarmBot Project Board Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: FBOS (not planned)
FarmBot Project Board
FBOS (not planned)
Development

No branches or pull requests

2 participants