solid flow sensor for beans

i would try to hack a cheap letter scale. usually they go up to two kilo. you can find some with serial out, although they might not be that cheap. you could build one by yourself with a spring and some kind of rotary encoder or similar.