Go Down

Topic: multiplexer HC4067 initialized sd card shield (Read 977 times) previous topic - next topic

Micheal_IS

hi,
sorry if this has been posted before.
is it possible for a multiplexer to define a sd card like the arduino drum project (not midi)?
please give me answers and instructions

thx before

PieterP

is it possible for a multiplexer to define a sd card like the arduino drum project (not midi)?
What kind of meaningless word salad is that?
please give me answers and instructions

thx before
You're not going to get far with that attitude.

Pieter

Grumpy_Mike

#2
Aug 29, 2018, 02:32 pm Last Edit: Aug 29, 2018, 02:33 pm by Grumpy_Mike
You will have to try better at describing what you want, what you said is meaningless.

Maybe you are having trouble with the meaning of the word "define"?

Micheal_IS

Hi everyone,

Sorry for my bad language, because English isn't my main language.
I have already made 16 piezo sensor using the multiplexer connect to laptop ( FL studio ) right now. Base on other project:

http://forum.arduino.cc/index.php?topic=457127.0

https://www.instructables.com/id/ELECTRONIC-DRUMnot-a-MIDI-sampler-aka-KIDU/

i wanna try to make new drum project using multiplexer and sd card shield. So, is it possible to use multiplexer for read sound file from the sd card?

I attach the picture can help explain my problem.

Thank You

Grumpy_Mike

Sorry still not getting it.
What has a multiplexer got to do with and SD card?
That "diagram" is odd because you do not connect an SD card to a speaker or amplifier because SD cards do not output audio signals.

An SD card can output data that the Arduino can turn into an audio signal, however most of the time you can only output one stream of audio data at a time. There is a library that will allow two audio streams but the quality is poor.

You can get a sound player card that can output up to 14 samples at the same time, if that is what you want to do.

Micheal_IS

hi Mike,

thanks for your explanation,

actually I tried making arduino drums, with a schematic like the picture in the attachment. is it possible to do that?

If you have several references to this, I am very grateful

Grumpy_Mike

#6
Aug 31, 2018, 02:08 pm Last Edit: Aug 31, 2018, 02:16 pm by Grumpy_Mike
I don't understand why the SS line of the SD card reader is connected to Pin4. The SPI hardware works with this line connected to pin 10.


Quote
actually I tried making arduino drums, with a schematic like the picture in the attachment. is it possible to do that?
It is but it will not be polyphonic, that it will only ever play one sound at any one time.
Also you do not connect your speaker up like that, you need some sort of D/A converter, as you have it all you will get are clicks at the most from the speaker each time a button is pressed.
One way to do this is to get playback through PWM
https://github.com/TMRh20/TMRpcm
 

Assuming the push buttons are indeed push buttons and not sensors, and you have pull up resistors on them then that should work.

This is the board you need for playing up to 14 sound files at the same time
https://robertsonics.com/wav-trigger/
 

pjrc

I don't understand why the SS line of the SD card reader is connected to Pin4. The SPI hardware works with this line connected to pin 10.
On the Arduino Ethernet shield, the W5100 or W5500 chip has its CS signal connected to pin 10, and the SD card has its CS signal connected to pin 4.

My guess is he's looking at that sheild's schematic.

Go Up