14
RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org Page 1 of 14 This procedure was written for the Arduino Uno board with the TC4 shield. Please check the Arduino site for software if you are using a different model. I have not tested it, but this procedure should also work with the TC4C board which is an all in one board combining a TC4 and Arduino. **Note: The TC4 board defaults to sending temperature values in Celsius. To use Fahrenheit, a jumper is added to the TC4 board at location ANLG2 from center pin (AN1) to right pin (Ground). Using a two pin jumper (as used on computer boards) is convenient. Loading the Arduino application: (All Screens shown Windows 7) it will look different for other versions. Do not plug the Arduino into the USB port at this time. You might want to unplug all USB devices until the procedure is complete (just in case). Download the latest Arduino installer file from: http://arduino.cc/en/Main/Software . Version 1.0.5 is used at this writing. Choose the Windows Installer. It is much easier to do than downloading the zip file. Running the Installer should show the following screen after the license agreement:

RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

Embed Size (px)

Citation preview

Page 1: RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Page 1 of 14

This procedure was written for the Arduino Uno board with the TC4 shield. Please check the Arduino site

for software if you are using a different model. I have not tested it, but this procedure should also work

with the TC4C board which is an all in one board combining a TC4 and Arduino.

**Note: The TC4 board defaults to sending temperature values in Celsius. To use Fahrenheit, a jumper

is added to the TC4 board at location ANLG2 from center pin (AN1) to right pin (Ground).

Using a two pin jumper (as used on computer boards) is convenient.

Loading the Arduino application:

(All Screens shown Windows 7) it will look different for other versions.

Do not plug the Arduino into the USB port at this time.

You might want to unplug all USB devices until the procedure is complete (just in case).

Download the latest Arduino installer file from: http://arduino.cc/en/Main/Software.

Version 1.0.5 is used at this writing.

Choose the Windows Installer. It is much easier to do than downloading the zip file. Running the

Installer should show the following screen after the license agreement:

Page 2: RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Page 2 of 14

Leave everything as is and click next. On the next screen, leave the Destination Folder as is and click

Install. If it asks to load the Arduino USB driver select install. Click close to complete.

Once the Arduino software loads and is complete, plug the Arduino into the USB port on your computer.

XP Users:

XP users will get a screen "New Hardware Wizard"

Select ---> "Install from a specific location. (Advanced)"

Next screen: Select ---> "Don't search. I will choose the driver to install"

Next Screen: "Arduino Uno" should appear in the device list. Select: Next.

Click finish to complete.

Windows 7 Users:

Windows 7 should see it and connect using the loaded driver. If it tries to use Windows update to find it,

click on the blue highlighted text "Skip obtaining driver software from Windows update" and let it use

the loaded (local) driver. You should get the following screen (Windows 7):

Note the COM port it used. This number may be different. Click close

Check the Device Manager to see if the Arduino driver is present:

XP Users: Start--> Control Panel--> System--> Hardware--> Device Manager Tab.

Select Ports (Com & LPT) in the list.

Arduino Uno(COMX) should be there (X= com number assigned)

Windows 7 Users: Start--> Control Panel ---> Device Manager ---> Ports and it should display "Arduino

Uno (COMX)" - X = whatever number was assigned.

Page 3: RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Page 3 of 14

Load the RoastLogger TC4 Sketch file and libraries

Now that the Arduino software and USB driver is installed, the TC4 "Sketch" file and Arduino library files

specific to the TC4 need to be loaded. This is the software that runs in the Arduino and passes data from

the TC4 board to the RoastLogger application.

Download the latest RoastLogger TC4 sketch from:

http://code.google.com/p/tc4-shield/downloads/list

Choose the file "RoastLoggerTC4_2.0a.zip" - this is the latest version.

At the next screen, click on the link --- RoastLoggerTC4_2.0a.zip and it will download. The file is a .zip

and should be downloaded and then extracted to a folder on your desktop for now.

You will need to copy all the folders in the "RoastLoggerTC4_2.0a/Libraries" folder (7 total) to the

Arduino software Libraries folder location "C:/Program Files/Arduino/Libraries" as shown:

Page 4: RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Page 4 of 14

The result of the copy: Your C:/program Files/Arduino/Libraries folder should look like this:

The highlighted folders you copied are for the TC4.

Now that the libraries are in place we can now load the TC4 RoastLogger Sketch. Run the Arduino

application and make sure the Arduino is selected to what model you have (Arduino Uno in the

example)

Page 5: RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Page 5 of 14

Also make sure the COM port is correct and selected. A check mark should be next to COM:

Next, load the TC4 Sketch located in the RoastLoggerTC4 directory we unzipped earlier:

File -->Open-->RoastLoggerTC4

Page 6: RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Page 6 of 14

This is what you will see when it loads:

Now we need to compile at first to see if the libraries are in place. Select Sketch --> Verify/Compile:

Page 7: RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Page 7 of 14

You should get "done compiling” at the bottom of the screen if not re-check your TC4 library file

locations:

Now select File --> upload to send the program to the Arduino:

"Done uploading" should be displayed on the bottom.

Page 8: RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Page 8 of 14

If you have the optional LCD Adapter for the TC4, It should initialize and display "Roastlogger TC4

Version 2.0" for a few seconds. Then you should see roughly the following:

If you do not have the LCD option , another check that the TC4 is outputting data correctly is to run the

Serial Monitor in the Arduino program.

Page 9: RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Page 9 of 14

At first there will be odd characters displayed. Make sure the right Com port is selected and select a

baud rate of 115,200 from the drop down menu. You should see the following data scrolling on the

display if all is OK.

Next up is to load the Roastlogger application.

Page 10: RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Page 10 of 14

Loading the RoastLogger application

Download the latest RoastLogger application for Windows (RoastLogger.zip) from:

http://homepage.ntlworld.com/green_bean/coffee/roastlogger/download.html

Extracting the zip on your desktop creates two directories: "_MACOSX" and "RoastLogger"

We will use the RoastLogger directory.

Make sure you have the latest version of JAVA installed.

Click on the directory and double click the RoastLogger.jar file.

Page 11: RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Page 11 of 14

The RoastLogger program should start:

And the main menu --- Select the Inputs tab and then the Arduino Tab:

The COM port should be the same as earlier and leave the baud rate as is. Click on Start.

Page 12: RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Page 12 of 14

After a few seconds you should see some temperature values in the Arduino Controller window under

Temps - T1 / T2 *The readings are usually approximate ambient temperature. Fahrenheit is shown here.

Page 13: RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Page 13 of 14

From here it is just setting the options to what you want. Under Actions there are some default settings

you may want to clear so it does not set the heater or fan do something you do not want.

The Action temperature settings are in Celsius by default:

Here it is set to change the Heater to a level of 65 at a T1 Temperature of 178C.

You can set it to zero or whatever you want by double clicking on the value.

To change the temperature selection, ranges and time ranges select from the top menu of the “Roast

Logger with Arduino Controller” screen OptionsSet Chart Axes. You can also set many features

including the display of RoR (Rate of Rise) values.

Page 14: RoastLogger Arduino/TC4 driver installation for …roastlogger.co.uk/coffee/roastlogger/downloads/LoadArduinoTC4CSk… · RoastLogger Arduino/TC4 driver installation for ... This

RoastLogger Arduino/TC4 driver installation for Windows 9/10/13 By John Hannon (JackH) at Homeroasters.org

Page 14 of 14

This was just some basic instructions to get started and mainly for loading the RoastLogger Arduino TC4

sketch.

An excellent RoastLogger manual is available for download that covers all of the RoastLogger options

and settings in detail is at:

http://homepage.ntlworld.com/green_bean/coffee/roastlogger/download.html