From 8e1f40feed15df3ec41c15c15316794c7ad90c3c Mon Sep 17 00:00:00 2001 From: q404365631 <398291278@qq.com> Date: Mon, 1 Jun 2026 00:06:32 +0800 Subject: [PATCH] feat: add SparkFun MicroMod M.2 connector tutorial (#677) --- .../sparkfun-micromod-m2-connector.mdx | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 docs/tutorials/sparkfun-micromod-m2-connector.mdx diff --git a/docs/tutorials/sparkfun-micromod-m2-connector.mdx b/docs/tutorials/sparkfun-micromod-m2-connector.mdx new file mode 100644 index 00000000..29a091e4 --- /dev/null +++ b/docs/tutorials/sparkfun-micromod-m2-connector.mdx @@ -0,0 +1,91 @@ +--- +title: SparkFun MicroMod M.2 Connector Tutorial +description: >- + Learn how to use the SparkFun MicroMod M.2 connector standard with tscircuit + to design carrier boards for processor and function modules. +--- + +import CircuitPreview from '@site/src/components/CircuitPreview'; +import { TscircuitIframe } from "../../src/components/TscircuitIframe" + +## Overview + +The [SparkFun MicroMod](https://www.sparkfun.com/micromod) ecosystem uses an M.2 +edge connector to pair processor boards with function boards (carrier boards). This +tutorial shows how to design a MicroMod carrier board using tscircuit. + +## The MicroMod M.2 Connector + +The MicroMod connector is a standard M.2 Key M edge connector with 75 pins. + +### Key Pin Groups + +| Pin Group | Pins | Description | +|-----------|------|-------------| +| Power | 3.3V, V_USB | Power supply pins | +| I2C | SDA, SCL | I2C bus (Qwiic compatible) | +| SPI | COPI, CIPO, SCK, CS | SPI bus | +| UART | TX, RX | Serial communication | +| ADC | A0-A5 | Analog inputs | +| GPIO | D0-D5 | Digital I/O | + +## Basic M.2 Connector Setup + + ( + + + +`} +/> + +## Carrier Board with I2C Sensor + + ( + + + + + + +`} +/> + +## Carrier Board with Status LED + + ( + + + + + +`} +/> + +## MicroMod Pin Reference + +| Pin | Name | Description | +|-----|------|-------------| +| 1 | 3.3V | 3.3V regulated output | +| 2 | V_USB | USB VBUS (5V) | +| 3 | GND | Ground | +| 4 | SDA | I2C Data | +| 5 | SCL | I2C Clock | +| 6 | D0 | GPIO / PWM0 | +| 7 | D1 | GPIO / PWM1 | +| 8 | A0 | Analog Input | + +## References + +- [MicroMod Pin Descriptions](https://cdn.sparkfun.com/assets/learn_tutorials/1/2/0/6/SparkFun_MicroMod_Interface_v1.0_-_Pin_Descriptions.pdf) +- [MicroMod Pinout](https://cdn.sparkfun.com/assets/learn_tutorials/1/2/0/6/SparkFun_MicroMod_Interface_v1.0_-_Pinout.pdf) +- [Getting Started with MicroMod](https://learn.sparkfun.com/tutorials/getting-started-with-micromod)