element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Fighting Germs
  • Challenges & Projects
  • Project14
  • Fighting Germs
  • More
  • Cancel
Fighting Germs
Blog Smart Home, Fighting_germ_at_home
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Fighting Germs to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: fyaocn
  • Date Created: 14 Jun 2020 5:51 AM Date Created
  • Views 874 views
  • Likes 3 likes
  • Comments 0 comments
  • fightinggermsch
Related
Recommended

Smart Home, Fighting_germ_at_home

fyaocn
fyaocn
14 Jun 2020

GUI--FightingGerms

image

      • 1 Problem to solve
      • 2 Component to be used
      • 3 Program Flow
      • 4 GUI with TouchGFX
      • 5 Hardware Porting with CubeMX
      • 6 Next Codes and Components of Fighting_germ_at_home

1 Problem to solve

1.1 During this special period, more requirements shall be met at home. At least, the following three concerns most,

  • Review of update of the Covid-19 cases
  • Touchless Hand santilization when returns home
  • Clean the room or cloth with UVC lamp

This smart home design use one Center controller to accomplish these functions as the cover Gif animation show.

It is generated with TouchGFX simulation tools.

 

2 Component to be used

2.1 The STM32F7 discovery kit .

The 32F769IDISCOVERY Discovery kit is a complete demonstration and development platform for STMicroelectronics ArmRegistered CortexRegistered-M7 core-based MCU. It features four I2Cs, six SPIs with three multiplexed simplex I2S, 2xSDMMC, four USARTs, four UARTs, three CAN buses, three 12-bit ADCs, two 12-bit DACs, two SAIs, 8- to 14-bit digital camera module interface, internal 512+4-Kbyte SRAM and 2-Mbyte Flash memory, USB HS OTG and USB FS OTG, Ethernet MAC, FMC interface, Quad-SPI interface and SWD debugging support.

image

2.2 UVC lamp for germ cleaning

2.3 Automatic 70% acohol instance sprayer

2.4 TouchGFX designer & STM CubeMx & CMSIS Devices Driver

3 Program Flow

3.1 The Startup screen shows after BOR

3.2 The dashboard shows with three function selections

3.3 The covid case screen fetch cloud data , the Hand Santilizer Screen control H. santilizer on-off and RoomUVC screen control UV lamp on-off with timable relay.

4 GUI with TouchGFX

4.1  Create the GUI design with touchGFX.

image

Assign project name of Fighting_germ_at_home

image

Select STM32768 Disc as hardware platform,

image

image

The empty UI appears,

image

Create screens one by one with widget on the left panel.

The DashBoard screen,

image

 

The covid cases screen, since there are overlaps , the demo show empty in the image part, I shall correct it later.

image

4.2 Generate Code for STM CubeIDE

Press generate code button, for the following Cube project be generated. Import the code and build it successfully, as blow screenshot reveals.

image

 

5 Hardware Porting with CubeMX

5.1 Select cubeMX project generated with this Chip-pins configurated in UI interface below,

image

Here is the configuration  pin Map.

image

5.2 Generate Code again for new project code. Reload the design file above in CubeIDE, build the project and flash the code into the STM32F769 Disc Dev Board. The simlilar UI is show one the hardware again.

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

6 Next Codes and Components of Fighting_germ_at_home

Go go next step, fine tunning of the code and run the peripherals.

  • Sign in to reply
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube