EngineersGarage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise
You are here: Home / Topics / Measuring speed using inductive proximity sensor.

Measuring speed using inductive proximity sensor.

|

Microcontroller › Arduino › Measuring speed using inductive proximity sensor.

  • This topic has 5 replies, 3 voices, and was last updated 7 years, 11 months ago by Ashutosh Bhatt.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • March 25, 2017 at 1:44 pm #4628
    arduino
    Participant

    Hii Guys,

    I want to build a speedometer which is to measure speed of my bike using one proximity sensor placed very closed to bike frame. The reason to placed it there because the distance between spokes are at equal distance. So, I will get distance between spoke. Now whenever wheel rotates, first spoke of the wheel coincide with sensor  then sensor becomes HIGH and will register time value in milliseconds. Now again when second spoke coincides with the sensor, it will again become HIGH and store the time in milliseconds. Now the time difference between spokes is captured. My question how to calculate the linear distance between spoke. I thought of r *Theta in radian, to get linear distance but problem here is I would not get proper angle between two spokes. Is there any other better solution? Thanks in advance. 

    March 27, 2017 at 10:12 am #14531
    Ashutosh Bhatt
    Participant

    find outer diameter of your bike wheel – say 120 cm

    find how many spokes in wheel – say 6 spokes

    now when 6 spokes passes ur bike has traveled 120 cm

    from this you can easily measure speed of bike 

    March 27, 2017 at 9:25 pm #14533
    arduino
    Participant

    Thanks Ashutosh for your response. After doing some research, I am selecting this approach, to calculate the speed of bicycle in kph

    • Measure the wheel diameter and then multiplying it PI to get circumference of wheel. This distance is the distance travel by one revolution of the wheel.
    • If suppose, I am having 30 spokes on my bicycle then setting a counter to 30 in attach interrupt function. If it matched then time is captured and indicating the time travel for one revolution.

    Now, with these two measurement I will obtained speed in (m/s) which will be then converted into kph by conversion formula. I hope I am in right direction now. Once again thanks.

    April 9, 2017 at 7:37 am #14564
    Ashutosh Bhatt
    Participant

    yep….

    exactly you have to do the same

    I have made bicycle speed-o-meter on same principle

    July 25, 2017 at 5:26 pm #14634
    Ricky
    Participant

    HI…I am trying to read speed from both front and rear wheels of my motorcycle. I am using an Arduino uno with a 16×2 lcd display to view results and two fotek pl-05l npn inductive sensors. Sensors are reading wheel spinning from 5 screws that each one has for the disk brake. The main idea is to calculate time between each screw and assuming that its 1/5 of wheel to calculate the km/h. So far I have managed to read wheel speeds and comparing them to my original motorcycle speedometer they are pretty close. The problem is that often I get no logical km/h for example while riding at stable 90km/h suddenly shows 50km/h  for a while and after that I have 90km/h again. My sensors are supposed to work at 800hz which from my calculations are enough for over 300 km/h. Can anyone help to find a solution.

    July 26, 2017 at 6:55 pm #14636
    Ashutosh Bhatt
    Participant

    does it happen repeatedly at frequent interval?

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.
Log In

RSS Recent Posts

  • IoT: Transforming Businesses with Digital Engineering June 23, 2025
  • PIC KIT 3 not able to program dsPIC June 23, 2025
  • Fun with AI and swordfish basic June 23, 2025
  • Is AI making embedded software developers more productive? June 23, 2025
  • Microinverters and storeage batteries? June 22, 2025

Stay Up To Date

Newsletter Signup
EngineersGarage

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Engineers Garage Main Site
  • Visit our active EE Forums
    • EDABoard.com
    • Electro-Tech-Online
  • Projects & Tutorials
    • Circuits
    • Electronic Projects
    • Tutorials
    • Components
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Advertise