10W 3线圈无线充电电路原理图如下:
附:DEMO程序 。。
单片机源程序如下:
- // File Function: N76E003 PWM Output with dead time insert demo code
- //***********************************************************************************************************
- #include "N76E003.h"
- #include "Common.h"
- #include "Delay.h"
- #include "SFR_Macro.h"
- #include "Function_define.h"
- #include "ctrl.h"
- #include "hardware.h"
- #include "qi.h"
- bit BIT_TMP;
- //------------------- PWM Define End ------------------------------
- /************************************************************************************************************
- * Main function
- * PWM4 P0.5 simple output a 2.7KHz 1/4high duty signal
- ************************************************************************************************************/
- void main(void)
- {
- Set_All_GPIO_Quasi_Mode;
- Timer0_Init();
- Timer2Capture_Init();
- //Pwm_Init();
- WPCQi_Phase = Selection_Phase;
- set_EA; //enable interrupts
-
- while(1)
- {
- WPC_Qi();
- Display();
- }
- }
复制代码
代码仅供参考:
10W WPC_QI_TX_V02.rar
(34.01 KB, 下载次数: 296)
|