Main content
Electrical engineering
Polling sensors
Check the real-time values of your sensors . Created by Brit Cruise.
Want to join the conversation?
- Where do you buy the parts to build this?(12 votes)
- Amazon, lego store, eBay, crags list, anywhere were you could buy a regular lego product.(5 votes)
- Where can you get the robot and how do you download the thing you program with?(3 votes)
- how can i program a heart rate sensor for my own activity tracker using my own android application?(1 vote)
- Hello Pokhrajsah,
Recommend you start with polar.com. They make a bluetooth enabled heart monitor. This would get you to the android. From there you could work on the programming - although there is already an app.
If you are interested in electronics please look at:
https://www.sparkfun.com/products/11574
https://www.sparkfun.com/products/8661
Regards,
APD(0 votes)
Video transcript
When configuring
any sensor, it's important to understand how to
poll them in real time, which means you grab their
current reading and see what it is right
inside the software. For example, I could
grab any sensor, but I have the
rotation sensor here. And now down in the
settings, when I click on it and I make sure I select the
correct port that the motor is plugged into, over on the left
is the live reading window, and for every sensor
you will have this. And in this case, it
says rotation sensor, and there's a little box,
which in real time as I move the motor, it updates with
the current reading, which is the number of
degrees of rotation. I position the
motor in some state, and I can click Reset,
which zeros the reading. And then I could rotate
my motor a certain amount, and then I can check
this window to see how many degrees it has rotated. And you can do this
for any sensor-- your current light reading,
sound reading, et cetera. And if you're not getting
a reading in real time and you've double checked
your port and connection, what I do is save everything,
close the software, and reopen it, and sometimes
that will fix the problem.