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

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

DS18B20 sensor does not work on pic 18F4550

Post by Ulises72 »

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 288 times

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

Re: DS18B20 sensor does not work on pic 18F4550

Post by Ulises72 »

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: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times
Contact:

Re: DS18B20 sensor does not work on pic 18F4550

Post by LeighM »

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: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: DS18B20 sensor does not work on pic 18F4550

Post by Benj »

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

Post by Ulises72 »

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.

Post Reply