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.
I am using Proximity sensor for inputs and used stepper motor for output...i am using arduino and stepper motor driver sparkfun
int rpmcount = 0;
int dirPin = 3;
int stepperPin = 4;
int a=0,b=0,c=0;
int rpm = 0;
unsigned long lastmillis = 0;
void setup(){
Serial.begin(9600)...
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
but its not move continuously like other mechanical speedometer...its moves step by step like clock seconds needle...kidly tell me how i continous it ....someone help me by giving comments...programming????
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)...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.