乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      Makeblock Academy | Makeblock Orion

       容齋承筐 2016-02-14

      Module_1_Picture

       

       

      1 Introduction


      Makeblock Orion is an easy-to-use mainboard based on Arduino Uno with improvements for education. It provides eight RJ25 ports to connect to all the other Me series modules with color-labels, can save you from horrible pin-wiring and help you focus on inventor amazing projects. Makeblock Orion supports most of programming software (Arduino / Scratch / ), and we offer the customized graphical programming software (Scratch for Robot / Makeblock App).

      2 Features


      • 100% Arduino compatible;
      • Comes with Arduino library for easy programming;
      • Support Scratch For Robot, cover all ages people;
      • Using RJ25 cable connect the Me series electronic modules, super easy to wiring;
      • Modular installation, and compatible with LEGO Bricks;
      • Two-channel motor driver integrated (Two channels additional with Me-motor driver through PORT_1&2);

      3 Parameters


      Operating Voltage: 6-12V DC power;
      Microcontroller: ATmega238;
      Detecting Angle: prefer at 30 degree angle;
      Dimension: 80 x 60 x 18 mm (Length x Width x Height);

      4 Interface Description


      There’re 8 RJ25 connectors in total. The tags on the connectors have 6 types of color. Check the following table for the function and attribute of each connector.

       

      Tag Color Function Typical Me Modules
      Red Red represents the output voltage of Vin (6-12 VDC), which is the power input voltage. Generally, it is connected to some voltage driver module with 6-12V. Me Motor Driver
      Me Servo Driver
      Me Stepper Driver
      Yellow One way digital interface Me Ultrasonic Sensor
      Me RGB LED
      Me-Limit Switch
      Blue Dual digital interface Me 7 Segment Serial Display
      Me PIR Motion Sensor
      Me Shutter
      Me Line Finder
      Me Infrared Receiver Decode
      Gray Hardware serial port Me Bluetooth BLE
      Me Bluetooth Module(DualMode)
      Black Dual & one way analog interface Me Light and Grayscale Sensor
      Me Potentiometer
      Me Joystick
      Me-4Button
      Me-Sound Sensor
      White I2C port Me 3 Axis Accelerometer and Gyro Sensor

      table 1 : The function of each tag color

      Yellow, blue, gray, black, purple and white represent the output voltage of Vcc (5VDC), which is the Stable output voltage. Generally, it is connected to some voltage driver module with 5V.

       

      PORT NO. Tag Color Compatible Module Types Typical Me Modules
      1 & 2 PORT_1

      PORT_2

      (6-12VDC) driven modules Me Motor Driver
      Me Servo Driver
      Me Stepper Driver
      3 & 4 PORT_3

      PORT_4

      One way digital interface
      Dual digital interface
      I2C port
      Me Ultrasonic Sensor
      Me RGB LED
      Me Limit Switch
      Me 7 Segment Serial Display
      Me PIR Motion Sensor
      Me Shutter
      Me Line Finder
      Me Infrared Receiver Decode
      Me 3 Axis Accelerometer and Gyro Sensor
      5 PORT_5 Hardware serial port Me Bluetooth
      Me Bluetooth Module(DualMode)
      6 PORT_6 One way digital interface
      Dual digital interface
      I2C port
      Dual & one way analog interface
      Me Ultrasonic Sensor
      Me RGB LED
      Me Limit Switch
      Me 7 Segment Serial Display
      Me PIR Motion Sensor
      Me Shutter
      Me Line Finder
      Me Infrared Receiver Decode
      Me 3 Axis Accelerometer and Gyro Sensor
      Me Light and Grayscale Sensor
      Me Potentiometer
      Me Joystick
      Me 4Button
      Me Sound Sensor
      7 & 8 PORT_7

      PORT_8

      One way digital interface
      Dual & one way analog interface
      I2C port
      Me Ultrasonic Sensor
      Me RGB LED
      Me Limit Switch
      Me Light and Grayscale Sensor
      Me Potentiometer
      Me Joystick
      Me 4Button
      Me Sound Sensor
      Me 3 Axis Accelerometer and Gyro Sensor

      table 2 : Connectors’ function and attribute


      Makeblock_Orion_Pin
      Figure 1 Ports on Makeblock Orion to pins on Arduino UNO

      You can also check the entire information on the back side of the PCB.

      5 Usage


      1. Connect the Makeblock Orion and computer with micro-USB cable first. The first time you use Makeblock Orion ,you need to install the USB interface driver.
      2. Makeblock Orion support up-computer and mobile device control.(Arduino IDE/Scratch For Robot/Makeblock App control).
        The programming guide link of each software is as follow:
        (1) Arduino IDE: http://learn./learning-Arduino
        (2) Scratch For Robot: http://learn./learning-scratch
        (3) Makeblock App: http://app.

      6 Programming Guide


      1. Here’s an example to show you how to programming the buzzer of Orion in Arduino IDE:
      A) Connect the Makeblock Orion and computer with micro-USB cable first.
      B) Create a file in Aduino IDE, and write the buzzer control sketch as follow:

      1. #include
      2. #include
      3. #include
      4.  
      5. void setup()
      6. {
      7. }
      8.  
      9. void loop()
      10. {
      11. buzzerOn(); //turn on the buzzer
      12. delay(50); // wait 50 milliseconds
      13. buzzerOff(); //turn off the buzzer
      14. delay(50);
      15. }

      If you got any error information, please check if there is a grammar mistake in your code.

      C) Upload the program
      D) After the uploading is successful, the buzzer will sound. If it doesn’t work, please check if the buzzer switch on the board is TURN ON.


      Makeblock_Orion_Buzzer_Switch
      2. Here’s an example to show you how to programming Me 130 DC Motor in Arduino IDE
      A) Connect the Makeblock Orion and computer with micro-USB cable first.
      B) Connect the Makeblock Orion and Me 130 DC Motor as below:

      Makeblock_Orion_Connect_Me_130_DC_Motor
      C) Create a file in Aduino IDE, and write the buzzer control sketch as follow:
      1. #include
      2. #include
      3. #include
      4.  
      5. MeDCMotor motor1(M1); //130 DC Motor can connect to the motor interface(M1 or M2)
      6.  
      7. uint8_t motorSpeed = 100; // value: between -255 and 255.
      8.  
      9. void setup()
      10. {
      11.  
      12. }
      13.  
      14. void loop()
      15. {
      16. motor1.run(motorSpeed);
      17. delay(2000);
      18. motor1.stop();
      19. delay(100);
      20. motor1.run(-motorSpeed);
      21. delay(2000);
      22. motor1.stop();
      23. delay(100);
      24. }

      If you got any error information, please check if there is a grammar mistake in your code.

      D) Upload the program
      E) After the uploading is successful, you can see the motor rotating in clockwise direction 2s, pause 100ms, rotating in anticlockwise direction 2s, pause 100ms.

      3. Other Demo Code
      There are some demo code of the Me series electronic modules from the File > Examples > MakeBlockDrive. You can use the demo code from Makeblock Library New or Makeblock Library Old to get started play the Me series electronic modules. We recommend that you use the latest code to get our best service support.

      Makeblock_Orion_Demo_Code

      7 Power supply


      Kindly advise to power the board by connecting 6V-12VDC to DC Connector of Makeblock Orion. Otherwise it will power off for PORT 1 and 2. There’s a switch on the board for controlling the power ON/OFF.

      8 Reference link


      Makeblock:
      (1) Makeblock Official Web Site: http://www.
      (2) Makeblock Community: http://forum.

      Makeblock Orion
      (1) Makeblock Orion Schematic download link: Download

      Makeblock Library:
      (1) Makeblock Library download link:
      https://codeload.github.com/Makeblock-official/Makeblock-Libraries/zip/master
      (2) Makeblock Library user guide link: http://learn./learning-Arduino

      Scratch For Robot:
      (1) Scratch For Robot download link: http://www./download
      (2) Scratch For Robot user guide link: http://learn./learning-scratch

      Makeblock App:
      (1) APP user guide link: http://app.

        本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購(gòu)買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評(píng)論

        發(fā)表

        請(qǐng)遵守用戶 評(píng)論公約

        類似文章 更多