Bicycle Speedo Meter


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    May 2009
    Location
    South Africa
    Posts
    2

    Default Bicycle Speedo Meter

    Hi every one

    Does any one have basic code on a speedo meter for a bicycle?
    I am new to pic's and picbasic, though I did play around with it and got my 2x16 LCD working. Recording the distance is also not a ploblem but determine the speed and setting up the pic timer is where I struggle?
    Can any one help please.

    Best regards
    Ivan

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Hi and welcome aboard

    Knowing the "frequency range" and the PIC you're going to use would help. However in some circumstance, PBP COUNT command could do the job.

    You could do a search for Frequency Counter or simply Counter with the forum search tool. Sure enough there's a load of tips and example here that might help you.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  3. #3
    Join Date
    Aug 2006
    Location
    Look, behind you.
    Posts
    2,818


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e View Post
    Hi and welcome aboard

    Knowing the "frequency range" and the PIC you're going to use would help. However in some circumstance, PBP COUNT command could do the job.

    You could do a search for Frequency Counter or simply Counter with the forum search tool. Sure enough there's a load of tips and example here that might help you.
    I used it (count) for a tachometer and it was fast enough. http://www.picbasic.co.uk/forum/showthread.php?t=9037
    Alter the math a bit, based upon the wheel diameter and you have it. this is set up for an LED display, LCD would use less code.
    If you do not believe in MAGIC, Consider how currency has value simply by printing it, and is then traded for real assets.
    .
    Gold is the money of kings, silver is the money of gentlemen, barter is the money of peasants - but debt is the money of slaves
    .
    There simply is no "Happy Spam" If you do it you will disappear from this forum.

  4. #4
    Join Date
    May 2009
    Location
    South Africa
    Posts
    2


    Did you find this post helpful? Yes | No

    Default

    I am using a pic 16F628 with a 4Mhz resonator / or internal 4mhz clock (not sure how accurate this is).
    I will use two wheel pickups sensors (reed switch or hall effect) thus with a wheel circumference of 2 m, each sensor trigger at 1 meter distance travelled.

  5. #5
    Join Date
    Sep 2007
    Location
    USA, CA
    Posts
    271


    Did you find this post helpful? Yes | No

    Default

    The last bike speedo I bought was $10. Unless your goal is learning and experience, this is a waste of time.

Similar Threads

  1. Hall Effect flow meter with 16F876
    By revelator in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 10th March 2010, 20:42
  2. VU Meter
    By Andre_Pretorius in forum General
    Replies: 4
    Last Post: - 20th May 2009, 16:17
  3. NMEA 2000 Flow Meter
    By Joe Rocci in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 6th August 2008, 00:35
  4. PIC10F206 - What is the LOWEST Power @ Rest or Sleep
    By rixtalbert in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 18th March 2007, 14:42
  5. Battery discharge meter
    By Ron Marcus in forum Off Topic
    Replies: 1
    Last Post: - 18th March 2005, 08:01

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts