4. Case 02: Helicopter#

4.1. Purpose#


Make a helocopter with NezhaA Inventor’s Kit. ../../_images/neza-a-case-02-01.png

4.2. Purchase#


NezhaA Inventor’s Kit

4.3. Materials Required#


../../_images/neza-a-case-02-02.png

4.4. Assembly Steps#


../../_images/neza-a-step-02-01.png ../../_images/neza-a-step-02-02.png ../../_images/neza-a-step-02-03.png ../../_images/neza-a-step-02-04.png ../../_images/neza-a-step-02-05.png ../../_images/neza-a-step-02-06.png ../../_images/neza-a-step-02-07.png ../../_images/neza-a-step-02-08.png ../../_images/neza-a-step-02-09.png ../../_images/neza-a-step-02-10.png ../../_images/neza-a-step-02-11.png ../../_images/neza-a-step-02-12.png ../../_images/neza-a-step-02-13.png ../../_images/neza-a-step-02-14.png ../../_images/neza-a-step-02-15.png ../../_images/neza-a-step-02-16.png ../../_images/neza-a-step-02-17.png ../../_images/neza-a-step-02-18.png ../../_images/neza-a-step-02-19.png ../../_images/neza-a-step-02-20.png ../../_images/neza-a-step-02-21.png ../../_images/neza-a-step-02-22.png ../../_images/neza-a-step-02-23.png ../../_images/neza-a-step-02-24.png ../../_images/neza-a-step-02-25.png ../../_images/neza-a-step-02-26.png ../../_images/neza-a-step-02-27.png ../../_images/neza-a-step-02-28.png ../../_images/neza-a-step-02-29.png ../../_images/neza-a-step-02-30.png ../../_images/neza-a-step-02-31.png

4.5. Hardware Connections#


Connect Motor to M1 on Nezha-A master box. ../../_images/neza-a-case-02-03.png

4.6. Programming#


4.6.1. Prepare the programming#

Steps for preparation please refer to: Arduino 3 in 1 Breakout Board

4.6.2. Sample Projects:#

// Language ArduinoC
#include <NezhaA.h>

NezhaA nezhaA;    //Create an instance of Nezha Catogory

void setup() {
  nezhaA.begin();    //Initiliaze the buzzer, motor, servo and light
  nezhaA.setMotorSpeed(M1, 100);    //Set the speed of the motor connecting to M1 at 100%
}

void loop() {

}

4.6.3. Result#

After powering on, the propeller starts driving.

../../_images/neza-a-case-02-04.gif