top of page

EEG-RC Drone

Jun 2016 - Dec 2016

Personal Project

20181005_202913.jpg
photo_2018-10-05_20-32-51.jpg

EEG-RC controlled drone was my second project before I entered my university. The aim of this personal project was to control the Remote Controller (RC) using brainwaves recorded from the EEG (Emotiv). First step of the project was to source for the drone parts - LiPo batteries, frame, motor, ESP and flight controller.

​

I went through numerous tutorial pages to learn about basic drone building and each of the parts before buying any of the equipment. However, there was still some equipment that was bought wrongly and thus I made two to three rounds more of purchase.

The next step involves exploring electroencephalogram (EEG). For this project, I use the Emotic Epoch which has 14 channels and used Emotiv's control panel to identify and save 4 thought inputs: Up, Down, Left and Right.

 

The inputs require some form of training to actually get it right accurately. Thus, there is a need to calibrate with a baseline (no thoughts) and subsequently continue training for each of the inputs.

 

As this was my first time dealing with EEG, I did not use their API directly but instead use the software they provided. For future continuation, I could possibly use their SDK and apply deep learning to enable better and more precise inputs.

eeg.PNG
emotiv_control_panel.PNG
eeeeg.jpg
drone controller.jpg
controller.PNG

For the last step, it involves CAD, 3D printing, Arduino with Servos and using Processing.

 

To create the frame for the entire controller for servo placement, I use Solidworks to CAD the outer cover and split it into two sides for ease of 3D printing. From the picture on the left, we can see 3 holders which are meant for the servos to sit.

 

Subsequently, I place the servos into each of the holders and connect the joystick with strings. The vertical direction is controlled by the servo at the bottom while the horizontal direction is controlled the servo to the right side.

 

Next, I use Processing to translate the output from Emotiv's control panel into simple string commands that are read by the Arduino which ultimately controls the servo to move the joystick. The video below demonstrates how the entire setup works.

It was definitely a fun project and it taught me more about electronics and drone components during that period. This is a possible project that I might revisit again to make it better. Due to safety reason, I did not put the drone out in the field and control it with my mind but I sure did fly it manually with the RC.

Skills acquired/displayed

  • Using Arduino

  • Using Processing

  • Using Emotiv Epoch

  • Drone components

  • Electronics

  • C

  • Solidworks

Problems faced

  • Totally lack the knowledge and skill in doing any of the above mentioned

Solution

  • Consulted with my brother on the types of skills required to carry out the project

  • Learned from online resources

©2018 by Xiang Qian

bottom of page