PixoBit
micro:bit Form Factor with 128x64 OLED 0.96" Display
- Overview
- Commands
- Samples
- On-Module Code
PixoBit is a CincoBit-class educational board with a 128×64 OLED display added on top of the same micro:bit edge connector, light and temperature sensors, two buttons, and on-board buzzer. The display lets students plot sensor data, draw graphics, or build games — anything where text alone isn't enough.
Code it from a browser with MicroBlocks — same workflow as CincoBit — or program it in Python, JavaScript, .NET, Arduino, or C++ once students are ready for typed code. The Downlink port chains additional modules as projects grow.
Pick PixoBit when projects need a graphical display. Otherwise CincoBit is the lower-cost starting point.
Microsoft MakeCode doesn't run on PixoBit directly; use MicroBlocks instead.
Key features • 128x64 OLED 0.96" display | Resources 📄 Schematics PID: 0x000002 |
Modules ship without cables to reduce waste. Some specialty boards include a USB cable; for the rest, see Cables to add cables to your order.
Commands this module accepts. See Samples for runnable code in popular host languages.
The commands below set the display up. To draw on it, use the engine's built-in Graphics library — the same drawing functions (Line, Text, Rect, Show, etc.) render to any display in the DUELink catalog, so the same drawing code works no matter which display you have connected.
| Function | Description |
|---|---|
GetW() | Get display width: 128. |
GetH() | Get display height: 64. |
IsColor() | Returns 0. |
BtnA() | Returns 1 if button A is pressed. |
BtnB() | Returns 1 if button B is pressed. |
IsTouch(p) | Returns 1 if p pad (0, 1, or 2) is touched. |
Buzzer(f,d) | Play buzzer with f frequency and d duration in milliseconds. This is blocking function. |
Light() | Returns voltage from light sensor. |
DVer() | This driver version. |
Peek under the hood
The script below is this module's driver — it teaches the hardware how to respond to the commands listed above. It ships pre-loaded from the factory; most users never need to open it.
loading...
Example code that calls this module's commands from popular host languages.
New here? See Get Started to connect a module and send your first command.
- Python
- JavaScript
- .NET
loading...
loading...
loading...
Code that runs directly on this module's MCU. See how On-Module Code allows modules to run standalone.
- Script
- Arduino IDE
- MicroBlocks
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the module's driver to be loaded first, see the Commands Tab.
loading...
See Arduino IDE page for more info.
loading...
This project runs standalone. It assumes that the MicroBlocks firmware is already loaded on the module.
Click the button below to open, edit, and run the project directly on the MicroBlocks website.
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink PixoBit | GDL-MCPIXOBIT-D | $16.95 |