Skywalker, the AL... | [263] |
War on Farmers by... | [53] |
Green coffee reviews | [10] |
Help and recommen... | [10] |
New TC4+ Popcorn Pumper issues
|
|
maxwell |
Posted on 04/18/2023 12:37 PM
|
![]() Newbie ![]() Posts: 9 Joined: April 18, 2023 |
Hi everyone love this site. Great information and advice. Longtime lurker just taking the plunge into automation. I am a fifteen+ year Poppery 1 (manual) user who just built a Wearever Pumper with CH340 ATmega 328P R3 with TC4+ and HC05 Bluetooth. Had a few bumps and giggles but seems to be working okay except when I #define ANDROID and try to use it from the TC4 Free Roast app it won't start the roast. The bluetooth connects fine and I see my temps. I have a basic csv profile as suggested in the FAQ. profile1.csv SV,RAMP,SOAK 25,0,0 150,240,0 200,240,0 216,240,0 0,0,0 When I press Start Roast it says it started but no Fan or Heat. I can send serial commands fine to turn on FAN (IO3;100) and turn on Heater (not connected yet) (OT1:100). The LEDS on the TC4+ turn on off fine but won't start when I try and start a simulated roast. Any ideas of what I borked? Also I'm afraid of starting the Heater without the Fan and I was perplexed that 'no cutoff' is the default // cut power to Heater if fan duty is less than HTR_CUTOFF_FAN_VAL (to protect heater in air roaster). Set to 0 for no cutoff #define HTR_CUTOFF_FAN_VAL 0 Shouldn't I set it to a higher number to eliminate frying the heater coil? I'm running the DC fan on 24V so it spins very good. I also widened the inlet vanes to the roast chamber hoping to get a little higher charge capacity. BTW Thanks for all the info over the years. |
|
|
renatoa |
Posted on 04/18/2023 12:48 PM
|
![]() Administrator ![]() Posts: 3131 Joined: September 30, 2016 |
Welcome ! 'no cutoff' is the default because there is no such thing as a default machine. Many setups don't use airflow control, that is... ![]() For a FB machine yes, it's mandatory to have a non zero value... the minimum that keep the hot air temperature under 300 C. Widening vanes means lower pressure... thus less lifting force... imo About not able to start the roast... I would try to post the incoming commands on the TC4 display, in the lower right corner... else no idea how to diagnose... |
|
|
maxwell |
Posted on 04/18/2023 1:56 PM
|
![]() Newbie ![]() Posts: 9 Joined: April 18, 2023 |
renatoa Thanks for the info I did enable COMMAND_ECHO but never see any commands on the LCD. Is that what you meant about posting the commands on the display? |
|
|
renatoa |
Posted on 04/18/2023 2:09 PM
|
![]() Administrator ![]() Posts: 3131 Joined: September 30, 2016 |
COMMAND_ECHO is to echo commands on the serial line, back to the issuer, to acknowledge their execution. Not remember if the Android app has an area to display them... What I meant is additional custom code on TC4, a feature not existing atm. |
|
|
greencardigan |
Posted on 04/18/2023 7:39 PM
|
![]() 1 1/2 Pounder ![]() Posts: 1185 Joined: November 21, 2010 |
It's been a long time since I looked at my app or the code. But check the Settings -> Button Text and Commands. I think buttons 9 and 10 correspond to the 'Start Roast' and 'End Roast' buttons. You can add a command to those buttons. |
|
|
maxwell |
Posted on 04/19/2023 3:33 AM
|
![]() Newbie ![]() Posts: 9 Joined: April 18, 2023 |
Quote renatoa wrote: COMMAND_ECHO is to echo commands on the serial line, back to the issuer, to acknowledge their execution. Not remember if the Android app has an area to display them... What I meant is additional custom code on TC4, a feature not existing atm. Okay thanks it was the comment on COMMAND_ECHO that confused me Quote // Echo all serial commands to LCD for debugging |
|
|
renatoa |
Posted on 04/19/2023 6:02 AM
|
![]() Administrator ![]() Posts: 3131 Joined: September 30, 2016 |
I was partially wrong... ACKS_ON is the define that control serial line acknowledge of command execution back to command issuer. COMMAND_ECHO is the LCD debug feature I wrote above. Check here how it works: https://github.co...D.ino#L377 So activating COMMAND_ECHO you should see on LCD the commands coming from Android. |
|
|
maxwell |
Posted on 04/19/2023 12:35 PM
|
![]() Newbie ![]() Posts: 9 Joined: April 18, 2023 |
In my experience COMMAND_ECHO does nothing in the PID version I am using. It is defined and used in the aArtisan version Looking at the code #if defined LCD && defined COMMAND_ECHO LCD is not defined afaik so the COMMAND_ECHO gets bypassed I am using a 4x20 I2C LCD panel Edited by maxwell on 04/19/2023 12:48 PM |
|
|
renatoa |
Posted on 04/19/2023 2:09 PM
|
![]() Administrator ![]() Posts: 3131 Joined: September 30, 2016 |
Strange indeed... to provide a debug code, but invalidate Maybe the author meant LCD_I2C ... |
|
|
maxwell |
Posted on 04/23/2023 6:14 AM
|
![]() Newbie ![]() Posts: 9 Joined: April 18, 2023 |
Well I still haven't had any luck getting the phone app working but thats okay. My real goal is to use Artisan on my Surface Tablet to run the roaster. I have been able to connect via USB but was wondering since I have the HC05 BT module installed and configured on my Arduino TC4+ can I use Bluetooth instead. If so are there any pointers on how to set Artisan up to do that? I have looked but haven't found anything. |
|
|
renatoa |
Posted on 04/23/2023 7:18 AM
|
![]() Administrator ![]() Posts: 3131 Joined: September 30, 2016 |
Oups ! There is a misunderstanding here ! Artisan and Android modes are different on TC4, and can't be used simultaneous or interchangeable. The BT adapter presence could suggest that they have something common, but the data packets for Artisan or Android are different You have to compile for the right device any time you want to switch the application used for display/graph. |
|
|
maxwell |
Posted on 04/23/2023 7:40 AM
|
![]() Newbie ![]() Posts: 9 Joined: April 18, 2023 |
I knew that. Other than switching to #define ARTISAN in the user.h and recompiling what else do I need to do? I was asking about connecting to Artisan in BT mode instead of USB. Is it possible? |
|
|
renatoa |
Posted on 04/23/2023 9:15 AM
|
![]() Administrator ![]() Posts: 3131 Joined: September 30, 2016 |
Yes, possible, but with some prerequisites, explained here: https://artisanal...mentation/ |
|
|
maxwell |
Posted on 04/23/2023 11:47 AM
|
![]() Newbie ![]() Posts: 9 Joined: April 18, 2023 |
Yes I read that and think I have it setup on the TC4 end but can't figure how to set it up in Artisan. My laptop will connect to the bt connection named 'coffeeroaster' but in Artisan I don't see a port to use. |
|
|
renatoa |
Posted on 04/23/2023 1:18 PM
|
![]() Administrator ![]() Posts: 3131 Joined: September 30, 2016 |
If any of the BT adapters is not an old style "true" BT, but a modern version of BT called BLE, then they don't communicate, just see. BLE does not emulate a comm port as BT does. |
|
|
maxwell |
Posted on 04/23/2023 1:44 PM
|
![]() Newbie ![]() Posts: 9 Joined: April 18, 2023 |
It's an HC05 which I believe is old style. |
|
|
renatoa |
Posted on 04/24/2023 1:52 AM
|
![]() Administrator ![]() Posts: 3131 Joined: September 30, 2016 |
HC05 is ok, this is TC4 side. What about the Surface tablet BT, did you added a comm port ? https://www.veriz...ase-20605/ |
|
|
maxwell |
Posted on 04/24/2023 5:12 AM
|
![]() Newbie ![]() Posts: 9 Joined: April 18, 2023 |
Quote renatoa wrote: HC05 is ok, this is TC4 side. What about the Surface tablet BT, did you added a comm port ? https://www.veriz...ase-20605/ You are a credit to the community sir. Thank you. The settings were not exactly like that but once I went into properties I could see the BT was communicating over Serial Port 3 and just had to match the baud rate to 38400. Seems to be working okay will try a live fire later. Thanks for your time and knowledge. |
|
|
renatoa |
Posted on 04/24/2023 9:30 AM
|
![]() Administrator ![]() Posts: 3131 Joined: September 30, 2016 |
...Live fire... ![]() ![]() |
|
Jump to Forum: |