Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Troubelshooting a serial communication problem

Status
Not open for further replies.

Abenarif

Newbie level 6
Joined
Aug 20, 2009
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Libya
Activity points
1,374
rs232 hints

I've my own circuit whitch controlling a cash box(open and close) my problem starting when computer off and then on at startup the box open auto, I think my problem with POST which checked the hardware
 

pakitos

Advanced Member level 1
Joined
Nov 14, 2005
Messages
457
Helped
77
Reputation
154
Reaction score
35
Trophy points
1,308
Activity points
3,639
rs232 problem

you have to give info about the design: hardware and software to be able to help. Remember it is not easy to troubelshoot with nothing in hand
 

LECS

Newbie level 5
Joined
Aug 9, 2009
Messages
10
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,346
Re: rs232 problem

By "computer" do you mean a PC running Windows? If so, it could be the common problem that Windows checks for a serial mouse during boot up. To get around this you can edit boot.ini to include something like:

/NoSerialMouse

This would apply to all ports. You can tell windows there is no serial mouse on just one port like this:

/NoSerialMouse:COMx

Or multiple ports by listing them like this:

/NoSerialMouse:COMx,y
 

Abenarif

Newbie level 6
Joined
Aug 20, 2009
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Libya
Activity points
1,374
Re: rs232 problem

Thank u everybody

when PC booting ,it check for hardware DTE DCE and other pins activated for a while and quickly .

Ok I'll send my circuit later

Added after 13 minutes:

here is the circuit which work fine .
Note that :my problem is not with xp because just turn the PC on The box open(solenoid open)

Added after 3 minutes:

http://images.elektroda.net/40_1251107370.jpg

Added after 57 minutes:

 

pakitos

Advanced Member level 1
Joined
Nov 14, 2005
Messages
457
Helped
77
Reputation
154
Reaction score
35
Trophy points
1,308
Activity points
3,639
rs232 problem

no the problem does not seem to be from the hardware.
My question is what software are you using vb?
As mentioned the pc checks the peripherals at start up for example for the mouse the pc sends a signal and waits a signal from the mouse the mouse sends the ascii M telling that I am here so that communication starts.

check this book about serial port it is good
https://www.edaboard.com/viewtopic.php?t=361930&highlight=
 

Abenarif

Newbie level 6
Joined
Aug 20, 2009
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
Libya
Activity points
1,374
Re: rs232 problem

Good Morning everybody

I've used vb6 and I'm professional with controlling for a long time, I've designed and fabricated PCB boards with no problems ,I'm new with serial port and also the same thing happened when u use the parallel port ,when the system booting a random data appears this make machines on these ports to be worked like a crazy ,I can solve this problem by electronics but this need more components and I want to know if there 's a command or switch like /NoSerialMouse:COMx and this operate only when operating system control the system and not at Booting.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top