Last Updated on : 2024-10-15 09:26:15download
The Tuya Sandwich Bluetooth SoC has BK3432 chip as a microcontroller, which is designed to help you easily prototype your IoT ideas. It can work with functional boards or circuit boards to implement specific features.
This development board applies to a wide range of prototypes implemented with Tuya’s no-code solutions, such as sockets, power strips, and switches.
Develop with the board to build your IoT projects easily and fast.
You can use this board for different development purposes.
The development board uses the cost-effective Bluetooth chip BK3432 from Beken Corporation. It has on-board buttons, GPIOs, BK3432 programmer, and a USB-to-serial chip.
Pin description
No. | Pin name | Description |
---|---|---|
1 | NC | Leave it floating. |
2 | NC | Leave it floating. |
3 | NC | Leave it floating. |
4 | 3.3V | 3.3V power pin. |
5 | 5V | 5V power pin. |
6 | GND | Ground pin. |
7 | GND | Ground pin. |
8 | 12V | 12V power pin. Leave this pin floating because the board does not have a DC power jack (DC-005). |
9 | P31 | GPIOP_31 on BK3432, which can be reused as the ADC channel 1. |
10 | P32 | GPIOP_32 on BK3432, which can be reused as the ADC channel 2. |
11 | P35 | GPIOP_35 on BK3432, which can be reused as the ADC channel 5. |
12 | P34 | GPIOP_34 on BK3432, which can be reused as the ADC channel 4. |
13 | P33 | GPIOP_33 on BK3432, which can be reused as the ADC channel 3. |
14 | NC | Leave it floating. |
15 | P17 | GPIOP_17 on BK3432, which can be reused as the UART2_RX . |
16 | P16 | GPIOP_16 on BK3432, which can be reused as the UART2_TX . |
17 | P14 | GPIOP_14 on BK3432, which can be reused as the PWM4. |
18 | P12 | GPIOP_12 on BK3432, which can be reused as the PWM2. |
19 | P13 | GPIOP_13 on BK3432, which can be reused as the PWM3. |
20 | P11 | GPIOP_11 on BK3432, which can be reused as the PWM1. |
21 | P10 | GPIOP_10 on BK3432, which can be reused as the PWM0. |
22 | NC | Leave it floating. |
23 | P01 | GPIOP_01 on BK3432, which can be reused as the UART1_RX . |
24 | P00 | GPIOP_00 on BK3432, which can be reused as the UART1_TX . |
25 | P07 | GPIOP_07 on BK3432, which can be reused as the SPI NSS. |
26 | P05 | GPIOP_05 on BK3432, which can be reused as the SPI MOSI. |
27 | P06 | GPIOP_06 on BK3432, which can be reused as the SPI MISO. |
28 | P04 | GPIOP_04 on BK3432, which can be reused as the SPI CLK. |
29 | GND | Ground pin. |
30 | NC | Leave it floating. |
31 | P03 | GPIOP_03 on BK3432, which can be reused as the I2C SCL. |
32 | P02 | GPIOP_02 on BK3432, which can be reused as the I2C SCL. |
When micro-USB (CN1) inputs 5V DC voltage, the board can supply power to external components.
Power pin | Rated voltage/current |
---|---|
VIN | Depends on the input current of the adapter connected to the micro-USB (CN1) terminal. |
3.3V | 3.3V/0.6A |
Characteristics of the output voltage of VDD
Characteristics of output voltage
Output current | 0A | 0.15A | 0.3A | 0.45A | 0.6A | 0.75A |
---|---|---|---|---|---|---|
Output voltage | 3.34V | 3.36V | 3.37V | 3.37V | 3.38V | 3.38V |
Note: We tested the voltage under the condition that there is no output voltage on the micro-USB (CN1) terminal.
The schematic diagram of the board:
The PCB board:
The board has a built-in USB-to-serial chip. The single-channel USB port can provide two extended serial ports. You can flip the DIP switch (S1) to enable the 2-channel serial port on the BK3432 to connect to the USB-to-serial chip. The following table lists the pin definition of the DIP switch.
No. | 1 | 2 | 3 | 4 |
---|---|---|---|---|
Pins on BK3432 | UART2_TX | UART2_RX | UART1_TX | UART1_RX |
UART ports on the board | USB-RXD0 | USB-TXD0 | USB-RXD1 | USB-TXD1 |
Note: Flip the toggle to the ON position to complete the circuit.
The COM ports map to the UART ports as follows.
No. | 1 | 2 |
---|---|---|
COM ports on the computer | SERIAL-A(COM23) | SERIAL-B(COM22) |
UART ports on the board | USB-UART0 | USB-UART1 |
Note: The COM port number varies depending on computers so we use
SERIAL-A
andSERIAL-B
to indicate the two COM ports.
WP
pin and GND
pin on the P4 pin header using a jumper wire to enable flashing mode.
Note: If you do not have a jumper wire, before firmware flashing starts, press and hold the button S4 until the flashing is completed.
1
, 2
, 3
, and 4
to release the UART resources.1
, 2
, 3
, and 4
to release the SPI resources.Complete the connection for NORMAL mode, as shown in the picture above. Then, you can proceed with the following steps.
Flip the DIP switch (S1) toggle 3
and 4
to the ON position. Connect the UART1 to the USB-to-serial chip. Therefore, P00 and P01 are used for UART communication and cannot be connected to other peripherals.
Complete the connection for NORMAL mode, as shown in the picture above. Then, you can proceed with the following steps.
Flip the DIP switch (S1) toggle 1
and 2
to the ON position. Connect the UART2 to the USB-to-serial chip. Therefore, P16 and P17 are used for UART communication and cannot be connected to other peripherals.
Download the USB-to-serial chip driver for your operating system.
Is this page helpful?
YesFeedbackIs this page helpful?
YesFeedback