Skip to main content

MSR JacdacIoT 48 v0.2

MSR JacdacIoT 48 v0.2 picture

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 namehardware idfeatures
P33GPIO33io
P34GPIO34io
P35GPIO35io
P36GPIO36io
RXGPIO38io
TXGPIO37io
i2c.pinSCLGPIO10i2c.pinSCL, analogIn, io
i2c.pinSDAGPIO9i2c.pinSDA, analogIn, io
jacdac.pinGPIO17jacdac.pin, analogOut, io
led.rgb[0].pinGPIO8led.rgb[0].pin, analogIn, io
led.rgb[1].pinGPIO7led.rgb[1].pin, analogIn, io
led.rgb[2].pinGPIO6led.rgb[2].pin, analogIn, io
log.pinTXGPIO43log.pinTX, io
services.power[0].pinEnGPIO2services.power[0].pinEn, analogIn, io
services.power[0].pinFaultGPIO13services.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"
}
]
}