We got the second revision of the SJ201 daughterboards delivered in late August. Unlike the first run, these were printed as a double sided PCB, however they still required many components to be hand soldered.
Once assembled, Kevin could flash the firmware and start testing the audio!
SJ201 v0.66 – firmware flashing
Testing the audio – a play by play from Kevin
XMOS and the USB Sound card both come up as USB devices in Windows. The USB Audio Device previously also came up on the last boards. And I just realized I flashed the USB adaptive, instead of the USB/I2S firmware.
USB audio devices detected from SJ201 v0.66
And we have audio recording! I have 2 sets of mic, I’m using the SPK0641 right now, I marked that on the backside of the board (641) so I’ll know which mic is best.
SJ201 v0.66 – backside
I’ll give it a full set of testing later today, playing music and recording. Attached is my voice recording, from about 1 foot away, in a decently quiet room, but there is a fish tank and fan behind me, no music playing.
SJ201 v0.66 – audio input waveform
Another system test passed. The mic recording switch directly turns off the mics. I was talking during this time, then flipped the physical switch, and the mics stopped recording.
Audio input waveform showing hardware cutoff
Moved the switch back to this position, it allows recording. Also, I’m now powered through the 12v. The update I did worked. So far, everything is working. Soldering on the LEDs next and the Raspi Connector.
SJ201 v0.66 – hardware cutoff for microphone
Findings
Overall we’re very pleased with this new revision. We have addressed many of the problems discovered in the first prototype run, but there are still a few issues to resolve.
First we discovered a problem with the output from the amplifier. An incorrect capacitor was spec’d, and replacing that solved the problem. Fortunately that’s just a value change on the part.
We have also noticed some popping sounds when the audio is routed over I2S from the CM108B soundcard to the XMOS 3510. This doesn’t happen when we don’t use the I2S, but we’ve decided we need to simplify the data path. Fortunately XMOS came through on a firmware update and we can reverse the data path to be XMOS → soundcard, which will simplify the design and avoid this issue altogether. We’re testing that now.
SJ230 – laser-cut enclosure for prototypes
For development purposes, we have created a relatively simple laser-cut enclosure with a 3D printed acoustic chamber. This provides a quick case for our development team while we move into the next phase of testing.
Laser cut enclosure for the Mark II prototypes
Once we have cut a few and verified the design, we’ll upload the CAD files to the Mark II hardware repo so that anyone playing from home can get up and running quickly whilst keeping your components safe.
What’s next?
Our focus at the moment is ensuring that the SJ201 meets all of our hardware requirements and getting an SJ201 prototype out to everyone in our team. Once we are confident that the hardware itself is solid, then we can start thoroughly testing running Mycroft on this new hardware.
We’re also looking ahead at the third PCB print run. The next revision will be a fully assembled PCB from the board house.
Gez is the Director of Developer Relations at Mycroft. He comes from the land down under, has a strange love of crocodiles, and one day hopes to play the ukulele. If he’s not hanging out in our Community Chat and Forums, he is probably getting lost in the bush.