We could really use some RS-232 DCE help
anitabill
Posts: 6
Me and my friend are working on a project that will look at cells in excel and display the values on a LCD it also lights LED’s based on one cell value. We have the PDB a BS2px and PLX-DAQ and we have everything working perfectly. We are planning on making several, so we decided to use a SX chip. Wow it is a lot harder then we imagined.
·
We started with a basic LED program to make sure the chip worked and it did. But for some strange reason I can not get the chip to talk to the PLX-DAQ correctly. I’m not sure if I’m doing something wrong in my program or if I have the wires wrong on the PDB. On my board I have two Leeds connected to the RS-232 DCE one leads from RA.0 to TX and one form RA.1 to RX. There are two other connection on the X13 RTS and CTS. Do those need to be connected to anything?
·
I’m attaching the BS2px code that is working and the SX code that is not. If anyone can help us with this it would be greatly appreciated.
·
We started with a basic LED program to make sure the chip worked and it did. But for some strange reason I can not get the chip to talk to the PLX-DAQ correctly. I’m not sure if I’m doing something wrong in my program or if I have the wires wrong on the PDB. On my board I have two Leeds connected to the RS-232 DCE one leads from RA.0 to TX and one form RA.1 to RX. There are two other connection on the X13 RTS and CTS. Do those need to be connected to anything?
·
I’m attaching the BS2px code that is working and the SX code that is not. If anyone can help us with this it would be greatly appreciated.
Comments
Can you please explain how we can do this ?
as anitabill explained, we are both new to the SX world.......
besides serin. what would be a better way to go ?
·
You are correct about the forum there are a ton of helpful people and a lot of good info. I did spend hours on the forum looking for the answer, but I guess the problem was I’m such a newbie I didn’t know what I was searching for. Thanks a ton for pointing us in the right direction. I’m almost afraid to ask but do you think my wiring is correct for the RS-232 DCE? I did do a search and looked at the specs.
·
Again my apologies if it appeared as if I was taking the lazy why out.
Post Edited (JonnyMac) : 9/18/2008 10:43:25 PM GMT
I will give it a whirl and I really do appreciate you taking the time to share your knowledge and code. I absolutely was not looking to be spoon fed, but the minute I get home I will put on my bib and look at the code .
Bill
It doesn't seem to be working for me. I've studied the code, RA.0=RX, and RA.1=TX.· then launced the PLX-DAQ sheet. I didn't noticed anything. added a few cell data, and nothing. Looks like the baud is set to 56k, so i set it to that in PLX-DAQ as well, and nothing.
any ideas ?
little side note.
I'm anitabills partner in crime, we are working together on this.
when i first started going through your program, i was like huh ?!?!
all we needed was a program to turn a led on or off depending of the value of·one cell.
then I think I started to get your message.
While he may be spoon feeding,·he still want us to figure out on our own what we need to do with some editing.
Which in the long run will help us out.
As Anitabill said, we are new, but·we should be able to figure out most of what you wrote.
And i think from searching the forum, we found a program which lead us down the wrong path.
thanks.
As it turns out, I just found SX/B demos for PLX-DAQ on the Parallax site. You should start with them.