hi,
i'm a student, i builde a radiale air engine as project. but i have a raspberry pi, so i want to use the raspberry as rpm counter.
can someone program a rpm counter for me on idle? or something else.
pls i realy need help
No, you just haven't learned yet. If you set your mind to it and understand that it's not a 1-day project, you can comprehend. Break it down into little parts. Start by reading a button instead of a complex sensor if you haven't already done that. Go find a tutorial on GPIO first, and get up to speed with that.i don't have the brains for it.
Helpful, and interesting. There would be several ways to measure the speed of that. Probably the reflective optical sensor that I mentioned earlier would be best. Paint half the wheel black and the other half white or silver (test both colors with the sensor first) and count how many times it changes.i"m making this air engine: https://www.youtube.com/watch?v=vcaFWg-FvbQ
400 RPM = 6.67 rotations per second. I'm pretty certain that the Pi can be fast enough to read the GPIO fast enough to make sense of that, as long as you're doing it in C or Python and not a shell script. Does anyone have a benchmark on GPIO reads per second?i think it goes at least 400 rpm
We can help. We might even be able to do that with enough information and help from you. However, we're not your personal problem solving team and if you keep typing at us in all caps, you're likely to get ignored by most people on here.I HOPE SOMEONE CAN GIVE ME AN SOLUTION:
A program can be written, but it needs the hardware to interface with in order to read the speed of the wheel. Without the hardware to read it, no program will give you a meaningful output. Let's get that solved first.IS IT POSIBLE TO SEND AN LITLE PROGRAM
I have no idea what this means. Try again, and use mostly lowercase letters, please.A WAY TO DO THE SECUIRD BORD FOR THE SENCOR?
I'd also vote as light reflexion measuring method. The sensor (take it as a first approximation) could be something like this http://uk.farnell.com/jsp/search/browse ... allpartialJordyR96 wrote:i"m making this air engine
I did some tests with the pigpio Python module and got circa 9000 state changes per second with Python running locally and circa 100K state changes per second if Python was running over a network to the Pi.Tarcas wrote: ...
400 RPM = 6.67 rotations per second. I'm pretty certain that the Pi can be fast enough to read the GPIO fast enough to make sense of that, as long as you're doing it in C or Python and not a shell script. Does anyone have a benchmark on GPIO reads per second?
...
FYI: Your link is broken.FLYFISH TECHNOLOGIES wrote:Hi,I'd also vote as light reflexion measuring method. The sensor (take it as a first approximation) could be something like this http://si.farnell.com/optek-technology/ ... lective/dpJordyR96 wrote:i"m making this air engine
After watching the video, my first thought was that RasPi is a bit overpowered if displaying RPMs is its one and only task...
Best wishes, Ivan Zilic.
Thanks, updated... hopefully, that one works and is not glued to the session.Tarcas wrote:FYI: Your link is broken.
The link works now, but it's to search results. If you meant to point him to a particular one, you might have to name it.FLYFISH TECHNOLOGIES wrote:Hi,Thanks, updated... hopefully, that one works and is not glued to the session.Tarcas wrote:FYI: Your link is broken.
Best wishes, Ivan Zilic.
The number of results is minor... therefore, (hopefully), this will force JordyR96 to browse through them, to compare their properties, etc.Tarcas wrote:The link works now, but it's to search results. If you meant to point him to a particular one, you might have to name it.FLYFISH TECHNOLOGIES wrote:Hi,Thanks, updated... hopefully, that one works and is not glued to the session.Tarcas wrote:FYI: Your link is broken.
What you'll be doing is one of two things:JordyR96 wrote:Tarcas,
at the moment am i capabele to do some little programing.
i tryed to make this program : https://www.youtube.com/watch?v=ZpkI2JGdtAA
i would use that pushbuton as my "pulse" to try it out. i understand how the GPIO works, but to count my pulses and recalculate them to rpm is a mystery for me.
You need to stay in the loop for 1 second (**see below) and during this time you count number of input signal changes.JordyR96 wrote:how would my program look like?
https://www.google.com/search?q=python%20loop%20timeoutJordyR96 wrote:but what for cammands do i need to type?
Try to think:JordyR96 wrote:but how can i count pulses?