Skip to content

acaird/raspi-scale

Repository files navigation

Making a lame scale with a RaspberryPI and a force-sensitive resistor

Motivation

I wanted to make a little scale for my jar of coffee beans so I can plot the weight of it over time and note when it is low so I can buy fresh beans.

The Script

This script was taken from learn.adafruit and is also available at https://gist.github.com/ladyada/3151375#file-adafruit_mcp3008-py and modified a little to work with the FSR and not the potentiometer in their script.

The Wiring

The breadboard layout looks like this:

images/lamescale_bb.png

(Drawn with the totally fun Fritzing and the Adafruit Fritzing Library)

To load the files in the fritzing-files directory into Fritzing directly you can open the .fz file, although you’ll be prompted to convert it to a .fzz file, or you can make the .fzz file yourself from the files in that directory by going into it and typing:

zip ../lamescale.fzz *

then opening the resulting lamescale.fzz file in Fritzing. I keep the files un-zipped in the git repository for version tracking, so you can get whatever version you want from there.

The License

I don’t know what the license on Adafruit’s script is, but mine follows that. If there isn’t a license on their script, mine is CC By-SA.

About

for my Raspberry Pi coffee container

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages