Hello
I'm new to arduino, waiting for the hardware to arrive, dreaming about what i want to try to do with it first
One of my plans is a special kind of sound generator. I realize that it will need all the CPU power (at least) to be of any use. But then i also want to have an interface to change the produced sounds in real time, having different ideas how this interface would be realized. If i understand things right how analog input works internally i think this would probably interrupt the program flow far too long to be acceptable here. I expect the same for serial data connections. Maybe i just dream up things that are too demanding on behalf of CPU power... I think i will try to use two arduinos, one to receive data from the human interface and do some maths on it. Then it would be transfered to the sound generating arduino. I don't know yet how many bits i will need for that and how often i'll need to transfer data, but it will not be very much anyway. The problem is more how long the program flow of the receiving arduino will be interrupted by the transfer. So how do i do that?
Can i read several digital input pins at once or only one after the other?
How fast can a serial connection between two arduinos be?
Should i look at SPI?
Other ideas?
Sorry for the vague description of this project, it is still in the dream-about-stage
So let's just concentrate on the fast data transfer issue. Thanks for any hints.