I am writing this post to share your opinion about my project.
This is a project dedicated for my master thesis.
Well in this project I use two devices one is called "simulator" for simulating two shifted sinusoidal signals and second one which is called interpolator is designed to read these signals either from simulator or external optoelectronic converter.
I hope picture below will help you to understand how the design work.
As I mentioned before simulator gives two shifted sinusoidal waves and optoelectronic connverter gives two shifted squere waves.
Don`t going into details I designed these two devices and they work okey but...
In interpolator I used ADC converter rather than comparator. Better was doing it by comparator but I wanted to have a whole sinusoidal in order to visualise it.
Going into conclusion :
Sampling rate of the interpolator allows me just to read signals from the optoelectronic converter which do not exceed velocity of 1/sec.
If I increase this velocity I obviously get mistakes.
I use one microcontroller for: ADC conversion, two algorithms, debouncing keys, LCD_display futher I would like to implement PC comunication.
This is really time consuming and I am thinking of using two microcontrollers rather than one.
For example one would be responsible for making measurments and second one for LCD,PC connection, debouncing etc..
How would you communicate between these two microcontrollers ?
What is your opinion about it ??
Maybe you have other idies how to increase sampling rate using only one uC ??
The worst thing is that you cannot increase speed of LCD or ADC converter by increasing crystal frequency :/
I implemented LCD in timer 1 : frequency of LCD is 10 [HZ] enough for me.
In interpolator I am using atmega8 with 14745600 Mhz crystal.