Me RJ25 Adapter

微信截图_20160128162440

Overview

The Me RJ25 Adapter module converts the standard RJ25 port into six pins (VCC, GND, S1, S2, SDA, and SCL) so that they can be easily drawn out from MakeBlock port in compatible with electronic modules from other manufacturers, such as temperature sensor and servo module. This module should be connected to the ports with yellow, blue, or black ID on Makeblock Orion.

Technical specifications

● Operating voltage: 5V DC
● Maximum current: 3A
● Space between pins: 2.54 mm
● Module size: 51 x 24 x 18 mm (L x W x H)

Functional characteristics

● Red LED is power indicator
● Provide I²C port and two digital/analog ports
● Can connect to electronic modules of other manufacturers
● White area of module is the reference area to contact metal beams
● Two 3-pin anti-reverse base
● Support mBlock GUI programming, and applicable to users of all ages
● Adopt RJ25 port for easy connection

Pin definition

The port of RJ25 Adapter module has 6 pins, and their functions are as follows:微信截图_20160128162813

Wiring mode

微信截图_20160128163016

Guide to programming

● Arduino programming
If you use Arduino to write a program, the library Makeblock-Library-master should be invoked to control the Me RJ25 Adapter.
This program serves to read the state of Limit Switch and output results to the serial monitor in Arduino IDE through Arduino programming.微信截图_20160128163321微信截图_20160128163428

The function of the code segment is: to read the state of Limit Switch and output results to the serial monitor. Upload the code segment to Makeblock Orion, click the serial monitor and you will see the running result as follows:微信截图_20160128163703

● mBlock programming
Me RJ25 Adapter supports the mBlock programming environment and its instructions are introduced as follows:微信截图_20160128163747

Principle analysis

The Me RJ25 Adapter module lead out 6 IO ports of Makeblock Orion, they are SDA, SCL, GND, VCC, S1, and S2 respectively. S1 and S2 can be used as input/output of digital/analog signal; SDA is I²C data bus, SCL is I²C clock bus, and they can be connected to sensors which support I²C bus. For example, the Me Temperature Sensor-Waterproof module supporting I²C protocol can be connected to the I²C bus in series to construct a network for temperature measurement.

Schematic

s2

23 thoughts on “Me RJ25 Adapter”

  1. Can you please advise if this shield be used to control the Mini Pan – Tilt Kit, with the Auriga Board?

    1. Hi Sobral,

      Yes, the RJ25 adapter can be used to control the Mini Pan – Tilt Kit with Auriga Board.

      1. Thanks for your info, just one more question, can the Auriga Board control two set of the RJ25 adaptor.
        One to control the two servos of the Mini-Pan and the second one to control two other servos;
        – one to control a ultrasonic sensor to be able to swipe at 180°
        – and the last one another one to control the Mini Gripper?

  2. Hi Sobral,

    It is feasible to control two Me RJ25 adapters on the Me Auriga.
    You can try your personal DIY project.

      1. Has RJ25 Adapter mBlock been replaced with “set servo .. angle ..”? Can’t find blocks described in the article for mBot/mCore.

        1. Hi Andrey,

          You can use the program block Set servo [Port ID][Slot ID]angle[] on mBlock to program the servo which connected to ME RJ25 Adapter

  3. If I wanted to set a servo to 180 degrees, would I use this?

    MePort servo(uint8_t, PORT_4);
    ...
    servo.dWrite2(180);

    or this
    dWrite2(180);

  4. Hey,
    Is it possible to use the RJ25 adaptator on a mbot, to link it with a solar panel ?

    Thanks

    1. Hi Mamat,

      Yes, it is possible to use the RJ25 adapter on mBot. As for link with solar panel, please try by yourself.

  5. Hey, i’m not very tech savvy and am wondering how to use the i2c breakout pins on the board? Are you supposed to solder the other component to these pins or are there some kind of connectors you can use instead? Thanks

    1. Hi Bertan,

      We haven’t searched and tried that. You may give a try. It is appreciated to share your results and methods if you made it.

      1. Thank you first. I searched for original Me RGB module and I learnt neopixel uses the same LED (ws2812). I will try it. So, thank you again.

  6. Can I connect the RJ25 adaptor to the MBOT and use it to drive the “LED RGB Strip-Addressable, Sealed(0.5M)” ?
    I am concerned about the current draw.
    Thanks in advance

  7. This user guide mentions the mBlock programming environment including functions for read analog/digital, set digital, set ppm for use with this adaptor. I can’t find these functions in mBlock_v3.4.8. Is there something I should do to add them? Thank you!

    1. Hi, Brandon,
      Did you choose Arduino at extension? I will send you the screenshots to you e-mail. Please kindly check it.

  8. hi, i use this Me RJ25 Adapter on a mbot. with one servo, no problem but with two It doesn’t work correctly … it’s normal ? thank you

  9. Hi! I want to connect one servo motor trought Me rj25 adpater in the port 7 and it moves with mblock. Could you share me the correct code? I m trying but the servo motor doesn t work.
    Thanks!
    Valeria

Leave a Reply

Your email address will not be published. Required fields are marked *