element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
Project Videos
  • Challenges & Projects
  • element14 presents
  • Project Videos
  • More
  • Cancel
Project Videos
Documents Arduino Unit Conversion Calculator -- Episode 455
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Project Videos to participate - click to join for free!
Related
Recommended
Engagement
  • Author Author: tariq.ahmad
  • Date Created: 14 Jul 2020 4:45 PM Date Created
  • Last Updated Last Updated: 17 Jul 2020 7:24 AM
  • Views 5684 views
  • Likes 7 likes
  • Comments 15 comments

Arduino Unit Conversion Calculator -- Episode 455

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

As a maker I convert units all the time, fractional to metric, tenths to metric, MPH to KPH etc. In this video I build a dedicated desktop calculator that can do all of my conversion at the twist of a knob and the punch of a few keys. I will be using the Arduino UNO, a rotary encoder, an LCD character display and a bunch of Cherry MX switches to build this. It is designed in a way that it can be easily replicated and built at home.  New conversions are easily added with a software update!

Supplemental Content:

  • Download Code from Github
  • View Model and download 3d Cad files

Bill of Materials

Product Name Manufacturer Quantity Buy Kit
Rotary Encoder, Mechanical, Incremental, 24 PPR, 24 Detents, Vertical, With Momentary Push Switch BOURNS 1 Buy Now
Small Signal Diode, Single, 100 V, 200 mA, 1 V, 4 ns, 1 A ON SEMICONDUCTOR 20 Buy Now
Arduino Uno SMD, ATmega328 MCU, 54 3.3V I/O, 16 Analogue Inputs, 4 UARTs ARDUINO 1 Buy Now
USB Cable, Type A Plug to Type B Plug, 1.8 m, 6 ft, USB 2.0, Black QUALTEK ELECTRONICS 1 Buy Now

 

Additional Parts:

 

Product Name

Cherry MX Brown, No Diode, No LED x20

Tactile Switch x2

20x4 2004 LCD Display Module with I2C x1

Attachments:
Kaleb Clark - Kaleb_008-STL-Files.zip
image
Arduino Unit Conversion Calculator

element14 presents  |  About Kaleb |  Project Videos

  • kaleb
  • e14presents_kalebclark
  • arduino uno
  • diy
  • unit conversion
  • element14 presents
  • metric
  • rotary encoder
  • desktop
  • tool
  • on semiconductor
  • bourns
  • arduino
  • e14p_KC
  • fractional
  • friday_release
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • KalebTheMaker
    KalebTheMaker over 5 years ago in reply to celcius1 +2
    Hi Paul, Thanks! The power source should not be a problem, it was just that specific one. If I plug it into my computer (which I do for powering it on my desk), it works fine. A portable version would…
  • celcius1
    celcius1 over 5 years ago +1
    Hi Kaleb, Loved the project, but to avoid finding a compatible USB power source, why did you not try using a AA battery pack like this https://www.jaycar.com.au/4-x-aa-side-by-side-end-to-end-battery-holder…
  • DAB
    DAB over 5 years ago +1
    Nice build. DAB
  • absurdasparagus
    absurdasparagus over 4 years ago

    hey im new to all this. i cant get the encoder to work. any one know a video i can watch to learn how the encoder library works?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • gomer1
    gomer1 over 5 years ago

    is there a schematic for this.

    ron

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • KalebTheMaker
    KalebTheMaker over 5 years ago in reply to mr_widget

    Good suggestion with mils, I will keep that one in mind!

     

    -Kaleb

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mr_widget
    mr_widget over 5 years ago

    While on the subject of thermistors, I wanted to know with precision what the non-linearity of response certain well-known pcb through-hole thermistors are.

    I did this with an Arduino Uno prior to developing my mixed-signal standard module:

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mr_widget
    mr_widget over 5 years ago

    For additional coversion I would like to have are obvious for a PCB hacker like me: Mils to mm and obverse.  I read a metric buttload of datasheets and drawings that have the "wrong" pcb layout geometry in the packaging specs, while I use Eagle for most of my work, and house rules that all dimensions on the pcb be in mils for spacing things like differential pair signal lines etc.

    J.R. Stoner

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mr_widget
    mr_widget over 5 years ago

    I did create a more modular approach to handling a rotary encoder (with a debounce logic for the press-on switch built in to many encoders).

    The URL for a project description is here:

    https://bifrost-group.com/ee-times-designline-blog-article

    Maybe if you want to simplify the Arduino code a bit so you don't have software real-time artifacts to contend with, this may be worth taking a look at.

    One of my personal projects that includes this device (plus a thermistor temp sensor to leverage the mixed-signal features of the Silego/Dialog part) is a standard component for many of my larger projects that has a SPI breakout, for either a PCB mounted encoder, or a panel-mounted encoder separate from the breakout.

     

    J.R. Stoner

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • eliminster
    eliminster over 5 years ago in reply to KalebTheMaker

    Absolutely my friend!

     

    I am however not going to print the button caps, as I have never been able to get them to look/feel like I want anyway. I have a friend of mine that said for me to try 3D resin printing them, but I don’t have one and never even touched one before. What are your thoughts?


    - Keven

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • KalebTheMaker
    KalebTheMaker over 5 years ago in reply to eliminster

    Thanks Keven!

     

    If you do build one, please share some pictures here, and feel free to ask questions. I would love to see it

     

    -Kaleb.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • eliminster
    eliminster over 5 years ago

    Kaleb,

    I have to say, this is one of the coolest projects! I can’t wait to build this and stick it on my desk.

     

    -Keven

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • KalebTheMaker
    KalebTheMaker over 5 years ago in reply to DAB

    As always, Thanks DAB!

     

    -Kaleb

    • 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