分享

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.

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多