Inside AI
← Discover
Device profile / Edge AI

Sony Spresense main board + extension board

Record a sound to a memory card, then build toward a map of where a fan or machine changes its sound. Spresense brings satellite positioning and local inference to the same board. The microphones and card are separate purchases.

Projects and experiments

Proposed build / Sony Spresense main board + extension board

Record your first WAV, then plan a sound-event map

Verify the microphone and memory card with Sony’s recorder. Add an audio model and a satellite fix in separate steps before logging a proposed event map.

Experiment · unrun / Sony Spresense main board + extension board

Does a faster fan classifier lose audio frames?

A proposed bench test of latency, missing samples and false alarms while classification, GNSS reception and card writes share the board.

Is this for me?

For an Arduino C++ developer who wants an unattended sound logger with a position for each event. The useful output is a small table that can be mapped after the trip. You supply the microphone, sound classes and application. Satellite reception matters if a position is required for every entry.

What you can do with it

Load Sony’s recorder_wav sketch and make a ten-second recording. A playable Sound.wav containing a deliberate test sound verifies the microphone-to-card path. Once that works, try Sony’s audio AI lesson and GNSS sketch separately before joining their outputs in the proposed logger. Recorder source · Build guide

What the complete setup costs

Akizuki Japan listed the main board CXD5602PWBMAIN1JE at ¥6,820 and extension CXD5602PWBEXT1 at ¥3,850 on 19 Nov 2026. Both were listed in stock. The two boards cost ¥10,670. For a specified recording setup, add the AUTOLAB four-mic kit (¥7,800), 16 GB microSDHC (¥1,450) and USB-A to Micro-B data cable (¥150). First-year purchases total ¥20,070 including Japanese consumption tax, assuming an existing USB-A computer with a card reader and zero paid services. A compatible microphone can replace the kit; the LCD is optional. If you also own the mic, card and cable, the incremental cost is ¥10,670. Add local quotes for a missing host, reader or adapter. Shipping, import charges, electricity and labour are extra. International delivery and optional cloud training fees were not checked. Main board · Extension · Mic kit · Card · Cable

How to start — and what you need to learn

Join the boards, connect the kit’s analog microphones to the extension’s microphone interface, and insert a blank or backed-up microSD card. Use the main board’s Micro-B data port to install the Sony Arduino package and matching boot firmware. Set up the DSP files as Sony directs for your selected audio sketch. Working with buffers, model input dimensions and the GNSS validity fields comes after the recording baseline. Setup · Wiring · Kit assembly

When another product is a better choice

For an indoor sound classifier with a built-in microphone and no need for satellite locations, the Arduino Nano 33 BLE Sense Rev2 removes some wiring. Spresense earns the extra board and microphone when associating sound with outdoor positions is part of the result.

What we know — and what still needs testing

Sony documents PCM recording, DNNRT inference and satellite fixes individually. Event classification with location stamps is our proposed integration. Inside AI has not run it on hardware or measured recognition accuracy, power draw, time to first fix, inference latency or missing audio during card writes. Developer guide · Fan experiment

Architecture

An external analog microphone feeds the extension header and the main board’s audio circuitry. The CXD5247 handles audio and power functions alongside the CXD5602 application processor. In the proposed logger, the application frames the samples and calculates the same features used in training. DNNRT evaluates the exported model. The application then joins the predicted class to a GNSS fix and writes one CSV row to microSD. Keep the capture time and fix time separate so that a stale position is visible. Main board · Extension interfaces · GNSS fields

Documented capabilities

The six Cortex-M4F application cores run at up to 156 MHz and share a board with 1.5 MB SRAM. The extension exposes a microSD slot, headphone output and microphone header. It ships in analog mic mode. Sony documents up to four analog mics or eight digital mics; the digital configuration requires hardware changes. The main board has a GNSS receiver and antenna. Specifications · Microphone configuration

SDKs, APIs & extensibility

Write the application in Arduino C++ or use Sony’s NuttX-based SDK. The Arduino DNNRT API takes a trained .nnb model and a CPU-count argument in begin(); the sketch calls it from the main core. Match the feature order, scaling and dimensions to the export. Sony’s Neural Network Console lesson demonstrates training and export on a separate system. Cloud training requires an account, and its usage fees depend on the service. The SDK lists BSD-3-Clause for named components alongside other licenses; the recorder example carries its own notice. Sony licenses system firmware separately and distributes audio processing binaries. DNNRT API · Sony audio lesson · SDK · License notices · Firmware terms

Limitations

Audio buffers, the model and working memory must fit within a small memory budget. Raising the requested number of inference CPUs can compete with audio processing. A card write can also stall long enough to lose a frame. A clear sky view and time to acquire a valid fix matter for mapping. An event recorded before a valid fix should carry an empty position. The fan experiment measures these tradeoffs under a defined model and recording load.

Privacy & data flow

The starter puts raw sound on the removable card. The proposed mapping application retains labels, times and coordinates locally and can discard the original samples. An optional fan-anomaly clip contains whatever the microphone heard at that moment. Exporting a CSV reveals location and time even when the audio was discarded. Uploading training examples to a hosted service is a separate choice.

Primary sources

Spresense main board Spresense extension board Sony hardware guide Sony Arduino installation guide Sony Arduino developer guide Sony recorder_wav sketch Sony GNSS sketch DNNRT header reference Spresense SDK license notices Sony system firmware EULA Akizuki main board offer Akizuki extension board offer AUTOLAB Mic & LCD kit at Akizuki 16 GB microSDHC at Akizuki Micro-B USB data cable at Akizuki Sony tutorial 15 · embedded audio AI Sony tutorial 14 · embedded image AI AUTOLAB microphone kit assembly sheet Sony Spresense SDK Sony Spresense Arduino source