Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Exercise 5: The I2C bus and the SHT30 Temperature and Humidity SensorIntroduction | ||||||||
Line: 18 to 18 | ||||||||
Exercise 2: Read out the SHT30 | ||||||||
Changed: | ||||||||
< < | This time we are going to be lazy and just use a pure Python driver written by 'Roberto Sánchez which I attached to this exercise sheet. | |||||||
> > | First of all let's have a look at the SHT30 documentation![]() | |||||||
Changed: | ||||||||
< < | https://afnog.iotworkshop.africa/pub/IoT_Course_English/TheI2CBusAndTheSHT30TemperatureAndHumiditySensor/sht30.py.txt | |||||||
> > | This time we are going to be lazy and just use a pure Python driver written by 'Roberto Sánchez which you can find on github at https://github.com/rsc1975/micropython-sht30/blob/master/sht30.py![]() | |||||||
Changed: | ||||||||
< < | I will however give no further explication on how to use the driver. Please read the source code and find out yourself which methods are implemented and how to use the driver. | |||||||
> > | I will give no further explication on how to use the driver. Please read the source code and find out yourself which methods are implemented and how to use the driver. Does it work out of the box or do we have to make some modifications? | |||||||
The driver is already hard-coded in the MicroPython binary and does not need to be uploaded to the ESP32 to be used. |
Line: 1 to 1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
Added: | |||||||||
> > |
Exercise 5: The I2C bus and the SHT30 Temperature and Humidity SensorIntroductionWhile the DHT11 uses a proprietary protocol the SHT30 make use of a standardized protocol: the I2C protocol, invented by Philips at the beginning of the 1980's. To get you going with I2C please have a look at https://learn.sparkfun.com/tutorials/i2c/all![]() Exercise 1: I2C Bus ScanI2C is supported by a driver in the MicroPython![]() ![]() Exercise 2: Read out the SHT30This time we are going to be lazy and just use a pure Python driver written by 'Roberto Sánchez which I attached to this exercise sheet. https://afnog.iotworkshop.africa/pub/IoT_Course_English/TheI2CBusAndTheSHT30TemperatureAndHumiditySensor/sht30.py.txt I will however give no further explication on how to use the driver. Please read the source code and find out yourself which methods are implemented and how to use the driver. The driver is already hard-coded in the MicroPython binary and does not need to be uploaded to the ESP32 to be used. --![]() Comments
|