Well, you might think What this guy is doing here if cannot solve this by his own, but believe me, I have tried and tried and tried and got even more confused each time.
I have solid background in scientific programming, mostly FORTRAN and, in a previous life, in C. However, I am totally novice to Micro controllers. I read some books about the subject. While I could easily understand each element and concept separately (timers, interrupts, io,...etc.). I am still unable to get a global view how to put the different parts together.
My objective is simple: read two inputs, an analog signal and a PWM signal, process and evaluate them, and use the information to define a single PWM output signal. I am thinking of using hardware PWM. Is there anything like input hardware PWM or is it limited to PWM output only?? In other words, do I need a chip with a single or double PWM channel(s)?
The processing and evaluation is not sophisticated, which mean processor power and memory is not a major concern. Size is not an issue either. However, the smaller the better.
To limit the selection difficulties I decided to stick to ATMEL chips. I do not know if they are the best for my purpose or not but I had to start somewhere. Now I am totally lost as the selection of the chip is concerned. And even in a more miserable situation when it comes to wiring and circuit design.
Any hint will be highly appreciated..... Thanks in advance
PS. What about educational kits?? Are they worth the money???
I have solid background in scientific programming, mostly FORTRAN and, in a previous life, in C. However, I am totally novice to Micro controllers. I read some books about the subject. While I could easily understand each element and concept separately (timers, interrupts, io,...etc.). I am still unable to get a global view how to put the different parts together.
My objective is simple: read two inputs, an analog signal and a PWM signal, process and evaluate them, and use the information to define a single PWM output signal. I am thinking of using hardware PWM. Is there anything like input hardware PWM or is it limited to PWM output only?? In other words, do I need a chip with a single or double PWM channel(s)?
The processing and evaluation is not sophisticated, which mean processor power and memory is not a major concern. Size is not an issue either. However, the smaller the better.
To limit the selection difficulties I decided to stick to ATMEL chips. I do not know if they are the best for my purpose or not but I had to start somewhere. Now I am totally lost as the selection of the chip is concerned. And even in a more miserable situation when it comes to wiring and circuit design.
Any hint will be highly appreciated..... Thanks in advance
PS. What about educational kits?? Are they worth the money???