DS18B20 sensor does not work on pic 18F4550
Moderator: Benj
DS18B20 sensor does not work on pic 18F4550
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 306 times
Re: DS18B20 sensor does not work on pic 18F4550
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
regards
- 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
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
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: DS18B20 sensor does not work on pic 18F4550
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.