μHex is the first low-power controller which is compatible with Arduino. It is very suitable for the battery power supply environment. A 210mAh CR2032 cell battery can support it standing by 60 days with using PIR sensor (SEN0171) as a trigger.

As it is using Atmega 328 Microcontroller, it has good general and powerful performance. It has 14 GPIO and 7 power ports (4 of them could be controlled) which could meet most of your project.



Pin Definition

Silk-screen Digital Interface PWM Interface Analog Interface Proprietary Function
RX 0 Serial
TX 1
2 2 INT0
3 3 3 INT1
5 5 5
9 9 9
10 10 10
11 11 11
A0 A0 A0
A1 A1 A1
A2 A2 A2
A3 A3 A3
Controllable power port


The board type of uHex is same to Arduino Pro or Pro Mini (3.3V, 8 MHz) w/ ATmega328, you could select it in the board menu, and program it with FTDI programmer. (Note: The bootloader of uHex is different from Arduino Pro or Pro Mini one. Please don't update bootloader by this one.


Sample Code

Low power Consumption Application

Please download the Arduino library microPoly Library first.

Wake up by Interrupt

Wake up by Timer

Integrated Application

  1. The uHex is in sleep state until Timer is overtime or Button is pressed

  2. The uHex sample data every 1 minute. If button is pressed the average data will be display on the LCD screen. After some seconds, it will go to sleep again.

General Application

In the scope of uHex ports, the program from Arduino UNO/Pro Mini can be run on the uHex.


Q&A Some general Arduino Problems/FAQ/Tips
Q What is the image on the back of uHex?
A It is Chinese word '茶 cha' meaning 'Tea '.
Q Why silkscreen '2' is different from others?
A uHex is designed in the Chinese New Year. During the fesitival, people hang '福Fu' upside down on the door that mean blessing arriving at your home. Here I use the '2' stand for Fu. Fu means happiness.
Q Why I can't see any crystal oscillator on the module?
A uHex is using built-in 8M RC resource and completely meets the demands of general application.
A For any questions, advice or cool ideas to share, please visit the DFRobot Forum.

More Documentation