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
Ben Heck Featured Content
  • Challenges & Projects
  • element14 presents
  • element14's The Ben Heck Show
  • Ben Heck Featured Content
  • More
  • Cancel
Ben Heck Featured Content
Documents Ben Heck’s Pill-Minder 2000 Episode -- Episode 237
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Ben Heck Featured Content to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: pchan
  • Date Created: 12 May 2016 9:01 PM Date Created
  • Last Updated Last Updated: 6 May 2016 7:24 AM
  • Views 1264 views
  • Likes 4 likes
  • Comments 5 comments
Related
Recommended

Ben Heck’s Pill-Minder 2000 Episode -- Episode 237

image

element14's The Ben Heck Show

Join the Ben Heck team every week for amazing hacks! Watch them build and mod community-inspired projects using electronics!

Back to The Ben Heck Show homepage image

Connect with TBHS
Featured Bonus Materials
See All Episodes

 

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image
In this episode Ben and Felix set out to create a solution for people who may sometimes forget to take their pills. With the invention of the Pill-Minder 2000 users will be alerted not only when they forget to take their pills but also when they are supposed to take their pills in the first place.

 

Congratulations to Community member, cacope, for having his build suggestion used in this episode! To watch the Ben Heck Show team discuss this build idea, watch this Top 5 Builds segment, HERE. Submit your suggestions HERE for a chance to have YOUR build idea featured on the show and win a Ben Heck Show t-shirt.

 

Supporting Files

Click Herefor access to all the supporting files you will need to replicate this build!
  • hack
  • top_5_builds_winner
  • ben_heck
  • heck
  • ben
  • tbhs_ep
  • episode 237: ben heck’s pill-minder 2000 episode
  • bh_buildkit
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • DAB
    DAB over 9 years ago +1
    Nice episode Ben, but I think you just scratched the surface. I have four or five different pills and some of them are taken more than once a day. So your basic design could handle the day's total pills…
  • tpcipri
    tpcipri over 9 years ago +1
    I've alway enjoyed your episodes Ben. Over the last few months I've had to deal with my mother who has worsening dementia and had to be put in assisted living. Before assisted care my mother was up and…
Parents
  • tpcipri
    tpcipri over 9 years ago

    There are a couple approaches that improve upon the resolution you were seeing.

     

    1. I suspect you were using a 10-bit ADC. Without adding external circuitry you could improve accuracy by oversampling at a higher sampling rate. For every 4x samples using oversampling you increase your resolution by 1 bit (doubles resolution). It is more effective than the averaging method you used (see page 5 of the referenced document). Since you are using an Atmel processor, here is a link to an Atmel reference on the subject. http://www.atmel.com/images/doc8003.pdf that your viewers can use.
    2. As an alternative, a single opamp can be used to null out the load cell when the empty pill box is present. A potentiometer or DAC (preferable) can be used to drive the amplifier's output to near zero when the pillbox is empty and the gain of the amplifier is set to 80% of the ADC's full scale input when the pillbox is full. For complete digital control a programmable gain amplifier (PGA) can be used. This method would probably be sensitive enough to not only tell how many pills are being added but what the weight of each is by using a calibration weight. For this application a calibration weight wouldn't be needed but one can be assured that differences in position of the box would be accounted for.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • tpcipri
    tpcipri over 9 years ago

    There are a couple approaches that improve upon the resolution you were seeing.

     

    1. I suspect you were using a 10-bit ADC. Without adding external circuitry you could improve accuracy by oversampling at a higher sampling rate. For every 4x samples using oversampling you increase your resolution by 1 bit (doubles resolution). It is more effective than the averaging method you used (see page 5 of the referenced document). Since you are using an Atmel processor, here is a link to an Atmel reference on the subject. http://www.atmel.com/images/doc8003.pdf that your viewers can use.
    2. As an alternative, a single opamp can be used to null out the load cell when the empty pill box is present. A potentiometer or DAC (preferable) can be used to drive the amplifier's output to near zero when the pillbox is empty and the gain of the amplifier is set to 80% of the ADC's full scale input when the pillbox is full. For complete digital control a programmable gain amplifier (PGA) can be used. This method would probably be sensitive enough to not only tell how many pills are being added but what the weight of each is by using a calibration weight. For this application a calibration weight wouldn't be needed but one can be assured that differences in position of the box would be accounted for.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
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