Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

AT90s2313 based LED tachometer

Status
Not open for further replies.

student1616

New Member
hello all,
i found this site while i was searching for some good microcontroller forum.iam
trying to make LED based tachometer for my motorcycle.
**broken link removed**
i want to drive 20 LEDS using AVR like AT90s2313 or ATTINY2313.why these
bcz i already have 2 microcontrollers each.
for input signal to the microcontroller,iam using the method of
inductive pickup (wounding a thich copper wire over the sparkplug
cable).
**broken link removed**
i'll be thankfull if someone could show me a schematic and code for
this.
thanks
student
 
schematic would be a simple conditioning of the input voltage not to exceed input level of the MCU, you only need the edge to trigger an interrupt. Out put would be a 2 pin data and clock for shift registers to drive any number of leds you want. Coding would be counting the number of pulse for a certain period of time.
 
thanks..
can i have a rough schematic and program for this.
i know i shld'nt ask like this but iam completely new to these microcontrollers.and this is the only circuit that i need to finish.so can someone help me with this issue.
thanks
 
basically iam from california.(now iam in india for my project work)
i'll be waiting for your reply regading the schematic and code.
once again thanks for the help
 
thanks i mailed a guy regarding this circuit.i did't get any reply till now.
mean while some help for schematic and code will be appreciated
 
you could make life alot easier getting a serial led display. that way to update data on the 4 displays is done over 4 wires, and the programming in pic basic would be somthing like


Dim Variable[4] As Byte
Symbol Data_Line = PortA.1
Symbol Clock_Line = PortA.1

Main:

Variable = COUNTER Input_Pin , 100 ' Count how many cycles occur over 100ms

Variable = Variable / 200 * 3 ' I have no idea what the equation would be, but convert the value to RPM

SHIFTOUT Data_Line, Clock_Line, MSBFIRST,[Variable/4] ' Send it out

Goto Main ' Do it all over again
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top