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.

[PIC] School Help RPM counter

Status
Not open for further replies.

smeagol109

Newbie level 4
Joined
May 4, 2014
Messages
5
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
55
First of all I'm from portugal so sorry if I misspell something :oops:

Hello there I'm involved In a school project, and I searched the web to see if someone could help me develop a program that is basicaly a rpm counter that inputs the results into a lcd screen like this

**broken link removed**.

In my school we use Picaxe 28x2 and picaxe editor 6 as our programming software.

I already took out a sensor of a printer and figured out that it is light sensitive. So I attached white paper to a wheel with a black stripe, so when the black stripe hits the sensor it should count a rotation.

Can someone from this concept help me create a program? It would be awesome. :!:

Thanks in advance

P.S. I know you might need the exact tension values but just work with a generic number, for example 5 volts normally, down to 1v when the black stripe crosses the sensor.

Ruben Gomes :razz:
 

Hi,

Give us some more information:
What is your disired max. Rpm to disply?
What is your desired resolution of rpm?
How often do you like to update your display?

Hint:
Usually you wait a known fixed time and count the pulses. Then calculate rpm by: counts/time

With low rpm one waits for a rising edge of sensor signal and measures the time to the next rising edge.
Calculation: rpm = 1 / time

Mind to always use the correct units

Klaus
 

Hi,

Give us some more information:
What is your disired max. Rpm to disply?
What is your desired resolution of rpm?
How often do you like to update your display?

Hint:
Usually you wait a known fixed time and count the pulses. Then calculate rpm by: counts/time

With low rpm one waits for a rising edge of sensor signal and measures the time to the next rising edge.
Calculation: rpm = 1 / time

Mind to always use the correct units

Klaus

I chose to take a diferent route and use an arduino i got this setup: https://duino4projects.com/wp-content/uploads/2013/05/Arduino-RPM-Counter.gif

the potentiometer is just to regulate the display brightness.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top