欧美极品高清xxxxhd,国产日产欧美最新,无码AV国产东京热AV无码,国产精品人与动性XXX,国产传媒亚洲综合一区二区,四库影院永久国产精品,毛片免费免费高清视频,福利所导航夜趣136

標題: stm32 紅外 WIFI 時空表 [打印本頁]

作者: wxs732    時間: 2020-6-28 23:34
標題: stm32 紅外 WIFI 時空表
這個小項目也好幾年了
    咱家里胡同中照明的燈每到晚上7點8點不就是亮了嗎
    這個項目就是 控制燈準時亮燈的
    后面還有個項目是
    這個模塊 + 網絡 + 上位機  一個小項目
    比這個要難很多了
    現在咱們絕對部分城市使用的是 路燈集中控制
    其中就用到了 SIM卡通訊
    到機房---來實現集中控制  
    但是能不能通過 LORA 模塊來組網無線控制那
    這個是可以的
    一起努力 改變自己 成全別人

單片機源程序如下:
  1. #include "stm32f10x.h"
  2. #include "bsp_usart1.h"
  3. #include "bsp_usart2.h"
  4. #include "wifi_config.h"
  5. #include "wifi_function.h"
  6. #include "bsp_SysTick.h"
  7. #include <string.h>
  8. #include "io.h"
  9. #include "rtc.h"
  10. #include "sun.h"
  11. #include "ds1302.h"    //暫時沒有用到1302
  12. #include "remote.h"     //紅外接收
  13. #include "stmflash.h"   //flash


  14. //void ( * pNet_Test ) ( void );



  15. int main(void)
  16. {
  17.     //配置系統時鐘
  18.         SystemInit();   
  19.         //配置嘀嗒時鐘1us 中斷一次
  20.         SysTick_Init();  
  21.         //初始化WiFi模塊使用的接口和外設
  22.         WiFi_Config();   
  23.     //rtc時鐘初始化         
  24.         RTC_checkconfig();      
  25.         //經緯度初始化
  26.     Sunrcr_Init();           
  27.     //IO 口開關初始化
  28.     Io_Gpio_Config();      
  29.       
  30.         //紅外接收初始化
  31.     Remote_And_Tim4_Init();           
  32.         while(1)
  33.         {
  34.            ESP8266_AP_TCP_Server();               
  35.     }
  36. }


  37. /********END OF FILE*****/
復制代碼

所有資料51hei提供下載:
WiFi模塊_USART手機通訊.7z (440.41 KB, 下載次數: 14)







歡迎光臨 (http://m.raoushi.com/bbs/) Powered by Discuz! X3.1