Reference

Last revision 2025/12/30

Learn about different power supply methods for electronic boards and how to effectively use the Zhangkong board, including motor drive and touch pad functions.

Library

Other Supplementary Information

Power Supply Methods

1. Direct Motherboard Power Supply:

This method utilizes the USB port or power socket on the motherboard to supply power.
When powered this way, you can use various expansion ports and the buzzer on the expansion board.
Due to the limited driving current of the motherboard, motor drivers cannot be used in this mode.

2. USB Port Power Supply:

Power can be supplied via a computer's USB port, a power bank, or a mobile phone charger.
The interface used is microUSB.
In this mode, all functions of the expansion board are available for use.

3. External Battery Box Power Supply:
An external PH2.0 interface is used with an input voltage range of 3.5~5V.
Either a 3-cell dry battery box with a PH2.0 interface or a 3.7V lithium battery can be used.
In this mode, all functions of the expansion board are available for use.

Zhangkong Board Usage

Insert the Zhangkong Board with the side that has the OLED screen facing the direction of the "掌控板" logo, as shown in the diagram.

  • At this point, the functions supported by the zhangkong extension board are as follows:

  • All IO ports

  • 2-channel motor drive

  • Touch Edge Connector (for zhangkong)

  • 0, 1, 2, 3V, GND Edge Connector

  • USB power supply, PH2.0 external power supply port, and power switch.

  1. In zhangkong mode, the buzzer on the extension board is not supported. When using the zhangkong board, please turn off the buzzer. At this time, the P0 port can be used normally.
  2. The touchpad’s function is based on changes in capacitance, affected by various factors like finger size, moisture, and touch pressure. You must first read the touch values to set appropriate thresholds in the program.

Was this article helpful?

TOP