收藏官网首页
楼主: 夏天罂粟

【STM 32】之智能温控器(PCB、MCU源码和APP源码下载)

 

0

主题

5

帖子

17

积分

新手上路

Rank: 1

积分
17
242#
发表于 2017-3-7 10:00:00 | 只看该作者
支持  楼主。谢谢楼主

0

主题

5

帖子

17

积分

新手上路

Rank: 1

积分
17
243#
发表于 2017-3-7 10:03:41 | 只看该作者
厉害了我的哥

0

主题

1

帖子

52

积分

注册会员

Rank: 2

积分
52
244#
发表于 2017-3-7 11:32:57 | 只看该作者
好东西,谢谢

0

主题

3

帖子

47

积分

新手上路

Rank: 1

积分
47
245#
发表于 2017-3-7 20:55:11 | 只看该作者
教您5分钟接入机智云,实现傻瓜式开发
正好要做这个,学习一下

27

主题

87

帖子

1214

积分

金牌会员

Rank: 6Rank: 6

积分
1214
246#
发表于 2017-3-8 00:41:38 | 只看该作者
核心代码没有,装了一手好比

27

主题

87

帖子

1214

积分

金牌会员

Rank: 6Rank: 6

积分
1214
247#
发表于 2017-3-8 00:49:30 | 只看该作者
麻烦问一下楼主,你的单片机不用和空调通讯吗?不然你是如何获取空调的温度与模式?这一块可以开源不?

0

主题

1

帖子

53

积分

注册会员

Rank: 2

积分
53
249#
发表于 2017-3-9 20:19:02 | 只看该作者
谢谢,资料很好赞一个!

0

主题

1

帖子

13

积分

新手上路

Rank: 1

积分
13
250#
发表于 2017-3-9 21:59:25 | 只看该作者
教您5分钟接入机智云,实现傻瓜式开发
不错的创意

2

主题

6

帖子

142

积分

注册会员

Rank: 2

积分
142
251#
发表于 2017-3-10 10:55:42 | 只看该作者
学习一下,谢谢分享

0

主题

2

帖子

46

积分

新手上路

Rank: 1

积分
46
252#
发表于 2017-3-10 12:25:04 | 只看该作者
本帖最后由 冯志城 于 2017-3-10 13:19 编辑

编译了一下,发现缺了几个文件,麻烦楼主发一下,学习学习,谢谢!Rebuild target 'gokit_stm32'
assembling startup_stm32f10x_md.s...
compiling core_cm3.c...
compiling system_stm32f10x.c...
compiling misc.c...
compiling stm32f10x_adc.c...
compiling stm32f10x_bkp.c...
compiling stm32f10x_can.c...
compiling stm32f10x_cec.c...
compiling stm32f10x_crc.c...
compiling stm32f10x_dac.c...
compiling stm32f10x_dbgmcu.c...
compiling stm32f10x_dma.c...
compiling stm32f10x_exti.c...
compiling stm32f10x_flash.c...
compiling stm32f10x_fsmc.c...
compiling stm32f10x_gpio.c...
compiling stm32f10x_i2c.c...
compiling stm32f10x_iwdg.c...
compiling stm32f10x_pwr.c...
compiling stm32f10x_rcc.c...
compiling stm32f10x_rtc.c...
compiling stm32f10x_sdio.c...
compiling stm32f10x_spi.c...
compiling stm32f10x_tim.c...
compiling stm32f10x_usart.c...
compiling stm32f10x_wwdg.c...
compiling main.c...
..\User\main.c(46): warning:  #223-D: function "protocolExchangeBytes" declared implicitly
      reportData.devStatus.Motor_Speed = protocolExchangeBytes(Y2X(MOTOR_SPEED_RATIO,MOTOR_SPEED_ADDITION,MOTOR_SPEED_DEFAULT));
..\User\main.c(46): warning:  #223-D: function "Y2X" declared implicitly
      reportData.devStatus.Motor_Speed = protocolExchangeBytes(Y2X(MOTOR_SPEED_RATIO,MOTOR_SPEED_ADDITION,MOTOR_SPEED_DEFAULT));
..\User\main.c(52): warning:  #177-D: variable "ret" was declared but never referenced
      uint8_t ret  = 0;
..\User\main.c(53): warning:  #177-D: variable "curTem" was declared but never referenced
      int8_t curTem = 0;
..\User\main.c(54): warning:  #177-D: variable "curHum" was declared but never referenced
      int8_t curHum = 0;
..\User\main.c(55): warning:  #177-D: variable "curInfrared" was declared but never referenced
      uint8_t curInfrared = 0;
..\User\main.c(56): warning:  #177-D: variable "lastTem" was declared but never referenced
      static int8_t lastTem = 0;
..\User\main.c(57): warning:  #177-D: variable "lastHum" was declared but never referenced
      static int8_t lastHum = 0;
..\User\main.c(58): warning:  #177-D: variable "irLastTimer" was declared but never referenced
      static uint32_t irLastTimer = 0;
..\User\main.c: 9 warnings, 0 errors
compiling stm32f10x_it.c...
..\User\stm32f10x_it.c(207): warning:  #177-D: variable "cap_id" was declared but never referenced
        u8 cap_id=0;
..\User\stm32f10x_it.c: 1 warning, 0 errors
compiling delay.c...
compiling comfunc.c...
"no source": Error:  #5: cannot open source input file "..\User\comfunc.c": No such file or directory
..\User\comfunc.c: 0 warnings, 1 error
compiling dev_ctrl.c...
"no source": Error:  #5: cannot open source input file "..\User\dev_ctrl.c": No such file or directory
..\User\dev_ctrl.c: 0 warnings, 1 error
compiling i2c.c...
"no source": Error:  #5: cannot open source input file "..\User\i2c.c": No such file or directory
..\User\i2c.c: 0 warnings, 1 error
compiling lcd.c...
"no source": Error:  #5: cannot open source input file "..\User\lcd.c": No such file or directory
..\User\lcd.c: 0 warnings, 1 error
compiling led.c...
"no source": Error:  #5: cannot open source input file "..\User\led.c": No such file or directory
..\User\led.c: 0 warnings, 1 error
compiling ctrl.c...
"no source": Error:  #5: cannot open source input file "..\User\ctrl.c": No such file or directory
..\User\ctrl.c: 0 warnings, 1 error
compiling hal_key.c...
compiling Hal_led.c...
compiling hal_motor.c...
..\Hal\hal_motor\hal_motor.c(57): warning:  #223-D: function "tim3ModeConfig" declared implicitly
      tim3ModeConfig();
..\Hal\hal_motor\hal_motor.c(81): warning:  #223-D: function "abs" declared implicitly
              motorControl((abs(status)+5)*10, 0);
..\Hal\hal_motor\hal_motor.c(85): warning:  #223-D: function "abs" declared implicitly
              motorControl(0, (abs(status)+5)*10);
..\Hal\hal_motor\hal_motor.c: 3 warnings, 0 errors
compiling hal_rgb_led.c...
compiling hal_temp_hum.c...
compiling hal_uart.c...
compiling hal_infrared.c...
compiling hal_watchdog.c...
compiling gizwits_product.c...
..\Gizwits\gizwits_product.c(81): warning:  #223-D: function "X2Y" declared implicitly
                  issuedData->attrVals.LED_R = X2Y(LED_B_RATIO,LED_B_ADDITION,issuedData->attrVals.LED_R);
..\Gizwits\gizwits_product.c(105): warning:  #223-D: function "protocolExchangeBytes" declared implicitly
                  motorValue = X2Y(MOTOR_SPEED_RATIO,MOTOR_SPEED_ADDITION,protocolExchangeBytes(issuedData->attrVals.Motor_Speed));
..\Gizwits\gizwits_product.c: 2 warnings, 0 errors
compiling gizwits_protocol.c...
..\Gizwits\gizwits_protocol.c(9): warning:  #1295-D: Deprecated declaration send_state_frame - give arg types
  void send_state_frame();
..\Gizwits\gizwits_protocol.c(57): warning:  #68-D: integer conversion resulted in a change of sign
          return -1;
..\Gizwits\gizwits_protocol.c(68): warning:  #68-D: integer conversion resulted in a change of sign
          return -1;
..\Gizwits\gizwits_protocol.c(89): warning:  #68-D: integer conversion resulted in a change of sign
          return -1;
..\Gizwits\gizwits_protocol.c(102): warning:  #68-D: integer conversion resulted in a change of sign
          return -1;
..\Gizwits\gizwits_protocol.c(108): warning:  #68-D: integer conversion resulted in a change of sign
          return -1;
..\Gizwits\gizwits_protocol.c(145): warning:  #68-D: integer conversion resulted in a change of sign
          return -1;
..\Gizwits\gizwits_protocol.c(151): warning:  #68-D: integer conversion resulted in a change of sign
          return -1;
..\Gizwits\gizwits_protocol.c(157): warning:  #68-D: integer conversion resulted in a change of sign
          return -1;
..\Gizwits\gizwits_protocol.c(926): warning:  #188-D: enumerated type mixed with another type
          protocolReport.action = p0Head->action+1;
..\Gizwits\gizwits_protocol.c(953): warning:  #188-D: enumerated type mixed with another type
      protocolReport.action = action;
..\Gizwits\gizwits_protocol.c(971): warning:  #1029-D: __packed ignored for non-pointer parameter
  uint8_t protocolErrorCmd(protocolHead_t *head,errorPacketsType_t errno)
..\Gizwits\gizwits_protocol.c(1086): warning:  #550-D: variable "ret" was set but never used
        int8_t ret = 0;
..\Gizwits\gizwits_protocol.c(1102): warning:  #177-D: variable "data" was declared but never referenced
      uint8_t data[5],state=0;
..\Gizwits\gizwits_protocol.c(1102): warning:  #177-D: variable "state" was declared but never referenced
      uint8_t data[5],state=0;
..\Gizwits\gizwits_protocol.c(38): warning:  #177-D: function "rbDelete" was declared but never referenced
  static void rbDelete(rb_t* rb)
..\Gizwits\gizwits_protocol.c: 16 warnings, 0 errors
linking...
.\Obj\gokit_mcu_stm32.axf: error: L6002U: Could not open file .\obj\comfunc.o: No such file or directory
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
".\Obj\gokit_mcu_stm32.axf" - 1 Error(s), 31 Warning(s).
Target not created.
Build Time Elapsed:  00:01:00

0

主题

1

帖子

21

积分

新手上路

Rank: 1

积分
21
253#
发表于 2017-3-10 16:47:18 | 只看该作者
挺好的 我喜欢

8

主题

38

帖子

1万

积分

论坛元老

Rank: 8Rank: 8

积分
19949
257#
 楼主| 发表于 2017-3-12 22:02:41 | 只看该作者
静水深浏 发表于 2017-3-8 00:49
麻烦问一下楼主,你的单片机不用和空调通讯吗?不然你是如何获取空调的温度与模式?这一块可以开源不? ...

你好,这个温控器是用在写字楼里的中央空调,风机盘管控制。不是用来控制家用空调。

0

主题

4

帖子

73

积分

注册会员

Rank: 2

积分
73
260#
发表于 2017-3-13 19:48:03 | 只看该作者
教您5分钟接入机智云,实现傻瓜式开发
看下楼主的原理图
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

加入Q群 返回顶部

版权与免责声明 © 2006-2024 Gizwits IoT Technology Co., Ltd. ( 粤ICP备11090211号 )

快速回复 返回顶部 返回列表