Phat DAC + johnny-five


Hi guys,

I’m working on a project which runs on a pi zero and a phat dac, and uses a physical interface based on the johnny-five framework for node.js.

I can get the phat dac operational and playing music. However, as soon as I start my node program, the audio stops. I’ve limited my app to the following code, which produces the problem. It only performs the very basic loading steps, without actually using any pins.

var raspi = require(‘raspi-io’);
var five = require(‘johnny-five’);

var board = new five.Board({
io: new raspi()

When soldering, I made sure not to use any pins mentioned in PHAT DAC Which GPIO are in use. Moreover, when I do initialize the pins for use with buttons, they work as expected (I therefore do not think I messed something up when soldering ;-)). Even when all wires are disconnected, the problem occurs.

Does anyone else has experiences (successful or not) with using johnny-five and the phat DAC? What can I do to better diagnose the exact problem?

Thanks in advance!