Ordered parts this weekend for roaster controller.

I’ve ordered some parts from Maxim/Dallas as well as from Microchip this past weekend. The stuff from Maxim is supposed to be coming US Postal Service so I don’t really know when they will arrive. I forgot to add a temperature sensor (ambient) to the order though so I will need to come back to that later. I need to compare it with a similar chip offered by Microchip to see which one I want to use. I believe the chips by Microchip are actually smaller and more accurate but I will need to confirm later.

According to Microchip’s website / my invoice the IO board, graphics board and LCD touch screen, Prototype cards, and a 9V Power Supply will ship sometime in the next couple days. They are scheduled for arrival on the 17th. The Network Card and PIC32 Starter Kit is not due to be available for 2 weeks and is supposed to arrive on the 30th.

Building a roast controller system.

As alluded to earlier in the blog I am intending on building a roaster controller system.  I’m probably a bit of an over-achiever in terms of my projects because every time I create something on the internet for one of my websites, as part of a building project in the yard, or whatever else I’m creating I always over-analyze it.  In my career one of the areas I’ve been responsible for was “Disaster Recovery” planning for computer systems.  In other words my job was to over-analyze all the things that could go wrong and figure out a plan to deal with them.  At the same time I also have to plan all the ways for it to go right and have a plan so anyone can do it even without strong computer skills.

Focusing on a roast controller as mentioned I’ve already purchased some testing equipment for measuring temperature using a K type thermocouple. I am now finalizing the equipment that I’m going to use to build this and test it.  I’ve focused on using the PIC32 microprocessor due to its abilities to work easily with Ethernet, LCDs, and having many input/output circuits.  In addition it seems to be a robust platform for RTOS systems allowing a lot to be going on all at the same time.

To ease development I am choosing to embrace the development tools provided by the manufacturer.  This of course adds to the startup cost of the system but allows me to “try new things” in the future too using the development platform.  Once I finalize the project I would then order the individual components and manufacture my own circuit boards.  To start off I expect to need the following.

The Starting Parts

  1. DM320003-2 – PIC32 USB Starter Kit II – $55.00

    • Main processor (MCU) test board.
    • Contains PIC32MX795F512L processor.
    • 80 MHz with 512K Flash, 128K RAM. (this is actually a lot for a simple coffee roaster but is necessary for drawing graphical LCD, developing complex roasting profiles, and loading Ethernet overhead.)
    • Allows USB, Ethernet, LCD, I2C and SPI communications. 
  2. DM320002 – PIC32 I/O Expansion Board – $72.00

    • Connector to access pins and interface auxiliary boards.
  3. AC164132 – Fast 100Mbps Ethernet PICtail Plus Daughter Board –$49.99

    • Physical wired ethernet board for interface to DM320002.
  4. AC164126 – Prototype PICtail Plus Daughter Board – $20.00
    • Prototype boards to solder additional parts and extensions such as temperature probe chips, time devices, relays, etc.
  5. AC164127-3 – Graphics PICtail Plus Daughter Board with 3.2 Display Kit – $154.99

    • SSD1926 Graphics chip (kind of like a video card)
    • 3.2 QVGA (240X320) TFT LCD with 18-bit parallel RGB interface
    • Touch Screen

The Later Parts

The above parts allow me to start testing User Interface functionality without worrying too much about the circuit boards except for the occasional prototype board communicating with a sensor or two.  I’m doing that to determine the final touch screen configuration and “what is possible” on the screen real estate to determine if I want to pursue additional sensors and features.  It will also allow me to begin testing response time of various sensors on the prototype boards.  Some parts I expect to need:

  1. MAX6676 Thermocouple Amplifier
  2. DS3232 Real Time Clock
  3. Lots of resistors
  4. Lots of capcitors
  5. Various Transistors
  6. Lots of diodes
  7. Photosensitive PCBs
  8. PCB etch Chemicals and developer
  9. SMD soldering and hot air rework station
  10. Infrared circuit board pre-heater station
  11. Small Drill Press w/ bits for drilling PCBs
  12. Oscilloscope for dimmer testing
  13. Several relays and/or some dimmer circuits that need to be designed still.
  14. Probably a video camera at some point to demonstrate progress/results.

Roast temperature probe sweet spot in Fresh Roast

As I mentioned previously there appears to be a “donut” shaped sweet spot in the roast.  I had been testing my SR500 with a K type thermocouple in various spots.  Most of the time people run their roasters with the thermocouple shoved straight down the middle in a lot of the photos I’ve seen.  With the SR500 I’ve found this region to be very sparse with beans due to the high flow of air up the middle.

As shown in this diagram the center portion at the bottom shoots up the middle in the air column grabbing beans on the edges of the two green zones.  They are then tossed outward in the orange circular zone represented on top.  The beans that sit out on the purple areas on the bottom tend to burn due to low circulation.  Ultimately I would expect some sort of triangular slanted chute sealed to the edge would allow beans to be directed away from this burn zone and closer to an area where movement would be possible will help improve this.

I have not written much lately because I’m currently not at home using my roaster.  Prior to leaving I did some testing of the sweet spot ultimately getting pretty close to the middle of that sweet spot.  No matter which beans I roasted and the length the beans were being roasted I always noticed, while adjusting fan and temperature settings on the controls, that the beans always had first crack at the expected temperature +/- 1 degree Fahrenheit.    The same with second crack seemed to hold true as well.

Based on those readings and the reproducibility of that it is my opinion that the ideal thermocouple position in the SR500 and probably the SR300 is as I described earlier.  The height seems to be just below the surface of where 120 grams of beans fills the roasting chamber to for the tip.  This keeps it from the bottom where the heat is somewhat higher and allows it to be centered in contact with the main mass of beans once they expand slightly and begin to float more easily in the air column above his position.

Regarding the coffee’s I’ve roasted.  I previously mentioned some by name and certain characteristics of the roast as I was roasting them.  I had decided until I can track the actual temperatures and accurate times to share it was probably best not to continue posting the resulting curves as I roasted them.

Experimenting with a thermocouple.

So now that I have a faster responding thermocouple I’m finding that the  sensor works better closer to the edges of the roaster.   When thinking of the bean mass on the SR300 and SR500 you probably need to consider the bean mass as if it is a donut at the bottom of the chamber.  You want to get the tip of the probe centered in the middle of the donut and not the middle of the chamber.

Most modifications people have shown put the probe drilled straight down the middle.  This has the advantage of clearing the “chaff grate” on the sides down a natural hole in the roaster.  The problem with this is that the very center is actually a sort of “fountain” of beans and hot air.   The probe has very little contact with any of the roasted beans and is mostly picking up the air put out by the roaster.

Many people who have sensored this middle area report temperatures in the 420 to 425 degree range.  At the very end all of the beans are very fluid and filling almost the entire chamber area moving freely.  Once this finally happens the temperature readings then reach the 440-450 range showing a typical second crack area that coincides with actual second crack occuring.  Often second crack ACTUALLY happens while the probe is showing 400 degrees when placed in the middle.  This is likely due to the bean mass thermic reaction being hotter than the air rushing up from below and only a few minutes later does the air column catch up.

I’m starting to get low on beans from the samplers  with only a pound or two left of all the varieties.  I’m feeling that the probe placement I used initially in the middle helped stall a few roasts due to inaccurate temperatures of the bean mass that I responded to.  I’m testing a roast where the probe was moved closer to the “donut” range to see what sort of tastes develop but this one is pretty close to a standard roast.

My feelings are there is a “donut” sweet spot.  In the diagram below there is a Orange region [1] that is the normal plume of bean being pulled from the middle area on the bottom and [2] tossed up on top to the left and right.  As you descend into that area you enter part of the sweet spot [Green].  In the far left and right corners [Purple] you have a “burn” zone due to very low circulation of the beans.  This is caused by the more central area of the donut [3] falling towards the middle and then being jetted to the top [1] repeating the cycle.  Only when the beans have sufficiently roasted does the bean mass begin to rise above the initial [Yellow] fill line.  As the mass makes it above the silver metalic band there is enough movement to cause beans to leave the “Burn Zone” and make it easily into the column.  This initial burn area is where the stray first cracks are likely to originate and the uneven roast occurs.

Freshroast "Sweet Spot" created in roasting chamber.

I would thus interpret the space where the D on the left donut and the t on the right donut would be the approximate ideal locations to sample bean mass temperatures due to the piling on of beans from the fountain [1] above it.

Freshroast SR500 apparent “safety” mechanism. Adding new thermocouple.

Due to the microprocessor installed and the sensor mounted at the top of the roaster base where you install the roasting chamber.

NTC Thermistor mounting

It appears that when you turn the roaster on to High and lower the fan knob to the lowest setting the roaster will reach (unloaded) 430 degrees.  At that point the fan automatically revs up slightly (possibly due to the heater being off)  and the heat stops climbing at 433 degrees.  Occasionally it drops sooner but always between 430 and 433.  It then drops from 430ish degrees down to approximately 420 degrees and then resumes climbing again.  The heat appears to always stop at 420 and then goes back up.  The highest it stops dropping at is 422.

Temperatures were measured with a new K type thermocouple mounted approximately where the center of the bean mass would be.  I obtained this at OSH (Orchard Supply Hardware) since I needed some sort of multimeter for the moment.  They had one inexpensive “Craftsman” model with the ranges I need for measurements with the Digital Multimeter side with an included K type thermocouple mode.  I’m expecting the thermocouple to not last very long due to the temperature rating they put on it.  I will likely get one from eBay or something that is compatible with the K thermocouple sensors in the meter.  I’m guessing the protective covering they put on the tip end insulation area to keep the insulation from unraveling is not able to withstand the high temperature for very long but the insulation looks like it can take a lot more.   I’m going to probably get some high temperature silicone and put a little dab right at the end above the tip to hold the insulation better so it won’t fray.

Ultimately I’ll source out a thermocouple that can do more properly as I get further into this.   I’m going to switch to using the previous thermometer as a timer (was a secondary feature… you get one or the other on screen at any point in time) and the thermocouple as the new temperature sensor since it actually responds faster on temperature changes.

Modified Thermometer Test w/ Rwanda Gkongoro Nyarusiza

So as mentioned previously I took the thermometer probe and used one of those pipe cutters with the “wheel” for cutting things like copper pipe and sliced off part of the probe.  Due to the fact that this sort of cutter “crushes” slightly while it cuts this ended up making it so I could not slide the inner electronics out without fear of not getting it back in or damaging it (without having a soldering iron currently).  I instead slid all of the formerly connected probe upwards and taped it to the probe’s plug using electrical tape.  I then crimped the remaining probe in place at the top against the braided cover.

My initial test seems to have yielded a technically proper heat ramp based on what was happening.  Additionally the cooling cycle appears to have been pretty normal too.  It appears that when the cool cycle halts the beans are approximately 158 degrees and linger there while in the roasting chamber even when removed from the roaster.  They drop to around 130 degrees after being dumped out into another container within about 20 seconds and then they hang around 130-120 degrees for several minutes if undisturbed.

Here is my heat readings for a standard roast.  In this case I was roasting the Rwanda Gkongoro Nyarusiza.

Markers are A= Rolling First Crack, B= Second Crack.  Fan speed is shown as 100% for the knob being set all the way to the right.  50% is fan knob set in the middle position (straight up).

I was not able to keep track of any additional details due to manually tracking the roast on paper.  Cooling with fan speed increased to 100% starting at 6.1 was as follows:

Bean mass started at 120g and reduced to 102g for a loss of 18g or 15%

Problems with thermometer – YAY!

So I finally got a chance to try a roast with the thermometer.  At approximately 3.5 minutes into the roast in the reading it crossed 482 and would no longer read.  This is OBVIOUSLY not a correct reading.  I expected some imperfection in the readings due to this probe expecting liquid/solid meat as opposed to air/dry readings but everything is significantly off.  First crack came as a reading of 449 which puts me a good 50 degrees above where I expect to be and follows about 50 degrees over everything I expected during the roast for the color changes etc.

My theory is that the probe is so long that it has to be inserted through the grate on the chaff collector on top.  The probe is then picking up heat transferred by the chaff collector that it is touching and particularly the metallic disc embedded in the lid being transferred through the plastic.

The cooling cycle lasts approximately 2.5(ish) minutes and it ends at an unusually high number.  With the probe and chaff covered removed and sitting 5+ minutes it still shows a temperature in the 90s so this is certainly picking up the temperature from the cover.  At this point I will need to attempt to remove the probe in some way and see what else I can do to “shrink” the size of the probe and find an alternate place to put it.

[easychart height=”300″ type=”line” title=”Heat Results” groupnames=”Temperature F” valuenames=”0.0,0.5,1.0,1.5,2.0,2.5,3.0,3.5,4.0,4.5,5.0,5.5,6.0″ group1values=”78,222,366,402,413,428,460,482,482,482,482,482″ group1markers=”6.1″ hidechartdata=”true” ]

[easychart height=”300″ type=”line” title=”Cool Results” groupnames=”Temperature F” valuenames=”0.0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,1.9,2.0,2.1,2.2,2.3,2.4,2.5″ group1values=”482,482,474,402,320,262,240,212,201,183,172,167,158,152,147,141,140,138,138,132,129,127,127,127″  hidechartdata=”true” ]

While the HEATING is flawed with the metal disc and the cooling is most certainly flawed at the end as well it is interesting to witness the significant drop in heat from the cooling cycle.  The beans (by touch) clearly release heat faster than the metal mass does and they are quite cool in the end.  In about 30 seconds the heat has dropped  to around 250 with the metal heat skewing the readings.  It is my guess that all cooling readings are approximately 30-40 degrees higher than actual in the bean mass meaning the real “roasting” has stopped before 30 seconds of cooling are up.

Lesson Learned: The chaff collector gets significantly hot enough that you need to avoid ANY contact to any probe devices with the top and try to steer clear of the metal disc at all costs.

Update: I have used a copper pipe cutter to slowly slice a ring around the metal casing of the thermometer allowing me to shorten the probe.    I googled around and found this article http://brettbeauregard.com/blog/2009/09/anatomy-of-a-digital-thermometer-probe/ which shows the inner guts of a typical probe.  As you will see this is mostly the braided wire until the very end where the actual sensor is.  I’ve sliced off several inches of the casing and slid it up the wire towards the socket.  Once I determine if this seems to work I will try to figure out a way to slide this off without mucking things up too much and permanently removing it and crimping the end of the probe onto the braid.  New article once I get to that stage if it works out.

Temperature and the “pause” when pressing Up/Down button on FreshRoast SR500

So as mentioned before there appears to be some sort of temperature sensing device built into the base that interacts with the Atmel processor.  There appears to be potentially power dimming circuits in there as well but I need a multimeter to verify all that which I do not have at the moment.

I’ve mostly been roasting the past few days “by sight, smell and sound”  the various coffees.  I logged some details on some of the coffees I roasted and they turned out ok when I brewed them but without temperature data to go with my timings I figured reporting the results was pretty useless so I stopped mentioning the other beans and what I roasted.

Initially my plan was to roast the coffee and see which ones tasted good or “bad”.  So far the only one that I have had any issues with is not necessarily “bad”…. but just not “really good”… it is only good.  That of course is a horrible horrible crime in the world of coffee.  [/sarcasm].   Even the “only good” coffee will be given a chance to redeem itself after reading the details provide on SweetMaria’s regarding the coffee and seeing if there are any nuances of needing to be darker or lighter or perhaps made into espresso or left for resting for additional days etc before I decide where it belongs in my ordering of new coffee for the “longer term” than the initial sampler.

I have now set up a digital gram scale (sensitivity 1.0g) with a small plastic measuring cup that I “tare” on the scale prior to pouring the beans in.  I’m finding that the amount is sensitive for only a couple beans that seem to roast “weird” compared to the rest where the others do just fine with a higher amount of beans.  These beans that are “weird” have little movement until the last 60-90 seconds of the roast.

The factory suggested amount is 120 grams while Tom @ Sweet Marias suggests 100 as being more realistic.  While I cannot claim to be any sort of coffee snob and certainly not an expert at roasting/cupping etc I’m finding the coffees I listed in my first blog…  by starting them on a completely level surface, and running the fan at 100% with the heat on low until a slighter amber color is achieved will result in pretty decent coffee with no more than one or two dark “spots” beans.  It seems on very small beans that apparently get stuck in the mesh before the fan starts.  They will end up scorching but the rest of them circulate quite well and explain why the “stirring trick” works due to this taking place while the fan is blowing.  Once you stir all the beans free from the screen they begin to free-float in the stream like the larger ones that never got stuck.  Everything else seems to roast gradually and without signs of burning though heavier beans will start to darken faster due to spending more time lower in the chamber.  I believe the roaster being level to be quite important as a result and starting off with a lower temperature and the “cool trick” artificially keeping the temperature low in the startup to help limit any burning.  This would side with people that declare a pre-heat cycle with the FreshRoast to be unnecessary since it would probably burn the beans worse than starting off slowly.  Ultimately a much lower temperature than “low” perhaps by around 100 degrees would be better as a “dry” cycle.

Today I managed to find a temperature probe in the grill section that makes it into the upper 400s Fahrenheit.  Most thermometers stop at 392 degrees or they have a lot of plastic that would prohibit you being able to have them near the heat of a roaster.  It is a BBQ grill thermometer made for Kenmore and was sold at my local Sears store.  It does NOT fit the roasting chamber without some convincing.  Convincing involves some very gradual bends being applied to the thermometer probe to allow it ot sit further down in the chaff collector putting the tip in the middle of the roasting chamber.  To convince it to turn I ended up utilizing the combination of a small gap on the rounded handle on a vise for some MINOR adjustments and the major adjustments being convinced with a large Maglight flashlight.  If you have ever bent metal electrical conduit you will get the idea.  You need to gradually support the pipe as it bends sit that it does not kink.  The temperature probe is actually a hollow shaft with a pointed tip on it.  The hollow shaft contains a set of twisted wiring that is actually a thermocouple.  It connects to the braided wire cover for that wiring which leads to the socket on the display.  You don’t want to kink the probe so it has to be slow bends in the probe to keep it from crimping on the thermocouple and potentially weakening things.

I have not roasted a batch using the new thermometer yet due to the fact some things came up today where I was not in the house and as a result we didnt really drink much coffee today to use the beans we’ve already roasted leaving me nowhere to place the finished roast.  As a result I now have a 2 day rest on most of these beans that are in there.  Today I get to see if the probe will pickup any appropriate temperature readings that match up with what would be expected at First Crack and/or Second Crack or if it is simply not sensitive enough and is actually picking up the roaster air only.

I have already attempted to run the roaster without beans for a brief time to inspect the temperature readings and see if there is any sort of ramp involved.  The temperatures did not seem to pass the mid 300s no matter what the setting while on high. Apparently with that level of airflow (if things are working with the sensor)  the heating elements needs to have back pressure from the beans in the roaster to reach the 400s.  As a result if running too small of a batch it will likely not roast properly thus never reaching a high enough temperature like too much beans could result in too high of a temperature being applied.  With the use of the Atmel processor and that possible NTC Thermistor Diode it probably means that the heater will cut out to not result in an overheat situation temperature wise BUT ultimately the beans in the roaster will probably burn without enough movement.

FYI the Atmel datasheet HERE shows that the processor has interrupt capabilties.  The buttons seem to be wired to two of the pins that have interrupt capabilties.  Due to there not being any chips to buffer the button pressing it would be my guess that the program made any pressing of Up/Downl to be an interrupt to the existing programming.  It seems to be part of the “Analog Comparator” which treats the status of two pins as a logical on/off.  If you press up it counts that button as pressed (1 or on) to the other button (down) as not pressed (0 or off).  It compares the two settings and initiates an interrupt.  As a result whatever signals being received for fan or heat control would be interrupted resulting in a “drop” to a minimum level that we are seeing.  This interrupt stops normal interpretation of the voltage in/out on the other ports and triggers a counter to go up or down.  There is circuitry built in apparently to do limited “debouncing” which is why holding the button does not make it continue to go up or down.  With the use of more expensive complex circuitry the variation in speed that we see would go away but due to cost savings this is a side effect.  The only way to eliminate such a pause is to use a different controller than the Atmel or potentially include extra chips to handle these changes.  The length of the pause is directly related to how quickly you can trigger the button.  I would suspect if you had “two bare wires” instead of the push button and you quickly tapped them together rapidly the up/down reaction would not be noticeable.  Due to the type of button used there is a long “click” in the button that makes the interrupt obvious.  The faster the contact and release of the button the shorter the interrupt allowing the circuit to continue on as programmed.

Inside the Freshroast SR500

As I’ve mentioned it is my intention to try to improve on the control of the Freshroast SR500 by automating some of it with a microchip circuit.  I’ve got a lot of crazy ideas of things to do with this but most of it will take some time.

At the moment I’ve been unemployed for quite some time.  At my last employer I ran the IT department for a community bank.  That means I was in charge of the network, email, spam, spyware, virus protection, servers, desktops, printers, we had a Cisco Voice over IP phone system, and a variety of other things.  I got to deal with all the regulatory requirements from the Federal and State government writing policies, procedures, and supervising the IT staff as well doing budgets etc.  Anyway they outsourced the whole thing when the economy started getting bad probably because my salary and those that I would work with are not cheap and there were a lot of things that were changing and needing done.  Ultimately it was technically cheaper to just turn it over to a company that only does banks as an all inclusive package.  Since the economy has not improved much I’m still looking for employment which of course limits my funds to work on building control systems.  It does allow me a lot of time to work on projects such as learning to program microcontrollers.

Update July 2011 – Please check out my multi-part Teardown posting showing step by step taking apart a FreshRoast SR500 roaster after reviewing this post.

At this time I’ve written a significant amount of code that in simulators appears to operate in the proper voltage ranges and will turn on and off the heat and vary the speed of the fans.  Once I get the ability to start purchasing some of the devices and equipment necessary to build a prototype making circuit boards and programming the actual processors etc I will begin to blog about that as well.  For now I will write about what makes the SR500 work and my impression of what it does…

The Brain
Obviously the roaster has a fan, a heater, a roasting chamber, a chaff collector, a two number display, a switch, and fan speed knob.  What is not so obvious is what makes it work on the inside.  What you find inside are two circuit boards.  One has the knobs and switches connected to it.  The other board has all the power connections on it.  The control system for the knobs has what most people would refer to as “the brain”.  This is a 20 pin Atmel processor connected to a 12MHz oscillator running with about 2K of memory available to it.

Alternate view NTC Thermistor, ATmel AT89C2051-24PU

Next to the processor is a plug marked “NTC” where this is connected to a NTC Thermistor.  This is a type of resistor commonly used to test temperatures.  They typically have a narrow range of temperatures they operate in  but they are quite effective for the price.  The NTC is attached to some of the pins on the Atmel processor allowing it to sense temperature by measuring the electric resistance which changes with the temperature.

The NTC Sensor
Without knowing the specific NTC I cannot tell you how exact the temperature sensing is but while noticing that the switch has a high, medium, and low.   The temperatures listed by the manufacturer that it runs at are 490, 455, and 390.  These are 35 and 65 degrees apart from one step to the next.  This is a very large difference in temperature meaning it does not have to be very precise to tell the difference from one another.

The sensor is mounted in the path of the heater’s air.  You can see it through the grate at the top of the roaster.

NTC Thermistor mounting

As a result of the placement of the sensor this can measure how hot the air is coming off of the heater coils.  It does not get wired directly to power anywhere along the way.  Instead it connects directly to the Atmel processor which then feeds out to a MOC3043 Zero-Cross Opto-Isolators TRIAC Driver.

Left of High voltage board.

The MOC TRIAC is a special type of chip that isolates DC voltage from high voltage AC typically.  It often figures out when the AC voltage crosses zero volts.  In the US power runs at 110/120 volts and 60Hz.  Hz is a “times per second” rating.  In Europe the power tends to be somewhere in the 220+ volt area but at 50Hz… most parts in the roasting equipment are rated at either 400V or 250V so that it can be adapted to run using US or European (and other areas of the world) voltage without changing too many parts.  The Zero-Cross part of the chip helps to determine when the AC voltage goes from 0 volts up to +110/120/220/240 for example and then back down to 0 volts and then down to -110/-120/-220/-240 volts and back to 0.  That 0 to +volts  to 0 to -volts  pattern occurs 50 or 60 times per second or twice that when you just look at hitting the peak voltage from 0.  Effectively what happens when you try to “dim” the power (fan speed control, temperature control etc in some cases) it often is controlled with this sort of circuit.  In that sort of circuit (in otherwords) what happens is when you say run at 50% you let it go from 0 to +110 (0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110)  and then immediately slams it to 0 instead of rolling it down gradually (110, 100, 90, 80, 70, 60, 50, 40, 30, 20, 10, 0)  and then repeats it for the negative voltage.  Every time a MOC with Zero Cross connected to some TRIACs detects 0 point it gets reset and timing triggers occur to start over on the dimming at the appropriate points.

In the middle of the board are two devices that could be a TRIAC or a DC voltage regulator.  There are also numerous devices that could be TRIACS scattered over the board too.  The larger devices are attached to a large heat sink to keep them cool since they tend to generate a lot of heat.  Since I no longer have a multimeter to test some voltage I cannot determine whether the output of these devices are AC or DC voltage but there is obviously devices on here for creating DC voltage as well as those for switching and/or dimming AC voltage.

Fan, Bridge Rectifier KBPC606

This is one example of a place where DC voltage appears in the system.  Without being able to fully trace all of the wiring yet since this effort was only for a quick inspection and not to dismantle it I cannot see where this comes from and goes to but ultimately such a device (the black box) would normally take power coming in on two pins and through a series of diodes inside convert coming out the other two pins to DC voltage.  I am not sure where the fan knob (which connects to the two pins next to the MOC chip I believe)  is ultimately getting voltage from and whether it is AC or DC and if it is a lower voltage or higher one etc but it obviously controls some sort of dimming to this fan that apparently has AC voltage coming to the rectifier being converted to DC as it goes in.

Soooo… in the mean time I need to obtain a few things to get started….

  1. PIC Microprocessor and/or development kit – I have decided I will be using a PIC micro-controller for this project.  At the moment I am working on a simulated PIC18 but will probably move to a PIC24 and perhaps if I can get a development kit circuit board will use the new PIC32 to allow for some “additional” ideas I have for the roaster and perhaps some “accessories” to make it even more useful than “just” roasting.  I had started with a Basic Stamp 2 series microprocessor and quickly overwhelmed it quite some time back and then began learning PIC microcontrollers.  At this time I can only use a PIC32 if I can get a physical chip and board to work with.  PIC24 options are very limited in the simulation and will likely be a stage before reaching the PIC32 physical hardware.  If I can get the right development kit I can swap the PIC24 and PIC32 interchangeably on the development board.
  2. A lot of connectors similar to those used on the Fresh Roast boards pictured above.
  3. A replacement Multimeter since I no longer have mine… I had a rather substantial professional quality one but after several moves it was lost.
  4. A “rework” or “reflow” capable soldering system. These are typically used when prototyping SMD/SMT and high density chip based circuits.  There will be many miniature resistors and other devices that are actually soldered to the surface of the circuit boards rather than installed through holes.  Some of the communication types and chips for many of the sensors and devices require enough pins (or just that ultimately are not available any other way) that surface mount is the only option.  Many of these devices are extremely small and the simplest way of mounting them involves Infrared pre-heaters or hot air soldering and desoldering techniques.
  5. Real Time Clock chip.  Used for realistic good time stamping and tracking of the roast including the actual date for…
  6. Ethernet chipset and connectors. To allow a log tracking the roast information to be accessed from your computer including details form the …
  7. K or J Thermocouple and management chips to enable the PIC to know the various temperatures logging and responding to them from the air, the bean mass and other locations to control the heat and fan speeds as well as to…
  8. Display the results on a LCD Screen in real time to allow you to access a….
  9. Control interface such as buttons or touch device to configure the roast or select  a stored profile speeding things up or slowing them down or changing the temperatures etc in real time as well as access profiles or other details in
  10. Built in Flash memory or possible….
  11. SD Memory slot to transport profiles to the roaster or to archive them.
  12. Various power control parts such as TRIACs, IGBT, etc for phase control (dimming/speed control)
  13. PCB manufacturing materials such as photosensitive boards, chemicals, trays, transparency, etc…
  14. Small precision drill press to place any required through holes in circuit board too to allow “test” prototypes to be built
  15. PCB Vendor to produce a permanent solution once the prototypes are complete for me to transfer everything to since I need a couple of these for my roaster, my girlfriend’s roaster, and probably one for my landlord who is addicted to good coffee now and will end up getting her own eventually when I need to move out 😛
  16. Eventually I’ll need to figure out what sort of box to put it all in.

At this point I’m pretty confident I’ve identified all of the required actual components at least in general.  I need to finalize the power control requirements with a multimeter figuring out what all the actual roaster parts need/use and select those final parts and do some testing with lightbulbs and fans before I start connecting them to the roaster as well as do some testing of actual temperatures being put out by the SR500 as it comes from the factory.  Once those are finished I need to finalize the method of configuring the profiles using the final controls and display and I’m pretty much set.   I have not interfaced SD into the circuits yet but the communication systems are already there for other sensors.  The “file system” will be a bit of a problem programming FAT/FAT16/FAT32 into it due to some apparent Microsoft thing *makes rude gesture* so I need to look into that some more.

Theoretically I have a functioning controller in simulator.  It does not currently access AC voltage directly in the simulator though because I still need to determine the actual voltages being used to establish the amperage requirements of the various parts.  One area that is confusing is on the bottom of the roaster it shows 1600watts.  Well it’s a small fan and a heater coil and a TINY bit of electronics that uses less than an amp for that last part.  The fan seems to be deriving power from a plug marked 100W as shown in the “Left of High Voltage Board” photo.  Where the real problem comes in is with the heater causing the most concern.  You would assume the heater was 1400 or 1500 watts on its own with the unit showing 1600 watts on the bottom.  When you look at the board though….

1000W to heater coils?

Oh… and that device marked Q5 below it.  There’s a similar one next to it to the left.  That is one of the devices I have not determined exactly what it is yet.  There appears to be no identifying marks on it for a part number.  It might be creating DC voltage as a regulator or it could be one of many types of TRIAC.  The white stuff is a typical lithium thermal grease like the use on computer CPUs to make sure they don’t overheat by having a good thermal connection to the heatsink.  In this case some regulators depending on the voltage and amps or and pretty much most TRIAC dimmer devices generate a LOT of heat.  I’m thinking it’s a TRIAC due to the Q numbering being used since a voltage regulator typically uses a U number pattern.