Difference between revisions of "Quadcopter Kit: Quickstart Guide"

From Microduino Wiki
Jump to: navigation, search
(First Flight)
(First Flight)
Line 188: Line 188:
 
|}
 
|}
 
{| class="wikitable" style="background-color:#FEF9E7;"
 
{| class="wikitable" style="background-color:#FEF9E7;"
|'''IMPORANT:''' If you need to abandon the flight. Turn off the throttle (Left Joystick to the DOWN position).
+
|'''IMPORANT:''' If you need to abandon the flight. Turn off the throttle (Left Joystick to the DOWN position). This will cut off the power to the motors and cause the Quadcopter to forcibly land.
 
|}
 
|}
 
*'''SLOWLY''' bring the Left Joystick upwards. The Quadcopter's motors should start up and eventually the Quadcopter start flying. Use the Right Joystick to control the positioning.
 
*'''SLOWLY''' bring the Left Joystick upwards. The Quadcopter's motors should start up and eventually the Quadcopter start flying. Use the Right Joystick to control the positioning.

Revision as of 19:33, 4 October 2018

This quick start guide is intended to get the reader started with the Quadcopter (w/ Joypad) kit.

This guide will cover the following:

  1. Setting up the programming software.
  2. Programming and assembling the Quadcopter.
  3. Programming and assembling the Joypad.
  4. Joypad usage and basic control of the Quadcopter.

Software Setup

Please follow the guide to ensure your software is correctly setup. The software is required to program both the Quadcopter and Joypad.

Download the latest software for your operating system and follow the getting started guides:

Windows
MicroduinoGettingStart-ForWindows.jpg
IDE Install Guide for Windows
MAC
MicroduinoGettingStart-ForMAC.jpg
IDE Install Guide for MAC

Programming the Quadcopter

In the Quadcopter box should be two modules:

  • Microduino CoreRF - the brains of the Quadcopter. A tiny CPU with RF communication capabilities.
  • Microduino USBTTL - programmer which writes the program from your computer to the Microduino CoreRF module.
CoreRF
1DSC01831.JPG
USBTTL
Microduino-ft232r-rect.jpg

The Microduino CoreRF must be programmed with the "Quadcopter" code using the Microduino USBTTLC.

  • Download the code for the Quadcopter: File:MultiWii for CoreRF.zip
  • Extract the .zip folder somewhere. Ensure, you know where the folder is as you will need to navigate to it.
  • Open the Arduino for Microduino software (follow the #Software Setup section if you have not yet).
  • In the software, go to File > Open... and navigate to the extracted folder. Select and open the MultiWii_for_CoreRF.ino file. The code should now appear in the software.
  • Configure the software to program the CoreRF module:
    • Tools > Board and select Microduino/mCookie-device.
    • Tools > Processor and select Microduino/mCookie-Core RF (127rfa1)
  • Stack the Microduino CoreRF module onto the Microduino USBTTL module. Plug one end of the MicroUSB into the Microduino USBTTL and the other end to the computer.
  • Go back to the software and select the port:
    • Tools > Port and select what is usually selectable. (Note: if on Mac, the port is NOT the Bluetooth ones.)
  • Now upload the program by click on the Right Arrow icon on the top left of the software. This is the upload button. Wait for the code to compile and then uploading will proceed. The software will inform once uploading is done on the bottom left.
  • Disconnect the MicroUSB cable from the Microduino USBTTL. Separate (unstack) the two modules (CoreRF and USBTTL).
    • Note: Please be careful when separating the boards as the pins can be damaged. It is recommended to use a flat object to slowly lever one side a little, then slowly lever the other side a little, repeating until the modules separate easily.
  • Place the Microduino USBTTL module aside. As it will be used to program the Joypad later.

Quadcopter Assembly

Microduino Equipment
Module Number Function
Microduino-CoreRF 1 Core board
Microduino-USBTTL 1 Program download module
Microduino-Motion 1 Attitude adjustment
Microduino-QuadCopter 1 Quadcopter driver
2.4G Antenna 1
Other Equipment
Component Number Function
USB Cable 1
Frame 1
Battery 1 Power supply
Screw 8
Screwdriver 1

Quadcopter Material List.jpg

Quadcopter 1.jpg

IMPORTANT: Ensure that the correct wing is inserted into the correct position!

Quadcopter 2.jpg

Quadcopter 3.jpg

Quadcopter 4.jpg

Note: 10DOF is also known as the Motion module.

Quadcopter 5.jpg

Quadcopter 6.jpg

Programming the Joypad

In the Joypad box should be a Microduino CoreRF:

  • Microduino CoreRF - the brains of the Joypad. A tiny CPU with RF communication capabilities.

The Microduino CoreRF must be programmed with the "Joypad" code using the Microduino USBTTL. Note: You'll be using the same Microduino USBTTL from the Quadcopter box.

CoreRF
1DSC01831.JPG
USBTTL
Microduino-ft232r-rect.jpg
  • Download the code for the Joypad: File:Joypad RC.zip
  • Extract the .zip folder somewhere. Ensure, you know where the folder is as you will need to navigate to it.
  • Open the Arduino for Microduino software (follow the #Software Setup section if you have not yet).
  • In the software, go to File > Open... and navigate to the extracted folder. Select and open the Joypad_RC.ino file. The code should now appear in the software.
  • Configure the software to program the CoreRF module:
    • Tools > Board and select Microduino/mCookie-device.
    • Tools > Processor and select Microduino/mCookie-Core RF (127rfa1)
  • Stack the Microduino CoreRF module onto the Microduino USBTTL module. Plug one end of the MicroUSB into the Microduino USBTTL and the other end to the computer.
  • Go back to the software and select the port:
    • Tools > Port and select what is usually selectable. (Note: if on Mac, the port is NOT the Bluetooth ones.)
  • Now upload the program by click on the Right Arrow icon on the top left of the software. This is the upload button. Wait for the code to compile and then uploading will proceed. The software will inform once uploading is done on the bottom left.
  • Disconnect the MicroUSB cable from the Microduino USBTTL.

Assembling the Joypad

Joypad Usage

Layout

Joypad Layout.png

Configuration

  • Switch on the Joypad with the switch on the right side.
  • Press Key1 within 2 seconds to enter Configuration mode.
    Joypad Configuration 1.png
  • Navigate the menu with the following keys
    Step1按键对应.jpg
    • key1 - back
    • key2 - confirm
    • key3 - up
    • key4 - down

Joystick Calibration

  • Enter the Joystick Config menu. Use key2 for enter.
  • Then enter to the Joystick Correct. to start calibrating the Joysticks.
  • You'll notice two + signs. Rotate the left Joystick in a few circles. The + will have large circle on the ends. Do the same with the right Joystick. As shown. (Use key2 to confirm.)
    Step2摇杆校准.jpg

Mode Selection (for Quadcopter)

  • Navigate the menus to Protocol Config, then to Mode. Select Quadro. (Use key2 to confirm.)
  • Navigate back up, to find the Quadrotor Channel, set it to 11. (Use key2 to confirm.)
  • Navigate back up to the main menu, then select Exit. Joypad configuration s now complete.

First Flight

IMPORANT: Please have your first flight in an open space. It may take several flights before getting a "feel" of the Quadcopter. It is important to wear safety equipment such as safety goggles.
IMPORANT: It is important to turn on the Quadcopter sitting on a flat surface since the gyroscope calibrates on start up. Therefore, if turning the Quadcopter on an uneven surface or while holding it in your hand will result in a mis-calibrated gyroscope.
  • Place your Quadcopter on a flat surface. Turn on the Quadcopter using the switch. A blue LED will start blinking. This means the Quadcopter is ready to be paired with.
  • There is a special procedure to pair the Joystick with the Quadcopter. On the Joypad set the following:
    • TOP LEFT switch to the DOWN position.
    • TOP RIGHT switch to the UP position.
    • LEFT JOYSTICK to the DOWN position.
      Joypad Pairing 0.png
  • Turn on the Joypad, wait for the Joypad to fully start up. You should see a screen wtih Roll, Pitch, Yaw, etc.
  • Once the Joypad is on, ensure the switches and joystick is set as shown on the image above.
  • To begin the pairing procedure bring the Left Joystick from the DOWN position to the RIGHT position in a quarter-circle movement as shown below.
    Joypad Pairing 1.png
  • If pairing is successfully, the blinking blue LED on the Quadcopter will turn SOLID blue (this indicates the Quadcopter and Joypad are paired).
Note: If pairing is not successful. You will have to perform the Joystick movement again (or several times) until the blue LED is SOLID blue on the Quadcopter.
Note: Pairing must be re-established whenever the connection is disconnected, such as when Quadcopter is turn off or the Joypad is turned off.
  • Bring the left Joystick back to the DOWN position. The Left Joystick controls the throttle of the Quadcopter. The Right Joystick control the position of the Quadcopter.
  • Flip the top left switch to the UP position. This will unlock the throttle. Please prepare for your first flight!
IMPORANT: Please have your first flight in an open space. It may take several flights before getting a "feel" of the Quadcopter. It is important to wear safety equipment such as safety goggles.
IMPORANT: If you need to abandon the flight. Turn off the throttle (Left Joystick to the DOWN position). This will cut off the power to the motors and cause the Quadcopter to forcibly land.
  • SLOWLY bring the Left Joystick upwards. The Quadcopter's motors should start up and eventually the Quadcopter start flying. Use the Right Joystick to control the positioning.