Connect with us

need a c program for the project

Discussion in 'Microcontrollers, Programming and IoT' started by kilmont, Jun 24, 2012.

Scroll to continue with content
  1. kilmont


    Jun 24, 2012
    I need to make a tachometer displaying the speed of the motor in revolution per second on an LCD. I am using an atmega 32 microcontroller but I am having trouble with the program. My program is done on following basis. Kindly help me out please.
    Get the output of Opto coupler to the microcontroller through PO1.
    Convert analog signal to digital by ADC and count the pulses using COUNTER 0.
    Generate 1 second pulse duration using internal TIMER 1.
    Perform AND logic between PO1 inputs counted by the COUNTER and the TIMER 1 output.
    Count the no. of pulses present in the output of this operation.
    Give the digital output to the 8 bit port for the LCD.
    i am new to programming and need help
  2. LordSputnik


    Aug 11, 2011
    You should post up any code you have already if you want anyone to help...
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day