

                
<h2 id="electrical-specification">Electrical Specification<a class="anchorjs-link " href="#electrical-specification" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h2>



<figure class="wp-block-table table-default"><table><thead><tr><th>obniz IO</th><th>Physical IO</th><th>Drive Method</th><th>Internal Weak Pull Up/Down</th><th>Internal connected</th></tr></thead><tbody><tr><td>io0</td><td>GPIO0</td><td>Input 3.3v(default)<br>Output push-pull3v<br>Output open-drain</td><td>(fixed internal pullup)</td><td>SPM1423(MIC) SCL</td></tr><tr><td>io26</td><td>GPIO26</td><td>Input 3.3v(default)<br>Output push-pull3v<br>Output open-drain</td><td>float(default)<br>pull-up to 3v<br>pull-down to 0v</td><td></td></tr><tr><td>io32</td><td>GPIO32</td><td>Input 3.3v(default)<br>Output push-pull3v<br>Output open-drain</td><td>(fixed internal pulldown)</td><td>GROVE SDA</td></tr><tr><td>io33</td><td>GPIO33</td><td>Input 3.3v(default)<br>Output push-pull3v<br>Output open-drain</td><td>float(default)<br>pull-up to 3v<br>pull-down to 0v</td><td>GROVE SCL</td></tr><tr><td>io36</td><td>GPIO36</td><td>Input 3.3v(default)</td><td>float(default)<br>pull-up to 3v<br>pull-down to 0v</td><td></td></tr></tbody></table></figure>



<h2 id="peripherals">Peripherals<a class="anchorjs-link " href="#peripherals" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h2>



<h3 id="pinout">PINOUT<a class="anchorjs-link " href="#pinout" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h3>



<figure class="wp-block-table"><table><thead><tr><th>Peripheral</th><th>function</th><th>io0</th><th>io26</th><th>io32</th><th>io33</th><th>io36</th></tr></thead><tbody><tr><td>IO</td><td>output</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>–</td></tr><tr><td>﻿</td><td>input</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td></tr><tr><td>AD</td><td>AD</td><td>–</td><td>–</td><td>YES</td><td>YES</td><td>YES</td></tr><tr><td>PWM</td><td>IO</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>–</td></tr><tr><td>UART</td><td>TX</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>–</td></tr><tr><td>﻿</td><td>RX</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>–</td></tr><tr><td>﻿</td><td>CTS</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>–</td></tr><tr><td>﻿</td><td>RTS</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>–</td></tr><tr><td>SPI</td><td>CLK</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>–</td></tr><tr><td>﻿</td><td>MOSI</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>–</td></tr><tr><td>﻿</td><td>MISO</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>–</td></tr><tr><td>I2C</td><td>SDA</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>–</td></tr><tr><td>﻿</td><td>SCL</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>–</td></tr><tr><td>LogicAnalyzer</td><td>IO</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td></tr><tr><td>Measure</td><td>PULSE</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>–</td></tr><tr><td>﻿</td><td>ECHO</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td><td>YES</td></tr></tbody></table></figure>



<h3 id="peripherals-io">Peripherals: IO<a class="anchorjs-link " href="#peripherals-io" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h3>



<h5>output</h5>



<p>Each IO can put out digital values.</p>



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



<h5>input</h5>



<p>There is only one input method. Threshold is CMOS level.</p>



<h5>internal weak pull-up/pull-dow</h5>



<p>Pull up and down can be configured independently for each IO.</p>



<p>There are three types as below.</p>



<figure class="wp-block-table"><table><thead><tr><th>Type</th><th>Pull to</th><th>Detail</th></tr></thead><tbody><tr><td>floating</td><td>&nbsp;</td><td>Default</td></tr><tr><td>pull-up</td><td><code>3v</code></td><td>﻿</td></tr><tr><td>pull-down</td><td><code>gnd</code></td><td>﻿</td></tr></tbody></table></figure>



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



<h3 id="ad">AD<a class="anchorjs-link " href="#ad" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h3>



<h5>all channnel same time.</h5>



<p>All channel ad can be used. It will not affect the sampling rate.</p>



<h5>30 samples/sec or slower</h5>



<p>Maximum sampling rate depends on your network speed and on obnizOS version.</p>



<h5>10mV</h5>



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



<h3 id="pwm">PWM<a class="anchorjs-link " href="#pwm" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h3>



<p>6(pwm0 to pwm5) are available.</p>



<h3 id="uart">UART<a class="anchorjs-link " href="#uart" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h3>



<p>2 (uart0 to uart1) are available.</p>



<p>Available Configration</p>



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



<h3 id="spi">SPI<a class="anchorjs-link " href="#spi" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h3>



<p>2 (spi0 to spi1) are available.</p>



<p>Only Master mode.</p>



<h3 id="i2c">I2C<a class="anchorjs-link " href="#i2c" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h3>



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



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



<h3 id="logicanalyzer">LogicAnalyzer<a class="anchorjs-link " href="#logicanalyzer" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h3>



<p>1 (logicanalyzer) is available.</p>



<h3 id="measure">Measure<a class="anchorjs-link " href="#measure" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h3>



<p>1 (measure) is available.</p>



<h2 id="embeded">Embeded<a class="anchorjs-link " href="#embeded" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h2>



<h3 id="ble">BLE<a class="anchorjs-link " href="#ble" aria-label="Anchor" data-anchorjs-icon="#" style="padding-left: 0.375em;"></a></h3>



<p>BLE32 embeded Bluetooth Module</p>
