Hey guys, in my YouTube video i have made the tutorial for the RC plane using Arduino and Styrofoam. You'll find the links for the YouTube video if you have not yet watched the video.

This post is sponsored by PCBWay which is great PCB manufacturing company with the best quality PCB that you can get. Get 10 PCB for just $5 at PCBWay:


Click here: https://www.pcbway.com

Here is the circuit diagram that i am using to control the coreless motor speed. I am making use of a N-channel MOSFET, Schottky diode and a pull down resistor. You will find the part list below. The Arduino receiver was made in my previous post HERE

Here is the code for the receiver:

Or copy Receiver code here:

#include <SPI.h>
#include <nRF24L01.h>
#include <RF24.h>
const uint64_t pipeIn = 0xE8E8F0F0E1LL; //Remember that this code is the same as in the transmitter

RF24 radio(7, 8); //CE and CSN pin

struct MyData {
byte throttle;
byte yaw;
byte pitch;
byte roll;
byte AUX1;
byte AUX2;

MyData data;

void resetData()

data.throttle = 0;
data.yaw = 127;
data.pitch = 127;
data.roll = 127;
data.AUX1 = 0;
data.AUX2 = 0;



void setup()




unsigned long lastRecvTime = 0;

void recvData()
while ( radio.available() ) {
radio.read(&data, sizeof(MyData));
lastRecvTime = millis();


void loop()
unsigned long now = millis();
//check if we've lost signal, if we did we reset the values
if ( now - lastRecvTime > 1000 ) {





Click in the links to buy it.

Arduino Pro Mini         LINK HERE
Arduino Uno                LINK HERE
NRF24L01 SMD         LINK HERE
NRF24L01 + PA          LINK HERE
NRF24L01 Adapter     LINK HERE
HT7333                        LINK HERE
Oscilloscope                 LINK HERE
soldering iron               LINK HERE
FTDI Programmer       LINK HERE
MOSFET                     LINK HERE
Schottky diode             LINK HERE
Motor + Gearbox         LINK HERE