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 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
Single-Board Computers
  • Products
  • Dev Tools
  • Single-Board Computers
  • More
  • Cancel
Single-Board Computers
Forum Automatic weighing machine
  • Blog
  • Forum
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Single-Board Computers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 7 replies
  • Answers 5 answers
  • Subscribers 56 subscribers
  • Views 962 views
  • Users 0 members are here
  • the ben heck show
  • prototyping
  • innovation
  • research_labs
Related

Automatic weighing machine

khajavali1971
khajavali1971 over 6 years ago

Hi friends

For my high school project.

I want to build a automatic weighing machine which shows the avarage of every 20 weights it weighed and calculate the standard diviation of each weight with avarage weight.

I want It should show the data on a display .

I am working with microprocessor and load cell with calibration system and a step-down circuit to have 5 voltage.

Can you help me

I am a beginner.

Is it possible to feed such program in microprocessor/controller ?

to choose which microprocessor would be good to burn the avarage calculation program in to it?.

Should I use Ardino to do the job ?

  • Sign in to reply
  • Cancel

Top Replies

  • fmilburn
    fmilburn over 6 years ago +8 suggested
    This is an ideal task for microcontrollers and there are many that could do it including the Arduino. An Arduino has some advantages for a beginner in that there are lots of code examples on the internet…
  • dougw
    dougw over 6 years ago +8 suggested
    As Frank points out, your project could be performed entirely with an arduino. Here is another tutorial: https://www.robotshop.com/community/blog/show/interfacing-a-load-cell-with-an-arduino-board Another…
  • michaelkellett
    michaelkellett over 6 years ago +7 suggested
    Doug's suggestion is a good one to get started. I had a quick look at this board. It's very hard to find a schematic (none in the downloadable documentation) but they do almost admit what parts they use…
  • fmilburn
    0 fmilburn over 6 years ago

    This is an ideal task for microcontrollers and there are many that could do it including the Arduino.  An Arduino has some advantages for a beginner in that there are lots of code examples on the internet and in your case it will work with 5V easily.  There are shields made especially for the Arduino to use with load cells, e.g. https://learn.sparkfun.com/tutorials/load-cell-amplifier-hx711-breakout-hookup-guide?_ga=2.71342740.681789251.1539186257…

     

    Good luck with your project.... Frank

    • Cancel
    • Vote Up +8 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • dougw
    0 dougw over 6 years ago

    As Frank points out, your project could be performed entirely with an arduino. Here is another tutorial:

    https://www.robotshop.com/community/blog/show/interfacing-a-load-cell-with-an-arduino-board

    Another approach would be to use the arduino to read a load cell as these tutorials show and then send the readings to a PC to do the averaging and standard deviation calculations in Excel. It depends whether you find it easier to program an Excel macro to read in data and do the math or to program the arduino to do the math and display the results.

    This sounds like a pretty ambitious high school project. It will be impressive if you get it working. Good luck. And ask more questions if there is anything tripping you up.

    • Cancel
    • Vote Up +8 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 6 years ago

    Doug's suggestion is a good one to get started.

     

    I had a quick look at this board. It's very hard to find a schematic (none in the downloadable documentation) but they do almost admit what parts they use. 

     

    AD8426 diff amplifier and unnamed buffer amplifiers with Arduino 10 bit ADC.

     

    It's pretty cheap ($20) but limited.

     

    Don't expect to get better resolution than 1 part in 500 (and with a cheap load cell it will be worse because the offset can be quite large) so the weighing range will be limited.

     

    If you can live with those limitations it's about as simple a way of doing it as you'll find.

     

    To put it in perspective, I'm working on a weighing project for a customer and it uses Microchip MCP6V64 chopper amplifiers with an ADS131A02 24 bit ADC.

    The Microchip amplifier is cheaper than the AD8426 but does need two additional precision resistors - still works out cheaper for much better performance.

    This system gives a resolution of better than 1:50000.

     

    There are reasons that real weighing systems go this far, and one of them is that pretty much every weighing scale you see in a shop uses zero tracking - so that slow drift of the zero load  error can be cancelled out as the scale is working.

    If they didn't do that they would be forever having to re-zero the scale. To make zero tracking work you need a resolution of about e/10 (e is legal metrology jargon for the smallest displayed division on your scale.)

     

    If you go for the Robotshop board and they give you a schematic then post it here and we can advise you of any simple tweaks or pitfalls.

     

    What will you be weighing in your project ?

     

    MK

    • Cancel
    • Vote Up +7 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • beacon_dave
    0 beacon_dave over 6 years ago in reply to dougw

    This sounds like a pretty ambitious high school project.

    This reminds me of a high school project I saw in a physics lab around 36 years ago. Instead of a load cell, a loudspeaker driver was used and instead of a microcontroller, a BBC micro was used.

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • fmilburn
    0 fmilburn over 6 years ago in reply to michaelkellett

    The SparkFun board is $10.  Schematic is here.  Elecrow appears to sell something similar for $1.98.  They also have the schematic and datasheet for the HX711.  I have not used either.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • michaelkellett
    0 michaelkellett over 6 years ago in reply to fmilburn

    Good call Frank !

     

    I've not seen that chip before (or used it) but it's spec (although not quite complete) looks pretty good. I would think it a much better bet for Shaik than the Robotshop one.

     

    The Sparkfun support, and the price, are is no bad thing either.

     

    MK

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • fmilburn
    0 fmilburn over 6 years ago in reply to michaelkellett

    Thanks, I was curious what you would think of it... Frank

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • 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