[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4752: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4754: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4755: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4756: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3887)
FMS Forum • View topic - Inter face jitters

Inter face jitters

Postby Top Dawg » Wed May 21, 2003 8:35 am

I have a serial pic interface for a Jr radio and it is being used on windows Xp. I have calibrated it and everything works fine but for some reason I get inputs of the controls when I have not touched them. This gives everything a jittery motion. I have tried the interface on another computer with windows Xp and everything worked fine. Has anyone else had this problem and if so how did you rectify it. Any help would be greatly appreciated.
Top Dawg
 
Posts: 2
Joined: Wed May 21, 2003 8:20 am

Postby Eric Brouwer » Thu May 22, 2003 3:58 pm

I have noticed this behaviour on some of the newer PC's, and it is more prone to affect users of notebooks. The problem is that the serial ports no longer complies to the RS232 standards.

The signal levels as defined in the RS232 standard are something as follow:
- Zero represented by a voltage between +8 to +15V
- One represented by a voltage between -8 to -15V

However, on the newer PC's, these voltages can be as low as 3.3V, and for notebooks even as low as 2.2V, thus resulting in several serial connected devices not functioning correct.

As most of the PIC interface designs were done taking the RS232 protocol as standard, there was no problem taking the interface's supply from the serial port. Normal designs will work with serial port voltages as low as 4V, but lower than this, one needs to make some modifications to the circuit.

However, as the serial port voltages decreases, this eventually results in too low a voltage for the PIC to function correct. Trying to run the PIC at below 3V at 4MHz, results in inaccurate clock frequencies, thus the possiblity that the interface might behave as if faulty.

One possible solution is to make use of an external power supply to drive the interface.
Some mistakes are too much fun to only make once.

Vanderbijlpark
South Africa
Homepage: http://myweb.absa.co.za/eric.brouwer
Eric Brouwer
 
Posts: 252
Joined: Mon Apr 22, 2002 7:53 am
Location: Vanderbijlpark, South Africa

Postby Top Dawg » Fri May 23, 2003 7:11 am

Thanks Eric
Top Dawg
 
Posts: 2
Joined: Wed May 21, 2003 8:20 am

Postby Alfred » Wed Jun 18, 2003 7:42 am

How do I make a power supply for the interface?
Alfred
 
Posts: 4
Joined: Mon May 26, 2003 9:42 am

Postby Slowhand_47 » Fri Jun 20, 2003 12:46 pm

Look at the picture:

Image

The "power supply" consists of D1, C1 and R3. The RS232 voltage is taken from pin RTS of the port and stabilized to about 5.6V by the Zener diode D1. R3 limits the current through D1 and when charging the filter capacitor C1.

All you have to do to supply external power is to disconect R3 from RTS and then connect a 9V battery or voltage supply (7-12 V) to the "open" pin of R3 (where it was connected to the RS232 plug).

HTH
Slowhand
Slowhand_47
 
Posts: 6
Joined: Thu Jun 19, 2003 10:20 am

Postby jeremy » Sat Aug 16, 2003 10:24 pm

I dont see the picture of the power supply, can u pls repost/email/put on webpage?
TIA Jeremy
jeremy
 
Posts: 2
Joined: Sat Aug 16, 2003 10:21 pm

Postby Eric Brouwer » Sun Aug 17, 2003 6:14 am

Have a look on my . The Serial PIC interface circuit diagrams shouws where the external power supply can be connected.
Some mistakes are too much fun to only make once.

Vanderbijlpark
South Africa
Homepage: http://myweb.absa.co.za/eric.brouwer
Eric Brouwer
 
Posts: 252
Joined: Mon Apr 22, 2002 7:53 am
Location: Vanderbijlpark, South Africa


Return to PIC Interface

Who is online

Users browsing this forum: No registered users and 6 guests