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 Enhancing a Magnifying Headband with Auto Sensing Light -- Episode 585
  • 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: 12 Jan 2023 4:58 PM Date Created
  • Last Updated Last Updated: 13 Jan 2023 8:24 AM
  • Views 23863 views
  • Likes 8 likes
  • Comments 27 comments

Enhancing a Magnifying Headband with Auto Sensing Light -- Episode 585

Do you often use a illuminated magnification headband? Do you get annoyed that you need to turn it off and on when looking away from your work? This project contains 2 solutions, a basic tilt sensor option that can be added in minutes, and a more complex distance detecting circuit which will change the illumination depending on how far away the object you are looking at is.

Watch the Video:

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

Bonus Content:

  • Download Code and Schematics

Bill of Material:

Product Name Manufacturer Quantity Buy Kit
LC1780USB Magnifier, Spectacles & Headband, 1x, 1.5x, 2x, 2.5x & 3.5x LIGHTCRAFT 1 Buy Now
102010328 Arduino Microcontroller Board, SAMD21G18, ARM Cortex-M0+ SEEED STUDIO 1 Buy Now
STMICROELECTRONICS Daughter Board, VL53L0X Gesture and Ranging Sensor, FlightSense STMICROELECTRONICS 1 Buy Now
MICROCHIP Power MOSFET, N Channel, 60 V, 200 mA, 5 ohm, TO-92, Through Hole MICROCHIP 1 Buy Now
COMUS (ASSEMTECH) Tilt Switch, 15 °, 60 Vac, 0.25 A, Nickel COMUS (ASSEMTECH) 1 Buy Now
 

element14 presents

element14 presents  |  About Katie Dumont |  Project Videos

  • tilt
  • e14p_KD
  • magnification
  • Xiao
  • Distance sense
  • illuminate
  • modify
  • friday_release
  • Share
  • History
  • More
  • Cancel
Actions
  • Share
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • hifromkatie
    hifromkatie over 2 years ago in reply to DAB +1
    Thanks, it hard to find the culprit further than "something under the epoxy blob", by bypassing the switch circuit which has the auto power off and other stuff hidden under expoxy, the problem is resolved…
Parents
  • baldengineer
    baldengineer over 2 years ago

    Just a minor note.

    measure.RangeMilliMeter returns an unsigned 16-bit integer and you're storing the value in a signed variable and then doing a "less than" comparison. Probably not an issue overall, but it is kind of messy.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • baldengineer
    baldengineer over 2 years ago

    Just a minor note.

    measure.RangeMilliMeter returns an unsigned 16-bit integer and you're storing the value in a signed variable and then doing a "less than" comparison. Probably not an issue overall, but it is kind of messy.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • hifromkatie
    hifromkatie over 2 years ago in reply to baldengineer

    ah yea, it is messy, good spot. Doesn't seem to cause an issue, but I should probably sort that out and make it "nice"

    • 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