Write constrained Python syntax in Studio, let the checker catch unsupported APIs, then flash the prepared firmware and script.
Getting Started
Start here if you are new to Studio. This is the shortest path from a blank project to code running on an ESP32-S3 board.
Pick the project target, connect over Web Serial, and Studio flashes firmware, filesystem assets, and your script together.
Use system first. It gives you timing, heap, scheduling, and small runtime helpers.
Use browser-only environment variables for secrets, then call wifi.connect() from the script.
Create a project and choose the supported ESP32-S3 target for the board.
Use documented modules like system, wifi, gpio, camera, and cv.
Studio checks supported imports, syntax, callbacks, env vars, and model usage before flashing.
Connect the board and let Studio send firmware, filesystem assets, your script, and optional model data.
import system
print("hello from mojoscale")
print(system.heap())
print(system.heap_largest())
Guides
Learn by task, then drop into the generated API page when you need exact signatures, parameters, and return values.
Start with DHT temperature and humidity readings, then use GPIO and ADC for lower-level I/O.
Read dht Send an HTTP requestSend readings, pull configuration, or call webhooks from the board.
Read http MQTTConnect to your broker, publish readings, subscribe to commands, and react to events.
Read mqtt Run a web serverExpose simple routes directly from firmware for setup screens, status endpoints, and diagnostics.
Read webserver Computer visionLoad the single flashed model and run prediction or detection from camera frames.
Read cv Industrial protocolsUse Modbus and bus modules for structured polling and device integration.
Read modbusAPI Reference
Generated from the same stubs used by Studio docs, linting, and autocomplete. Open a module when you need exact signatures and parameter details.
Runtime
system
System runtime native Berry module.
11 functionsenv
Browser-local environment values.
0 functionstime
Real-world time, date, NTP synchronization, and DS3231 RTC support.
19 functionsmojoscale_math
Hardware-oriented math helpers for MojoScale Studio.
101 functionscontrol
Feedback control and PID controllers.
14 functionsNetworking
wifi
Wi-Fi native Berry module.
24 functionsmojoscale_messaging
MojoScale device channel messaging.
8 functionsmqtt
MQTT native Berry module.
6 functionshttp
HTTP client native Berry module.
2 functionswebserver
Embedded webserver native Berry module.
10 functionsble
BLE native Berry module.
13 functionsSensors & I/O
ads1115
ADS1115 16-bit I2C analog-to-digital converter module.
30 functionscamera
Camera native Berry module.
15 functionsbh1750
BH1750 ambient light sensor module.
17 functionsbno085
BNO085 9-axis sensor-fusion IMU module.
23 functionsbmp180
BMP180 temperature and pressure module.
9 functionsina219
INA219 current, voltage, and power monitor module.
26 functionsbme280
BME280 temperature, humidity, and pressure module.
22 functionsbutton
High-level button, switch, and digital input handling.
12 functionsdht
DHT temperature and humidity module.
1 functionds18b20
DS18B20 temperature sensor module.
10 functionssht4x
SHT4x temperature and humidity module.
9 functionshx711
HX711 load-cell amplifier module.
32 functionsvl53l0x
VL53L0X time-of-flight distance sensor module.
44 functionsicm42688
ICM-42688 6-axis IMU module.
26 functionsmpu6050
MPU6050 accelerometer and gyroscope module.
34 functionsmax31855
MAX31855 thermocouple module.
16 functionsmax31865
MAX31865 RTD temperature module.
28 functionsmfrc522
MFRC522 RFID/NFC reader module.
31 functionsgps
UART GNSS receiver module.
22 functionspcf8574
PCF8574 I2C GPIO expander module.
30 functionspulse
Hardware pulse counter module.
17 functionsmotor
DC motor and simple robot drive helpers.
24 functionsrelay
High-level relay control for on/off loads.
9 functionsstepper
Stepper motor control module.
24 functionsultrasonic
Ultrasonic distance sensor module.
15 functionsrotary
Rotary encoder module.
18 functionsservo
Servo motor control module.
14 functionspca9685
PCA9685 16-channel PWM driver module.
34 functionsneopixel
Addressable RGB/RGBW LED strip module.
27 functionstouch
Capacitive touch sensor module.
16 functionsjoystick
Analog joystick module.
22 functionslm358
LM358 microphone sound sensor module.
19 functionsadc
ADC native Berry module.
3 functionsgpio
GPIO native Berry module.
5 functionsmicrophone
Generic analog and I2S microphone module.
58 functionspwm
PWM output module.
11 functionsBuses & Protocols
can
Raw CAN 2.0 bus access over the ESP32 TWAI controller.
20 functionsj1939
SAE J1939 engine-network access over ESP32 TWAI/CAN.
35 functionsi2c
I2C native Berry module.
8 functionsmodbus
Industrial Modbus native Berry module.
9 functionsonewire
OneWire native Berry module.
10 functionsspi
SPI native Berry module.
9 functionsuart
UART native Berry module.
5 functions