and its so fun and easy to use
i designed the v2 smart controller boards such that i could connect any inputs(sensors) or outputs(actuators, relays) on any pin without having to update the firmware on the board or external interface components..
the only thing you need to use a v2 smart controller board is a unique hostname and wifi(or ethernet) connection. you can connect any digital, analogue, 1-wire, 12c, serial sensors to the pins and the board will send the raw values of all sensors connected to the backend server . the api for retrieving your raw data is http://api.kijanigrows.com/v2/device/get/kj_v2_01 (where kj_v2_01 is my office garden). in response is the raw pin data sent from the controller (i don't know if it is temp, a float switch, leak, noise etc they are just raw readings)
"pins": {
"D38": 0,
"D30": 0,
"D31": 0,
"A15": 417,
"A14": 456,
user, device and sensor profiles are defined and mapped in the backend. say A4 is assigned to a photocell sensor, and D30 to a float switch, raw values are converted to the to correct values here. say A14:456 could be mean that an ir sensor connected on pin A14 measured 4 feet. or that D30 :0 means that a leak sensor connected on pin D30 has detected no leak yet
the library kj2arduino makes it possible to assign pins dynamic characteristics that you would normally need firmware on the board to do. the sensor mapping interface is show below:
typical ui with mapped sensor elements decoded using kj2arduino
the colors change based on sensor present values. you can change sensor set points, units, conversion code and messages using the sensor screen below::
more visualizations of my kj_v2_01 office garden done with v2 and kj2arduino
grafana graphs of the same data ... this are raw values straight from an influxdb server
and lots of other goodies with the v2 board, video streaming//timelapsing, remote control ui, alerting etc
so ... in short you need to use a v2 for your next project ... comes with all the software
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.