Roff
Well-Known Member
Hi Guys,
I've been very active in answering questions on other forums here, but I think this is my first question. :shock:
I've never done a project with a microcontroller. I'm wanting to make a variable audio delay (about 2.5 seconds max) using SRAM as a variable-length circular register, and using a PIC (or other uC) for address generation (probably 18 bits) and read/write control. The read/write would need to be perfectly periodic (say 10usec), while the address generation timing could be a little sloppy if need be. I would also want to monitor a delay up/down momentary switch, maybe on a comparator or A/D input, and use that to increment or decrement the point where the address rolls over to zero.
Can all this be done using a PIC or AVR? My primary concern is the need for the read/write timing to be precisely periodic. If that is impossible, I can use the uC to control a counter which addresses the SRAM.
Having said all that, does anyone know of hardware that is simpler than this? I have seen several audio delay chips, but none seem to do quite what I want.
BTW, I can handle the A/D - D/A portions of the project.
I've been very active in answering questions on other forums here, but I think this is my first question. :shock:
I've never done a project with a microcontroller. I'm wanting to make a variable audio delay (about 2.5 seconds max) using SRAM as a variable-length circular register, and using a PIC (or other uC) for address generation (probably 18 bits) and read/write control. The read/write would need to be perfectly periodic (say 10usec), while the address generation timing could be a little sloppy if need be. I would also want to monitor a delay up/down momentary switch, maybe on a comparator or A/D input, and use that to increment or decrement the point where the address rolls over to zero.
Can all this be done using a PIC or AVR? My primary concern is the need for the read/write timing to be precisely periodic. If that is impossible, I can use the uC to control a counter which addresses the SRAM.
Having said all that, does anyone know of hardware that is simpler than this? I have seen several audio delay chips, but none seem to do quite what I want.
BTW, I can handle the A/D - D/A portions of the project.