i am very new to electrical engineering and super unsure what to buy, because this is my first practical project...
The task:
I want to implement a hardware timer
with ~1MHz frequency for the HCTL-2022 chip.
For this i would use the TCL555CP Timer, two resistors with 500 Ohm and 1 kOhm, a capacitor of 1nF and a smoothing capacitor of 10nF as shown in this wikipedia article.
The usage:
The HCTL-2022
is reading a optical incremental encoder with ~4kppm. I want to read the HCTL
with the Arduino Mega 2560
. I need the timer because i think the microcontroller is not able to create a frequency that high.
Is this setup ok for my task? Is there a better / easier way? Can you give me any tips? Do i have to pay attention which capacitor or resistor i am buying?
Thanks for your time and help!