OM-O2 / OM-O2P
Onion Omega2 IoT modules
Data Sheet
Version 1.2
Omega2 Datasheet
Table of Contents
1. Overview
1.1 Key Features
1.2 Variants
1.3 Differences from Omega2S Module
1.4 Block Diagram
4
6
7
7
8
2. Features
2.1 CPU
2.2 Memory
2.3 Flash
2.4 WiFi
2.4.1 Antenna
2.5 Interfaces
2.5.1 USB
2.5.2 SPI
2.5.3 I2C
2.5.4 I2S
2.5.4.1 Features
2.5.5 SDIO/eMMC
2.5.6 Ethernet
2.5.7 UART
2.5.7.1 Features
2.5.8 PWM
2.5.9 GPIO
9
9
9
9
9
9
9
9
10
10
10
10
10
10
11
11
11
11
3. Pin Definition
3.1 Pin Assignment
3.2 Special Pins
3.2.1 - System Boot Pins
3.2.2 - SPI Pins
3.2.3 - Reset Pins
3.2.4 - Power Supply Pins
12
12
14
14
15
15
16
4. Electrical Specifications
4.1 Absolute Maximum Ratings
4.2 Operating Conditions
4.3 Power Consumption
17
17
17
18
5. Mechanical Specifications
19
OM-O2 | OM-O2P
Page 2 of 21
Omega2 Datasheet
5.1 Mechanical Drawing
5.2 Packaging Details
6. Additional Resources
6.1 Omega2 Online Documentation
6.2 More Resources
7. Datasheet Revision History
OM-O2 | OM-O2P
19
19
20
20
20
21
Page 3 of 21
Omega2 Datasheet
1. Overview
The Onion Omega2 is a Wi-Fi enabled, Linux-based development module, designed
specifically for IoT applications. It provides a drop-in, low-power solution ideal for prototyping
and building IoT hubs and devices.
It features a MIPS 24KEc processor running at 580 MHz, built-in DDR2 DRAM, flash storage,
and a 2.4 GHz 802.11b/g/n Wi-Fi radio. It supports a wide variety of I/O protocols, with
dedicated pins for USB 2.0 and ethernet, and 18 pins available to the developer. The module is
self-contained and only requires a power supply to operate.
Measuring 42.9x26.4x9.9 mm, the Omega2 is a very small, self-contained, plug and play
computing and connectivity device. It is a through-hole device, featuring 32 pins at a 2mm
pitch. For prototyping and proof-of-concept work, it can be plugged into any of the Onion
Omega2 Docks that provide ports, serial command line access, easy access to I/Os and more.
At the next stage of development, custom hardware can be designed to accept the Omega2
depending on the end user’s specific needs. Onion also provides the Omega2S, a
surface-mount version of the Omega2, designed specifically for high volume production.
By virtue of the pre-loaded Linux operating system, developers can create their own
applications using a programming language of their choice, and make use of existing network
stacks and a rich set of software packages to implement their desired software functionality.
Key highlights:
●
●
●
●
●
●
●
Wi-Fi enabled Linux-based module for IoT applications
Dual mode 2.4 GHz 802.11 b/g/n Wi-Fi - simultaneously host a WiFi access point and
connect to existing WiFi networks
On-board WiFi antenna & U.FL connector for optional external antenna
CPU, memory, and flash storage are built-in
Runs OpenWRT Linux operating system out of the box
Features USB, ethernet, MicroSD, 2x UARTs, I2C, SPI, GPIOs interfaces
FCC and CE certified
OM-O2 | OM-O2P
Page 4 of 21
Omega2 Datasheet
Highlights on the software and operating system:
●
●
The operating system is based on the OpenWRT Linux distribution
○ Support for modern programming languages: Python (2.7 and 3.6), NodeJS
(8.10), GoLang, C, C++, and others
The default device operating system image includes:
○ Onion’s enhanced WiFi driver
○ A package manager (opkg)
○ A lightweight web server (uhttpd) and an extendable Remote Procedure Call
daemon (RPCD and ubus)
○ Utilities to control the GPIOs (gpioctl, fast-gpio) and pin multiplexing
(omega2-ctrl)
○ The sysfs interface for programmatic control of the hardware interfaces
○ OnionOS, a web-based, graphical user interface for the Omega2 family
The build system for creating an operating system image and software packages is open
source, so developers can create their own customized operating system images tailored to
their needs. It can be found on GitHub: https://github.com/OnionIoT/source.
Additionally, the source code for many software packages created by Onion can be found on
GitHub: https://github.com/OnionIoT
This includes the Omega2 bootloader source code.
Extensive documentation can be found online on the Onion Docs site that describes technical
details, software usage, and more.
OM-O2 | OM-O2P
Page 5 of 21
Omega2 Datasheet
1.1 Key Features
CPU
Chipset
MT7688AN
Architecture
MIPS24KEc
Clock Speed
580MHz
Memory
Flash
16MB (OM-O2) or 32MB (OM-O2P)
DDR2 DRAM
64MB (OM-O2) or 128MB (OM-O2P)
WIFI
WiFi Protocol
IEEE 802.11 b/g/n
Base Band
2.4GHz
Data Rate
150 Mbit/s
Channel Bandwidth
20/40 MHz
Operation Mode
AP, STA, AP&STA
Encryption Mode
WEP64/128, AES, WPA, WPA2, WAP
On-board Antenna
2 dBi directional chip antenna
Antenna Connector
U.FL connector for optional external antenna
Interfaces
Ethernet
1 (10M/100M)
USB 2.0 Host
1
SPI
1
I2C
1
I2S
1
UART
2
PWM
2
GPIO
Up to 18
SD
1x MicroSD slot (OM-O2P only)
OM-O2 | OM-O2P
Page 6 of 21
Omega2 Datasheet
Power Supply Requirement
DC Input
3.3V
No-load Running Current
200±40mA
Peak Current Requirement
800mA
Operation Conditions
Ambient Temperature
-10°C ~ 55 °C
Storage Temperature
-20°C ~ 80° C
Operating Humidity
10%-95%RH (Non-Condensing)
Storage Humidity
5%-95%RH (Non-Condensing)
Physical Specifications
Dimensions
42.9*26.4*9.9 mm
Packaging
Through-hole
Pin Pitch
2mm
Total Pins
32
Additional specifications and operating details for the microprocessor in the Omega2 can be
found in the Mediatek MT7688 Datasheet
1.2 Variants
Model
Name
RAM
Flash
Packaging
OM-O2
Omega2
64 MB
16 MB
Through-hole
OM-O2P
Omega2+
128 MB
32 MB
Through-hole
1.3 Differences from Omega2S Module
The Onion Omega2S is the surface-mount packaged version of the Omega2, designed specifically
for high volume production due to its low profile, extended feature-set, and production friendly
design.
The specific differences from the Omega2 are as follows:
● Surface-mount module form-factor
● Low profile, measuring 34x20x2.8 mm
OM-O2 | OM-O2P
Page 7 of 21
Omega2 Datasheet
●
●
●
●
●
●
●
63 total pins compared to 32 pins on Omega2
Pins for SD/eMMC are available on the pinout - no MicroSD slot
Features 3 UARTs, compared to 2 on the Omega2
Features 4 PWM channels, compared to 2 on the Omega2
Exposes SPI Chip-Select 0 (CS0) pin
No on-board antenna - features Antenna signal pin and U.FL connector
No on-board system status LED - features system status pin for connection to external LED
1.4 Block Diagram
OM-O2 | OM-O2P
Page 8 of 21
Omega2 Datasheet
2. Features
2.1 CPU
The processor is based on the MIPS architecture, it is a MIPS 24KEc, little-endian, 32-bit RISC core that
operates at 580 MHz with a 64 KB Instruction Cache and 32 KB Data Cache.
2.2 Memory
Features on-board 16-bit DDR2 DRAM memory operating at 400 MHz
● Omega2 features 64 MB memory
● Omega2+ features 128 MB memory
2.3 Flash
Features on-board SPI flash storage that contains the bootloader, Linux OS, and WiFi calibration
data.
● Omega2 features 24-bit addressed 16 MB flash storage
● Omega2+ features 32-bit addressed 32 MB flash storage
2.4 WiFi
The Omega supports 2.4 GHz IEEE 802.11 b/g/n WiFi with a maximum 150 Mbps PHY data rate.
The embedded RF front-end is 1T1R, meaning that it is used for both transmitting and receiving by
virtue of time-multiplexing.
The Omega’s WiFi interface can simultaneously host its own WiFi Access Point while connecting to
another WiFi network.
2.4.1 Antenna
The Omega2 features an on-board ceramic surface-mount chip antenna, it is a 2 dBi directional
antenna.
The Omega2 also features a male, surface-mounted U.FL connector for use with external antennas.
To exclusively use an external antenna, the device must be modified by removing a 0Ω resistor.
Find the full procedure outlined in this article.
2.5 Interfaces
Describing the interfaces available on the Omega2 modules.
2.5.1 USB
There is one (1) USB 2.0 host controller available on dedicated pins.
OM-O2 | OM-O2P
Page 9 of 21
Omega2 Datasheet
Note 1: A 5V power source needs to be supplied to the USB client device to properly operate.
Note 2: Special care needs to be taken to ensure the high-speed USB data lines are impedance
matched when routing custom hardware for use with the Omega2.
Note 3: Use of an ESD protection device is recommended.
2.5.2 SPI
One (1) SPI interface is available. The interface supports half-duplex transmissions and can operate
in host-mode only. The maximum SPI clock frequency is 40 MHz.
The SPI interface features two Chip Select signals. The processor communicates with the on-board
flash storage using the SPI protocol. The flash storage occupies SPI Chip Select 0, external devices
can be connected to SPI Chip Select 1.
Note: External devices connected to the SPI bus can affect the boot sequence under certain
conditions. See section 3.3.2 - SPI Pins for details.
2.5.3 I2C
There is one (1) I2C controller available. The interface can operate in host-mode only. Standard
(100kbps) and fast mode (400kbps) are supported. The I2C logic level is 3.3V.
2.5.4 I2S
The Omega2S has one (1) I2S interface available.
The I2S interface consists of two separate cores, a transmitter and receiver. Both can operate in
either master or slave mode.
2.5.4.1 Features
-
I2S transmitter / receiver, configurable as master or slave
As slave: 24-bit data, sampling rates up to 192 kHz
As master: 16-bit data, sampling rates of 8 kHz, 16 kHz, 22.05 kHz, 44.1 kHz, and 48 kHz
Stereo audio data transfer
32-byte FIFO for transmission
GDMA access
12 Mhz bit clock from external source (when in slave mode)
2.5.5 SDIO/eMMC
The Omega2+ (OM-O2P) features a spring-loaded slot for MicroSD cards on the bottom of the
device. The Omega2 supports the SDXC specification for SD cards, with a maximum capacity of 2
TB and a maximum transfer speed of 300 MB/s.
2.5.6 Ethernet
The Omega2 has a single 10/100M Ethernet integrated PHY.
It is recommended that typical ethernet magnetics be used, however for very short runs (