Giter Site home page Giter Site logo

zhou-peter / tuya-iotos-embeded-mcu-demo-wifi-ble-gd32_lora_transmit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tuya-community/tuya-iotos-embeded-mcu-demo-wifi-ble-gd32_lora_transmit

0.0 0.0 0.0 1.13 MB

The GD32E230 reads the data of the t/H sensor and lighting sensor through analog I2C, and sends the data out through a LORA module.

C 81.02% Assembly 1.88% HTML 11.11% Makefile 5.99%

tuya-iotos-embeded-mcu-demo-wifi-ble-gd32_lora_transmit's Introduction

Tuya IoTOS Embedded Mcu Demo Wifi Ble GD32_LORA_TRANSMIT

English | 中文

Introduction

The Demo uses the GD32E230 analog IIC to read the data of the T/H sensor and the illumination sensor respectively, and then sends the data through the LORA module.

The implemented features include:

  • Temperature And Humidity Acquisition
  • Illuminance Acquisition
  • LORA TRANSMIT

Quick start

Compile & Burn

  • Download Tuya IoTOS Embeded Code
  • Execute the Project.uvprojx file
  • Click Compile in the software and complete the download

File introduction

├── Application
│   ├── main.c
│   ├── gd32e23x_it.c
│   ├── systick.c
│   ├── gd32e23x_it.h
│   ├── systick.h
│   ├── gd32e23x_libopt.h
├── GD32E23x_Firmware_Library
│   ├── CMSIS
        ├── Include
           │   ├──gd32e23x.h
           │   ├──system_gd32e23x.h
        ├── Source
           │   ├──startup_gd32e23x.s
           │   ├──system_gd32e23x.h        
│   ├── GD32E23x_standard_peripheral
        ├── Include
        ├── Source
├──User
│   ├── BH1750.c
│   ├── BH1750.h
│   ├──delay.c
│   ├──delay.h
│   ├──sht3x.c
│   ├──sht3x.h
│   ├──soft_i2c.c
│   ├──soft_i2c.h
│   ├──SPI.c
│   ├──SPI.h
│   ├──sx126x_v01.c
│   ├──sx126x_v01.h
│   ├──usart.c
└──────usart.h 

Demo entry

Entry file:main.c

Important functions:main()

  • Initialize and configure MCU IIC,USART,SPI,SHT3X ,BH1750,LORA and other modules , etc. All events are polled and judged in while(1)。

I/O List

SHT3X BH1750 LORA UASRT0 UASRT1
PA11 IIC_SCL PB6 IIC_SCL SCK/PA5 PA9 TXD PA2 TXD
PA12 IIC_SDA PB7 IIC_SDA MISO/PA6 MOSI/PA7 PA10 RXD PA3 RXD

Related Documents

Tuya Demo Center: https://developer.tuya.com/demo

Technical Support

You can get support for Tuya by using the following methods:

tuya-iotos-embeded-mcu-demo-wifi-ble-gd32_lora_transmit's People

Contributors

mumuzi123456 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.