Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Teensy 3.1, possible to mix OctoWS2811 and AudioAnalogInput?

  1. #1
    Junior Member
    Join Date
    Mar 2014

    Teensy 3.1, possible to mix OctoWS2811 and AudioAnalogInput?

    I mentor a first robotics team, FRC3574, and this year we added a 5x118 band of WS2182's to our robot. The idea to have the strip show ambient audio visualization was brought up.

    So looking over the code, my suspicion is no, since the analog input uses the same DMA registers, but maybe there's someway of interleaving the data? I've got an arduino friendly electret mic/amp package, but could try the new audio breakout. However it seems the I2S code also uses the dma system, so not sure if that buys me anything.

    The robot in question:
    Click image for larger version. 

Name:	DSC07403.JPG 
Views:	190 
Size:	161.0 KB 
ID:	1658

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Today, no. They use the same DMA channels.

    Fixing this on Teensy 3.1 is on my to-do list, but it may be a few weeks or longer until I get around to it.

  3. #3
    Junior Member
    Join Date
    Mar 2014
    Ah, shame. I think I may just use another teensy and have it interface with the ws2811 driver over i2c.

  4. #4
    Junior Member
    Join Date
    Mar 2015
    Sydney, Australia
    Hi, Paul
    Is it now possible to use the Teensy 3.1 with OctoWS2811 adapter/lib and the audio board (+ electret microphone) ?

    I've looked at these other threads, but they do not offer any resolution:

    If it's possible can you please suggest a possible setup ?

    PS: Sorry if this a noob question. I am a software developer, but this is the first time I am playing with Arduino and the hardware.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts