Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

STONE Control Board User Manual

Version: V1.2

1. Product Features

-MCU
- Using APM32F103C8T6
- 32-bit ARM Cortex-M3 core
- Maximum operating frequency of 96MHz
- Flash capacity of 64KB
- SRAM capacity of 20KB

-Communication port
- uart1 communication through 8pin terminal and serial screen connection, support
232 level and TTL level
- uart2 communication with external devices through the side terminals, supporting
232 level and TTL level
- uart3 communication with external devices via side terminals, supports 485 level
- can communication with external devices via side terminals
- USB communication with external devices via USB-A-2.0 port
- I2C communication is multiplexed with uart3 function and connected to external
devices through the bottom 4pin terminal
- SPI communication with two sets of IO functions multiplexed, connected to external
devices through the bottom 6pin terminal
- Debug debugging through the bottom 4pin terminal connection

-Programmable digital signal IO port


- 6 groups (2 groups are multiplexed with SPI interface) of input and output control
interfaces
- External power input VIN2 via 0-30V 2A
- Isolation by MOS tube and optocoupler
- External signal input or output is always in phase with the signal at the MCU and
with indicator

-PWM output port


- 4 PWM signal outputs that can form complementary outputs

-ADC input port


- 2 channels of voltage sampling, supporting 0-30V 500mA signal input
2. Shape and size

Top view
y

Bottom view

X:76.364mm

Y:135.128mm

Thickness:1.6mm
3. Power supply solutions

-Control board power supply


- Option 1: The power supply is fed from the VIN port with a voltage of +9 to +24. The
input voltage is then converted by the first stage DCDC circuit to output 5V to the
back stage regulator and other 5V circuits, and the regulator outputs 3.3V to the
MCU and other 3.3V circuits.

- Option 2: Power supply from the 5V port input +5 - +12V voltage can be (high
differential voltage when the heat is also high), and then the input voltage through
the regulator output 3.3V to the MCU and other 3.3V circuit.
- Option 3: The power supply can be input from the USB port with 5V, and then the
input voltage will be outputted to the MCU and other 3.3V circuits through the
voltage regulator.
-Serial screen power supply
- On the right side of the 8pin terminal by modifying the 0Rresistor or fuse to choose
to use VIN input or 5V input, soldering in the upper two pads that is VIN, soldering in
the lower two pads that is 5V.

-VIN2 power supply


- External power supply with input 0 - 30V 2A is connected through VIN2 port and GND2 port.
4. Function Description
-uart1
- MCU chip pins are PB6, PB7
- Adjust the level of uart1 by selecting solder R301, R302, R303, R304, R327, R328

The rules are as follows (1 for solder, 0 for no solder).

- TTL level communication baud rate up to 4.5Mbit/s


- RS232 level communication baud rate can support up to 250Kbit/s

uart1 is connected to external devices via 8pin terminals and is mainly used to communicate with
serial screens.
-uart2
- MCU chip pins are PA2, PA3
- Adjust the level of uart2 by selecting solder R305, R306, R307, R308, R311, R312

The rules are as follows (1 for solder, 0 for no solder).

- TTL level communication baud rate up to 4.5Mbit/s


- RS232 level communication baud rate can support up to 250Kbit/s
uart2 is connected to external devices via RXD and TXD in the side terminals

-uart3
- MCU chip pins are PB10, PB11, 485 signal direction control pin is PA10
- Switch to uart3 or I2C by selecting solder R111, R112, R109, R110

The rules are as follows (1 for solder, 0 for no solder).


- RS485 level only, with 120R matching resistor, with TVS tube to prevent surge voltage,
communication baud rate can support up to 250Kbit/s

uart3 is connected to external devices via 485A and 485B in the side terminals
-CAN
- MCU chip pins are PB8, PB9
- Communication baud rate can support up to 1Mbit/s
- With 120R matching resistor, with TVS tube to prevent surge voltage

CAN is connected to external devices via CANH and CANL in the side terminals

-USB
- MCU chip pins are PA11, PA12
-USB_P with 1.5K pull-up resistor

USB communication via top USB-A 2.0 female header


-SPI
- MCU chip pins are PA15, PB3, PB4, PB5
- Switch between using SPI or digital input and output signals by selecting solder
R113, R114, R1115, R116, R117, R118, R119, R120

The rules are as follows (1 for solder, 0 for no solder).

-I2C
- MCU chip pins are PB10, PB11
-Multiplexed with uart3, modify the rules refer to uart3 function introduction.

-DIGITAL OUT
- MCU chip pins are PB12, PB13, PB14, PB15, PB3 (multiplexed), PA15 (multiplexed)
-Digital signal output for programmable control
-with electrostatic protection
-First of all, power supply 2 will be connected to VIN2 port and GND2 port, (version
1.2 needs GND to connect to GND2) and then freely control the output level of OUT1,
OUT2, OUT3, OUT4, OUT5, OUT6 through software programming, when MCU control
pin output high level when the led light on the same road, while OUT output high
level equal to VIN2, when MCU control pin output low level, the led lights off, while
OUT output low level equal to GND2

-MCU control pins correspond to the output ports as follows.

-DIGITAL IN
- MCU chip pins are PA4, PA5, PA6, PB1, PB4 (multiplexed), PB5 (multiplexed)
-Digital signal input for programmable control
-First, connect power supply 2 to VIN2 port and GND2 port, then read the input
levels of IN1, IN2, IN3, IN4, IN5, IN6 through software programming (if there is no
access to power supply 2 all digital input pins corresponding to the MCU terminal
pins default to pull-up, when access to power supply 2 MCU terminal pins default to
pull-down), when IN input high level, the led on the same road When IN input is high,
the leds on the same road will light up, and the MCU pins on the same road will pull
up, when IN input is low, the leds on the same road will go out, and the MCU pins on
the same road will pull down.

-The input ports correspond to the MCU input pins as follows.


-PWM
- MCU chip pins are PA8, PA9, PA7, PB0
-PWM waveform signal can be output directly through MCU chip

Correspondence is shown on the back of the board.


-ADC
- MCU chip pins are PA0, PA1

The correspondence is as follows.

-User keys
-MCU chip pinout is PC13
-Pin grounded when pressed, pin connected to 3.3V when released
-Voltage test points
-The first group is located at the top left of the user keys, with the following
reference values.

The second group is located at the bottom left of the restart button with the following reference
values.

You might also like