Hello Everyone,
I am a long time user of PJRC products, but almost always for LEDs only. This time I am working on a fast turn around project that requires the incorporation of the audio library, SD card, imbedded RTC, two external optical switches, and several hundred WS2812b LEDs. I am worried that with such a short deadline I am going to parts order myself into corner. Looking to the community to make sure none of the components are going to interfere with each other pin wise or data wise. Here is the project breakdown:
Two sides of a rectangular pillar have audio handsets on hangers and animating LED strips climbing up the pillar from above the audio handsets. A small reflective infrared sensor is placed behind each handset so I can monitor when a handset is picked up from the hanger. When a user picks up a handset, the LED animation changes in color and a 2 second timer begins(time it takes to move handset to ear). When timer completes, the audio file (wav file on sdcard) for that handset plays. When the audio file ends playing, the LED animation changes color again and another timer begins, this time 6 seconds. When this timer ends, it triggers the easter egg audio of some fun elevator music. This easter egg audio will be used on both handsets for this purpose. I fully expect multiple users to be engaging with both handsets at the same time.
Here is a fully list/breakdown of what I think I need:
Micro Controller: Teensy 3.5 or 3.6 (not sure if the 5volt tolerant pins of the 3.5 are better than the faster clock of the 3.6).
Audio In: .wav from sdcard - SanDisk 16GB Ultra UHS-I - 98MB/s, C10, U1, Full HD, A1
Audio Files: wav format, less than 45 seconds in length.
Audio Out: DAC0 and DAC1 - each DAC is connected to a kiosk handset, one handset per audio clip. Need audio to play on handset when sensor is triggered. I fully expect the need to play both audio files off the SDcards at the same time.
Handset(speaker): 2 x Stop&Listen Gorilla Audio Handset https://www.stoplisten.com/gorilla-handset/
Sensor: 2 x Miniature Reflective Infrared Optical Sensor - https://www.adafruit.com/product/3930 These will point at the handsets and alert the program when one is in use(or at least not on the hanger )
RTC: using embedded RTC to get a relatively close sync with multiple setups(making 12 of these setups) to create animations based on time.
LEDs: SK6812 series LEDs using the FastLED version of OctoWS2811 library - 5 strips (two strips of 321 LEDs, three strips of 192 LEDs). I will use a SN74HCT245N Level Shifter to convert signal from 3.3v to 5v.
So what do you all think? Should I be good to go? Should I switch from the SD card to RAM memory chips? How about using the Teensy 3.5 vs 3.6? Thanks so much for taking the time to read. Cheers!
I am a long time user of PJRC products, but almost always for LEDs only. This time I am working on a fast turn around project that requires the incorporation of the audio library, SD card, imbedded RTC, two external optical switches, and several hundred WS2812b LEDs. I am worried that with such a short deadline I am going to parts order myself into corner. Looking to the community to make sure none of the components are going to interfere with each other pin wise or data wise. Here is the project breakdown:
Two sides of a rectangular pillar have audio handsets on hangers and animating LED strips climbing up the pillar from above the audio handsets. A small reflective infrared sensor is placed behind each handset so I can monitor when a handset is picked up from the hanger. When a user picks up a handset, the LED animation changes in color and a 2 second timer begins(time it takes to move handset to ear). When timer completes, the audio file (wav file on sdcard) for that handset plays. When the audio file ends playing, the LED animation changes color again and another timer begins, this time 6 seconds. When this timer ends, it triggers the easter egg audio of some fun elevator music. This easter egg audio will be used on both handsets for this purpose. I fully expect multiple users to be engaging with both handsets at the same time.
Here is a fully list/breakdown of what I think I need:
Micro Controller: Teensy 3.5 or 3.6 (not sure if the 5volt tolerant pins of the 3.5 are better than the faster clock of the 3.6).
Audio In: .wav from sdcard - SanDisk 16GB Ultra UHS-I - 98MB/s, C10, U1, Full HD, A1
Audio Files: wav format, less than 45 seconds in length.
Audio Out: DAC0 and DAC1 - each DAC is connected to a kiosk handset, one handset per audio clip. Need audio to play on handset when sensor is triggered. I fully expect the need to play both audio files off the SDcards at the same time.
Handset(speaker): 2 x Stop&Listen Gorilla Audio Handset https://www.stoplisten.com/gorilla-handset/
Sensor: 2 x Miniature Reflective Infrared Optical Sensor - https://www.adafruit.com/product/3930 These will point at the handsets and alert the program when one is in use(or at least not on the hanger )
RTC: using embedded RTC to get a relatively close sync with multiple setups(making 12 of these setups) to create animations based on time.
LEDs: SK6812 series LEDs using the FastLED version of OctoWS2811 library - 5 strips (two strips of 321 LEDs, three strips of 192 LEDs). I will use a SN74HCT245N Level Shifter to convert signal from 3.3v to 5v.
So what do you all think? Should I be good to go? Should I switch from the SD card to RAM memory chips? How about using the Teensy 3.5 vs 3.6? Thanks so much for taking the time to read. Cheers!