A fully automatic coffee bean roaster (Arduino)

A fully automatic coffee bean roaster (Arduino)
I got introduced into the world of Arduino when two friends informed me about this little device independently from each other. I read about it and was sold immediately. What if I had this so many years ago, how much would I have invented already, what would I have made? What would my house have looked like?

I ordered one directly and there I was playing with lights, sensors, etc. But then? ..... it has the potential to control everything, but what? What should I make?

I think this is where more people get stuck. What should I do with it?

Coincidently I just finished constructing a coffee roaster, made from an ordinary popcorn machine. In basic it works by a fan blowing air past a heating element through the green coffee beans. By controlling the fan speed, I was able to control the temperature of the air roasting the beans. But, the roasting process turned out to be quite hands on, as the temperature needed to be kept constant following a profile, which was done by measuring the temperature the whole time and adjusting the fan speed with a pot meter.

That, I thought, should be automated....


 
Remove these adsRemove these ads by Signing Up
 

Step 1Materials used

Materials used
For this project I used:

-1x  Arduino Duemilanove
-1x  Arduino protoshield v2 (sparkfun) with breadboard
-1x 12x2 LCD screen (use a parallel one, would recommend a serial LCD)

-1x  electric popcorn machine
-4x  1KOhm resistors
-1x  small push button
-2x  1KOhm potmeter variable resistor
-1x  IRF540N
-1x  temperature sensor ZTK 33 V/7 mA
-1x  solid state relais S216S02 (sharp)

-19V adapter (used the one of my laptop)
-plugs, wires, etc


« Previous StepDownload PDFView All StepsNext Step »
31 comments
Sep 22, 2011. 5:01 PMsnightingale1 says:
ah just read lower comment about max temp not being achieved with fan on full. Makes sense. Guess other approach could be set fan at speed that would allow adequate top temp and then adjust heat source.
Sep 22, 2011. 4:53 PMsnightingale1 says:
would a better way to do this be to always run the fan at full and use PWM + solid state relay to adjust power input to the heating element? Seems to me like this would offer more direct temperature control and could overcome minimum fan speed problem.
May 28, 2011. 7:52 AMhawkeye.tech says:
If the beans lift up a bit, you could set up what is known as a 'reed switch'. Two thin strips of metal, say Stainless steel, 1/16th apart. As the beans lift up they close the switch. That would make the logic easy. Or even bump it over and over, as long as it is closing and opening the controller would know that they were moving.

To add function, mount it on a threaded rod so you can tune the level easily.

This is the method used in polyethylene plants to measure the level in holding tanks. Poly is made as small pellets, shaped like a coffee bean but smaller. Of course they don't move around, just fill or drain.
Dec 24, 2010. 2:26 PMvarocketry says:
Nightlife - noticed you temperature were in Celsuius so your 300dC resistor would be able to measure 572dF - plenty!

Again, great job.
Dec 24, 2010. 2:12 PMvarocketry says:
Some coffees require temperatures of 420-440 deg F for a successful second crack. The temperature sensor needs to read at least 450 deg or 500 degrees.

Is there a recommended substitute that will read this higher temperature?
Thanks. I'm definitely going to study this -- I haven;t even experience with Arduino.
Nov 4, 2010. 8:33 PMTheadamjacob says:
Maybe use a sensitive vibration detector. you can even make one.
Aug 9, 2010. 2:16 PMtilas75 says:
How about a piezoelectric sensor?
Dec 31, 2009. 10:58 AMa_pyles says:
How does the temperature sensor work? 
Where do you put the probe?
Whats the maximum temperature that this sensor can read?

I was thinking of building something similar. But using the 
max6675 thermocouple amplifier. Is there any advantage to your approach over the max 6675? The 6675 is about $12.00 ( from sparkfun.) 
Mar 1, 2010. 6:51 AMsteveastrouk says:
According to the datasheet for the temperature sensor, it can only work up to 150 C.

A T/C will be a lot better.

Steve
Feb 11, 2010. 3:33 PMrnr says:
Hi
I am 3/4 of the way through building your system.
Do you have an alternative for the sharp relay as it is proving difficult to source in Australia and there are some issues about importing them into the country due to local sharp licensing issues.
Thanks

Dec 3, 2009. 5:34 AMVitoVonAntwon says:
Maybe a webcam, and some optical recognition software.  That sounds really complicated, but probably the best bet.
Nov 16, 2009. 9:09 AMdkelly1966 says:

A microphone could not only tell if the beans were moving but could also tell when they crack :)

Nov 4, 2009. 7:32 PMgmuller says:
Why did you elect to modify the fan speed and not the temperature in your design? I would think you would control the temperature up and down rather than the fan, that way you can leave the fan running at a constant speed (and cool the beans afterwards), and adjust the heat as needed...
Nov 8, 2009. 5:57 PMgmuller says:
Is this just because the popcorn roaster speed is "regulated" by a temp sensor? I built a roaster from a convection oven and had to disable this temperature governor by disabling this sensor. Of course you run into the safety issue of not having ANY temp control other than your arduino, but s long as you're being reasonable with it, I don't suppose you could damage anything.

Anyway, I'd be curious to see this done...I'd like to mod mine to do something similar...
Nov 6, 2009. 3:01 AMnaumanalikhan01 says:
Good application but this technology is making consumers lazy and more lazy.
Nov 8, 2009. 5:54 PMgmuller says:
I disagree. If that were true 4000 years ago we'd be saying the same thing about domesticating plants. Access to leisure time is what creates the technological insights that we've enjoyed since the dawn of civilization.
Nov 6, 2009. 5:40 PMWyoJustin says:
What a project. What a feat.  What an instructable!

Wowed.
Justin
Nov 4, 2009. 7:16 PMBartboy says:
I'm too lazy to read all of this... :P
Does/how hard would it be to make it do this every morning at 7, make the coffee, pour it, and add cream?
Nov 5, 2009. 1:12 AMHarveyH44 says:
You wouldn't want to do this every morning.  After roasting, the beans need to rest for a few hours.  Usually, I wait 4-6 hours, or over night.  I've got a different home-brewed roaster setup, which does about a pound of coffee.  I use a stopwatch and listen to the popping and crackling, and sort of guess at when they are done enough.
Nov 5, 2009. 4:16 AMBartboy says:
But could this be set up so it roasts the beans, Grinds them, and makes the coffee overnight?
Nov 5, 2009. 4:05 PMHarveyH44 says:
Might be a start, but you should probably read up some on the roasting process.  Just how lazy are you anyway?  I roast at around 428 F, wouldn't leave it unattended, something goes wrong, potential fire hazard.  Green coffee comes with a thin membrane on each bean, which splits, and blows off.  It's best to roast outdoors, didn't mention the smoke and steam, or strong aroma.  Roast enough to last a week or two, grind before you brew.
Nov 4, 2009. 8:42 PMjoren says:
 Great (proof of) concept!  I would be curious how you think you could scale it up to do batches in the 1+ KG range, which would be much more practical? 
Nov 4, 2009. 3:01 PMkelseymh says:
COFFEE!!!  What a most excellent application, and well written, too.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
10
Followers
2
Author:nightlife31