Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[51] Measuring the Engine Rpm through Inductive pickup sensor by arduino

Status
Not open for further replies.

chamanali

Newbie level 4
Newbie level 4
Joined
Feb 14, 2014
Messages
7
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
68
I used below attach Ciruit for inductive pickup coil but a problem is coming to measure the rpm.when i start my motorcycle then arduino does not measure the pulses and it become a blind, does not work..when i keep the inductive coil far from the sparkplug wire then it takes the pulses.
please help me what i do for it.

- - - Updated - - -

REply it fastttt
 

Attachments

  • sensor board.png
    sensor board.png
    71 KB · Views: 703

I used below attach Ciruit for inductive pickup coil but a problem is coming to measure the rpm.when i start my motorcycle then arduino does not measure the pulses and it become a blind, does not work..when i keep the inductive coil far from the sparkplug wire then it takes the pulses.
please help me what i do for it.

- - - Updated - - -

REply it fastttt
U can isolate input & also refer my link

https://www.edaboard.com/threads/308995/#post1324364
 


Code C++ - [expand]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
int rpmcount = 0; 
 
 
int rpm = 0; 
 
 
unsigned long lastmillis = 0; 
 
 
void setup(){ 
 Serial.begin(9600); 
 attachInterrupt(0, rpm_fan, FALLING);
 
 } 
 
 
void loop(){ 
 
 if (millis() - lastmillis == 1000){ //Uptade every one second, this will be equal to reading frecuency (Hz).
 
 detachInterrupt(0);//Disable interrupt when calculating
 
 rpm = rpmcount * 60; // Convert frecuency to RPM, note: this works for one interruption per full rotation. For two interrups per full rotation use rpmcount * 30.
 
 Serial.print("RPM =\t"); //print the word "RPM" and tab.
 Serial.print(rpm); // print the rpm value.
 Serial.print("\t Hz=\t"); //print the word "Hz".
 Serial.println(rpmcount); //print revolutions per second or Hz. And print new line or enter.
 
 rpmcount = 0; // Restart the RPM counter
 lastmillis = millis(); // Uptade lasmillis
 attachInterrupt(0, rpm_fan, FALLING); //enable interrupt
  }
 
 } 
 
 // this code will be executed every time the interrupt 0 (pin2) gets low.
 
 
void rpm_fan(){ 
  rpmcount++;
 
 }



i used this program to take inputs from the inductive pickup coil..but i am so much worry.. arduino measues automaticaly values when i start the motorcycle without keeping the inductive coil on sparkplug...but i kept the coil on sparkplug then arduino does not work.it blind

- - - Updated - - -

this is hardware of inductive pickup sensor i have mad
 

Attachments

  • IMG-20140219-00478.jpg
    IMG-20140219-00478.jpg
    1.2 MB · Views: 229
Last edited by a moderator:

I don't about ur areduino to much & inductive pick up coil also.With coil if u kept ur hardware near spark plug then also display show blank. if this is case than u should kept away from spark plug & check display.
 

I don't about ur areduino to much & inductive pick up coil also.With coil if u kept ur hardware near spark plug then also display show blank. if this is case than u should kept away from spark plug & check display.


yes u are right.when i kept away coil from the spark plug then comes output...in this way my sensor will get values of the other nearby running bikes...i want i round the coil on spark plug then it takes only values of my motorcycle........
give me the solution
 

Can u use isolated input as ur all post show that too much noise or high voltage spike generate which blank display
 

how i isolate input
this is my input sensor and coil
i am so worried
 

Attachments

  • IMG-20140219-00478.jpg
    IMG-20140219-00478.jpg
    1.2 MB · Views: 126

I already post link on which post 3 have circuit diagram u cal follow it. In my case I isolate output in ur case u isolate input signal of coil
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top