Replies: 24 comments 27 replies
-
Well, after walking away from it for a while, eating lunch, and having a litle siesta, I came back to it and changed settings.json to be: |
Beta Was this translation helpful? Give feedback.
-
No, I am/was not using the MAX31865. I also had another ADS1115 from another project, but it was a hat style so I worked that in and wired up probes and had the exact same issue, so it was something with the software. I'm just glad I found a workaround as my wife was starting to question if it would've been cheaper to by the wifi Traeger model. :-( Now I can tell her that definitely wouldn't have been cheaper and I have more functionality. :-) |
Beta Was this translation helpful? Give feedback.
-
PiFire Version: 1.3.4 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
So, none of that helped. Here is the relevent info from settings.json around probes, the python module version, and system info: "grill_probe": "grill_probe1",
"grill_probe_enabled": [
1,
0,
0
],
"grill_probes": {
"grill_probe1": {
"name": "Grill Probe 1"
},
"grill_probe2": {
"name": "Grill Probe 2"
},
"grill_probe3": {
"name": "Avg Grill Probes"
}
}
"modules": {
"adc": "ads1115",
"display": "ili9341b",
"dist": "vl53l0x",
"grillplat": "pifire"
},
"probe_settings": {
"probe_profiles": {
"ET73-HM": {
"A": 0.00024723753,
"B": 0.00023402251,
"C": 1.3879768e-07,
"Rd": 10000,
"Vs": 3.28,
"name": "ET-73-Heatermeter"
},
"ET73-SP": {
"A": 0.00023067434,
"B": 0.00023696596,
"C": 1.2636414e-07,
"Rd": 10000,
"Vs": 3.28,
"name": "ET-73-skyeperry1"
},
"My-OEM-Grill-Probe": {
"A": 0.1204603049239879,
"B": -0.023242792768715236,
"C": 0.0001329908192874877,
"Rd": 10000,
"Vs": 3.28,
"name": "My-OEM-Grill-Probe"
},
"probe_sources": [
"ADC1",
"ADC2",
"ADC3"
],
"probes_enabled": [
1,
1,
1
]
},
"probe_types": {
"grill1type": "My-OEM-Grill-Probe",
"grill2type": "My-OEM-Grill-Probe",
"probe1type": "TWPS00",
"probe2type": "TWPS00"
}, Python Module version: ADS1115 0.2.1 System Info: Hardware : BCM2835 PiFire Version: 1.3.4 Thanks Again for all your help and your quick responses. |
Beta Was this translation helpful? Give feedback.
-
Ok, so when I set the probe sources with ADC0 first everything still shifts by 1. In the displays both on the grill and in the web the grill temp will show as 0 degrees, probe 1 shows as 329 degrees (with nothing plugged in to probe 1) and probe 2 shows 0 degrees no matter if a probe is plugged in or not. Removing ADC0 in the displays Grill shows 329 degrees and probe 1 and probe 2 work normally. My first thought was that the resistors might be wrong, but they are reading 9.95k with the multimeter. Yeah, the markings are confusing. I'm using the original Traeger probe. Here are the resistance settings: |
Beta Was this translation helpful? Give feedback.
-
Just as an fyi, I temporari;y enable the 2 print lines in adc_ads1115.py: Probe: Thermoworks-Pro-Series-HeaterMeter Probe: My-OEM-Grill-Probe Probe: Thermoworks-Pro-Series-HeaterMeter Probe: My-OEM-Grill-Probe |
Beta Was this translation helpful? Give feedback.
-
I'm beginning to wonder if the ADS1115 is either defective or just a complete piece of Chinese crap. :-( |
Beta Was this translation helpful? Give feedback.
-
I can't see anything wrong with your settings, and I'm trying to see where the logic would have gone awry. And now I'm back to wondering if the ADC you have is wonky. It's like it's returning channel values in the wrong order. Let's try to swizzle the ADC probe settings as follows: "probe_sources": [
"ADC3",
"ADC2",
"ADC1"
], |
Beta Was this translation helpful? Give feedback.
-
That changes the Grill Probe to Display as Probe 2 and does something really wonky to the display: |
Beta Was this translation helpful? Give feedback.
-
I just ordered a replacement set of ADS1115's from Amazon. They should be delivered Wednesday. |
Beta Was this translation helpful? Give feedback.
-
With that config, plugging in probe 1 gives me a normal reading on Probe 1 on the dashboard, nothing on Grill temp, and 328 on Probe 2. Plugging in to Probe 2 Gives 0 on Grill, 0 on Probe 1 and 328 on Probe 2. I can't plug both probes in until tomorrow as the second jack hasn't been delivered yet. I think it's time to step back and wait for the new ADS1115's. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
adc[0] = 4415.25 <= Traeger OEM Grill Probe PT-1000 adc[0] = 196.5 adc[0] = 195.5625 |
Beta Was this translation helpful? Give feedback.
-
I've been playing with it a bit, here is the output of the latest run:
I got the modules and example from here: https://learn.adafruit.com/adafruit-4-channel-adc-breakouts/python-circuitpython |
Beta Was this translation helpful? Give feedback.
-
Ok, I decided to step back and do some basic ground up testing. I took everything off the board and brought it back inside. I plugged in my hat type ads1115 and ran my adafruit type script and got roughly 0.57 volts on each port with no probes plugged in. I then shut down, removed the hat type ads1115 and plugged in the small ads1115 into the main board and ran the adafruit script again and it gives me roughly 3.2 volts on ports 0 - 3 and 0.12 volts on port 3 so there is definitely something wonky with the hardware. |
Beta Was this translation helpful? Give feedback.
-
I unplugged the pi from the mainboard and used jumper wires to connect the ADS directly to the pi and re-ran the script again with noting plugged in: |
Beta Was this translation helpful? Give feedback.
-
Yesterday I came to the conclusion that there may have been a software issue, so I wiped the sd card, reimaged it, ran the os configs and applied all updates. Then I installed just the ADS1115 python module and ran the test script several times. I couldn't get stable correct readings. So then I installed the Adafruit ADS1x15 module and ran the Adafruit test script many times and received very stable readings. I then installed PiFire and configured everything and in the stock form I couldn't get stable readings. In stock form the ADS1115 script was putting the reading from ADC0 into the result for ADC1 and putting nonsense values into the result for ADC0, and the same thing was happing inside PiFire. I modified adc_ads1115.py to use the Adafruit module and I get stable results. The grill probe is showing roughly the current room temp but the Thermoworks probe is way off. I am waiting for the wife to finish with the oven so I can tune the probes and see what happens. My fingers, toes and eyes are crossed that everything will work. :-) I wish I knew exactly what was wrong with the ADS1115 module, but if this works I'll be happy with it. Thank you for all your time and effort in resolving this and I'll keep you updated with the final results. |
Beta Was this translation helpful? Give feedback.
-
Round one with the Probe Tuning and the Grill probe appears to be working well. The Thermopro is closer but still a ways off and I had to give the oven back. :-) I'm making baby steps so I hope to be smoking again soon! |
Beta Was this translation helpful? Give feedback.
-
Nice! The most important one is the grill probe, so you are mostly there!
…On Sun, Sep 4, 2022, 10:21 AM Paul Lazarchik ***@***.***> wrote:
Round one with the Probe Tuning and the Grill probe appears to be working
well. The Thermopro is closer but still a ways off and I had to give the
oven back. :-) I'm making baby steps so I hope to be smoking again soon!
—
Reply to this email directly, view it on GitHub
<#117 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEXUYFVO77Y2LBZY4IBCGSLV4TLCNANCNFSM57XMHXFA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I guess I haven't walked far enough away from this yet. :-) I did get the original controller back in so I can cook for now. I thought you might like to look over what I came up with for the Adafruit module. Maybe you can spot anything I did wrong or maybe it will give you a head start. You can download it here. In my setup I just called it adc_ads1115.py so I didn't have to make any other changes to the install or update modules for now. https://www.vanzarsystems.com/index.php/downloads/3-pifire?download=3:adc-ads1x115 |
Beta Was this translation helpful? Give feedback.
-
I've never done a pull request, but I would love to learn. I started and it looks pretty much like an issue, but it won't let me upload a .py file. Should I just paste the contents of the .py file into the body of the pull request? |
Beta Was this translation helpful? Give feedback.
-
I missed you last line about the possible bug. :-( The pull request is done. I assume you can reject it and I can re-do one later. |
Beta Was this translation helpful? Give feedback.
-
I am getting oh so close. I have the display working, the hopper sensor working, all the relays working, but the probes are driving me insane. I have set all the probe types to ThermoWorks Pro and double checked in settings.json. With no probes connected I see a Grill temp of 393 to 394 degrees F, Probe-1 and Probe-2 are at 0 degrees. If I plug a probe in to the connectors for Grill Probe I get the same grill temp, but Probe-1 shows 77 degrees which is about correct for the ambient temp. If I plug a probe in to the connectors for Probe-1 I get the same grill temp, 0 degrees for Probe-1 and 77 degrees for Probe-2. If I plug a probe into Probe-2 I get the same grill temp and 0 degrees on Probe-1 and Probe-2. I have double checked solder joints and probed the connections between the screw connectors and the ADS1115. Everything appears to be correct. Grill Probe connects to A0, Probe-1 connects to A1, and Probe-2 connects to A2. It almost seems like something is shifted by one but I haven't been able to figure out where. I have enabled debug and found nothing of interest in the logs. No errors other than the distance sensor which currently is connected. With it connected I get the same behavior on the probes. I've got v2.00a mainboard, weberbox's button board, a known good Raspberry Pi Zero 2 W. Please help me nebhead, you're my only hope! :-)
No Probe Connected
Probe Connected to Grill_Probe Connector
Probe Connected to Probe_1 Connector
Beta Was this translation helpful? Give feedback.
All reactions