Motor Speed Control With Processing


Arduino Code:

Processing Code:

RGB LED Control with Processing


Arduino Code

Processing Code

Button Control with Processing


Arduino Code:




Processing Code:

Fly ESPcopter with phone, or any touch screen devices

In this post, we are uploading flying code to ESPcopter.  In order to upload fling code it is necessary to follow 5 simple steps:


1-) Download a flasher app

Download Flasher

2-) Download a Lastest flying code

Flying Code V.1.1

3-) Download a USB Driver


You may need to install Espcopter driver for your computer to recognize to your espcopter.

Download USB Driver

2-) Open the Flaher app

After unzipping your files which are code and flasher open the following app: nodemcu-flasher-master\Win64\Release klosürü içinde ESP8266Flasher.exe.

3-) Connect your ESPcopter to computer

You will see your drone as a comX port.

Begin program

4-) Write your code address

Write your code address link to the first row in Confing.

4-) Upload the code

To upload the code click the flash bottom.


Program success.

Program success


Lets Fly ESPcopter

1-) Connect your device to ESPcopter

WIFI_PASSWORD “12345678”

2-) Open the web browser

Search in your web browser. You will see control interface.



First Button : ARM – DISARM




Have a nice flight

Getting Started with RemoteXY

In order to create a complete application with RemoteXY it is necessary to follow 5 simple steps::

Step #1 : Dowland RemoteXY Library

Download the library RemoteXY by link.The link will download a ZIP archive of the library of the latest version.

To install the library in the Arduino IDE, you must go to menu ” Sketch/Import library…/Add library…. In the open file window, select the file, select the downloaded ZIP archive library RemoteXY.

After you have installed the library, you can check, how it works. For this you will need to open one of the examples, compile it, and upload it to the Arduino. In order to open the example, select File/Examples/RemoteXY/ and then one of the examples.


Step #2 : Graphical Interface

Building a graphical interface with a simple drag&drop editor available here

Step #3: Source Code Configuration

Configure and generate the sketch source code to be uploaded on the control board  (ESP8266, Arduino)

Step #4: Upload Sketch

Compile and upload of the generated sketch on the control board (ESP8266,Arduino) through the Arduino IDE (or other supported IDE).

Let’s now download the RemoteXY library and install it on Arduino IDE through the proper menu.
The download the source code
As we can see in the generated code some information from the previous config phase are present:
  • SSID of AP WiFI
  • Listening port
The RemoteXY_CONF[] section contains a description of the graphic interface. It will be transfer to the requesting mobile app once a connection with the nodeMCU is established.

Step #5: Download Mobile App

Download the mobile app and install it on your client device (iOS, Android)

Now on your mobile device (smartphone o tablet) join the new WiFi network called ESPcopter.
It is now time to run the RemoteXY app on mobile and then click on the top tight + sign
Now select the WiFi point option

Now press the Connect button and the app will connect to the nodeMCU and it will download the GUI description

Now you are all set to remotely control the ESPcopter.

Buy A ESPcopter: 

Buy A ESPcopter:

65$ + 9$ worldwide shipping

Order form

Let us know how to get back to you.


Learn Robotics By Making and Programming Your Own Drones




  • Small and lightweight, around 35g and about 90mm motor to motor Flight time up to 7 minutes with standard 240mAh Li-Po battery
  • Standard micro-USB connector for charging which takes ~25min for the stock 260mAh Li-Po battery
  •  On-board low-energy radio@1mW based on the ESP8266-12E. Powerful 32-bit RISC CPU: Tensilica Xtensa LX106 running at 160 MHz (64kb flash, 96kb RAM) IEEE 802.11 b/g/n Wi-Fi connection
  • MPU9250 9-DOF 3-Axis Accelerometer, 3-Axis Gyro, & 3-Axis Magnetometer
  • Expansion header 2×6 pins 2.54mm pitch including power, GPIO I2C, and UART.

Box Content

  • 1 Piece Drone.
  • 1 Piece 240mAh Li-Po battery.
  • 1 Piece propeller protector.
  • 1 Piece battery  holder shield
  • 1 Piece Solder   shield
  • 4 Piece reserve propeller.
  • 4 Piece rubber grommets
  • 1 Piece propeller disassembly tool.
  • 1 Piece motor assembly tool.
  • 1 Piece installation instructions page.


REMOTEXY Uçuş Kodu Yükleme

ESPcopter ile programlama eğitimlerinden sonra uçuş kodunu drone’unuza geri yüklemek isterseniz. Bu yazı size yardımcı olacaktır.

İlk olarak uçuş kodunu bilgisayarınıza indiriniz.

Uçuş Kodu:

Daha sonra NodeMCU Flasher Programını bilgisayarınıza indiriniz.

Flasher İndir

İndirilen dosyayı masaüstüne çıkardıktan sonra nodemcu-flasher-master\Win64\Release klosürü içinde ESP8266Flasher.exe uygulamasını çalıştırın.

Begin program










Confing bölümünden daha önce indirdiğiniz .Bin dosyasınının klasör bağlantısını ilk sekmeye yapıştırınız.

Drone bağlantısı yaptıktan sonra drone’u açık hale getirin ve flash(f) düğmesine basın. Kod yüklenmeye başlıyacaktır.


Yazılım başarı ile yüklendi.

Program success

Telefon Uygulması REMOTEXY


Yazılımların yüklenmesini yaptıktan sonra drone açık konuma getirin. Telefonunuz wifi sekmesinde drone’nun ismini göreceksiniz.

WIFI_PASSWORD “12345678”

Bağlantıyı yaptıktan sonra uygulamayı açınız ve aşağıda bulunan işlemleri yapınız.

Uygulama arayüzü otomatik olarak açılacaktır. 


Not: Telefon uygulaması İSO işletim sisteminde sıkıntısız olarak çalışmaktardır.

İyi uçuşlar.



Control ESPcopter With Processing

After the Getting Started With Processing phase, You can control ESPcopter with Processing, First of All, you need to install there library to Processing which is

1-) controlP5

2-) game control plus


To code please contact with

How to Add Library:




How to Connect ESPcopter

Click to Connect

Start to Program

İf you have no gamepad. Return to false from İfconsol = True;

İf you have a Gamepad you need to do the some setting 

First select your gamepad











Getting Started With Processing

Getting Started

Welcome to Processing! Start by visiting and selecting the Mac, Windows, or Linux version, depending on what machine you have. Installation on each machine is straightforward:

  • On Windows, you’ll have a .zip file. Double-click it, and drag the folder inside to a location on your hard disk. It could be Program Files or simply the desktop, but the important thing is for the processing folder to be pulled out of that .zip file. Then double-click processing.exe to start.
  • The Mac OS X version is also a .zip file. Double-click it and drag the Processing icon to the Applications folder. If you’re using someone else’s machine and can’t modify the Applications folder, just drag the application to the desktop. Then double-click the Processing icon to start.
  • The Linux version is a .tar.gz file, which should be familiar to most Linux users. Download the file to your home directory, then open a terminal window, and type:
    tar xvfz processing-xxxx.tgz
    (Replace xxxx with the rest of the file’s name, which is the version number.) This will create a folder named processing-2.0 or something similar. Then change to that directory:
    cd processing-xxxx
    and run it:

With any luck, the main Processing window will now be visible. Everyone’s setup is different, so if the program didn’t start, or you’re otherwise stuck, visit the troubleshooting page for possible solutions.

The Processing Development Environment.

Your First Program

You’re now running the Processing Development Environment (or PDE). There’s not much to it; the large area is the Text Editor, and there’s a row of buttons across the top; this is the toolbar. Below the editor is the Message Area, and below that is the Console. The Message Area is used for one line messages, and the Console is used for more technical details.

In the editor, type the following:

This line of code means “draw an ellipse, with the center 50 pixels over from the left and 50 pixels down from the top, with a width and height of 80 pixels.” Click the Run button the (triangle button in the Toolbar).

If you’ve typed everything correctly, you’ll see a circle on your screen. If you didn’t type it correctly, the Message Area will turn red and complain about an error. If this happens, make sure that you’ve copied the example code exactly: the numbers should be contained within parentheses and have commas between each of them, and the line should end with a semicolon.

One of the most difficult things about getting started with programming is that you have to be very specific about the syntax. The Processing software isn’t always smart enough to know what you mean, and can be quite fussy about the placement of punctuation. You’ll get used to it with a little practice.

Next, we’ll skip ahead to a sketch that’s a little more exciting. Delete the text from the last example, and try this:

This program creates a window that is 480 pixels wide and 120 pixels high, and then starts drawing white circles at the position of the mouse. When a mouse button is pressed, the circle color changes to black. We’ll explain more about the elements of this program in detail later. For now, run the code, move the mouse, and click to see what it does. While the sketch is running, the Run button will change to a square “stop” icon, which you can click to halt the sketch.

Getting Started with BLYNK



  • Hardware that works with Blynk. Check the full list of supported hardware here
  • If your hardware doesn’t have connectivity on board, you can use shields like Ethernet, WiFi, GPRS and many others. Blynk also works over Bluetooth and USB (☝️ USB is not for newbies!)




In order to connect Blynk App and your hardware, you need an Auth Token.

  1. Create a new account in Blynk App.
  2. Create a New Project. Then choose the board and connection you will use.
  3. After the project was created, we will send you Auth Token over email.
  4. Check your email inbox and find the Auth Token.



☝️ Blynk library should be installed manually. Follow the instructions:

  1. Download the latest release .zip file.
  2. Unzip it. You will notice that archive contains several folders and several libraries.
  3. Copy all these libraries to your_sketchbook_folder of Arduino IDE. To find the location of your_sketchbook_folder, go to top menu in Arduino IDE: File -> Preferences (if you are using Mac OS – go to Arduino → Preferences)

The structure of your your_sketchbook_folder should now look like this, along with your other sketches (if you have them):

☝️ Note that libraries should go to libraries and tools to tools



Blynk works with hundreds of hardware models and connection types. We prepared Blynk Examples Sketch Builder that allows you to create example code for your hardware.

  1. Choose Your board (for example: Arduino UNO)
  2. Choose your connection (WiFi, Ethernet, Bluetooth, USB…)


The first example you need is:



• In the example sketch, find this line:


• Change it with your Auth Token (it should be in your email inbox after you created the Project in the Blynk app. Now it should exactly like this (☝️ don’t forget the ” “):

• 🔥 Flash the code to your hardware

• Open serial monitor in Arduino IDE. You should see something like this


Congrats! You are connected! 🎉