mfacen
Member level 1
pic grafhics l.c.d scope
I have an idea for designing an oscilloscope with a PIC, I've never designed a project with external RAM memory on a PIC or used a ADC so I would apreciate any comments to know if is worth to research all the data for building this project.
PLease refer to the attached gif graphic:
The PIC controls the ADC and the RAM, when the sampling starts the pic waits for a sample to be ready, then commands the memory to store the sampled data, this process then repeats until the memory is full.
Once the memory is full the program running on the PC sends a signal to the DATA READY line to tell the PIC to start sending the data to the PC, the PIC controls the flow of data to the PC until all memory of the RAM has been transferred to the PC.
The program running on the PC shows the graphic.
The timing circuit controls the frequency of the ADC conversion.
Sorry about the very basic diagram, I have a much more detailed drawing but is not in electronic media so I just did a quick schematic.
The advantage I see in this design is that the ADC can be run at maximun speed as the data don't need to be transfered to te PC until the RAM is full, and also that the PIC don't need to be connected to the DATA BUS. Also you dont need to be near the PC when sampling the signal, you can sample and then download the data to the PC later.
Any comments are apreciated.
I have an idea for designing an oscilloscope with a PIC, I've never designed a project with external RAM memory on a PIC or used a ADC so I would apreciate any comments to know if is worth to research all the data for building this project.
PLease refer to the attached gif graphic:
The PIC controls the ADC and the RAM, when the sampling starts the pic waits for a sample to be ready, then commands the memory to store the sampled data, this process then repeats until the memory is full.
Once the memory is full the program running on the PC sends a signal to the DATA READY line to tell the PIC to start sending the data to the PC, the PIC controls the flow of data to the PC until all memory of the RAM has been transferred to the PC.
The program running on the PC shows the graphic.
The timing circuit controls the frequency of the ADC conversion.
Sorry about the very basic diagram, I have a much more detailed drawing but is not in electronic media so I just did a quick schematic.
The advantage I see in this design is that the ADC can be run at maximun speed as the data don't need to be transfered to te PC until the RAM is full, and also that the PIC don't need to be connected to the DATA BUS. Also you dont need to be near the PC when sampling the signal, you can sample and then download the data to the PC later.
Any comments are apreciated.