DueSTEM
Complete All-in-One STEM Solution
- Overview
- Commands
- On-Module Code
Input -> Process -> Output is how DueSTEM brings all educators need to demonstrate physical computing. There are 4 inputs and 4 outputs. The graphical display can be used to show sensor levels or for building games!
Extend the board with sensors and actuators on the female pin-header and the Downlink connector.
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.
| 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. |
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 DueSTEM | GDL-MCDUESTEM-B | $24.95 |