MSR JM Brain S2-mini 207 v4.3
Features
- Jacdac on pin 17 using Jacdac connector
- RGB LED on pins 8, 7, 6 (use setStatusLight to control)
- Serial logging on pin 43 at 115200 8N1
- Service: power (auto-start)
caution
I2C pins are not configured.
Stores
Pins
pin name | hardware id | features |
---|---|---|
P33 | GPIO33 | io |
P34 | GPIO34 | 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 |
sd.pinCS | GPIO38 | sd.pinCS, io |
sd.pinMISO | GPIO37 | sd.pinMISO, io |
sd.pinMOSI | GPIO35 | sd.pinMOSI, io |
sd.pinSCK | GPIO36 | sd.pinSCK, 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 JM Brain S2-mini 207 v4.3".
import { pins, board } from "@dsboard/msr207_v43"
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 msr207_v43
Configuration
msr207_v43.json
{
"$schema": "https://raw.githubusercontent.com/microsoft/devicescript-esp32/main/boards/esp32deviceconfig.schema.json",
"id": "msr207_v43",
"devName": "MSR JM Brain S2-mini 207 v4.3",
"productId": "0x322e0e64",
"archId": "esp32s2",
"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
},
"sd": {
"pinCS": 38,
"pinMISO": 37,
"pinMOSI": 35,
"pinSCK": 36
},
"services": [
{
"faultIgnoreMs": 100,
"mode": 1,
"name": "power",
"pinEn": 2,
"pinFault": 13,
"service": "power"
}
]
}