MSR JacdacIoT 48 v0.2
Features
- Jacdac on pin 17 using Jacdac connector
- I2C on 9/10 using Qwiic connector
- RGB LED on pins 8, 7, 6 (use setStatusLight to control)
- Serial logging on pin 43 at 115200 8N1
- Service: power (auto-start)
Stores
Pins
pin name | hardware id | features |
---|---|---|
P33 | GPIO33 | io |
P34 | GPIO34 | io |
P35 | GPIO35 | io |
P36 | GPIO36 | io |
RX | GPIO38 | io |
TX | GPIO37 | io |
i2c.pinSCL | GPIO10 | i2c.pinSCL, analogIn, io |
i2c.pinSDA | GPIO9 | i2c.pinSDA, analogIn, io |
jacdac.pin | GPIO17 | jacdac.pin, analogOut, io |
led.rgb[0].pin | GPIO8 | led.rgb[0].pin, analogIn, io |
led.rgb[1].pin | GPIO7 | led.rgb[1].pin, analogIn, io |
led.rgb[2].pin | GPIO6 | led.rgb[2].pin, analogIn, io |
log.pinTX | GPIO43 | log.pinTX, io |
services.power[0].pinEn | GPIO2 | services.power[0].pinEn, analogIn, io |
services.power[0].pinFault | GPIO13 | services.power[0].pinFault, io |
DeviceScript import
You must add this import statement to load the pinout configuration for this device.
In Visual Studio Code, click the wand icon on the file menu and select "MSR JacdacIoT 48 v0.2".
import { pins, board } from "@dsboard/msr48"
Firmware update
In Visual Studio Code, select DeviceScript: Flash Firmware... from the command palette.
Run this command line command and follow the instructions.
devicescript flash --board msr48
Configuration
msr48.json
{
"$schema": "https://raw.githubusercontent.com/microsoft/devicescript-esp32/main/boards/esp32deviceconfig.schema.json",
"id": "msr48",
"devName": "MSR JacdacIoT 48 v0.2",
"productId": "0x3de1398b",
"archId": "esp32s2",
"i2c": {
"$connector": "Qwiic",
"pinSCL": 10,
"pinSDA": 9
},
"jacdac": {
"$connector": "Jacdac",
"pin": 17
},
"led": {
"rgb": [
{
"mult": 250,
"pin": 8
},
{
"mult": 60,
"pin": 7
},
{
"mult": 150,
"pin": 6
}
]
},
"log": {
"pinTX": 43
},
"pins": {
"P33": 33,
"P34": 34,
"P35": 35,
"P36": 36,
"RX": 38,
"TX": 37
},
"services": [
{
"faultIgnoreMs": 100,
"mode": 0,
"name": "power",
"pinEn": 2,
"pinFault": 13,
"service": "power"
}
]
}