PixoBit
micro:bit Form Factor with 128x64 OLED 0.96" Display
- Overview
- Commands
- On-Module Code
PixoBit upgrades CincoBit with a graphical display. Educators can now show sensor data right on the display!
You can't use this board with Microsoft MakeCode directly, but you can use MicroBlocks instead
PixoBit can sense light and temperature, it has 2 user buttons, and can output visual feedback on the OLED display plus generate sounds using the on-board buzzer.
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.
| 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. |
Samples​
Example code for using this module's commands in popular languages.
New here? See Get Started to connect a module and send your first command.
- Python
- JavaScript
- .NET
loading...
loading...
loading...
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...
Code that runs directly on this module's MCU. See On-Module Code for an overview.
- 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 MicroBlocks' website.
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink PixoBit | GDL-MCPIXOBIT-D | $16.95 |