nice job. i'm not familiar with the arduino. So basically, when you send "76", the arduino cycles through all eight selection states on pins 2-4? can you control the speed at which it steps through the states? and can you adjust the A2D resolution on the arduino? and will it work with Pd the same as it does in Max?
You can control the speed at which it steps through the pots by placing a delay(); command in the code, but currently it is just going as fast as it can (for the quickest response across the eight pots). The max ("default") resolution for the Arduino is 10 bits. But because this is sending MIDI control data, the Arduino shifts the analog to digital value left by three bits.
If Pd supports a Serial object, then it is possible. Otherwise, it is also possible to send the data over a MIDI interface (with the right code on the Arduino). ;-)
i made a mistake in my movie info - the ICs i used a 4051 (8 to 1 multiplexer).
it should be easy to use, say, 6 multiplexer going into analog inputs 0, 1, 2, 3, 4, 5 and controlled by 3 digital output pins in order to get a total of 8 x 6 = 48 ins
furthermore, it is then possible to connect the output of a multiplexer into the input of a multiplexer, essentially chaining them together. this allows one to have, say, 256 inputs connected to 9 x 4051s (8 of them connected to 1) and controlled by 8 digital pins.
the only complication would be the sampling rate of the multiplexed inputs -- which of course goes down with the number of inputs and multiplexed inputs used in a system.
great job! so how do you get the serial data into Max/MSP?
bharath088 1 year ago
nice job. i'm not familiar with the arduino. So basically, when you send "76", the arduino cycles through all eight selection states on pins 2-4? can you control the speed at which it steps through the states? and can you adjust the A2D resolution on the arduino? and will it work with Pd the same as it does in Max?
badbobbyhughes 4 years ago
You can control the speed at which it steps through the pots by placing a delay(); command in the code, but currently it is just going as fast as it can (for the quickest response across the eight pots). The max ("default") resolution for the Arduino is 10 bits. But because this is sending MIDI control data, the Arduino shifts the analog to digital value left by three bits.
littlescale 4 years ago
If Pd supports a Serial object, then it is possible. Otherwise, it is also possible to send the data over a MIDI interface (with the right code on the Arduino). ;-)
littlescale 4 years ago
would it be possible to use another 3 pairs of 4021s for the analog in 3,4 and 5 on the arduino board? or are there any complications?
sorisos 4 years ago
i made a mistake in my movie info - the ICs i used a 4051 (8 to 1 multiplexer).
it should be easy to use, say, 6 multiplexer going into analog inputs 0, 1, 2, 3, 4, 5 and controlled by 3 digital output pins in order to get a total of 8 x 6 = 48 ins
littlescale 4 years ago
furthermore, it is then possible to connect the output of a multiplexer into the input of a multiplexer, essentially chaining them together. this allows one to have, say, 256 inputs connected to 9 x 4051s (8 of them connected to 1) and controlled by 8 digital pins.
etc etc.
littlescale 4 years ago
the only complication would be the sampling rate of the multiplexed inputs -- which of course goes down with the number of inputs and multiplexed inputs used in a system.
littlescale 4 years ago
how did you interface the multiplexer ins? with max? arduino2max? is it possible to see the patch?
messierishome 4 years ago
Hi can you could plz a give some explanation on it because I am studing types
IC
It was quite informative and very impressive
sant4d 4 years ago
Hi there,
If you look in the movie information, you can find some links at the bottom. Follow these links to find out more.
Let me know if you are needing any more info.
Cheers
littlescale 4 years ago
Very impressive man. I'm excited about using this idea with the sound installation I have planed :)
eclecticeye 4 years ago
yeah for sure. let me know how i can help, yeah.
littlescale 4 years ago
Hello. What kind of multiplexers are those? Thanks for the video.
sqrpshr2 4 years ago
just a pair of 4051. I believe they were CD4051. 8 to 1 analog.
littlescale 4 years ago
cool, I've used Icube and CUI quite a lot but never Arduino..
warpie 4 years ago
owo thats cool, clever enough..can you change the frequencies instead of the amplitudes of each harmonic?
warpie 4 years ago
Absolutely. It's just a matter of how you map it. The pots could be changing whatever. Visuals. Sound. Etc.
littlescale 4 years ago
WOW.... This is increadible nicence sound. Congrats
TutorialsGuide 4 years ago
Thanks.
littlescale 4 years ago