topbanner.gif
August 19, 2018 21:15:00
Login
Username

Password




Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
bullet2.gif HOMEROASTERS.ORG
bullet2.gif Active Forums
bullet2.gif FORUM INDEX
bullet2.gif Downloads
bullet2.gif News
bullet2.gif Facebook Connect
bullet2.gif Forum FAQ
bullet2.gif Photo Gallery
bullet2.gif Search
bullet2.gif User's Voice
bullet2.gif Videos
Forum Threads
Newest Threads
bullet2.gif FS Breville bean mov...
bullet2.gif Baratza Sette 270
bullet2.gif Overheat / shutoff s...
bullet2.gif Craigslist now charg...
bullet2.gif FS $40 Breville Dose...
Hottest Threads
bullet2.gif TC4 with aArtisan... [366]
bullet2.gif Bobby M15's drum [158]
bullet2.gif Enhancing My HotT... [94]
bullet2.gif Bread machine build! [85]
bullet2.gif Halogen Radiant R... [62]
Users Online
bullet2.gif Guests Online: 3

bullet2.gif Members Online: 0

bullet2.gif Total Members: 5,493
bullet2.gif Newest Member: mreyes104
BotSlap Panel
bullet2.gif Last check: 08.19.18
bullet2.gif Slap count: 0
bullet2.gif Last checked ID: 6735
Donations
View Thread
Homeroasters.org » DATALOGGERS - CONTROLLERS - RATE OF RISE METERS » Dataloggers/Controllers/Rate of Rise Meters
Who is here? 1 guest(s)
 Print Thread
HC-06, TC4 setup
ChrisR
Questions to folks using HC-06. I bought one and trying to install it with my Arduino board and TC4, however, I cannot talk to it, even after installing the drivers. The windows system installs two serial ports. Could you help?
 
greencardigan
Check the baud rate you are using in the TC4 sketch. Most HC-06 that I've seen come set to 9600 or 19200.

It shouldn't need any drivers. Connect and Pair using Windows and enter HC-06 pin number if needed. Usually 1234 or 0000. Once paired in Windows, you should be able to select it as a serial port in Artisan.

TX pin on HC-06 goes to RX on Arduino. And you probably won't be able to use the USB connection while you have the bluetooth module connected as the USB also uses the same serial pins.

Also, some HC06 may require 3.3V and therefore some additional circuitry between the Arduino and HC-06. I use a cheap resister divider board from ebay.
Edited by greencardigan on 10-23-2017 18:04
 
ChrisR
I tried all baud rates and the voltage divider, however, I could not get it to work with the Arduino board. I gave up on it for now, I'll focus on the automation aspect of my BC roaster, similar to what slickrock did, I will be using the clippard proportional valve and the associated controller and I will drive it of IO3 using PWM. I ordered the parts and I should everything ready in a couple of weeks.
 
ChrisR
Happy to report that the issue was solved, it was caused by baud rate conflicts. In the user.h I had the baud rate set at 115200 while the HC-06 had a default baud rate of 9600. I changed the baud rate in the user.h file, assembled the code and uploaded it to the Arduino board (this was done via the USB cable). Once the Arduino serial port baud rate was set to 9600, everything worked. I didn't need to use a voltage divider on the RX pin.
 
ChrisR
I came cross another issue that relates to the TC4 and HC-06. I connected a couple of K-type thermocouples to input 1 and 2 and I was able to read the correct temps with the USB cable plugged in. I removed the USB cable and connected a power supply to the Arduino board, connected the HC-06 and tried reading the temps wirelessly. The readings come back wrong and fluctuating. The strange part is that I can change the baud rate in Artisan and I’m still able to read the temps, granted, incorrect temps.
 
greencardigan
Not sure how it could send/receive anything meaningful using the wrong baud rate. Fluctuating readings sounds more like a power, grounding or interference issue.

I find it easier to troubleshoot using the Arduino Serial Monitor. Try communicating wirelessly with the HC-06 by sending READ commands.
 
ChrisR
I agree. It appears it was a floating ground issues. As soon as I tied the TC4 GND to the roaster frame, I was able to read constant temperatures.
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
Termocuple for HTC/TC4 Setup Dataloggers/Controllers/Rate of Rise Meters 10 04-03-2014 09:05
First Roast On New Setup Popcorn Popper roasting 20 07-17-2013 20:24
Jeez, Another Newbie! TC4C Setup questions... Dataloggers/Controllers/Rate of Rise Meters 19 01-04-2013 22:56
Some new mods to my HG/BM setup! Bread Machine Roasters 1 01-28-2009 16:22
A picture of my setup with the inverted BM lid. Bread Machine Roasters 2 09-28-2008 03:02