I am trying to build a prototype for the WPT system seen in the figure below. The MOSFET I am using is an IRF540N (source connected to ground) at a switching frequency of 1MHz and is being modelled by an ideal switch.
My question is, can I use an Arduino UNO as the gate signal to switch the MOSFET with a 1MHz, 50% duty cycle square wave? My knowledge of timers/interrupts is essentially non-existent so full code/explanation is extremely helpful.
I am currently using a signal generator to generate the square wave. The current supplied by the signal generator is not enough to charge the internal capacitance's of the MOSFET so I am passing the signal through a TC4427M chip.
Please help me. Any input is appreciated.