Software/Neuro Studio

Neuro Studio Getting Started

Installing Neuro Studio, connecting a Neuro N6, and using the live view, snapshots, recording and the side panels.

beginner4 min read

Neuro Studio is Ohm Lab's desktop application for the Neuro N6. It shows the board's live camera picture with the results of whatever the sketch is doing drawn on top, plays the microphone, graphs the sensors, and provides a serial terminal, all over one USB cable. It runs on Windows, macOS and Linux.

Installation

Installers for Windows, macOS and Linux are to be published on ohmlab.co.uk.

SystemNotes
WindowsNo driver step. Windows recognises the board automatically
macOSlibusb is installed first: brew install libusb
Linuxlibusb-1.0 is installed from the package manager. Unprivileged USB access may need a udev rule

Connecting

The board is connected over USB-C and Neuro Studio finds it automatically. The status bar at the bottom of the window shows "Connected: Neuro N6" once the stream is running. No port selection is required.

The board must be running a sketch that produces video for a picture to appear. A sketch with no camera, such as a sensor-only sketch, still connects and shows its terminal output and sensor panels.

The main view

The centre of the window is the live camera picture. Any results the sketch publishes appear on it: boxes with labels for an object detector, coloured masks for segmentation, skeletons for pose estimation, hand landmarks, or the boxes and text of a QR code reader. The frame rate and inference time are shown in the corner.

Four buttons sit over the picture:

ButtonFunction
SnapshotSaves the current frame as a JPEG file
RecordStarts and stops recording the stream to a file
Fill viewportSwitches between fitting the picture inside the window and filling it
FullscreenShows the picture full screen

The status bar

ControlFunction
TransportChooses USB, WiFi access point or WiFi station, and picks a board when several are connected
MicrophonePlays the board's microphone through the computer's speakers when a sketch streams it
BootloaderOpens the firmware flashing tool. See Bootloader Tool
New windowOpens a second Neuro Studio window for a second board
ThemeLight or dark

Side panels

The sidebar holds panels that appear when the sketch produces the matching data. A panel for something the sketch is not sending shows a "No data" message.

PanelShowsProduced by
TerminalThe board's serial console, including what it printed before the app connectedSerial.print and the core
IMUAcceleration and rotation, as numbers and graphsThe LSM6DSL library's sendNS()
MagnetometerMagnetic field, as numbers and graphsThe MMC5603NJ library's sendNS()
ToFA heat map of the distance sensor's zones, with settingsThe VL53L1CB library's sendNS()
ThermalThe thermal camera picture with a choice of colour maps. Tapping the picture places a temperature probeThe NeuroVisionThermal library
Camera ControlsExposure, gain and white balance switches and slidersAny OV5640 sketch
ISPWhite balance, black level, sharpness and gamma for the global shutter sensorA VD66GY sketch with manual ISP tuning enabled
TuningA slider for each value the sketch registered for live adjustment, with a Copy as code buttonn6_tune_int and related calls
VisionThe decoded text and a thumbnail for each QR code, barcode, colour blob or AprilTag foundThe classical vision examples
AudioThe sound classifier's scores and the spectrogram it sawThe N6AudioAI library
EventsA list of events the board recorded, with time and causeThe N6Events library

Panels describes each in more detail.

Connecting over WiFi

A sketch that streams over WiFi serves the same stream on TCP port 5000. The transport is chosen from the status bar.

TransportWhere Neuro Studio connects
WiFi access pointThe computer joins the board's network. The board is at 192.168.10.1
WiFi stationThe board joins the user's network. Its address is learnt over USB the first time it is plugged in, and Neuro Studio fills it in

The USB serial terminal continues to work while video travels over a network.

Uploading while connected

Sketches can be uploaded from the Arduino IDE while Neuro Studio is connected. The picture pauses during the upload and returns when the new sketch starts.

Common problems

SymptomCauseRemedy
Not connectedCable carries power only, or the board is in the bootloaderUse a data cable. If the RGB LED pulses red, the board is in the bootloader; upload a sketch or press reset
Connected but no pictureThe sketch has no camera or streams to the displayUpload a camera sketch, or check cfg.transport
Picture but no boxesThe sketch runs no model, or the confidence threshold is highSee First Model
Terminal emptyTools > Debug console is Off and the sketch prints nothingExpected. The sketch's own Serial.print output appears here
A panel is missingThe sketch does not send that dataPanels appear only when their data arrives

Panels, Bootloader Tool, and for developers Wire Protocol, Publishing Data from a Sketch and Building from Source.