Table of Contents

Pocket Shield Operation Guide

1. Know about Pocket Shield

Pocket Shield provides the following functions for CyberPi:

  • Supplying power
  • Extending functions

1.1 Supplying power

Pocket Shield is equipped with a rechargeable 800 mAh Li-ion battery that can be charged while supplying power for CyberPi. In general, Pocket Shield can supply power for CyberPi for more than four hours after being fully charged. The duration, however, depends on the load of the battery.

1.2 Extending functions

Pocket Shield provides two types of ports, namely 2-pin and 3-pin ports, which are designed with an anti-plug mechanism and the pin spacing of 2.54 mm. The 2-pin ports can be used to connect motors and the 3-pin ones can be used to connect servos or LEDs strips.

In addition, you can connect third-party sensors to Pocket Shield through DuPont wires.

Supported motors

Motors developed by Makeblock are recommended.

Pocket Shield is compatible with third-party motors, but you need to pay attention to the start current and connector of a motor when you connect it to Pocket Shield.

Pin spacing

2.54 mm

Output voltage

5 V

Operating current

< 1.2 A

Max. transient current

2.4–4.8 A

Note: The TT motor developed by Makeblock for competition is too powerful that its start current is too high to work with Pocket Shield. Keep this in mind when you purchase motors.

Supported servos

Servos developed by Makeblock are recommended.

Pocket Shield is compatible with third-party servos, but slight angle deviations may occur due to the component protocols.

Pin spacing

2.54 mm

Operating voltage

5 V

Operating current

< 1.6 A

Supported LED strips

The digital servo ports can also be used to connect LED strips.

LED strips developed by Makeblock are recommended.

Pocket Shield is compatible with third-party LED strips, but control exceptions may occur due to the definition differences of high and low levels in the component protocols.

Supported third-party sensors

The output voltage of Pocket Shield is 5 V. It is well compatible with Arduino digital and analog sensors and output modules. The operating voltage of micro:bit sensors is 3.3 V, and therefore Pocket Shield may not work well with them.

(DF sensor used)

2. Add the Pocket Shield extension

Click + extension and then click + Add in the extension center to add the Pocket Shield extension.

The following blocks are provided in the Pocket Shield extension, indicating the functions that have been developed.

Among them, the following ones are developed for third-party sensors.

3. Python APIs

For information about the APIs for Pocket Shield, see “APIs for Pocket Shield” in the Python API Documentation for CyberPi.

4. Online help

After-sales services and technical support

If you encounter any product quality problems or find any parts missing or damaged when you open the package, or if you need any technical support, contact us for after-sales services through: 

support@makeblock.com

(Service hours:  9:00–12:00 & 14:00–18:30 from Monday to Friday)

Feedback and suggestions

Should you have any feedback or suggestions on CyberPi, contact our R&D team through:

cyber.list@makeblock.com

5. FAQs

How long does it take to fully charge Pocket Shield?

Within two hours. It can be charged faster when powered off.


Can I use CyberPi and Pocket Shield to participate in the Arduino competition?

Working with Pocket Shield, CyberPi supports Arduino modules and parts, but it is a new-generation open-source device designed based on China-made chips instead of Arduino hardware.

CyberPi is designed with high compatibility and can communicate with Arduino main control boards through serial ports or Bluetooth. Therefore, you can use CyberPi as an input or output part for Arduino main control boards to implement powerful and abundant AI and IoT functions in your Arduino projects.


What if the voltage of pins can’t be properly obtained?

This is caused by the errors that occur during the switching of pin modes. A new firmware version will be released in August to solve this problem. At present, you can refer to the following program to switch the pins to the correct states to ensure proper voltage output.

Tags