DS18S20

Use this section to discuss your embedded Flowcode projects.
Post Reply
B2CAP-V6
Posts: 13
http://meble-kuchenne.info.pl
Joined: Fri Dec 04, 2020 2:15 pm
Been thanked: 5 times

DS18S20

Post by B2CAP-V6 »

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 :lol:
Attachments
Capture d’écran 2026-01-11 105226.jpg
Capture d’écran 2026-01-11 105226.jpg (132.71 KiB) Viewed 61 times
Prog_EG.fcfx
(31.37 KiB) Downloaded 8 times

chipfryer27
Valued Contributor
Posts: 1813
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 404 times
Been thanked: 624 times

Re: DS18S20

Post by chipfryer27 »

Hi

As it works in Flowcode, perhaps a question for the Proteus forum?

Does it work in Hardware?

Regards

B2CAP-V6
Posts: 13
Joined: Fri Dec 04, 2020 2:15 pm
Been thanked: 5 times

Re: DS18S20

Post by B2CAP-V6 »

Thanks for your reply.
I don't know if it works in Hardware, However, the DS runs under Proteus with an old program.

BenR
Matrix Staff
Posts: 2068
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 550 times
Been thanked: 735 times

Re: DS18S20

Post by BenR »

Hello,

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.

Post Reply