Cirkit Designer Logo
Cirkit Designer
Your all-in-one circuit design IDE
Home / 
Component Documentation

How to Use MKE-S13: Examples, Pinouts, and Specs

Image of MKE-S13
Cirkit Designer LogoDesign with MKE-S13 in Cirkit Designer

Introduction

The MKE-S13 is a compact, high-performance microcontroller developed by MakerLab. It is designed for embedded applications, offering low power consumption and a variety of integrated peripherals to enable efficient control and communication. The MKE-S13 is ideal for projects requiring precise control, data processing, and connectivity in a small form factor.

Explore Projects Built with MKE-S13

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
MakerEdu Creator with Bluetooth, IR Sensors, LCD Display, and Push Button Interaction
Image of MKL Distance Measurement: A project utilizing MKE-S13 in a practical application
This circuit features a MakerEdu Creator microcontroller board interfaced with two MKE-S11 IR Infrared Obstacle Avoidance Sensors, a MKE-M02 Push Button Tact Switch, a MKE-M15 Bluetooth module, and a MKE-M08 LCD2004 I2C display module. The push button is connected to a digital input for user interaction, while the IR sensors are likely used for detecting obstacles. The Bluetooth module enables wireless communication, and the LCD display provides a user interface for displaying information or statuses.
Cirkit Designer LogoOpen Project in Cirkit Designer
NFC-Enabled Access Control System with Time Logging
Image of doorlock: A project utilizing MKE-S13 in a practical application
This circuit is designed for access control with time tracking capabilities. It features an NFC/RFID reader for authentication, an RTC module (DS3231) for real-time clock functionality, and an OLED display for user interaction. A 12V relay controls a magnetic lock, which is activated upon successful NFC/RFID authentication, and a button switch is likely used for manual operation or input. The T8_S3 microcontroller serves as the central processing unit, interfacing with the NFC/RFID reader, RTC, OLED, and relay to manage the access control logic.
Cirkit Designer LogoOpen Project in Cirkit Designer
ESP32-Based Ultrasonic Distance Measurement with LED Indicators
Image of TrafficLITE-SIMULATOR: A project utilizing MKE-S13 in a practical application
This circuit features an ESP32 microcontroller connected to two MKE-S01 ultrasonic distance sensors and four LEDs (two red, two green). The ESP32's GPIO pins are used to trigger the ultrasonic sensors and to receive echo signals, which allows it to measure distances. Additionally, the GPIO pins control the LEDs, which could be used to indicate status or distance thresholds.
Cirkit Designer LogoOpen Project in Cirkit Designer
NFC-Enabled Access Control System with Real-Time Clock and OLED Display
Image of doorlock: A project utilizing MKE-S13 in a practical application
This circuit is designed as an access control system with time-tracking capabilities. It uses an NFC/RFID reader for authentication, a real-time clock for time-stamping events, and an OLED display for user interface, all controlled by a T8_S3 microcontroller. A relay module actuates a magnetic lock, and a button switch provides additional user input, with a switching power supply delivering the necessary voltages.
Cirkit Designer LogoOpen Project in Cirkit Designer

Explore Projects Built with MKE-S13

Use Cirkit Designer to design, explore, and prototype these projects online. Some projects support real-time simulation. Click "Open Project" to start designing instantly!
Image of MKL Distance Measurement: A project utilizing MKE-S13 in a practical application
MakerEdu Creator with Bluetooth, IR Sensors, LCD Display, and Push Button Interaction
This circuit features a MakerEdu Creator microcontroller board interfaced with two MKE-S11 IR Infrared Obstacle Avoidance Sensors, a MKE-M02 Push Button Tact Switch, a MKE-M15 Bluetooth module, and a MKE-M08 LCD2004 I2C display module. The push button is connected to a digital input for user interaction, while the IR sensors are likely used for detecting obstacles. The Bluetooth module enables wireless communication, and the LCD display provides a user interface for displaying information or statuses.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of doorlock: A project utilizing MKE-S13 in a practical application
NFC-Enabled Access Control System with Time Logging
This circuit is designed for access control with time tracking capabilities. It features an NFC/RFID reader for authentication, an RTC module (DS3231) for real-time clock functionality, and an OLED display for user interaction. A 12V relay controls a magnetic lock, which is activated upon successful NFC/RFID authentication, and a button switch is likely used for manual operation or input. The T8_S3 microcontroller serves as the central processing unit, interfacing with the NFC/RFID reader, RTC, OLED, and relay to manage the access control logic.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of TrafficLITE-SIMULATOR: A project utilizing MKE-S13 in a practical application
ESP32-Based Ultrasonic Distance Measurement with LED Indicators
This circuit features an ESP32 microcontroller connected to two MKE-S01 ultrasonic distance sensors and four LEDs (two red, two green). The ESP32's GPIO pins are used to trigger the ultrasonic sensors and to receive echo signals, which allows it to measure distances. Additionally, the GPIO pins control the LEDs, which could be used to indicate status or distance thresholds.
Cirkit Designer LogoOpen Project in Cirkit Designer
Image of doorlock: A project utilizing MKE-S13 in a practical application
NFC-Enabled Access Control System with Real-Time Clock and OLED Display
This circuit is designed as an access control system with time-tracking capabilities. It uses an NFC/RFID reader for authentication, a real-time clock for time-stamping events, and an OLED display for user interface, all controlled by a T8_S3 microcontroller. A relay module actuates a magnetic lock, and a button switch provides additional user input, with a switching power supply delivering the necessary voltages.
Cirkit Designer LogoOpen Project in Cirkit Designer

Common Applications and Use Cases

  • IoT devices and smart home systems
  • Industrial automation and control systems
  • Wearable electronics
  • Robotics and motor control
  • Data acquisition and sensor interfacing
  • Low-power portable devices

Technical Specifications

The MKE-S13 microcontroller is built to deliver reliable performance while maintaining energy efficiency. Below are its key technical specifications:

Parameter Specification
Processor Core ARM Cortex-M4, 32-bit
Operating Frequency Up to 72 MHz
Flash Memory 128 KB
SRAM 32 KB
GPIO Pins 24 configurable pins
Communication Interfaces UART, SPI, I2C, CAN
ADC Resolution 12-bit, 8 channels
PWM Channels 6
Operating Voltage 1.8V to 3.6V
Power Consumption 5 µA in standby mode
Package Type QFN-32
Temperature Range -40°C to +85°C

Pin Configuration and Descriptions

The MKE-S13 features a 32-pin QFN package. Below is the pin configuration and description:

Pin Number Pin Name Function Description
1 VDD Power Supply Positive power supply (1.8V to 3.6V)
2 GND Ground Ground connection
3 PA0 GPIO/ADC Channel 0 General-purpose I/O or ADC input
4 PA1 GPIO/ADC Channel 1 General-purpose I/O or ADC input
5 PA2 GPIO/UART TX General-purpose I/O or UART transmit
6 PA3 GPIO/UART RX General-purpose I/O or UART receive
7 PB0 GPIO/PWM Channel 0 General-purpose I/O or PWM output
8 PB1 GPIO/PWM Channel 1 General-purpose I/O or PWM output
9 PB2 GPIO/SPI SCK General-purpose I/O or SPI clock
10 PB3 GPIO/SPI MISO General-purpose I/O or SPI data input
11 PB4 GPIO/SPI MOSI General-purpose I/O or SPI data output
12 PB5 GPIO/I2C SCL General-purpose I/O or I2C clock
13 PB6 GPIO/I2C SDA General-purpose I/O or I2C data
14-31 PC0-PC17 GPIO General-purpose I/O pins
32 NRST Reset Active-low reset input

Usage Instructions

The MKE-S13 microcontroller is versatile and can be used in a wide range of applications. Below are the steps and best practices for using the component in a circuit:

How to Use the MKE-S13 in a Circuit

  1. Power Supply: Connect the VDD pin to a stable power source (1.8V to 3.6V) and the GND pin to ground.
  2. Reset: Use the NRST pin to reset the microcontroller. This pin should be pulled high during normal operation.
  3. GPIO Configuration: Configure the GPIO pins as input or output based on your application. Unused pins should be left floating or pulled to ground through a resistor.
  4. Communication Interfaces:
    • Use UART for serial communication with external devices.
    • Use SPI or I2C for interfacing with sensors, displays, or other peripherals.
  5. ADC and PWM: Utilize the ADC channels for analog signal acquisition and the PWM channels for motor control or signal generation.
  6. Programming: Program the microcontroller using an appropriate development environment (e.g., Keil, STM32CubeIDE) and a compatible programmer/debugger.

Important Considerations and Best Practices

  • Decoupling Capacitors: Place a 0.1 µF ceramic capacitor close to the VDD pin to filter out noise.
  • Clock Source: Use the internal oscillator or connect an external crystal oscillator for precise timing.
  • Low Power Mode: Leverage the standby mode to reduce power consumption in battery-powered applications.
  • Pin Protection: Avoid exceeding the voltage and current ratings of the pins to prevent damage.
  • Debugging: Use the SWD (Serial Wire Debug) interface for debugging and firmware updates.

Example: Connecting the MKE-S13 to an Arduino UNO

The MKE-S13 can communicate with an Arduino UNO via UART. Below is an example Arduino sketch to send data to the MKE-S13:

// Example: Sending data from Arduino UNO to MKE-S13 via UART

void setup() {
  Serial.begin(9600); // Initialize UART communication at 9600 baud rate
}

void loop() {
  Serial.println("Hello, MKE-S13!"); // Send a message to the MKE-S13
  delay(1000); // Wait for 1 second before sending the next message
}

Troubleshooting and FAQs

Common Issues and Solutions

  1. Microcontroller Not Powering On

    • Cause: Incorrect power supply voltage or missing decoupling capacitor.
    • Solution: Ensure the VDD pin is supplied with 1.8V to 3.6V and add a 0.1 µF capacitor near the pin.
  2. Communication Failure

    • Cause: Incorrect baud rate or wiring.
    • Solution: Verify the baud rate settings and ensure proper connections for UART, SPI, or I2C.
  3. ADC Not Reading Correctly

    • Cause: Noise or incorrect reference voltage.
    • Solution: Use a stable reference voltage and add filtering capacitors to the ADC input.
  4. Microcontroller Not Responding

    • Cause: Firmware issue or improper reset.
    • Solution: Reprogram the microcontroller and ensure the NRST pin is functioning correctly.

FAQs

  • Q: Can the MKE-S13 operate at 5V?
    A: No, the MKE-S13 operates within a voltage range of 1.8V to 3.6V. Exceeding this range may damage the component.

  • Q: Does the MKE-S13 support external interrupts?
    A: Yes, the GPIO pins can be configured to trigger external interrupts.

  • Q: What is the maximum clock frequency of the MKE-S13?
    A: The MKE-S13 can operate at a maximum clock frequency of 72 MHz.

  • Q: How can I reduce power consumption?
    A: Use the standby mode and disable unused peripherals to minimize power consumption.

This concludes the documentation for the MKE-S13 microcontroller. For further assistance, refer to the official MakerLab datasheet or contact technical support.