Monday, February 13, 2017

Giesen Roaster Connected


A number of people have asked how best to connect their Giesen coffee roasters to Artisan. Here is a quite elegant solution by Barry that brings his Giesen onto the network for remote access. He owns a 2016 Giesen W6A propane drum roaster, which is equipped with the dual probe options by the factory. So it has a PT100 dual probe measuring environmental temperature (ET) as well as another PT100 dual probe measuring bean temperature (BT). For each of those probes, one channel (pair of wires) is connected to the Giesen control panel. In the following Barry shows how to connect the second channel (pair of wire) of each probe to some magic, such that Artisan can log its readings over the network.

by Barry Randall

Material





Those second pairs of probe wires will be wired into separate PT100 meters by Yoctopuce. These meters don't come with any display, but can make the temperature signals available as digital data via their USB connectors. The devices we will be connected to an Ethernet Hub, which makes the data accessible via the (wired or wireless) Ethernet network the hub gets connected to. As the Ethernet Hub takes its energy from the Ethernet network, we will add a standard power-over-ethernet (POE) injector to provide the required power.


Hardware Installation


First we place the three Yoctopuce devices inside the Giesen control tower and reuse its Ethernet plug to connect them to our IP network according to the following diagram.


We use normal electrical wires from the 0X8 electrical panel inside the Giesen control tower to connect the two additional probe channels. The air temperature (ET) probe wires connect to the outputs 12 and 13, and the bean temperature (BT) probe wires go to the outputs 14 and 15. The same connectors are wired into the corresponding inputs of the Yocto PT100 meters. Both meters connect via short micro USB cables to the YoctoHub Ethernet. This YoctoHub is itself connected to the ethernet output plug inside the Giesen tower (after previously disconnecting the internal Giesen Ethernet cable of the tower, which is only useful if you connect the roaster to the Giesen software).




Now the Giesen tower can be closed again. With another Ethernet cable we connect the towers external Ethernet plug, which we hijacked before and that now holds the signals of our two Yocto PT100 devices, to the POE injector to power up our three Yocto devices. The other side of the POE injector connects via another ethernet cable to our Ethernet hub (or router or gateway).



Now we can put our computer on the same network and after establishing the Artisan configurations described below, we should be able to log the signals from the dual PT100 probes in Artisan.



Software Configuration


Yocto PT100 Device Setup


By default, the Yocto-PT100 is configured to work with a 4 wire Pt100. However, we must configure our Yocto devices for our 2 wire probe setup.

  • download and install the Yoctopuce Virtual Hub software for your platform
  • start the Virtual Hub software in a command line and open http://127.0.0.1:4444 in your browser
  • Then select one of your Yoctopuce modules from the list and press its configure button
  • Now choose from the "Pt100 types" popup the PT100_2WIRES option
  • Set also the other Yocto-PT100 module to the PT100_2WIRES probe type
  • Finally, open the YoctoHub-Ethernet entry setup via its configuration button and write down its IP address (as assigned via DHCP) and Device Name. Something like YHUBETH1-0F11C. We need this information later to point Artisan to it.
See the Yocto-PT100 user's guide for further details.

Artisan Device Setup


The Artisan configuration is slightly complicated by the fact that Artisan expects each connected device to deliver at least 2 channels. Especially, the main device is expected to deliver the signal from the environmental temperature probe (ET) as well as that from the bean temperature probe (BT). A Yocto-PT100 device, however, returns only one channel.

So we configure the main device of Artisan in the main device section of the Device Assignment dialog (menu Config >> Device, first tab ET/BT) to be a meter of type Yocto PT100.




Next we add an extra device (second tab, Extra Devices, of the Device Assignment dialog), also of type Yocto PT100, however, we untick the LCD und curve flags for this device to hide its data.




Finally, we redirect the data of the first channel of our extra device back to the second channel of our main device, by putting the symbolic formula Y3 under "ET Y(x)" in the third tab, Symb ET/BT of the Device Assignment dialog.




Additionally, we have to tell Artisan to connect to your Yocto PT100 devices via the VirtualHub network access. We put the Device Name (or IP address), which we investigated above in Section Yocto PT100 Device Setup, into the VirtualHub field and tick its flag to activate the network access (Device Assignment dialog, last tab Yoctopuce).



Now we can press ON on the Artisan main window and verify that we see the temperatures registered by our ET and BT probes. In case the order of the values is reverted, we can either change the wiring in the Giesen tower, re-connecting the probes to the opposite Yocto PT100 device. Alternatively, we can tick the ET<->BT swap flag in the second tab of the extras dialog (menu Tools >> Extras). This should have the same effect.


Happy roasting!


12 comments:

  1. This helped me A LOT!! Thank you very much!

    ReplyDelete
  2. Is it possible to connect YoctoHub-Ethernet straight to PC via ethernet? (without router)

    ReplyDelete
    Replies
    1. You need to connect it to a network that runs a DHCP server, otherwise the device will select itself an IP address in the range 169.254.x.y. If you know how to deal with this, you can do without a router (or run a DHCP server on your PC).

      Delete
  3. Can I use a Phidgets board instead? http://www.phidgets.com/products.php?category=35&product_id=1048_0

    ReplyDelete
    Replies
    1. The Phidgets 1048 has inputs for 4 thermocouples. While the 1048 is supported by Artisan and will work in case your machine has (double-) thermocouple probes. However, if your machine has (double-) RTDs (most likely PT100), the 1048 will not work. You need a device that can read RTDs. The Phidgets 1046 (also supported by Artisan) can do, but you need to wire yourself the corresponding Wheetstone Bridges with the precision resistors (also sold in the online store of Phidgets). So the Yoctos RTDs are easier to use, but one channel only.

      Delete
    2. It seems like Yoctos are much more expensive than Phidgets to me. I've looked at Phidgets Wheatstone bridges and Giesens's 0x8 panel, looks like Giesen has only 2 connections per channel, but Phidgets uses 4 (e.g. http://www.phidgets.com/images/3175_0_Connection.jpg). Can you tell me more how to use Phidgets 1046 with Giesen pleae? I truely appreciate.

      Delete
    3. Dear Unknown, I will not be able to teach you basic electronics in the comments of a blog on my roasting software to save you some dollars. Either find a professional, or study the documentation given by Phidgets on "How to connect RTDs to the 1046" http://www.phidgets.com/docs/1046_User_Guide#Measuring_Resistive_Thermal_Devices_.28RTD.29 , which is very detailed and well written.

      Delete
  4. Thank you for the article! Very informative. Will certainly try to connect my Giesen in the near future.
    I've read that An Ki somehow managed to control the roaster through Artisan. Do you by any chance know how to do this? Or maybe how to contact the person that does?

    ReplyDelete
    Replies
    1. I don't know An Ki and how he managed to control that machine. Sorry. In case you manage to contact him, motivate him to publish his approach somewhere.

      Delete
  5. i follow the article in every part,but i did not succeed in the connection. when i open virtualhub there isn't any yoctopuce module

    ReplyDelete
    Replies
    1. Sounds like a problem with your Yoctopuce setup. You should check the manuals of the product or ask the producer for support.

      Delete
  6. We use a 2015 W15A but the Yoctopuce PT100 modules gets no temperature signal

    we connect the cables as shown to 0x8 connector at port 15/14 and the other Yoctopuce PT100 module to Ports 13/12 but there is no signal

    if we connect one Yoctopuce module to 11/10 or 9/8 there is a valid temperature signal but then we have to disconnect the cables which are going to the giesen roaster controller and so the roaster sound an alarm because it has lost its temperature signal

    has anyone some suggestions to solve this problem?

    Greetings
    Eric

    ReplyDelete