L5hrCTOgJ

4G Digital Agriculture

 
Overview

Overall idea
STM32f103c8t6 collects temperature, humidity, and light intensity, uploads them to the cloud, and displays them on the serial port screen. The cloud uses the open source platform ThingsCloud, and also supports the mobile APP "ThingsX". Overall, users can monitor agricultural production through the touch screen, web page, and mobile terminal. For the convenience of this experiment, the actual agricultural production equipment is replaced with three LEDs for demonstration.
Schematic design description
This product is divided into three modules, Hezhou Air724UG, STM32f103c8t6 core board, serial port screen, and self-designed mother seat to combine them.
PCB design description
1. The conventional routing line width is ≥4mil (0.1016mm). If it is less than this value, it will greatly challenge the factory's production capacity and increase the scrap rate.
2. The routing cannot be at any angle, which is prone to problems. It is recommended to route at 45° or 135°. The same network should not be routed at 90° right angles or sharp angles.
Software Description
Code block: Receive data from the serial port and parse out the information we need

void USART2_IRQHandler(void){ static uint8_t i=0; u8 clear=clear; USART_ClearFlag(USART2,USART_FLAG_TC); //Receive interrupt (a frame of data received)

    if(USART_GetITStatus(USART2,USART_IT_RXNE)!=Bit_RESET) { uart2_buf[i++]=USART2->DR; } else if(USART_GetFlagStatus(USART2,USART_FLAG_IDLE)!=Bit_RESET) { clear=USART2->SR; clear=USART2->DR; uart2_buf[i]=''; i=0; uart2_RxFlag=1; } }
 
Physical display descriptionThe
serial port screen is installed on the PCB board, and the modules communicate through the usart protocolMobile
phone APP operation interfaceDemonstration
video
link: https://pan.baidu.com/s/124luDdNn0SOwoBFQLbNExw?pwd=d73p Extraction code: d73p
 
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-19 21:03:02
  • Problems with porting from vc6.0 to evc
  • Help buying a laptop
  • Talk: Small capital investment
  • 555 Timer Circuit Design Software
  • idea6410 debugging serial port modification problem!
  • Where does the EG8010 dead time go?

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号