Arduino - detecting motion/movement?
问题 I need to detect in which direction the item is moving. I want to know if the item is moving up or down. Is this possible with this platform and by using a specific shield? I had in my mind the ultrasonic sensor, with which I would measure how far the item is from a certain point, and with this suggest what type of movement is happening because of the distance changes. I think this might be tricky, and wanted to see if there are better alternatives. UPDATE: I updated the question, corrected