Setting Up Phidgets

Setting Up Phidgets

Phidgets-Product-Shot

To get started with Phidgets, you’ll need…

  • A wireless Ethernet network
  • A Phidget Temperature Sensor (PTS) and attached K-style thermocouple(s). The 1-Input model will allow you to link to 1 thermocouple, while the 4-Input model will allow you to link to 4 separate thermocouples.
  • A host to provide the network connectivity for the PTS. A host can be either one of the following:
    1. A laptop Mac or PC with an available USB port and a wireless Ethernet network interface running the Bonjour protocol. In this type of configuration, the PTS is connected to the Mac or PC, and Roastmaster communicates with the PTS via the PC over your wireless network. Bonjour is available as a public download directly from Apple. Chances are, if you have iTunes running on your Mac or PC, you already have Bonjour installed. This configuration is more cost-effective, if you already own a Mac or PC, but offers limited portability–requiring the Mac or PC to be powered on and sitting near the roaster.
    2. The Phidget SBC with optional wireless adapter. The SBC (Single Board Computer) is a miniature Ethernet-ready computer board that runs Debian GNU/Linux, and offers a completely portable and scalable solution. The SBC performs the same function as the Mac/PC in option A: the PTS is connected to the SBC, and Roastmaster communicates with the PTS via the SBC over your wireless network. The SBC can be connected to your network via its on-board Ethernet jack with a standard ethernet cable (limited portability), or by using the optional Phidget wireless adapter (making it entirely self-sufficient and portable). Reliable and efficient, this solution offers the most flexibility and ease of use.
  • The Data Logging option installed in Roastmaster (available as an in app purchase in the “Probes” section of Roastmaster’s Utilities screen)

The Two Possible Network Host Configurations:

Roastmaster Data Logging With Phidget Temperature Sensor and Laptop Host

You can use a Mac or Windows laptop (or desktop) to host a Phidget Temperature Sensor for Roastmaster’s Data Logging option. This potentially offers a lower-cost solution, but does not provide the portability and level of ease that an SBC2 host offers.

Data-Logging-Laptop-Diagram

Network Host

Existing Mac or PC Laptop

Thermocouple

K Type Thermocouple
Or another brand of K Type Thermocouple

 

Roastmaster Data Logging With Phidget Temperature Sensor and Phidget SBC Host

You can use the Phidget SBC as the host for Roastmaster’s Data Logging option. This setup provides the utmost in portability and ease of use. Once registered on your WiFi network, the SBC will automatically join whenever you plug it into an outlet. This setup requires a bit of assembly, but offers a cost-effective and extremely scalable solution.

Data-Logging-SBC2-Diagram

Thermocouple

K Type Thermocouple
Or another brand of K Type Thermocouple

 

Note: If you are using the SBC as a host for your PTS, you will need a desktop or laptop Mac or PC in order to configure the device for automatic network access. This will only be necessary the first time you use the SBC. It will remember this information and automatically connect to your network for each subsequent use.

Setting Up A Phidget Temperature Sensor to operate on your network

1Download and Install the Appropriate Phidget Software
on your Desktop or Laptop Mac or PC.

If you are using a Mac or PC as the host, this software will communicate directly with Roastmaster during each roast. If you are using the Phidget SBC, this software will enable you to configure the SBC, and join it with your network. Afterward, you will only need this software to apply updates to the SBC when you install Roastmaster updates that use a newer build of the Phidgets software.

Install the appropriate Phidget driver package to your Mac or PC. Once installed, launch the Phidget Control Panel (Windows) or Phidget Preference Pane (OS X).

IMPORTANT
The Phidget software running on your network host must be compatible with the version running in Roastmaster iOS. Please make sure you are running the latest version from Phidgets driver archive page.
2Configure the Phidget hardware
with your Desktop or Laptop Mac or PC.
For a Phidget Temperature Sensor with a PC or Mac host
  1. Attach the PTS to your Mac or PC with a USB cable.
  2. In the Phidgets Preference Pane (Mac) or Control Panel (Windows), note the Serial Number of the attached PTS in the “General” tab, and give it an access password if you wish.
  3. Assign a Server ID (this can be any arbitrary name)
  4. Turn the Web Service on. This allows Roastmaster to talk with the PTS, via the Mac or PC.
For a Phidget Temperature Sensor with an SBC host
  1. Attach the PTS to the SBC with a USB cable.
  2. Make the SBC a member of your network in one of two ways:
    • If you will network the SBC with an Ethernet cable…
    1. Attach one end of the cable to your router or switch, and the other to the SBC.
    • If you will network the SBC using the Phidget wireless adapter…
      1. Attach the wireless adapter to the SBC.
      2. In the PhidgetSBC tab of the Phidgets Preference Pane (Mac) or Control Panel (Windows), double click the SBC to launch the web Administration Console.
      3. In the Administration Console, navigate to the “Wireless” sub-tab of the “Status” main tab.
      4. Select your network in the detected networks, and enter the network password.
      5. To automatically join this network whenever the SBC is in range, verify that the “Remember this network” checkbox is checked. If so, the SBC/PTS combination will become completely self-sufficient, automatically joining your network when it boots, and available for immediate use to Roastmaster.
      6. Click “Add This Network”.
  3. In the Phidgets Preference Pane (Mac) or Control Panel (Windows), navigate to the “Bonjour” tab, and note the serial number of the temperature sensor. (NOTE: you will use the serial number of the Phidget Temperature Sensor–NOT the SBC Interface Kit)
3Navigate to the Probes List from Roastmaster’s Utilities Window.

By this point, you should have your Phidget(s) up and running on your network, and access to the serial number of each PTS you want to use.

If your Phidget Temperature Sensor is operating correctly on your network, you’re ready to purchase the Data Logging option in Roastmaster. Navigate to the Utilities screen, and tap “Probes”.

  1. In the probes list tap “Data Logging Store”. Roastmaster will guide you through the purchase process. Once complete, Data Logging will be permanently enabled on your device.
4Tap the + Button to Add a New Probe.
  1. Enter the serial number, port and password (if password protected) of the PTS. NOTE: Phidget Temperature Sensor ports are 0-based, so the first port should be 0, the second should be 1, etc.
  2. Verify that Roastmaster reports a green “Linked” status in the status field.
5Tap “Save”.

Repeat for any additional probes you want to define. 

  1. Justus du Toit
    Justus du ToitDec 26, 2013

    Hi, will it work if I use my Samsung 10.1 tablet with usb adapter as host for the Phidgets temperature sensor?

    I have purchased the Roast master app from the Istore for my Iphone, guess I will have to repurchase it if I wanted to use it on my Samsung tablet?(that’s if the app will be supported)

    Regards

    (South Africa-Roasting with a Genio Mezzo 6kg roaster)

    • Danny Hall
      Danny HallDec 26, 2013

      Hi Justus

      I’m sorry, Roastmaster doesn’t run on the Android platform – just iOS, so you couldn’t use the app itself on your Samsung.

      A Phidgets host, though, is a completely separate item. It can either be their SBC Debian mini-computer or a computer capable of running their driver software (usually a laptop or desktop running OSX or Windows). Since Phidgets is open-source, there could conceivably exist somewhere an app or driver that would let you use the tablet as a host if it has a USB port that would drive the Phidget Temperature Sensor. I can only assume this is possible, though – I don’t know for sure. I can only say that Roastmaster itself would not run on the Galaxy.

      Sorry – hope this has helped you.

      Kind regards
      Danny

  2. Kenneth Cho
    Kenneth ChoJan 14, 2014

    Up to how many channels can be tracked? I’m thinking I’ll pursue the Phidget 4-input w/SBC host, and I’d like to monitor all 4 inputs if possible.

    BTW, looking forward to using the software. Looks very well integrated especially the bean inventory features.

    • Danny Hall
      Danny HallJan 14, 2014

      Hi Kenneth

      Thanks for the kind words.

      There is no limit in software as to how many curves can be tracked at once – theoretically you can track as many as you want to.

      Phidgets perform very well – you’ll be happy with them. A little more work to set up than the other options, but well worth it IMO.

      • Kenneth Cho
        Kenneth ChoJan 16, 2014

        That’s great Danny. Now I HAVE to buy the whole app to try it. Thank you!

        On another note, have you ever looked into the BBQ/smoker market? It’s my other hobby, and the data logging principles are pretty similar. Even a simple data logging app that measured 2 pts for temp/time would work very well. Check out http://www.amazingribs.com/BBQ_buyers_guide/thermometer_buying_guide.html

        • Danny Hall
          Danny HallJan 18, 2014

          You know, my pop pop keeps suggesting that. He’s big into smoking meats, and you’re right – the concepts are almost identical. I’ve though about how it might work. There are a few hurdles with long running apps in iOS, but I’m interested in the prospect. Thanks for the link – Ill check it out.

  3. Kenneth Cho
    Kenneth ChoJan 18, 2014

    The Phidget possibilities are making my head spin. In addition to the 4-input temp sensor, could I also hookup voltage and amp sensors and track those in RoastMaster? Tracking these variables would aid Quest users like myself. Thank you!

    • Danny Hall
      Danny HallJan 18, 2014

      Aha – mine as well! 🙂 Now that data logging is fully implemented, I’m excited about the prospect of roaster control. Perhaps a precursor to that is branching into the other Phidgets likes you’re suggesting – recording variables like that exactly as you enter them on the roaster – never having to touch a thing in Roastmaster except for entering the crack times. That’s one of the reasons I’ve always been such a big fan of Phidgets.

  4. Erik Grammer
    Erik GrammerFeb 04, 2014

    Hi Danny,
    Finally got the San Franciscan roaster and have incorporated two phidgets temperature sensors connected via the sbc host. It’s working well but wanted to mention that it only allowed me to select port 0 for both sensors. I initially thought the first sensor would be 0 and the second 1 but 0 is the only choice that allows connection. Both sensors seem to properly read independently so maybe I just misunderstood the setup?
    Thanks!
    Erik

    • Danny Hall
      Danny HallFeb 04, 2014

      Hi Erik

      Funny – you crossed my mind earlier today – I was wondering if the roaster and Phidgets got delivered to you.

      I’m trying to remember the phone conversation I had with Bill, looking at the emails I thought you were only getting 1 port, so I only included one 1-port on the parts list I sent you. Sorry if I misunderstood, or maybe plans changed after we spoke. Either way, it doesn’t make a difference to Roastmaster.

      If you were using the 4-port temperature sensor, you’d enter the serial number of the 4-port sensor, and Roastmaster would give you the choice of ports 0, 1, 2 and 3. In your setup, you just enter 2 separate serials, and each will just show the one port: 0, which it sounds like you’ve already got under control.

      Should work just fine either way. Any questions, just let me know.

      Hope you enjoy the new roaster!

      Danny

      • Erik Grammer
        Erik GrammerFeb 04, 2014

        Understood – that’s exactly what happened. I was thinking 2 ports from the beginning but really didn’t know enough to be able to articulate it well. I have to say your instructions are spot on and everything was surprisingly easy to set up – a sign of good design on your part!

        Everything is working beautifully and the San Franciscan is an amazing roaster. Roastmaster has been easy to use throughout the process and I feel like I’ve only scratched the surface on what the app is capable of (I can only take in so much new data at once).

        I’ll definitely send some setup pix and/or video once we’ve got everything mounted and running the way we like. Thanks again for all the help – it’s made everything go so much more smoothly!

        Erik

        • Danny Hall
          Danny HallFeb 05, 2014

          Great to hear! Thanks for the kind words.

          Yes, please send pics or a video – I’d love to see the roaster in her new home.

          Keep an eye on the screencasts section of the site. I’m currently working on one explaining some of the advanced features of profiles, and how to incorporate them into different workflows.

          Danny

  5. Felix Wong
    Felix WongMay 22, 2015

    Hi
    Did you use two grounded probe or ungrounded probe on the phidgets 1048 setup? And where did you get the probe from.

    Thank you

    • Danny Hall
      Danny HallMay 22, 2015

      Hi

      I used 2 ungrounded (shielded) probes on my last roaster. On my current roaster, ! have 3. The bean temp is ungrounded, and I think the other 2 are as well, though I bought those second hand, so not entirely sure.

      Ungrounded probes are a little slower to respond, but the result in smoother curves because there’s less jumping around.

      The two shown in the pic came from Auberins.com. They are model 6″ WRNK-191. They’re die hard – I’ve had them for years. Omega.com and Amazon are great places to shop for probes as well.

      • Felix Wong
        Felix WongMay 24, 2015

        Thank you so much. Danny

  6. Felix Wong
    Felix WongMay 24, 2015

    I bought two grounded probe from Mr Yen and the phidgets 1048. Seem like the grounded probes doesn’t work. I keep getting error. Do you think the phidgets usb isolator will make it work? I don’t want to buy more probes (without the fitting),because Mr yen probes fit in the nut hole.

    • Danny Hall
      Danny HallMay 25, 2015

      Does the probe work if you remove it from the roaster, so that it is NOT in contact with the metal housing of the roaster? If so, then yes – the USB isolator may help. You can also try a ferrite bead on the outside of the cable. These can reduce noise too. What error are you seeing?

      • Felix Wong
        Felix WongMay 28, 2015

        I keep getting this error. Thermocouple 1 reported a potential of -15.5698mV which is below the minimum of -10.0094mV.

        • Danny Hall
          Danny HallMay 28, 2015

          Where do you see this error? Roastmaster shouldn’t be reporting it. Are you able to connect with Roastmaster? One of my temperature sensors reports this in the control panel/preference pane, but the probe attached to it works fine.

  7. Biowilly
    BiowillySep 14, 2015

    Hi,
    I have an Ambex YM-5 roaster with a type J thermocouple. Can I use this with your suggested Phidget setup?

    • Biowilly
      BiowillySep 14, 2015

      I also have a Watlow EZ-Zone PID installed on the roaster. What would be the easiest way to set this up?

      • Danny Hall
        Danny HallSep 14, 2015

        Yes, a J type can be used with Phidgets. But, it’s sometimes the case that you’ll need to install a separate thermocouple specifically for data logging software. Newer roasters are often either built specifically for data logging, with an extra thermocouple, or a spare port for a bean temp probe. But if not, the factory TC is usually integrated into the machine hardware (safety features, hi limit, etc.). If so, you cannot split the wires or piggy-back, you’ll need to either drill another hole, or find and commandeer an existing bolt hole that’s threaded all the way through if one exists near the bean mass.

        The only way to know for sure if you need to install a separate probe is to check with the manufacturer directly. If so, ask them if they have a good source for an appropriately-sized “dual element” J type thermocouples. Dual element probes have two sets of wire, with 2 distinct junctions inside the same tip. You can safely replace the existing single-element TC with a dual-element TC.

        If you need more info, I’d be happy to talk to them on your behalf – just let me know.

  8. Christian Almeida
    Christian AlmeidaJul 09, 2016

    Hi,
    I’d like to know whether I can use a Phidgets 1046_0 – PhidgetBridge 4-Input in order to use RTDs (using resistors) since I do prefer RTDs over TCs. So instead of using a PTS/TC combo I would be using a PhidhetBridge/RTD/resistor combo along with the 1073_0 – PhidgetSBC3 acting as a host.
    So, is this RTD setup feasible? Or a PTS/TC is the only way to go with the RoastMaster…

    • Danny Hall
      Danny HallJul 11, 2016

      Sorry, no–just the K and J Temp Sensors for Phidgets at the moment. But, I’m working heavily on probes for the next update–particularly in the area of OpenSource protocols for things like Raspberry Pi, etc. I do plan on evaluating RTD for Phidgets in the process. Feel free to check back with me. I’ll be looking for early adopter beta testers if it’s feasible.

  9. Mike M
    Mike MNov 10, 2016

    Hi Danny,
    Any way to also include an 1138_0 air pressure sensor input in addition to the PTS for gas pressure data logging? I am setting up two thermocouples with the SBC3.

    • Danny Hall
      Danny HallNov 22, 2016

      Not yet, no. But the version nearing release will provide support for a networking protocol whereby I do plan to support alternate sensing for pressure, and other things.

  10. sam
    samNov 11, 2016

    Hi Danny,
    yesterday i hooked up my data logging and probes and all was working well today I turned everything back on but for some reason the probes are reading Unlinked …. any ideas as to why this would be ?

    • Danny Hall
      Danny HallNov 22, 2016

      Hi Sam

      I’ve been out of the office since last Friday, just now catching up. I sent you an email. Let me know if you’re still having problems.

      Danny

  11. Sharif
    SharifNov 23, 2016

    Hey Danny,

    Roastmaster is amazing so far – just got my phidgets set up today, along with the SBC3 and Wifi dongle. Going through your instructions to set up via wifi dongle method, wondering if there is a step missing? Do I need to connect the SBC to my mac via usb for the initial set up ?

    Not quite sure how to have it show up in the PhidgetsSBC tab.

    • Danny Hall
      Danny HallNov 26, 2016

      Hi Sharif

      The SBC should have BonJour running, so you should typically be able to configure the SBC over Bonjour without tethering it to your Mac with USB. But, if firewall settings interfere with that, the USB cable may be necessary the first time to setup the network with your wifi SSID and password. Just make sure to check “remember this network” so that the SBC connects to your wifi in subsequent launches.

      Let me know if you still have issues.

      Danny

      • Sharif
        SharifDec 13, 2016

        Thanks Danny,

        Yea ended up having to be setup wired for the first time. Running excellent now.

  12. Jeehoo Lee
    Jeehoo LeeFeb 13, 2017

    Hi~Danny!
    I have set up phidget PTS with notebook(windows 10) and K type thermocouple as instructions.
    But the Roastmaster app. is Not able to be Linked to the Phidget sensor.
    what should I do? Or check up something ?
    Please help me..

    And..for the latest version of Roastmaster app. what version of phidget libraries should I install??
    This page only introduce for version 7.0.3.

    • Danny Hall
      Danny HallFeb 13, 2017

      The overly-agressive Windows firewall is likely the culprit. In an effort to increase internet security, it blocks TCP traffic on non-standard ports, so the traffic from your Temperature Sensor is probably not reaching Roastmaster. Try adding a Firewall “rule” to allow the traffic on the TCP Web Service port that the Phidgets Control Panel is using. For example, if the Phidgets Web Service is set to port “5001”, you can add an incoming and outgoing rule to allow TCP traffic on port 5001. You should get a connection then.

      Here is a link for adding Windows Firewall rules: http://www.howtogeek.com/112564/how-to-create-advanced-firewall-rules-in-the-windows-firewall/

      Let me know how it goes.

Leave a Reply