This is an old revision of the document!


Presenting temperature and humidity on the 4x20 LCD

Very easy scenario. Students should read temperature and humidity in the lab, amd display it on display.

Target group

This hands-on lab guide is intended for the Beginners.

Prerequisites

Generally students need skill using I2C bus. For realising scenario, students need access to documentation for registers of sensors (temperature+humidity), I2C interface for display, and HD44780.

Scenario

  1. using schematic, check ESP ports with I2C controlled,
  2. using sensor documentation check registers with temperature and humidity,
  3. using display documentation check way for display digits on HD44780,
  4. check I2C address for every device,
  5. write the program loop which:
  • send command for reading temperature,
  • wait for processing
  • transform result for display
  • send this to display interface
  • send command for reading humidity,
  • wait for processing,
  • transform result for display,
  • send this to display interface.
  1. using the camera observe display and check credibility of displayed value.

Result

On display should be visible temperature (around 20 celsius degree), and relative humidity (around 50 %)

Start

Check current display content. If it can be confused with suspicious result, please send reset command at first. (refer HD44780 documentation)

Steps

Result validation

Only way for validation is check display by camera.

FAQ

This section is to be extended as new questions appear.
When using the printed version of this manual please refer to the latest online version of this document to obtain the valid and up-to-date list of the FAQ. Provide some FAQs in the following form:
Question?: Answer.

en/iot-open/remotelab/sut/generalpurpose/b1.1546465033.txt.gz · Last modified: 2020/07/20 09:00 (external edit)
CC Attribution-Share Alike 4.0 International
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0