Electrical Specification
obniz IO | Physical IO | Drive Method | Internal Weak Pull Up/Down | Internal connected |
---|---|---|---|---|
io0 | GPIO0 | Input 3.3v(default) Output push-pull3v Output open-drain | (fixed internal pullup) | SPM1423(MIC) SCL |
io26 | GPIO26 | Input 3.3v(default) Output push-pull3v Output open-drain | float(default) pull-up to 3v pull-down to 0v | |
io32 | GPIO32 | Input 3.3v(default) Output push-pull3v Output open-drain | (fixed internal pulldown) | GROVE SDA |
io33 | GPIO33 | Input 3.3v(default) Output push-pull3v Output open-drain | float(default) pull-up to 3v pull-down to 0v | GROVE SCL |
io36 | GPIO36 | Input 3.3v(default) | float(default) pull-up to 3v pull-down to 0v |
Peripherals
PINOUT
Peripheral | function | io0 | io26 | io32 | io33 | io36 |
---|---|---|---|---|---|---|
IO | output | YES | YES | YES | YES | – |
| input | YES | YES | YES | YES | YES |
AD | AD | – | – | YES | YES | YES |
PWM | IO | YES | YES | YES | YES | – |
UART | TX | YES | YES | YES | YES | – |
| RX | YES | YES | YES | YES | – |
| CTS | YES | YES | YES | YES | – |
| RTS | YES | YES | YES | YES | – |
SPI | CLK | YES | YES | YES | YES | – |
| MOSI | YES | YES | YES | YES | – |
| MISO | YES | YES | YES | YES | – |
I2C | SDA | YES | YES | YES | YES | – |
| SCL | YES | YES | YES | YES | – |
LogicAnalyzer | IO | YES | YES | YES | YES | YES |
Measure | PULSE | YES | YES | YES | YES | – |
| ECHO | YES | YES | YES | YES | YES |
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.
Type | Pull to | Detail |
---|---|---|
floating | Default | |
pull-up | 3v | |
pull-down | gnd | |
Some io has fixed internel pull up/down for startup configration.
AD
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
- baud: number (default 115200)
- stop: stop bit length 1(default)/1.5/2
- bits: data bits 8(default)/5/6/7
- parity: parity check “off”(default)/”odd”/”even”
- flowcontrol: flow control “off”(default)/”rts”/”cts”/”rts-cts”
- rts: io for rts (optional)
- 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