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
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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 24458 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 3 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
  • shabaz
    shabaz over 3 years ago

    Nice project!

    Just curious, what resistance is in series with the LED? The schematic shows 1 kohm, but I'm guessing that was for the red LED, and not the one in the head-magnifier. It could be worth increasing the resistance slightly, to see what happens. It could be a brownout causing a repeated reset of the microcontroller. 

    If you can't access the LED to see what resistance was in there by the manufacturer (assuming they did that!) then just another resistor could be added, e.g. 100 ohm or 47 ohm just to see what happens.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • hifromkatie
    hifromkatie over 3 years ago in reply to shabaz

    Yes, the schematic includes that for the red LED that I was using whilst testing on breadboard. The LED on the magnifier had a 10ohm resistor on the PCB with the switch component on it going to the LED moulded in the plastic housing.

    Interestingly it isn't causing a brownout, the micro continues to be. up, and in comms with the sensor the whole time.
    Removing the switch and replacing it with a latching switch fixes the flickering (There may be a slight hint, but I may also be seeing things by this point!)

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • hifromkatie
    hifromkatie over 3 years ago in reply to shabaz

    Yes, the schematic includes that for the red LED that I was using whilst testing on breadboard. The LED on the magnifier had a 10ohm resistor on the PCB with the switch component on it going to the LED moulded in the plastic housing.

    Interestingly it isn't causing a brownout, the micro continues to be. up, and in comms with the sensor the whole time.
    Removing the switch and replacing it with a latching switch fixes the flickering (There may be a slight hint, but I may also be seeing things by this point!)

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

    I see.. I hadn't noticed the black blob comment (I watch all YouTube videos at high speed) but can imagine there's something there that may be interfering. 

    • 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 © 2026 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