- This topic has 1 reply, 2 voices, and was last updated 6 years, 3 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
|
Microcontroller › 8051 › Electronic flowmeter
Hello,I am working on a project of electronic flowmeter in which input to microcontroller is from IR sensor.I have to display the RPM count and send a message to a particular mobile no.So can anyone help me out in code for calculating the RPM count and sending it to a mob no.Please help as soon as possible.
Let me mention my email ID also-udayan1988yahoo.co.in
Hi there
There could be many approaches for counting the RPM but I will suggest you to make use of timers, present in most of the microcontrollers, and count the number of times IR sensor interrupts it in a minute, or you can see it the other way round also, like, measure the time gap between two consecutive interrupts (interrupts from IR sensor) and use them to compute how many would be there in a minute (sort of unitary method).
After you have the RPM, sending message to a mobile number is not that difficult. Here are some links that will surely help you:
1. "engineersgarage.com/embedded/arduino/how-send-message-gsm-module-using-arduino"
2. "engineersgarage.com/contribution/frequency-and-rpm-counter"