I currently have a Raspberry Pi 3, a hall effect sensor and a magnet attached to a bicycle's wheel. I'd like to make a real-time RPM vs Time chart that shows the gradual decrease of the wheel's speed (in RPM). but I don't know where to start because I'm still a beginner at node-red and coding in general. Something similar to the graph in the picture I included but with the RPM value instead of the temperature. Any help is appreciated!! temperature-vs-time-phase-change-graph|690x492
The first thing to do is to break the problem down into parts then tackle them one at a time. Since you have not given us any hints I presume that you are starting right at the beginning, in which case the first thing to do will be to connect the sensor to the Pi and then pick up the signal in node-red. Do you know how to do those two things?
Yes I connected the sensor to the Pi's Gpios.However I am totally unaware of what to do to pick up the signal in node-red. My only experience with node-red is creating a temperature chart using the Sense-Hat sensor in the past.But As I said i need to do the same thing(a chart) but using the Hall Effect sensor to measure the wheel's speed. Id be grateful if you could help me step by step.
You need to research how to read the hall effect sensors data on a RaspberryPi.
Different sensors use different methods, of connection. Only you know what sensor you have.
Hello my friend and thanks for your response. I have this sensor right here. sensor
So if you click through on those links it shows you the user manual, the datasheet and even software to connect to it. Which of those have you tried so far? The user manual goes as far as explain how to connect it and explain how it works, explain how to set up a serial connection to it and at what baud rate/other configuration. Have you tried that yet? Otherwise have you checked out the linked datasheets to see what they explain about connecting to it and how to read the values?
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.