Setting Up Phidgets Legacy Lib21
If you are configuring Phidgets for Roastmaster 11 (October, 2017) or later, please see the instructions for Lib22 in Setting Up Phidgets
Phidgets offer a versatile and scalable solution for monitoring and logging roast temperatures with Roastmaster’s Data Logging option. Roastmaster connects to one or more Phidget Temperature Sensors through your WiFi network via a network “host”.
Please see How Do Phidgets Work? to become acquainted with how a network host is used to communicate with Roastmaster.
To use Phidgets with Roastmaster, you’ll need…
- A Phidget Temperature Sensor and attached K or J thermocouple(s)
- A network host to send wireless readings (one of the following):
- A full-size computer, e.g. Mac or PC desktop or laptop
- Phidget SBC with USB WiFi adapter
- Another brand of wireless DIY computer
- A wireless Ethernet network
- Roastmaster’s Data Logging entitlement (available as an in app purchase in the “Probes” section of Roastmaster’s Utilities screen)
Configuring your Host
Once you have procured the necessary parts, you need to configure your host with the Phidget Network Server software drivers that allow it to communicate with Roastmaster on your wireless network.
Phidgets Library 21
Configuring a Phidgets Version 21 Host
Roastmaster 10 and earlier
Standard Computer Host, e.g. laptop, desktop
- Download and install the appropriate version of Driver Library 21
- Attach the Temperature Sensor to your computer via the supplied USB cable
- Launch the Preference Pane (Mac) or Control Panel (Windows)
- Assign an arbitrary Server ID, e.g. Danny’s Mac, My Phidget Host, etc.
- Turn the WebService on.
- Download and install the appropriate version of Driver Library 21 to a standard computer. This software and the computer will be used only once to perform the initial configuration of the SBC.
- Attach the Temperature Sensor to your SBC via the supplied USB cable
- In the PhidgetSBC tab of the Phidgets Preference Pane (Mac) or Control Panel (Windows), double click the SBC to launch the web Administration Console.
- In the Administration Console, verify that Library 21 is installed on your SBC.
- Make the SBC a member of your network in one of two ways:
- If you will network the SBC with an Ethernet cable…
- 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…
- Attach the wireless adapter to the SBC.
- In the Administration Console, navigate to Status > Wireless.
- Select your network in the detected networks, and enter the network password.
- To automatically join this network whenever the SBC is in range, verify that the “Remember this network” checkbox is checked. If so, the SBC/Temperature Sensor combination will become completely self-sufficient, automatically joining your network when it boots, and available for immediate use to Roastmaster.
- Click “Add This Network”.
- If you will network the SBC with an Ethernet cable…
- Navigate to the Phidgets > phidget21 Webservice pane.
- Verify that Phidget Webservice is enabled.
- Assign an arbitrary Server ID, e.g. Danny’s SBC, My Phidget Host, etc.
- Click “Start” to launch the Webservice if it is not already running.
Define Probes in Roastmaster
After configuring the network host, it’s time to define the probes you want to use in Roastmaster. This process is only performed once. After the probes are defined, they will be available for the life of the app on your device.
If you have not yet purchased the Data Logging option, you can purchase it by navigating to Probes, and tapping “Probe Store” in the bottom toolbar.
- Navigate to “Probes” in Roastmaster.
- Tap “+” to create a new probe.
- Choose Phidgets Temperature Sensing.
- Locate the Serial number of the Temperature Sensor.
- Standard Computer Host: Navigate to the “Phidgets” tab of the “Phidget Control Panel” application. The Serial # column will show the serial number of any attached Temperature Sensors
- SBC Host: Navigate to the Phidgets > Status pane. The Serial Number column will show the serial number of any attached temperature sensors.
- Enter the Temperature Sensor Serial number in the “Serial” field of the probe definition.
- Choose the “Port” that your thermocouple will be attached to on the Temperature Sensor
- Choose the correct Alloy Type: K or J
- Name the probe
- Tap Save
After entering a valid Serial Number and Port, Roastmaster should display a green “Linked” status, as well as the current temperature of the probe.
If you see “Unlinked” displayed in red, and have followed all of these steps, it’s very likely that a firewall somewhere on your network (either on the host or the router itself) is blocking the Network Server traffic. Please visit Troubleshooting Phidgets for a list of common connection problems and possible solutions.
Begin Using Your Probe!
Once your probe definition has been created, and displays a linked status, all that’s left to do in the future is to link the probe to reading curves in roasts to report temperatures and log data.
- In “Roasts”, tap the “+” button to create a new roast.
- Tap the curve button, and choose “Create New Curve”
- Set the curve type to “Reading”
- Tap the “Bind To” field to bind the curve to your new probe definition.
- Save the curve
In the roast console, you can select your curve by tapping the console graph. Roastmaster will display live temperature readings as they change on the probe. After you start the roast, Roastmaster will log these temperatures at the interval defined in the curve for the duration of the roast.
Have a look at some of our screencasts, particularly those in the “Roasting with Roastmaster” series, for instructions on how to leverage curves and profiles with Data Logging to create effortless workflows with vital Reference Curves for targeting, and Data Curves for logging new data.
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)
(South Africa-Roasting with a Genio Mezzo 6kg roaster)
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.
Can I simply use the SBC3 with a wireless dongle controlled directly by a laptop without a router in between?
No. The API library operates on TCP/IP, so the router is a requirement. Though, keep in mind – it does not have to an internet-equipped router. In other words, you can go to an electronics store and buy a cheap ($25 USD wifi travel router), and have it linked in a few minutes. Internet is not required – just a wireless TCP/IP connection between Roastmaster and the SBC.
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.
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.
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
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.
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!
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.
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?
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!
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!
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.
Did you use two grounded probe or ungrounded probe on the phidgets 1048 setup? And where did you get the probe from.
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.
Thank you so much. Danny
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.
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?
I keep getting this error. Thermocouple 1 reported a potential of -15.5698mV which is below the minimum of -10.0094mV.
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.
I have an Ambex YM-5 roaster with a type J thermocouple. Can I use this with your suggested Phidget setup?
I also have a Watlow EZ-Zone PID installed on the roaster. What would be the easiest way to set this up?
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.
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…
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.
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.
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.
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 ?
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.
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.
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.
Yea ended up having to be setup wired for the first time. Running excellent now.
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.
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.