Hello,
I created a flowchart using a DS18S20 (which I copied from the examples, but I don't fully understand it). It works in simulation under Flowcode 11, but not in Proteus.
If anyone has encountered the same problem, I would appreciate any information.
Thanks in advance
Attachments
Capture d’écran 2026-01-11 105226.jpg (132.71 KiB) Viewed 87 times
In your program the DS18S20 component (the library to read the temperature from the sensor) isn't linked to the OneWire component (the library to perform one wire communications).
Select the DS18S20 on the panel and in the properties change the LinkTo to point to the OneWire component.
I'll maybe see if I can make this link automatic to avoid this problem.
Hello BenR
Thank you very much for your reply. Indeed, I hadn't connected the DS to the OneWire. It's done now, but it still doesn't work under Proteus. I don't even get a signal (on the oscilloscope) on the OneWire pin.
I'm wondering if there's an incompatibility between the DS and the PIC 18F26K22!
I asked Microchip, and they said no!
I'll have to redo the schematic with a 16F.
I'll keep you posted.
Best Regards
Luc
Investigating for you now the 18F device should be fine.
It looks like there may be a problem this end, bear with and I'll see what's causing it.
Are you using Flowcode v10 or v11?
Edit: Looks like it's broken in both and it's specific to the 18S20 sensor component as others are working correctly. Hmm. Ok should have a fix for you shortly....