topbanner.gif
Login
Username

Password




Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Shoutbox
You must login to post a message.

allenb
11-15-2018 13:26
Cwilli62 Welcome

JackH
11-14-2018 10:26
Welcome joycan coffee drink

JackH
11-12-2018 08:50
welcome2 gtroaster15

JackH
11-09-2018 12:21
Welcome SPQR

JackH
11-07-2018 21:29
welcome2 John brown

Shoutbox Archive
Users Online
Guests Online: 2

Members Online: 0

Total Members: 5,573
Newest Member: sitanggang
Donations
Donations Bank

Latest Donations
PRABHATH COFFEE WORKS - 10.00
John Despres (Scene... - 25.00
snwcmpr - 10.00
Ozo - 20.00
Josh Woodrow - 10.00

View Thread

Homeroasters.org » DATALOGGERS - CONTROLLERS - RATE OF RISE METERS » Dataloggers/Controllers/Rate of Rise Meters
Who is here? 1 guest(s)
 Print Thread
TC4 with Android and Bluetooth
cyberelectronics
Hi,

First I want to say Thank You - Greencardigan for the TC4 App.
Only small changes was made on this software.
Some buttons was added, others removed + added CSV save file function.
Latest updates will be available here, in this new project:
http://www.cybere...org/?p=699
 
http://www.cyberelectronics.org/
greencardigan
Thanks for the update and welcome to HRO.

I haven't had a good look at your project page yet but it looks great.
 
JackH
Welcome to Homeroasters Cyber. Nice project site!

I was going to try this out and bought the bluetooth dongle but no time lately for projects.
---Jack

KKTO Roaster.
 
cyberelectronics
Thanks Jack and Greencardigan.

I hope this will work for you from the first try.

Csabi
 
http://www.cyberelectronics.org/
greencardigan
cyberelectronics wrote:

Hi,

First I want to say Thank You - Greencardigan for the TC4 App.
Only small changes was made on this software.
Some buttons was added, others removed + added CSV save file function.
Latest updates will be available here, in this new project:
http://www.cybere...org/?p=699


Thanks to Csabi (cyberelectronics) for the CSV logging code and bug fixes. I have incorporated his changes into the TC4 code repository with a few small changes.

Possible future updates
- Allowing button comands sent to TC4 to be customised.
- Allowing data input stream from TC4 to be specified.
- Allowing roast profiles to be loaded on phone and setpoints sent to the TC4 PID.
 
greencardigan
Here's the apk file for the latest version of my app if anyone wants to try it.

TC4_31_15_01_2015.apk

I may get around to doing some user documentation some day!
 
Want to Help?
By donating you can ensure that HR will continue to be open for years to come. Expenses are 100% transparent and can be viewed publicly at all times. You can find more information on donations and why we request them by reading up on the forum topic here. Thank you.

greencardigan
I have made some more changes to my TC4 Android App if anyone is interested. I have tested it with the latest version of aArtisanQ_PID (http://homeroaste...post_55072) but it should also work fine with the normal version of aArtisan. Feel free to test it (requires a bluetooth module connected to the serial pins on the Arduino/TC4). Let me know if you have any questions.

New features
- Enhanced logging of data in CSV file.
- Adjustable data read interval.
- Customisable command buttons (text on buttons plus serial commands sent to TC4).
- Customisable input parameters. Allows user to specify what parameters are being received from the TC4 and in which order.
- Added ET RoR and SV to display.
- Added a crack marker button
- Updated app icon

I have attached some app screenshots below along with the APK file for the app.

What's next.
- Add support for sending SV values to the TC4 based on a roast profile stored on your phone.
- Allow user to select which parameters get graphed.


.
greencardigan attached the following file:
tc4_44_28_03_2015.zip [281.79kB / 141 Downloads]
greencardigan attached the following images:
screenshot_2015-03-30-10-36-02.png screenshot_2015-03-30-10-35-52.png screenshot_2015-03-30-10-35-43.png screenshot_2015-03-30-10-35-30.png screenshot_2015-03-30-10-35-11.png screenshot_2015-03-28-16-50-10.png screenshot_2015-03-30-10-35-00.png
 
JorgeO
Hello, greencardigan

I´m new to home roasting (but I´ve been grinding my beans for quite some time).

I want to thank you for the TC4 Android app! Just what I was looking to mod my new Behmor in the future. Keep on the nice work!

Rgds,

Jorge
 
renatoa
After some weeks of pasionate work, succeeded to modify this application to use as data source an USB dual thermometer of type Mastech MS6514, just data logging for now.
Also modified the app in some points, to better suit my imagination about such application behaviour:
- the Crack button logic was been extended into a full cycle, all phases tagging, and also added some automated phase changes detection. A long press during any phase on the button will jump to Drop phase.
- the log file format was been modified to be fully complaint with Artisan CSV, so you can import the log in Artisan without any post-processing. The RoR computed during roasting will be not be saved, and redone by Artisan, based on logged values.
- the graphic also was been changed here and there: X scale show times, as mm:ss instead seconds, there is a grid over-imposed, whose color change green-yellow-brown, as roasting evolves, and also the phase change points are labelled/annotated.

The apk is not hosted anywhere for now, anyone interested just PM me with email.

It is still work in progress, in the second phase of development now, when control will be added.
Same PID controller used by TC4 was already been ported to Android. Also adapted a PWM library that outputs PWM for heater and fan on audio (headphones) of the tablet. The audio signals will drive PWM dimmers enough capable for heaters usually used in hobby roasters - 12A triac = 2500W@230V.

Unfortunately, a smartphone can't be used to drive the Mastech thermometer due to the large current draw, more than a smartphone USB port is capable. Unless you have a split USB cable providing separate power for the devices, and let data flow unaffected.

Will come next days back with some screens during a real roast.
Any question will be answered as fast as I can. Open to suggestion for improvement.
DIY: TO based IR to bean 800g
Moded commercial: Dieckmann RoestMeister, Nesco, popcorn.
PID/ramp/soak controllers, MS6514 USB/Artisan/Apps/popC/ESP32
Grinder: mod'ed Porlex to 47 conical burrs
 
greencardigan
Hey, thanks for posting this. It looks very interesting.

Can you tell us a bit more about the USB data? Could it be connected via USB to an Arduino/TC4 setup?
 
renatoa
Sure, it's a simple packet structure, 18 bytes long, two bytes header, two bytes time, the two temperatures as integers (tenths of volts), ended with CRLF.
Standard 9600 8N1 serial comm.
There are also some bytes with status info, not used so far, the only that sounds interesting is the channels switching, T1<->T2, some could prefer BT with bigger digits on screen, others could prefer ET.
The complete packet buffering/decoding code can be found in Artisan, main.py file, search for "def MS6514temperature(self, retry=2)"
 
Will2
Crazy idea, but real.
Will not be necessary Arduino+TC4 shield, a similar application can be run on Android and on a Linux.
Viliam
 
renatoa
What still continue to puzzle me is the heat control in manual mode... why no buttons for heater , as for fan up/down ?
Sending manually OT1 commands seem counterproductive for me...
Am I missing something ?

Please be aware my comment is about the public code, from github, subject of this thread, quite different than the store app, that is using profiles and PID for roasting.
 
greencardigan
In the version on the app store you can customise the command for each button. You could have a button set to use the OT1,UP or OT1,DOWN to adjust the heater in manual mode.

I can't remember how complete the github version was. Maybe it doesn't have the customisable buttons?
 
renatoa
They are quite customizable, using the command textbox and long press/click
You input either Text:NewButtonText, either Cmd:NewButtonCmd, and pressing long you store in preferences the new definitions.

Thinking to make the Up/Down buttons dual purpose, rewrite the long press code to switch between Fan and Heater. Long press on Fan UP would turn it into Heater UP, and viceversa. Same for Down.
Would be the fastest way for me to code and also operate that I can imagine atm, without adding more buttons.
Fan/Htr OFF will remain as they are.

Ok, if we clarified this... :) another fuzzy thing for me... what is the purpose of PID On/Off is we don't have a profile or a Set Value ?
DIY: TO based IR to bean 800g
Moded commercial: Dieckmann RoestMeister, Nesco, popcorn.
PID/ramp/soak controllers, MS6514 USB/Artisan/Apps/popC/ESP32
Grinder: mod'ed Porlex to 47 conical burrs
 
greencardigan
The TC4 sketch has a PID controller and can have profiles stored in the TC4s eeprom. When the TC4 PID is on it can read set values from the eeprom.
 
renatoa
Ok, first successful run today of a simulated roast, with PWM control output on audio channels. Set speakers low volume before watching :)

There are explanatory subtitles, maybe a bit more faster than you can read and watch screen changes.

https://www.youtu...pULH3PBJCE
 
Will2
Very nice, hopeful.

renatoa wrote:
...
The audio signals will drive PWM dimmers enough capable for heaters usually used in...



I assume that audio channels are connected to a relay with a cable.
Do you want to show the photo or schema of the used relay?
Viliam
 
renatoa
Not relay, pwm dimmer, this:

https://www.tindi...r-mpdmv41/

The dimmer was already been used in manual control mode.
 
Will2
A-ha, the same as here:

https://www.youtu...e=youtu.be
Viliam
 
Jump to Forum:

Similar Threads

Thread Forum Replies Last Post
Android / IOS Data Logging App Ideas Dataloggers/Controllers/Rate of Rise Meters 13 07-30-2018 10:14
BlueTherm™ DUO thermometer with Bluetooth Dataloggers/Controllers/Rate of Rise Meters 3 09-04-2014 10:34
android and tinychat TROUBLE with the forum? 11 02-06-2014 22:19
Any Android Apps? ROASTING SOFTWARE APPS 3 08-10-2013 12:53
Bluetooth and the TC4 Dataloggers/Controllers/Rate of Rise Meters 48 12-14-2012 02:48
Homeroasters Association Logo, and all Content, Images, and Icons © 2005-2016 Homeroasters Association - Logos are the property of their respective owners.
Powered by PHP-Fusion Copyright © 2018 PHP-Fusion Inc
Released as free software without warranties under GNU Affero GPL v3
Designed with by NetriX