DueSTEM
Complete All-in-One STEM Solution
- Overview
- Commands
- Samples
- On-Module Code
DueSTEM is the most feature-packed board in the classroom range — a 128×64 OLED display, accelerometer, light and temperature sensors, four user buttons, two servo ports, RGB LED, and a buzzer all on a single 107×57 mm board. Built around an "Input → Process → Output" model so students can demonstrate every step of physical computing on one piece of hardware.
Code it from a browser with MicroBlocks, or program it in Python, JavaScript, .NET, Arduino, or C++. The dedicated DueSTEM tutorial walks through a complete first project. Extend further with female pin headers and the Downlink port for chaining additional modules.
Pick DueSTEM for advanced classroom projects — games, sensor dashboards, motion-controlled demos — where you want everything on one board.
Key features • 128x64 OLED 0.96" Display | Resources 📄 Schematics PID: 0x000010 |
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. |
BtnPin(a) | Returns button's pin number, based on a alias ('U' = Up, 'D' = Down, 'L' = Left, 'R' = Right) |
GetX() | Returns the X axis of the Accelerometer. |
GetY() | Returns the Y axis of the Accelerometer. |
GetZ() | Returns the Z axis of the Accelerometer. |
SetBulb(c) | Sets Lightbulb c color with 24bit RGB color (RRGGBB). |
Tunes(f,d) | Plays Tunes buzzer to f frequency(50 to 15K) for d duration in milliseconds. |
Light() | Returns voltage level from Light sensor. |
ReadTemp() | Returns voltage level from Temperature 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 DueSTEM | GDL-MCDUESTEM-B | $24.95 |