Very simple SW polling HYT humidity & temp sensor and show received data at TFT [NO TOUCHSCREEN USED]

Dependencies:   FT800_2 HYT mbed

Homepage

Table of Contents

  1. Hardware
  2. Connection
  3. Photo

There is only one screen with relative humidity and temperature data received from HYT sensor, no touchscreen functionality.

https://habrastorage.org/files/ed6/387/b63/ed6387b630ca480b8e9212c58e35f11b

Hardware

For documentation on the HYT and FT800 libraries, please refer to the respective library pages.

Connection

MCU-board to TFT-module

MCU-board is connected to TFT-module via Break Out Board. You need 6 signals to connect: SCK, MOSI and MISO are connected to a SPI channel, SS is the chip select signal, PD work as powerdown and INT for interrupts from TFT to MCU.

/media/uploads/Ksenia/4_-22-.jpg

You have to connect VDD to BLVDD at Break Out Board if you use the board:

/media/uploads/Ksenia/4_-5-.jpg

MCU-board to HYT sensor

MCU-board is connected to sensor via I2C. Remember to use pull-up resisrors there:

/media/uploads/Ksenia/freshpaint-20-2016.09.16-10.37.03.png

Photo

/media/uploads/Ksenia/----------_.png

Проект для статьи "Как перестать бояться и полюбить mbed.[Часть 3]"

См. https://habrahabr.ru/users/uuuulala/topics/


All wikipages