element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • 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
Forget Me Not Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Forget Me Not Design Challenge
  • More
  • Cancel
Forget Me Not Design Challenge
Blog [CaTS] ForgetMeNot - 3D Printing: Weighing scale
  • Blog
  • Forum
  • Documents
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Blog Post Actions
  • Subscribe by email
  • More
  • Cancel
  • Share
  • Subscribe by email
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
Author: fvan
Date Created: 27 Aug 2014 7:50 PM
Views: 203
Likes: 3
Comments: 6
  • forget_me_not
  • design_challenge
  • openhab
  • tektronix
  • iot_pet_care
  • eclipse
  • internet_of_things
  • enocean
  • cats
  • raspberrypi
  • smarthome
  • challenge
  • iot
  • enocean_pi
Related
Recommended

[CaTS] ForgetMeNot - 3D Printing: Weighing scale

fvan
fvan
27 Aug 2014

Previous posts for this project:

  • [CaTS] ForgetMeNot - Index
  • [CaTS] ForgetMeNot - Week 0: Project Description
  • [CaTS] ForgetMeNot - Week 1: EnOceanPi and Sensors
  • [CaTS] ForgetMeNot - Week 2: Elro CoCo and Pi Cam with OpenHAB
  • [CaTS] ForgetMeNot - Week 3: Data persistence and charts with OpenHAB
  • [CaTS] ForgetMeNot - Week 4: Arduino-OpenHAB communication
  • [CaTS] ForgetMeNot - 3D Printing: EnOcean sensor bracket
  • [CaTS] ForgetMeNot - 3D Printing: EnOcean rocker switch and magnet holder
  • [CaTS] ForgetMeNot - 3D Printing: Food dispenser prototype

 

  • Introduction
  • Print
  • Mount
  • Test

 

Introduction

 

Even though I'm away and unable to work on my project, I still prepared some content beforehand to ensure you guys had something to read while I was away

 

To determine the quantity of food and water for my cats, and even how much is consumed, I intend to use load cells connected to an Arduino to weigh both bowls and their contents.

The load cells need to be mounted in a certain way, as sketched below:

 

I sketched a piece based on the dimensions of the load cell and sent it to the printer.

 

Print

 

I printed the part twice to mount both bottom and top parts to the load cell. An additional two more will be needed for the second load cell.

The piece lifted a little during printing, I'll have to see if I can find a way to make it stick better to the platform.

 

This is the result:

 

Mount

 

Last step was to mount the printed parts to the load cell. Some screws needed to be shortened, but the pieces fitted together nicely.

 

Test

 

To quickly test the build, I hooked up the load cell to HX711 weighing sensor module, connected to a MicroView displaying a gauge of the measured data.

There is also an alternative circuit using an INA125P which I found on instructables. Not sure if this is a better alternative compared to the HX711 though.

 

Only a few lines of code were required to get the circuit up and running:

 

#include <MicroView.h>
#include "hx711.h"

MicroViewWidget *widget;
Hx711 scale(A1, A0);

void setup() {
    uView.begin();
    uView.clear(PAGE);
    widget= new MicroViewGauge(32,30,0,1000);  // draw Gauge widget at x=32,y=30,min=0, max=1000
}

void loop() {
        int weight = scale.getGram() / 3.5;
        widget->setValue(weight);    // give a value to widget
        uView.display();        // display current page buffer
        delay(100);
}

 

And here's the scale in action:

 

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

 

I'll have to perform additional tests with different weights to verify the accuracy and consistency of the results. But for now, it seems to work!

Anonymous
Parents
  • rohanaggarwal
    rohanaggarwal over 5 years ago

    sir, in this program u have added an external library named "hx711.h" . What is that...???

    plz reply on rohanaggarwal45@gmail.com

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
  • fvan
    fvan over 5 years ago in reply to rohanaggarwal

    HX711 is the load cell ampllfier used in this example.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
Comment
  • fvan
    fvan over 5 years ago in reply to rohanaggarwal

    HX711 is the load cell ampllfier used in this example.

    • Cancel
    • Up 0 Down
    • Reply
    • More
    • Cancel
Children
No Data
Element14

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 © 2022 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

  • Facebook
  • Twitter
  • linkedin
  • YouTube