|
| 1 | += Sensors |
| 2 | +:page-toclevels: 2 |
| 3 | + |
| 4 | +== Grove I2C Sensors |
| 5 | + |
| 6 | +There are also options that communicate using I2C. These will use connectors I2C0 and I2C1 as shown. Commonly these will offer improved resolution e.g. 16 bits or 24 bits, so 65536 levels or 16,777,215 level respectively. They may also offer amplifiers, multiplexers or other enhanced functionality. |
| 7 | + |
| 8 | +image::GrovePicoShieldI2CConnection.png[] |
| 9 | + |
| 10 | +== Grove I2C Temperature Humidity Sensor DH20 |
| 11 | + |
| 12 | +=== Overview |
| 13 | + |
| 14 | +The new Grove - Temperature & Humidity Sensor is based on the DHT20 sensor. The DH20 is an upgraded version of the DHT11, compared with the previous version, the temperature and humidity measurement accuracy are higher, and the measurement range is larger. It features I2C output which means it is easier to use. |
| 15 | + |
| 16 | +=== Hardware Details |
| 17 | + |
| 18 | +https://wiki.seeedstudio.com/Grove-Temperature-Humidity-Sensor-DH20/[Grove I2C Temperature Humidity Sensor DH20] |
| 19 | + |
| 20 | +=== Demo Video |
| 21 | + |
| 22 | +Here is a video that shows the set-up and running of the Grove I2C Temperature Humidity Sensor |
| 23 | + |
| 24 | +video::ENfYFbsgunE[youtube] |
| 25 | + |
| 26 | +=== Example Code |
| 27 | + |
| 28 | +Navigate to >>Scratchpad>>Grove>>Sensors>>**I2C Temperature Humidity Sensor DH20.vi** |
| 29 | + |
| 30 | +image::GroveI2CTemperatureHumiditySensorDH20-Project.png[] |
| 31 | + |
| 32 | +This VI uses Grove I2C Temperature Humidity DH20 Sensor. Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow. |
| 33 | + |
| 34 | +image::GroveI2CTemperatureHumiditySensorDH20-FP.png[] |
| 35 | + |
| 36 | + |
| 37 | +On the block diagram you can see that the selected Grove connector is input into *Grove Temperature Humidity Sensor DH20.lvclass:Init.vi*. Next we loop round the event structure and use the timeout to poll the Sensors using *Grove Temperature Humidity Sensor DH20.lvclass:Read Temp Humidity.vi*. Pressing Stop will fire the Stop event and exit the loop. |
| 38 | + |
| 39 | +image::GroveI2CTemperatureHumiditySensorDH20-BD.png[] |
| 40 | + |
| 41 | +== Grove I2C Thermocouple Sensor |
| 42 | + |
| 43 | +=== Overview |
| 44 | + |
| 45 | +The Grove - I2C Thermocouple Amplifier (MCP9600) is a thermocouple-to-digital converter with integrated cold-junction and I2C communication protocol. This module is designed to be used in conjunction with a k-type thermocouple. The thermocouples have a much larger measurement range than thermistors. |
| 46 | + |
| 47 | +=== Hardware Details |
| 48 | + |
| 49 | +https://wiki.seeedstudio.com/Grove-I2C_Thermocouple_Amplifier-MCP9600/[Grove I2C Thermocouple Amplifier MCP9600] |
| 50 | + |
| 51 | +=== Demo Video |
| 52 | + |
| 53 | +Here is a video that shows the set-up and running of the Grove I2C Thermocouple Amplifier MCP9600 |
| 54 | + |
| 55 | +video::BdaQqxTZXwk[youtube] |
| 56 | + |
| 57 | +=== Example Code |
| 58 | + |
| 59 | +Navigate to >>Scratchpad>>Grove>>Sensors>>**I2C Thermocouple MCP9600.vi** |
| 60 | + |
| 61 | +image::GroveI2CThermocoupleAmpMCP9600-Project.png[] |
| 62 | + |
| 63 | +This VI uses Grove I2C Thermocouple Amplifier MCP9600. Select the port for the connected Pico and the Grove connector that the board is plugged into. Press the run arrow. |
| 64 | + |
| 65 | +image::GroveI2CThermocoupleAmpMCP9600-FP.png[] |
| 66 | + |
| 67 | + |
| 68 | +On the block diagram you can see that the selected Grove connector is input into *Grove Thermocouple MCP9600.lvclass:Init.vi*. We then can set the thermocouple type from the Thermocouple Type Value Change event and *Grove Thermocouple MCP9600.lvclass:Set Thermocouple Type.vi*. |
| 69 | +Next we loop round the event structure and use the timeout to poll the Sensors using *Grove Thermocouple MCP9600.lvclass:Read Temperature.vi*. Pressing Stop will fire the Stop event and exit the loop. |
| 70 | + |
| 71 | +image::GroveI2CThermocoupleAmpMCP9600-BD.png[] |
0 commit comments