Well a PIC running at 4Mhz has a 1uS instruction cycle, so if it takes 10 instructions to read the port, then the maximum possible transfer is only 100,000 per second - this is ignoring actually doing something with the data.
Have you ever used one of these Kodak units?, it looks like there's a fair bit of setting up required?.
Well a PIC running at 4Mhz has a 1uS instruction cycle, so if it takes 10 instructions to read the port, then the maximum possible transfer is only 100,000 per second - this is ignoring actually doing something with the data.
Have you ever used one of these Kodak units?, it looks like there's a fair bit of setting up required?.
No i haven't used those Kodak unit before, and I'm new to PIC also. Right now I'm just planning and draw out the schematics. What should I do? I'm not even sure if my calculation is correct...
Right now, my idea is to read the data by parallel connection and send it to PC without storing (store a few line) inside the PIC (because there's no enough memory), any suggestions?
I would suggest trying doing it directly into the PC, using the parallel port, you've got much better compiler and debugging support on the PC. Once you've got it working like that, and understand how to use the chip, you could then see about using a PIC instead.
But first off, this isn't a trivial project, nor a beginners project, you should start with something much easier and work up!.