I am using a Sunon 12V DC fan, similar to those used in computers, to moderate the temperature inside of a power supply. The fan has PWM control for the RPM based on temperature utilizing a MIC502. What I am trying to do is take the tachometer output and display information to an LCD that is part of the system. I had intended to use a Microcontroller (MCU) timer input, however, due to silicon issues, my intended use is not available.
The fan produces 2 pulses every revolution and has a maximum revolution of 3600 rpm. I intend on sampling a MCU 8 bit port at a rate greater than or equal to 60Hz and less than or equal to 100Hz. FYI MCU is also polling an ADC and Updating the LCD with current values from both ADC conversion and calculations based on those ADC conversions. MCU core operates at 80MHz and is based on the ARM Cortex-M3 processor (TI part number LM3S9B96). I know the MCU is grossly over powered for my application but it is what I have for development tools.
Any recommendations on how I can do this? I have my own but want to see if anyone has a better and or easier suggestion.
The fan produces 2 pulses every revolution and has a maximum revolution of 3600 rpm. I intend on sampling a MCU 8 bit port at a rate greater than or equal to 60Hz and less than or equal to 100Hz. FYI MCU is also polling an ADC and Updating the LCD with current values from both ADC conversion and calculations based on those ADC conversions. MCU core operates at 80MHz and is based on the ARM Cortex-M3 processor (TI part number LM3S9B96). I know the MCU is grossly over powered for my application but it is what I have for development tools.
Any recommendations on how I can do this? I have my own but want to see if anyone has a better and or easier suggestion.
Last edited: