Pinout

Electrical Specification

obniz IOPhysical IODrive MethodInternal Weak Pull Up/DownInternal connected
io0GPIO0Input 3.3v(default)
Output push-pull3v
Output open-drain
(fixed internal pullup)SPM1423(MIC) SCL
io26GPIO26Input 3.3v(default)
Output push-pull3v
Output open-drain
float(default)
pull-up to 3v
pull-down to 0v
io32GPIO32Input 3.3v(default)
Output push-pull3v
Output open-drain
(fixed internal pulldown)GROVE SDA
io33GPIO33Input 3.3v(default)
Output push-pull3v
Output open-drain
float(default)
pull-up to 3v
pull-down to 0v
GROVE SCL
io36GPIO36Input 3.3v(default)float(default)
pull-up to 3v
pull-down to 0v

Peripherals

PINOUT

Peripheralfunctionio0io26io32io33io36
IOoutputYESYESYESYES
inputYESYESYESYESYES
ADADYESYESYES
PWMIOYESYESYESYES
UARTTXYESYESYESYES
RXYESYESYESYES
CTSYESYESYESYES
RTSYESYESYESYES
SPICLKYESYESYESYES
MOSIYESYESYESYES
MISOYESYESYESYES
I2CSDAYESYESYESYES
SCLYESYESYESYES
LogicAnalyzerIOYESYESYESYESYES
MeasurePULSEYESYESYESYES
ECHOYESYESYESYESYES

Peripherals: IO

output

Each IO can put out digital values.

Drive method can be configured independently for each IO.
Not only for io.output(), but also for UART and SPI you can choose your preferred drive method.

input

There is only one input method. Threshold is CMOS level.

internal weak pull-up/pull-dow

Pull up and down can be configured independently for each IO.

There are three types as below.

TypePull toDetail
floating Default
pull-up3v
pull-downgnd

Some io has fixed internel pull up/down for startup configration.

all channnel same time.

All channel ad can be used. It will not affect the sampling rate.

30 samples/sec or slower

Maximum sampling rate depends on your network speed and on obnizOS version.

10mV

Ad accuracy is 10mV.(calibrated value. obnizOS 3.4.0 and later. before 3.4.0, it is 12bit accuracy and no calibration)

PWM

6(pwm0 to pwm5) are available.

UART

2 (uart0 to uart1) are available.

Available Configration

  1. baud: number (default 115200)
  2. stop: stop bit length 1(default)/1.5/2
  3. bits: data bits 8(default)/5/6/7
  4. parity: parity check “off”(default)/”odd”/”even”
  5. flowcontrol: flow control “off”(default)/”rts”/”cts”/”rts-cts”
  6. rts: io for rts (optional)
  7. cts: io for cts (optional)

SPI

2 (spi0 to spi1) are available.

Only Master mode.

I2C

1 (i2c0) is available and used for Grove connector, motion sensors(M5Stack Gray only).

Max speed is 1Mhz.
Master/Slave mode.
But slave mode only works with “written” events. You can’t set data to be read.

LogicAnalyzer

1 (logicanalyzer) is available.

Measure

1 (measure) is available.

Embeded

BLE

BLE32 embeded Bluetooth Module