element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
IoT on Wheels Design Challenge
  • Challenges & Projects
  • Design Challenges
  • IoT on Wheels Design Challenge
  • More
  • Cancel
IoT on Wheels Design Challenge
Blog BLOG 4 : Want a Homemade Smart Cycle Computer ? [ PART 1 ]
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: gsgill112
  • Date Created: 10 Nov 2017 2:29 PM Date Created
  • Views 1216 views
  • Likes 3 likes
  • Comments 2 comments
Related
Recommended

BLOG 4 : Want a Homemade Smart Cycle Computer ? [ PART 1 ]

gsgill112
gsgill112
10 Nov 2017

Hello Guys Another pic image image image of my Photography Skills imageimageimageimage

image

 

Ok, So coming on to the topic.

 

Homemade Smart Cycle Computer - Finalising Sensor's and INTERFACE

So, A Part of the project was to get a System of measuring the Speed, Distance travelled, Avg Speed, etc. In this blog I will review various mechanisms I tried and Which one worked the best image

 

OK, Many of us are used to the Cycle computers the small little thing that tells us some important Information like The Speed, Distance and so on. . .

imageimageimage

Or the One I was Eying For (As a prize from Element14) image

imageimage

 

I Tried getting my self one of those cheep ones and trying to Rip it apart. Unfortunately It seemed a lot more complex and I immediately realised that It will take a lot of effort to reverse engineer so I dropped and decided to explore how can we achieve the task.image

 

Method - I Using a Limit Switch image

The easiest method I came up with is using a Limit switch something like this

 

imageimageimage

 

The Idea was to tie a small wooden piece to the spokes of the tire and the limit switch to the tyre frame so when ever the tyre rotates, it will press the switch and the same will be recorded in software image

Unfortunately, I realised its the most stupid IDEA.

Why ??

Because, primarily The switch has limited click's and is prone to wearing as it contains mechanical parts.

 

Method - II Using Reed Sensor image

Next, My GENIUS mind came up with a magnetic solution as these sensor were cheep in market (about 5-10 INR / couple of cents) and Internet blames these to be Magnetic switches.

image

So I grabbed few from market, made a small board for them as they are pretty delicate and started testing. Here's How they Work:

imageimage

 

Well It does act as a Switch but with a very poor response, It took couple of milliSec for the switch to detect the magnet thus making the entire fast detection thing pretty much useless and another Fail exercise for the job.  

 

Method - III Using Hall effect Sensor (FINAL Method)

Well, we all love INTERNET and my Google Searching Skills payed off image When I came across This beautiful device called as Hall effect Sensor image image, My eyes sparkled while going through the data sheet and my gut said; This is it.

 

image

and so I went miles to fetch one of these babies (Well eBay did all the travelling credit to them image) and I received the beautiful sensor. I immediately ripped the package grabbed a Yun, breadboard and couple of wires. After few minutes of a basic Arduino Sketch I was able to achieve what I wanted. A fast magnetic way to get the job done.

 

This is a Roucg Circuit Diagram

imageimageimage

 

Click here for the Datasheet

 

HERE IS A VIDEO OF ME TESTING THE SETUP

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

 

Note : Few things in this video are recycled and are readily available for makers.

and you with couple of basic prying tools can get all required components easily from a Old DVD/ CD Writer. They use the Magnets near the lens assembly to move it and the Hall sensors beneath the spindle to sense the spin speed. 

 

 

Part List

Allegro A1104 Hall Sensor

10K Resistor

Bread Board

Couple of Single Strand Wire

Arduino development kit (Any Will Work I have tested using Yun)

 

Conclusion

In conclusion,

1.    This was more like an tutorial/ How to approach a problem given some constraints BLOG, So please do provide feedback if you guys think that it is a bit too kidish image

2.    The prototype of Hall effect Sensor looks great and its time to get it to next stage. Lets design a PCB for the sensor Board image image and none of the CAD stuff, lets get a bit creative and test our drawing skills image image ;

Attachments:
imageA110x-Datasheet.pdf
  • Sign in to reply
  • mcb1
    mcb1 over 8 years ago

    gsgill112

    Hall Effect sensors are great.

    Be aware there are a variety of types. In your case it is triggered by the magnet like a momentary switch.

    There are others that latch, and others that will only respond to one pole.

     

    I think they are almost as useful as the 555 was to electronics all those years ago.

     

    Mark

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 8 years ago

    Nice update.

     

    I look forward to seeing how the hall effect sensor works in your application.

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube