Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| en:iot-open:remotelab:sut:generalpurpose2:b2 [2021/10/28 20:33] – pczekalski | en:iot-open:remotelab:sut:generalpurpose2:b2 [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 |
|---|
| === Scenario === | === Scenario === |
| Once you initialise sensor and LCD display, read sensor data (temperature and humidity, mind they're float values, not integers) and then display them in the loop. Give each loop execution some 5-10s delay. | Once you initialise sensor and LCD display, read sensor data (temperature and humidity, mind they're float values, not integers) and then display them in the loop. Give each loop execution some 5-10s delay. |
| <note warning>Do not try to read temperature and humidity too frequent. Once every 5s is quite enough both for information and safe enough to not let your readings race with the communication protocol. If you read too frequent, your sensor may not be able to deliver data on time and you will obtain a 'nan' (not a number) instead of temperature and humidity.</note> | <note warning>Do not try to read temperature and humidity too frequently. Once every 5s is quite enough both for information and safe enough to not let your readings race with the communication protocol. If you read too frequent, your sensor may not be able to deliver data on time and you will obtain a 'nan' (not a number) instead of temperature and humidity.</note> |
| The first line of the LCD should display: "//Temperature is://"\\ | The first line of the LCD should display: "//Temperature is://"\\ |
| The second line should provide temperature within the "//NN.N C//" form, in Celcius.\\ | The second line should provide temperature within the "//NN.N C//" form, in Celcius.\\ |