topbanner.gif
January 22, 2018 22:51:40
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 Forum FAQ
bullet2.gif Contact Me
bullet2.gif Photo Gallery
bullet2.gif Search
bullet2.gif User's Voice
bullet2.gif Facebook Connect
bullet2.gif Videos
Forum Threads
Newest Threads
bullet2.gif Poppery 2 and Artisan
bullet2.gif Kaldi Wide with Camp...
bullet2.gif Bobby M15's drum
bullet2.gif Looking for TC4C board
bullet2.gif Auber syl-2381-s and...
Hottest Threads
bullet2.gif TC4 with aArtisan... [275]
bullet2.gif Bobby M15's drum [107]
bullet2.gif Dereks 1-2Kg drum... [89]
bullet2.gif Looking for TC4C ... [61]
bullet2.gif Honey Badger 1k [41]
Users Online
bullet2.gif Guests Online: 3

bullet2.gif Members Online: 0

bullet2.gif Total Members: 5,220
bullet2.gif Newest Member: swanston
BotSlap Panel
bullet2.gif Last check: 01.22.18
bullet2.gif Slap count: 0
bullet2.gif Last checked ID: 6437
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
TC4 with aArtisanQ_PID Dataloggers/Controllers/Rate of Rise Meters 276 01-17-2018 17:44
Update my old TC4 with latest software version Dataloggers/Controllers/Rate of Rise Meters 13 01-17-2018 06:15
TC4/Artisan Temp Read Issues Dataloggers/Controllers/Rate of Rise Meters 16 01-03-2018 19:03
TC4 + Clippard EVP Proportional Valve + EVPD Valve Driver Dataloggers/Controllers/Rate of Rise Meters 31 12-27-2017 11:13
PID Tuning - TC4 Dataloggers/Controllers/Rate of Rise Meters 41 12-17-2017 05:35