Arduino Inductive Spark Plug Sensor Engine RPM Meter Shift Lights by Kostas Kokoras
[English]
It's an engine (car or motorbike) RPM-Meter with shift lights. It uses an inductive spark plug sensor to sense the sparks. The sensor needs a few (8-10) turns of one clone cable around the spark plug. The signal from the spark plug then drives a transistor which passes 5V pulses to the Schmit Trigger SN74LS14N and then to Pin 2 of Arduino. The Arduino code counts the pulses and then display the results to the two 7-segment displays. The number that is displayed X 100 gives you the RPM of the engine. When the RPM reaches a adjustable through the dip switch then starts to light on the shift lights.
It's an engine (car or motorbike) RPM-Meter with shift lights. It uses an inductive spark plug sensor to sense the sparks. The sensor needs a few (8-10) turns of one clone cable around the spark plug. The signal from the spark plug then drives a transistor which passes 5V pulses to the Schmit Trigger SN74LS14N and then to Pin 2 of Arduino. The Arduino code counts the pulses and then display the results to the two 7-segment displays. The number that is displayed X 100 gives you the RPM of the engine. When the RPM reaches a adjustable through the dip switch then starts to light on the shift lights.
[Ελληνικά]
Πρόκειτε για ένα στροφόμετρο κινητήρα (αυτοκινήτου, μηχανάκι, κ.α.) . Χρησιμοποιεί έναν επαγωγικό αισθητήρα στροφών, με τον οποίο ανιχνεύει την υψηλή τάση στο καλώδιο του μπουζί. Για να γίνει αυτό απαιτείται να υπάρχει ένα τύλιγμα 8-10 στροφών γύρω από το μπουζοκαλώδιο. Προσοχή το καλώδιο του τυλίγματος πρέπει να είναι μονόκλωνο. Κάθε φορά που έχουμε υψηλή τάση στο μπουζοκαλώδιο δημιουργείτε ένας παλμός που οδηγεί το τρανσίστορ ώστε να περάσει ένας παλμός 5V στο SN74LS14N (Schmitt Trigger) για τετραγωνοποίηση του παλμού, ο οποίος με την σειρά του οδειγήται στο Pin 2 του Arduino. Από εκεί και πέρα αναλαμβάνει το λογισμικό το οποίο μετράει του παλμούς, υπολογίζει τις στροφές ανα λεπτό και τις εμφανίζει στα στα 7-segment Led Displays. Ο αριθμός που εμφανίζεται Χ 100 μας δίχνει τις στροφές ανά λεπτό του κινητήρα. Με τα dip switches ρυθμίζεις στις πόσες στροφές θα ανάβουν τα LED του Shift Light.
The Inductive Spark Sensor
Download my Android Apps!
Κατεβάστε τις Android εφαρμογές μου!
You can view the schematics here.
NOTICE : Use all information in this page (hardware schematics, Arduino Code, etc) in your own risk.
Very interesting RPM meter!
ReplyDeleteI was wondering why u used a SN74LS14N and not go directly to the Arduino?
Just for more stable and more rectangular pulses.
DeleteI think that this 100uF capacitor in schema need to be 100nF? and that schottky diode symbol is mean to be zener diode?
ReplyDeleteIt is an 100nF capacitor and it is a 5,1V zener diode.
Deletei have followed all step that you write in this blog. But i have problem, my arduino port always can't be detected when i run serial monitor arduino. I can't fix it by my self. Could you help me, please ? :)
ReplyDeleteHi, the baud-rate of arduino serial monitor and the command " Serial.begin(baud-rate); " should be the same. e.g. 9600
Deletegeia sou kosta pos mporo na sevro
ReplyDeletekokoras.konstantinos@gmail.com
DeleteIs the zener missing on the photo sensor1? The parts do not seem to match total in schematic? Thanks very much
ReplyDeleteHi, I am very impressed with the inductive spark plug sensor. I was wondering if it can be used for a 2-stroke motor which gives a very high voltage output? Is there a code available for just the spark plug sensor? Thanks
ReplyDeleteHi. Thanks for share your circuit,
ReplyDeleteI'm working with this model , very fine!!!
I think in photo #4 pin 1 must be pin 7 of sn74ls14n
Photo: http://3.bp.blogspot.com/-wFHmtHn6vS8/UsCTLV6pM0I/AAAAAAAAAHU/dVX7zW5JamY/s1600/schmittrigger.jpg
Capacitors are 1uF or 1nF? , sorry, i can´t distinguish
Thank you very much
Dear Sir..!
ReplyDeleteFirst i want say im really new to Arduino projects and Im really interest your projects "Arduino Inductive Spark Plug Sensor Engine RPM Meter Shift Lights"
..My problem is i cant fined " SN74LS14N" IC in my area..but i can find below IC's in my area.which one is most suitable for replace to above IC
01. SN74LS32N (Quadruple 2-Input Positive-OR Gates)
02. HD74LS14P (Hex Schmitt Trigger Inverters)
03. SN74LS47N (BCD to 7-Segment Decoder/Driver )
04. SN74LS273
Pleas reply me as soon as sir,
Thank you very much
Hello Mr. Udana Gayan . For the SN74LS14N you can use HD74LS14P (Hex Schmitt Trigger Inverters) but you need to invert outputs. Both chips are complementary.
DeleteCheers
Hello Mr.Udana
DeleteI check the datasheet for SN74LS14N and HD74LS14P and both have the same outputs they share everything ?
may you explain why we should invert outputs on HD74LS14P
thanks alot
What is SCR number connect to the 7 segment?
ReplyDeleteSCR?
ReplyDeletesorry
DeleteWhat is namber of transistor?
Thanks.
2N3904
Deletehi my name is pranav.
ReplyDeletei have problem with the inductive spark plug sensor.
i connect the one led to the collector with 1k resistor but it doesn't blinking.
please help me........
how to identify the output of a wire wounded on a spark plug.
ReplyDeletei have facing the problem that i don't get the output from wire wounded on a spark plug wire.
ReplyDeleteYou need a one clone wire around spark plug, 8-10 turns. Try more turns if you don't get anything. Good luck! !
Deletei tried upto 20 wire turns but it can't give output.
ReplyDeletehow to check the the output of clone wire.
the capacitor of 100nf is electrolytic or ceramic.
the capacitor is 100nF polyester
Deletei connect this type of capacitor.
Deletehttp://ecx.images-amazon.com/images/I/41uLexGseAL._SY300_.jpg
is it ok.
The one you use is ceramic. It is not polyester. I dont know if its much of a difference. Look for polyester capacitor.
Deletewhat is a clone wire ?
ReplyDeleteplease explain me.........
I mean a solid hook up wire like this
ReplyDeletehttp://www.jameco.com/Jameco/workshop/productnews/wire-cable-fig1.jpg
DONT use stranded hook up wire like this
http://www.jameco.com/Jameco/workshop/productnews/wire-cable-fig2.jpg
can you tell me how to check the output of wire wounded on spark plug wire?
ReplyDeleteI dont know. What kind of engine do you have? What kind of spark plug? Because there are some with shield and you cant use this sensor.
DeleteDo you think we can use a 555 instead of the SN74LS14N ? then, how do you wire it?
ReplyDeleteI think you can, I dont know how to wire it. Look for it.
DeleteHi, I have built the circuit, no result. Can anyone confirm voltage from coil using multimeter please?
Deletecan you give me a working of inductive spark plug.......
ReplyDeleteCan I change 2N3904 to BC547?
ReplyDeleteHi. sn74ls14n datasheet says ground must be to pin7 . You connected it to pin1. Where to connect it according to your second picture scheme ?
ReplyDeleteTested . Must be pin 7
Deletesir,pls help. i got some problem, i made those spark plug sensor exactly like u posted but the output of it realy noisy, then i replace it by schmitt trigger with IC NE555 that supplied by LM7805 but the output still noisy. this unstable current pickup cause of unstable power supply, no matter what ever kind of spark plug sensor i use the interrupt incorrectly. can u give me tips to solve this??
ReplyDeleteany one? pls..
ReplyDeletekalhspera file,katarxhn mprabo polu kalh doyleia,deuteron antimetwpizw merika problhmata me ta sxediagramata sou,an mporeis epikoinwnise mazi moy
ReplyDeletesummonerfox96@gmail.com
Eyxaristo gia ta kala sou sxolia. steile mou e-mail.
Deletekokoras.konstantinos@gmail.com
What should be the area of the cross section of the clone wire?
ReplyDeleteHi, Konstantinos!
ReplyDeleteCould you,pls, tell me: What should be the area of the cross section of the clone wire?
Its around the spark plug.
DeleteWhat is the series of zeinner diode you use?
ReplyDeleteThanks for sharing but i still confuse with the arduino code that posted in the blog. Can you explain which arduino code that read analog signal from the spark plug cable?
ReplyDeleteThere is no analog reading. Sensor converts every spark to 5V pulse. Arduino counts the pulses and calculates the RPM. There is a variable called "pulsesPerRev" which in my case is equal to 1. it represents the sparks per engine cycle.
DeleteHi, could you share a picture of the back side of the sensor1 picture?
ReplyDeleteAlso, is the 5.1 zener on the picture?
I also have the same problem. Did you find the correct voltage of zener?
DeleteHi kokoras, i just built one like yours, apply it on 100cc 4 stroke bike is working fine. But when apply it on 150cc 2 stroke honda nsr, sometimes arduino restart, serial monitor to pc is hang, LCD Character shows alot of letters and numbers. Seems like arduino catch alot of EMI (I use ferrite magnet already). Can you help me here? Thx.
ReplyDeleteΓεια σου Κώστα, βλέπουμε το κύκλωμα με έναν φίλο μου αναλύτικά και επειδή θέλουμε να το φτιάξουμε λεπτομερώς έχουμε απορία για το που χρησιμεύουν 2 δίοδοι στο κύκλωμα "Inductive Spark Plug Sensor". Συγκεκριμένα, αυτή που είναι συνδεδεμένη παράλληλα στις σπείρες και αυτή που είναι ανάμεσα από το πυκνωτή και τη Zenner.
ReplyDeleteHey Kostas
ReplyDeleteThanks for your work! It looks amazing. I'm struggling a little bit with understanding parts of your circuit. The 10k resistor between the positive side of the coil and ground, what exactly is it for? And why do you have both a 1N4007 and a 1N4148, shouldn't the 1N4007 do the job itself?
Thanks again for your circuit. :-)
Hi Kostas. Impressive circuit. In drawing #1, is the line out above the 2N3904 to be connected to point A in the second drawing?
ReplyDeleteThanks
Correct!!!
DeleteCould you say voltage of the zener diode connected to base of transister (2N3904)
ReplyDelete