PinOut

Electrical Specification

obniz IOPhysical IODrive MethodInternal Weak Pull Up/Down
io0io0Input 3.3v(5v tolerant)(default)
Output push-pull5v(1A mode)
Output push-pull3v
Output open-drain
float(default)
pull-up to 5v
pull-up to 3v
pull-down to 0v
io1io1Input 3.3v(5v tolerant)(default)
Output push-pull5v(1A mode)
Output push-pull3v
Output open-drain
float(default)
pull-up to 5v
pull-up to 3v
pull-down to 0v
io2io2Input 3.3v(5v tolerant)(default)
Output push-pull5v(1A mode)
Output push-pull3v
Output open-drain
float(default)
pull-up to 5v
pull-up to 3v
pull-down to 0v
io3io3Input 3.3v(5v tolerant)(default)
Output push-pull5v(1A mode)
Output push-pull3v
Output open-drain
float(default)
pull-up to 5v
pull-up to 3v
pull-down to 0v
io4io4Input 3.3v(5v tolerant)(default)
Output push-pull5v(1A mode)
Output push-pull3v
Output open-drain
float(default)
pull-up to 5v
pull-up to 3v
pull-down to 0v
io5io5Input 3.3v(5v tolerant)(default)
Output push-pull5v(1A mode)
Output push-pull3v
Output open-drain
float(default)
pull-up to 5v
pull-up to 3v
pull-down to 0v
io6io6Input 3.3v(5v tolerant)(default)
Output push-pull5v(1A mode)
Output push-pull3v
Output open-drain
float(default)
pull-up to 5v
pull-up to 3v
pull-down to 0v
io7io7Input 3.3v(5v tolerant)(default)
Output push-pull5v(1A mode)
Output push-pull3v
Output open-drain
float(default)
pull-up to 5v
pull-up to 3v
pull-down to 0v
io8io8Input 3.3v(5v tolerant)(default)
Output push-pull5v(1A mode)
Output push-pull3v
Output open-drain
float(default)
pull-up to 5v
pull-up to 3v
pull-down to 0v
io9io9Input 3.3v(5v tolerant)(default)
Output push-pull5v(1A mode)
Output push-pull3v
Output open-drain
float(default)
pull-up to 5v
pull-up to 3v
pull-down to 0v
io10io10Input 3.3v(5v tolerant)(default)
Output push-pull5v(1A mode)
Output push-pull3v
Output open-drain
float(default)
pull-up to 5v
pull-up to 3v
pull-down to 0v
io11io11Input 3.3v(5v tolerant)(default)
Output push-pull5v(1A mode)
Output push-pull3v
Output open-drain
float(default)
pull-up to 5v
pull-up to 3v
pull-down to 0v

Peripherals

PINOUT

Peripheralfunctionio0io1io2io3io4io5io6io7io8io9io10io11
IOoutputYESYESYESYESYESYESYESYESYESYESYESYES
inputYESYESYESYESYESYESYESYESYESYESYESYES
ADADYESYESYESYESYESYESYESYESYESYESYESYES
PWMIOYESYESYESYESYESYESYESYESYESYESYESYES
UARTTXYESYESYESYESYESYESYESYESYESYESYESYES
RXYESYESYESYESYESYESYESYESYESYESYESYES
CTSYESYESYESYESYESYESYESYESYESYESYESYES
RTSYESYESYESYESYESYESYESYESYESYESYESYES
SPICLKYESYESYESYESYESYESYESYESYESYESYESYES
MOSIYESYESYESYESYESYESYESYESYESYESYESYES
MISOYESYESYESYESYESYESYESYESYESYESYESYES
I2CSDAYESYESYESYESYESYESYESYESYESYESYESYES
SCLYESYESYESYESYESYESYESYESYESYESYESYES
LogicAnalyzerIOYESYESYESYESYESYESYESYESYESYESYESYES
MeasurePULSEYESYESYESYESYESYESYESYESYESYESYESYES
ECHOYESYESYESYESYESYESYESYESYESYESYESYES

Peripherals: IO

output

Each IO can put out digital values.

Drive methods can be selected from the three below.

TypeVoltagemax Amax FreqDetails
push-pull5v (vcc)<=1A<=250khz(recommend)Default. Overcurrent protection
push-pull3v<=1mA(recommend)<=80Mhzover current detection when using io.output().
open-drain<=vcc<=1mA(recommend)<=80Mhz

Each 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.

3v input with 5v tolerant, so the threshold value is CMOS level.

TypeLevelmax FreqDetail
digital-in3v(5v tolerant)<=80Mhz
internal weak pull-up/pull-dow

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

There are four types as below.

TypePull toDetail
floating Default
pull-up5v(vcc)
pull-up3v
pull-downgnd
12ch same time.

All 12ch 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 obniz Board firmware version.(with ver1.0.0, max is 30samples/sec)

10bit – VDD calibrated

ad also monitors vdd of obniz Board itself(normally 5v). Each ad result will be calibrated. And ad accuracy is 10bit.

Calibration method is depend on firmware version.

Firmware versioncalibration method
under 1.2Always
1.2 or higherOnly Vdd is under 4.5v
ad can be started even io is used for io-output/uart/spi etc

ad converter is independent. It also works while IO is used for another function.

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.

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

Display

128×64 mono pixel OLED display.

Switch

4 State Digital Switch

BLE

BLE32 embeded Bluetooth Module