Wednesday, June 22, 2011

Upgrade plans

There are some problems with the fresh water delivery part of the brewbot.

a) The quick disconnect I was using for connecting the brewing vessel to the water supply ended up containing some steel which had began to rust.

b) The clear PVC hose I was using was not up to mains water pressure and eventually burst.

c) The water delivery rate was too high and I was using a small tap on the Y-piece in the laundry to control the flow rate. This was difficult to tweak.

So the solution is to move to a braided dishwasher hose, new 1/4" all brass solenoid and standard corny keg quick disconnects. I'm hoping the smaller 1/4" solenoid and corny fittings will reduce the flow rate sufficiently.

While not a huge problem, we were also seeing a fair bit of trub in our final wort.

My mates over at http://www.aussiehomebrewer.com are all about the Speidels Braumeister. Interestingly this is what inspired BIAB back in 2006.

This system is a single vessel system that recirculates the wort for the duration of the mash. The grain bed catches a lot of protein and particulate leaving very clear wort.

I'm interested in experimenting with this technique in a different configuration for the brewbot.

Instead of having an impeller based pump sit under the vessel, I'm thinking of having a peristaltic pump mounted above the vessel with hoses attached to the lid that lower with it.

The peristaltic pump should be able to self prime and hopefully deal with any fine grain particles.


The new mash process would be:

a) lower the grist bag into the strike water
b) stir the mash for the first 5-10 minutes
c) run the peristaltic pump for the remainder of the mash
d) raise the grist bag

The mash would be a RIMs effectively.

Unfortunately most cheaply available peristaltic pumps offer pretty low flow rates. The ones that offer higher rates are both expensive and bulky.

So I'm going to have a go at building a ghetto version with the silicon hose I have, some small ball bearing and another windscreen wiper motor. I'd kill for a lathe, or even a drill press at the moment, but hopefully I get something going to prove the concept.

Results, prizes and return

A lot has happened since the last post.

The brewbot was packeted up and sent off to California for judging. For that I had to build a box to hold it.




The results came back and the Brewbot picked up 3rd place:

http://www.renesasrulz.com/community/rx-contest

Dave Jones did a video on how some of the judging went:

http://www.eevblog.com/2011/06/05/eevblog-174-renesas-rx-design-contest-winners/

All of my prizes have arrived and the brewbot is back home too.

A big thanks to Renesas, Micron and Total Phase.

Wednesday, April 13, 2011

TTL Bluetooth Transceiver with Linux

I recently got one of these cheap chinese TTL to Bluetooth transceivers.

http://gb.suntekstore.com/wireless-bluetooth-transceiver-module-rs232-||-ttl.html

I got mine off ebay delivered for under US$7. The seller unfortunately didn't have a pinout diagram or any real info about the module (or maybe couldn't understand enough English to work out what I was asking).

I figured that all of them on the market are probably the same design so it shouldn't be a big deal.

Luckily I was right. The best resource I found was this:

http://www.egochina.net.cn/e-shop/ebay/datasheet/Bluetooth_Module_L6.rar

A number of diagrams, manuals and pieces of software in that archive.

The only problem is they are all windows specific.

The Ubuntu Bluetooth applet let me see and pair with the device, but no clue on how to use it.

Time to learn a little more about the Linux bluetooth stack.

hcitool scan
Scanning ...
 00:19:5D:24:B7:63 OBDII

Ok so we can see it from the command line and see it's address, it's the only thing found.

Most of the other diag tools didn't return any useful info.

Eventually I found the following to work.

sudo rfcomm bind /dev/rfcomm0 00:19:5D:24:B7:63

picocom -b 38400 /dev/rfcomm0

At that point I could talk to my MCU over bluetooth!

Brewbot in the final 10

The big news is that the Brewbot made the final 10 in the Renesas design competition.

http://www.renesasrulz.com/message/12324#12324

With the main work out of the way I've been playing with some other fun hacks for it.

Namely getting a python interpreter running in the RX62N with FreeRTOS:

http://www.renesasrulz.com/message/12347#12347

Monday, March 7, 2011

Testing

The brewbot logs temperatures and stores them to internal flash memory.

Here is a plot of the result of a recent test.


Sunday, February 27, 2011

Hop droppers

I saw that tiny chinese servos can be had for $2 on ebay so bought a few with plans to use them for the hop droppers.

The plan was to have some little cups on hinges driven by the servos.

Unfortunately I couldn't find any small stainless steel cups locally, and am too short on time to wait for a delivery, so decided to go with some PVC pipe for now.





Tuesday, February 22, 2011

New pot and bag

The pot I have been using is a cheap Chinese aluminium one, which is pretty thin. It's actually good for prototyping. Very easy to drill and work with.

But the downside is that it dents and bends and corrodes. And it's not easy to weld/solder to.

So time to upgrade to the real thing, stainless steel. More stronger and I can braze and silver solder my fittings to it.

I wanted pretty much everything in contact with the wort to be stainless steel. So I got some 316 stainless steel mesh to make the bag with.


The 1" socket for the heating element:



The socket for the temp probe:

This was my first try at silver soldering. It wasn't that hard, but the results aren't perfect. Much better than leaky weld-less fittings however. 

I also spent the money on good brand solder and flux than comes with a MSDS so I knew there were no nasties in the solder or flux.

The 3-piece valve body soldered directly to the kettle: 

The inside with all the fittings in place.



Next on to the bag. First I had a 12" square sheet of thin gauge 316 stainless. Decided to make a 1.5" wide hoop to go around the top edge. So cut and bend.


Next the stainless mesh was cut into a circular bottom piece 10.5" in diameter and some walls 8" high.


 I stitched the bag together with 316 stainless steel wire. Surprisingly easy.




Then I began work on the stirrer.
 Here it is all together.


Tuesday, February 8, 2011

Maiden test brew

Pretty early on in the construction I wired up the heating element, Solid State Relay and got the MCU reading temperatures from the DS1820.

So it would already have been able to do a mash and boil with manual intervention at various points.

Kelly has been wanting to test a Hoppy Red Ale recipe in a small batch for a while and I have been telling her to avoid doing it on the stove (temperature is hard to regulate there by hand). The brewbot can do the temperature part.

Well we finally did tonight.

It was good to get a sense of how the system dynamics are and if the basics are working.

I set up FreeRTOS on the RDK with some simple tasks to monitor temperature and the push buttons.

Up/down would control the temperature set point, and after some experimentation, left/right buttons would control the heating duty cycle. On the LCD was display both those parameters as well as the current temperature in the thermowell.

We did a test boil in the pot the night before and the boil was very vigorous, splashing water out of the pot, so I decided to add the duty cycle adjustment feature before doing a mash.

Kelly had a bag that fit the pot perfectly. Keep in mind that the true bag will be stainless steel mesh and quite a bit smaller.

The test recipe called for a OG of 1.066, so a relatively big beer. We were aiming for a final volume into the fermenter of about 2 gallons. This should nicely validate the volumes and sizing of the pot.

The first step was to setup in the laundry near the 240V outlet.


The laptop is there for final code tweaks and eventually won't be needed.

Then dough-in and some experiments.

Without constant stirring it seems a hot pocket would form and rapidly overshoot but the overall mash temp would slowly drop.

Constant stirring seemed to solve this.

Luckily constant stirring is part of the final design, just not yet implemented.


We also discovered that for the mash I needed to turn the duty cycle right down on the heating. Down near 10% to prevent too much overshoot.

I may also implement the PID control algorithm to help with this.

The boil was run at 50% duty cycle. So about 1750W. This means I probably didn't need to use 240V power, and could probably run this off an ordinary 120V outlet.

The SSR and it's heatsink didn't get warm at all, so I think we are well within spec there (I have heard that these need to be massively overrated and can explode quite violently in some conditions).

The boil causes this rocking of the wort to form.

Post boil, whole hops floating:

 No-chill into a 10 litre sankey keg I got off ebay:
 We did have some problems with hops clogging the tap. Will have to come up with a more permanent solution that the strainer Kelly held over the outlet.
 Some minor caramelisation on the element.

But overall seems to be a successful first test batch.

Now on to build the bag and stirrer. Build the hop dropper. Write a ton more code. And write it all up and submit my contest entry.

Mounting the MCU, electronics and probes

I've been a bit slack on the blogging.

Recent progress includes:

1) A housing for the RX62N including acrylic splash guard and push buttons.


The idea is to have the LCD at an angle where it is visible and to avoid the board getting wet should there be any splashes.

The cover is hinged so that I can get easy access to the board for programming.

2) Electronics re-work.

As seen in the other posts I had the electronics board mounting directly on top of the RDK board via some DIP pins. I decided to redo that with cables instead to give me more mounting options.


I didn't have enough IDC connectors to put another set on the electronics board side of the cable, so had to solder the cable to the board.

The cable I had on hand had very thing conductors and not many of them. The cable I was using before was much better but had already fatigued and broken off some wires at the board. These thing conductors were sure not to last very long. So I decided the quickest solution was to add some mechanical support. See the piece of clear acrylic along the left hand edge of the board. This clamps the plastic part of the cable to the board and prevents movement (and fatigue) of the conductors as they enter the board.


In the close up you can also see a heat sink on the right hand edge.  This is for the transistor that controls the mash motor. This motor can draw up to 5 amps at stall, so the transistor can generate a little heat.

The other free standing TO-220 transistor is for the mains water solenoid. This only draws about 300mA so no heatsink required.



The orientation of the board was chosen so that I could get to the back side without removing it from it's mounting. This should facilitate easy mods or additions.

 3) Level probes in the pot.

Conductive level probes will be used to determine if there is enough liquid to safely power the heating element, and to determine how much water to initially fill the pot with.

The other conductive surface is the pot itself. Therefore the probes need to be insulated from the pot. To do this I used a cheap plastic chopping board.

I cut the corner off and mounted inside the pot.



The problem themselves are 1/8" 316 Stainless steel rod.

 Two screws come in from the outside and hold the rods in place.


4) Mains water solenoid. To be used to fill the pot with cold water at the start of the brewing process.

Decided to mount at the back, low and away from nearly everything. Hopefully this will prevent anything interesting getting splashed or sprayed should a leak develop.


Even tho there is a clamping diode across the solenoid driving transistor on the electronics board, I also included two clamping diodes right on the solenoid. I wanted to keep any EMF and the currents generated away from the MCU.

5) Shroud for the temperature sensor in the pot.

First up was to connect a DS1820 to some cable so that it would slide down inside the thermowell.
 
The a housing around the outside of the thermowell.

6) Lots of wiring. Not interesting enough to have a photo, but pretty much all the electronics and motors are now wired.

7) Adding a tap to the pot.

8) Adding limit switches to the Y-axis part of the crane. No pics so far.

Tuesday, January 18, 2011

Crane progress

Some progress recently.

I built and mounted the winch part of the crane.
Mounted all of that to the back board.
Mounted the mash stirring motor.
Mounted the heatsink on the SSR and moved it all to the other end

I took no pics along the way so I decided to just make a video of the current state of things.



The steel cable is rated to a over 50 kgs so it should be good for lifting a mash.

I gave the winch a test on the bench and it was easily able to lift a 10kg weight. This is probably more than it needs to lift for a 8-10 litre batch.

I plan to reinforce the backboard at some point too.

I have some 316 stainless steel stock and wire mesh to make up a bag to clip under the lid and a stirrer to connect to the motor.

The idea being that the bag and stirrer easily unclip for removal and cleaning.

I also have a solenoid and some stainless steel to form into level probes. This should allow automated filling of the pot with water.

Tuesday, January 4, 2011

Crane X axis movement

Over Christmas a second hand ebay wiper motor arrived so I put it to work driving the crane movement.

I tried to make up a threaded coupling, but couldn't manage to get it straight enough with the rudimentary tools I have here. It turns out the threaded rod I have isn't that straight anyway.

So KISS, and a simple spider drive on the lead-screw.

I brazed a bolt onto a 3/8" nut which attaches to the crane back.




Seems to work.

Only the wiper motor isn't that great. It goes quite slowly and draws a fair bit of power even though it is lightly loaded: 5A at 12V. 

The wiper motor is off a Jeep. The Japanese ones I have for the stirrer and winch seem to be much more efficient.

Luckily I only expect to run one wiper motor at a time and my 12V supply for the project is rated to 6A.

I think I'll keep my eye out for another cheep motor just in case.