PDA

View Full Version : problem with serial com



nono2002
- 17th August 2014, 15:00
Hello all I'm French and I do a Central <supervision with an excel acquirable.
I did a program with a pic 18F4620 and 5 DS18B20
scanning work well as display the transmission as long as the PICkit3 plugged if I unplugged the series connection sending anything.
Have you ever encountered this problem and can you help me if needed
best regards

towlerg
- 17th August 2014, 19:05
pullup resistor missing?

mackrackit
- 18th August 2014, 13:29
How are you handling MCLR?

nono2002
- 18th August 2014, 16:57
hello only with a button or a power cycle

mackrackit
- 19th August 2014, 04:52
hello only with a button or a power cycle

Try turning MCLRE to OFF in the configuration.

What version of PBP are you using? It makes a difference on how you do it.

nono2002
- 19th August 2014, 20:04
i put mclre off but it's the same thing, my version of PBP is 2.60
f I unplugged PICkit3 and I reset the prog runs it displays me the correct values ​​on the displays, given series are erroneous if I reconnect the PICkit3 reset this and the serial data is ok

mackrackit
- 20th August 2014, 00:27
My best guess would be a grounding issue. Evidently you are powering the PIC independent from the PC. When the PicKit is connected it changes the potential on the zero rail (ground).

nono2002
- 21st August 2014, 19:09
thank you for directing me to the problem of mass it was indeed a mass between my converter and my plate 'I was thinking more of a problem config 18f thank you again