pdf-icon

YUN HAT

SKU:U070

Description

YUN HAT is a cloud-shaped multi-function environment information measurement base. Built-in temperature and humidity sensor SHT20, air pressure sensor BMP280, photo-resistor,14 RGB LEDs. The board is build with Embedded Micro-processor ** STM32F030F4** , which implemented a concise and efficient program APIs.
YUN HAT features a pretty appearance which could be used as a decoration for your space.
The base is designed for the M5StickC, like other HAT devices, it is compatible with top socket of M5StickC. The overall structure adopts a three-layer design, and the upper and lower PCB boards serve as fixed structure and main circuit respectively, which is beneficial to the circuit conduct long hours of work.
the board also provides an independent external power interface.
The middle layer is a light-guided acrylic component. To achieve a better light display effect, The acrylic outer contour cutting surface is partially polished, and the purpose is to effectively reduce the scattering of light, making it evenly saturated with light effects.
One hook hole and two 6*4mm magnet mounting positions are reserved on the board, so users can easily magnet or hang in any corner of space.

Product Features

  • Compatible with M5StickC
  • On-board Microprocessor STM32F030F4
  • Temperature and Humidity sensor SHT20
  • Air pressure sensor BMP280
  • Photo-resistance
  • 14 x SK6812 4020 RGB LED
  • Three-layer structure design:      - 1 x hook hole      - 2 x 6*4mm magnet mounting position      - 1 x finishing Acrylic profile surface
  • Development platform: Arduino, UIFlow(Blockly, Python)

Include

  • 1x YUN HAT
  • 2x Dupont

Applications

  • Environmental information collection
  • Smart home decoration
  • Fridge Magnet

Specification

Resources Parameter
Communication protocol I2C:SHT20(0x40),BMM280(0x76),YUN(0x38)
Net weight 7g
Gross weight 15g
Product Size 75*55*5mm
Package Size 100*85*20mm

EasyLoader

download EasyLoader

What is EasyLoader?
1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed.
  1. After downloading the software, double-click to run the application, connect the M5 device to the computer through the data cable, select the port parameters, click "Burn" to start burning. (For M5StickC burning, please Set the baud rate to 750000 or 115200)

Pin Map

M5StickC GND 5V OUT GPIO26 GPIO0 GPIO36 BAT 3V3 5V IN
YUN HAT GND +5V SCL SDA / BAT +3.3V +5V IN

Schematic

Example

Arduino

UIFlow

How to use Hat yun and related API instructions in the UIFlow1.0

UIFlow

Open http://flow.m5stack.com and Load Demo