DS18B20 sensor does not work on pic 18F4550

A forums to allow bugs and problems with Flowcode v6 to be reported and resolved.

Moderator: Benj

Ulises72
Posts: 5
Joined: Tue Feb 04, 2014 8:15 pm
Location: Mexico
Contact:

DS18B20 sensor does not work on pic 18F4550

Postby Ulises72 » Sun Dec 03, 2017 5:24 pm

The one wire component does not work with the latest updates, I made several priebas with the DS18B20 sensor and it does not work in several microcontrollers. put in hardware and proteeus does not work, always the message of CRC error, in the same way the component SHT21 does not work.
Attachments
invernadero.fcfx
example
(9.93 KiB) Downloaded 47 times

Ulises72
Posts: 5
Joined: Tue Feb 04, 2014 8:15 pm
Location: Mexico
Contact:

Re: DS18B20 sensor does not work on pic 18F4550

Postby Ulises72 » Tue Dec 05, 2017 4:22 pm

Hello, do you know of any technical support email that will solve my problem? in the support posts of the site they do not respond.

regards

User avatar
LeighM
Matrix Staff
Posts: 1844
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 429 times
Been thanked: 612 times
Contact:

Re: DS18B20 sensor does not work on pic 18F4550

Postby LeighM » Tue Dec 05, 2017 8:26 pm

Hi, sorry, the speed of response often depends on the assumed size of the job, and the time we will need to put aside for it :?

User avatar
Benj
Matrix Staff
Posts: 14151
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4330 times
Been thanked: 4079 times
Contact:

Re: DS18B20 sensor does not work on pic 18F4550

Postby Benj » Wed Dec 06, 2017 1:30 pm

Hello,

In your project the clock speed / configuration settings look fishy to me as your using the PLL options, have you tried the one second flasher test to confirm your settings are right.

https://www.matrixtsl.com/wikiv7/index. ... ED_flasher

If timings are out then there is no way 1-wire comms will work as this is very timing critical.

Ulises72
Posts: 5
Joined: Tue Feb 04, 2014 8:15 pm
Location: Mexico
Contact:

Re: DS18B20 sensor does not work on pic 18F4550

Postby Ulises72 » Wed Dec 06, 2017 9:04 pm

Hello Benj, is not the problem the scythe nor the frequency, I have tested with pic 16F8773A, 16F877A, 16F788 and dspic 30F4013 with different clock frequencies and does not work with hardware or proteus, also change the value of pull up resistance, and it does not work, the problem was that I updated the software to the last revision, before I had it with the 6.0, also the sht21 component stopped working.