# Pine64 PineNut Model-12S

> BL602 RISC-V WiFi+BLE5 stamp module with 16 castellated pads for SMT integration. Exposes 11 GPIOs with SPI, I2C, UART, SDIO, JTAG, ADC, and DAC. Features 276KB SRAM, 2MB flash, and PCB antenna. Priced from $1.99.

## Quick Facts

- **Brand:** Pine64
- **Board Type:** stamp-module
- **Price:** ~$1.99
- **Product Readiness:** developer
- **CPU:** Bouffalo Lab BL602
- **CPU Architecture:** RISC-V 32-bit
- **CPU Cores:** 1
- **RAM:** 276 KB SRAM
- **Flash:** 2 MB
- **Power:** 3.3V
- **Operating Voltage:** 3.3 V
- **Operating Temp:** -40°C to 85°C
- **Dimensions:** 16 mm × 24 mm × 3.1 mm
- **Weight:** 2 g
- **Antenna:** built-in PCB antenna
- **SD Card:** No

## Connectivity

- **Wifi:** 802.11 b/g/n
- **Bluetooth:** BLE 5.0

## Open Source

- **Status:** partially-open
- **Firmware:** Yes
- **Schematics:** Yes
- **PCB Layout:** No
- **License:** Apache-2.0

## Compatible Firmware

arduino, nuttx, freertos, rust-embedded, openbeken

## Use Cases

- iot
- smart-home
- environmental-monitoring

## Components

- **BL602** (MCU): 32-bit RISC-V WiFi+BLE5 SoC at 192MHz with 276KB SRAM, 128KB ROM, 2MB flash — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Ffiles.pine64.org%2Fdoc%2Fdatasheet%2Fpine64%2FBL602_BL604_DS_1.2_en.pdf&ref=openhardware.directory&product=pine64-pinenut-12s&source=md-export)
- **PCB Trace Antenna** (antenna): Built-in 2.4GHz PCB trace antenna for WiFi and BLE — [Datasheet](https://openhardware.directory/r?to=https%3A%2F%2Ffiles.pine64.org%2Fdoc%2Fdatasheet%2Fpine64%2FBL602_BL604_DS_1.2_en.pdf&ref=openhardware.directory&product=pine64-pinenut-12s&source=md-export)

## Protocols

- **UART0**: TX: GPIO16, RX: GPIO7
- **I2C**: SDA: GPIO3, SCL: GPIO4
- **SPI**: MOSI: GPIO17, MISO: GPIO0, SCK: GPIO11, SS: GPIO14
- **JTAG**: TDI: GPIO17, TDO: GPIO11, TMS: GPIO12, TCK: GPIO14

## GPIO Map

| Pin | Name | Type | Functions |
|-----|------|------|-----------|
| GPIO0 | SPI MISO / PWM0 / SDIO CLK | — | digital-input, digital-output, pwm, spi, sdio |
| GPIO1 | PWM1 / SDIO CMD | — | digital-input, digital-output, pwm, sdio |
| GPIO2 | PWM2 / SDIO DAT0 | — | digital-input, digital-output, pwm, sdio |
| GPIO3 | I2C SDA / PWM3 / SDIO DAT1 | — | digital-input, digital-output, pwm, i2c, sdio |
| GPIO4 | I2C SCL / ADC CH1 / PWM4 / SDIO DAT2 | — | digital-input, digital-output, pwm, adc, i2c, sdio |
| GPIO5 | ADC CH4 / SDIO DAT3 | — | digital-input, digital-output, adc, sdio |
| GPIO7 | UART0 RX | — | digital-input, digital-output, uart |
| GPIO8 | Boot mode select | — | digital-input, digital-output |
| GPIO11 | SPI SCK / ADC CH10 / JTAG TDO | — | digital-input, digital-output, adc, spi, jtag |
| GPIO12 | ADC CH0 / JTAG TMS | — | digital-input, digital-output, adc, jtag |
| GPIO14 | SPI SS / ADC CH2 / DAC B / JTAG TCK | — | digital-input, digital-output, adc, dac, spi, jtag |
| GPIO16 | UART0 TX | — | digital-input, digital-output, uart |
| GPIO17 | SPI MOSI / JTAG TDI | — | digital-input, digital-output, spi, jtag |

## Available Software

- **[BL IoT SDK](https://openhardware.directory/r?to=https%3A%2F%2Fgithub.com%2Fbouffalolab%2Fbl_iot_sdk&ref=openhardware.directory&product=pine64-pinenut-12s&source=md-export)** (SDK): Official Bouffalo Lab SDK — FreeRTOS-based C development
- **[ArduinoCore-bouffalo](https://openhardware.directory/r?to=https%3A%2F%2Fgithub.com%2Fpine64%2FArduinoCore-bouffalo&ref=openhardware.directory&product=pine64-pinenut-12s&source=md-export)** (Framework): Pine64 Arduino Core for BL602
- **[OpenBeken](https://openhardware.directory/r?to=https%3A%2F%2Fgithub.com%2Fopenshwprojects%2FOpenBK7231T_App&ref=openhardware.directory&product=pine64-pinenut-12s&source=md-export)** (Firmware): Open-source Tasmota/ESPHome alternative for BL602
- **[bl602-hal (Rust)](https://openhardware.directory/r?to=https%3A%2F%2Fgithub.com%2Fsipeed%2Fbl602-hal&ref=openhardware.directory&product=pine64-pinenut-12s&source=md-export)** (Library): Embedded Rust HAL for BL602

## Description

## Overview

The Pine64 PineNut Model-12S is a castellated stamp module based on the Bouffalo Lab BL602 RISC-V SoC, designed in the ESP-12S form factor for direct SMT soldering onto custom carrier boards. With 16 castellated pads exposing 11 GPIOs, the 12S provides significantly more I/O than its sibling the PineNut-01S, including full SPI, SDIO, JTAG, multiple ADC channels, and a DAC output.

Measuring just 16mm x 24mm x 3.1mm, the module packs WiFi 802.11 b/g/n and BLE 5.0 connectivity with an integrated PCB trace antenna. The fully multiplexable GPIO architecture of the BL602 allows each pin to be configured for UART, SPI, I2C, PWM, ADC, or JTAG via software, giving designers maximum flexibility in their PCB layouts.

The PineNut-12S is the same module used inside the PineCone BL602 evaluation board, making firmware developed on the PineCone directly compatible. Available in tape-and-reel format for production runs, the module is ideal for manufacturers building open-source IoT products on a RISC-V platform at scale. It shares the full BL602 ecosystem including the BL IoT SDK, Arduino core, NuttX, embedded Rust, and OpenBeken firmware.

## Where to Buy

- [Pine64 Store](https://openhardware.directory/r?to=https%3A%2F%2Fpine64.com%2Fproduct%2Fpinenut-model12s-wifi-ble5-stamp%2F&ref=openhardware.directory&product=pine64-pinenut-12s&source=md-export) — $1.99

## Resources

- [product](https://openhardware.directory/r?to=https%3A%2F%2Fpine64.com%2Fproduct%2Fpinenut-model12s-wifi-ble5-stamp%2F&ref=openhardware.directory&product=pine64-pinenut-12s&source=md-export)
- [github](https://openhardware.directory/r?to=https%3A%2F%2Fgithub.com%2Fpine64%2Fbl602-docs&ref=openhardware.directory&product=pine64-pinenut-12s&source=md-export)
- [wiki](https://openhardware.directory/r?to=https%3A%2F%2Fwiki.pine64.org%2Fwiki%2FPineCone&ref=openhardware.directory&product=pine64-pinenut-12s&source=md-export)
- [datasheet](https://openhardware.directory/r?to=https%3A%2F%2Ffiles.pine64.org%2Fdoc%2Fdatasheet%2Fpine64%2FBL602_BL604_DS_1.2_en.pdf&ref=openhardware.directory&product=pine64-pinenut-12s&source=md-export)

## Tags

`risc-v`, `wifi`, `ble`, `iot`, `bl602`, `pine64`, `stamp-module`

## Images

![Pine64 PineNut Model-12S](https://nbg1.your-objectstorage.com/openhardware-directory/entities/pine64-pinenut-12s/342055316403.jpg)
![Pine64 PineNut Model-12S](https://nbg1.your-objectstorage.com/openhardware-directory/entities/pine64-pinenut-12s/9d7e8e564ff0.jpg)

---
[View full device page](https://openhardware.directory/devices/pine64-pinenut-12s)