Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adafruit Audio FX Sound Board Support #936

Closed
topkoa opened this issue Oct 22, 2015 · 6 comments
Closed

Adafruit Audio FX Sound Board Support #936

topkoa opened this issue Oct 22, 2015 · 6 comments

Comments

@topkoa
Copy link

topkoa commented Oct 22, 2015

Hey I've ordered a couple of these for my testing and would like to use it in an up-coming project...

Looking for some advice on connecting it to an Arduino/J5, specifically should I control it via the Serial/UART or via GPIO pins? (It can handle both, so I'm looking for the (easiest) most accepted solution when controlling it via JS/J5)

Thanks!

https://learn.adafruit.com/adafruit-audio-fx-sound-board/triggering-audio
https://learn.adafruit.com/adafruit-audio-fx-sound-board/serial-audio-control

@rwaldron
Copy link
Owner

Looking for some advice on connecting it to an Arduino/J5, specifically should I control it via the Serial/UART or via GPIO pins

Support is inbound! firmata/firmata.js#97

@topkoa
Copy link
Author

topkoa commented Oct 23, 2015

Awesome!

Looking forward to seeing it land!

@rwaldron
Copy link
Owner

I'll keep this open until we can come back to it :)

@topkoa
Copy link
Author

topkoa commented Oct 29, 2015

Hey I see support landed over with firmata!

I'm looking forward to checking it out. I have a question, however-- can the ".serialConfig" (et al) be utilized within the confines of the J5 API? Or is that support still on it's way?

@dtex
Copy link
Collaborator

dtex commented Jan 23, 2016

@topkoa All the firmata serial commands are exposed on the board.io object (which by default is an instance of firmata) so:

var five = require("johnny-five");
var board = new five.Board();

board.on("ready", function() {
  this.io.serialConfig({ portId: 8, baud: 9600, rxPin: 10, txPin: 11 });
  this.io.serialRead(8, function(data) {
    console.log(data);
  });
});

The constants for portID's are defined in firmata. I just used "8" which is SW_SERIAL0.

@dtex
Copy link
Collaborator

dtex commented Jan 11, 2018

Hi @topkoa

Johnny-Five contributors and maintainers are loathe to close issues where someone has a need. We don't want anyone to ever feel that we don't care, but we just haven't gotten to this feature yet. Rather than leave it languishing as an open issue we have created a Requested Features page and added this devices request under the new class "Sound Generator/Synthesizer" listed there.

@dtex dtex closed this as completed Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants