RS 232 levels

General discussion on RSC-4x mikroC.
Post Reply
Author
Message
dfeldman
Posts: 13
Joined: 21 Jun 2006 07:01

RS 232 levels

#1 Post by dfeldman » 29 Jun 2006 18:57

Hi. This forum has been really quite helpful for getting the VR Stamp up and running and getting code written for the RSC-4128.

I have a quick question regarding the RS-232 serial port on the Easy VR-Stamp board. I have been trying to connect the Easy VR-Stamp to my PC via a null-modem cable to verify the bytes sent to that port but haven't gotten any signal out. Should the Easy VR-stamp be connected via a serial cable and not a null-modem cable?

Also, does the VR-Stamp output TTL level voltages?

Thanks a bunch!
Dan

User avatar
milan
mikroElektronika team
Posts: 1013
Joined: 04 May 2006 16:36
Contact:

#2 Post by milan » 30 Jun 2006 10:55

Should the Easy VR-stamp be connected via a serial cable and not a null-modem cable?
Yes.

Also, does the VR-Stamp output TTL level voltages?
Do you mean outputs: at the RS232 or at the ports IDC10 connectors

dfeldman
Posts: 13
Joined: 21 Jun 2006 07:01

rs-232 setup

#3 Post by dfeldman » 30 Jun 2006 17:16

I am still having some trouble getting the rs232 working properly. Which of the MikroElektronika examples is most appropriate for testing out the RS232 output? Also, could you please provide instructions for how to set up the hyperterminal so that it properly receives the easy vr stamp rs232 outputs?

With regards to the TTL level question, I was wondering if at the P0.1 and P0.0 pins, the output was at TTL levels. It seems to be the case given the max232 chip connecting the vr stamp to the db-9 connector, but I just wanted to make sure.

Thanks,
Dan

EDIT:
It seems like once I post a question, I have an insight into the problem ...
I used the rpmsg example with a baudrate of 9600, 8 data bits, 1 stop bit, no parity and hardware flow control and I was able to get valid output. The TTL question remains however.

User avatar
milan
mikroElektronika team
Posts: 1013
Joined: 04 May 2006 16:36
Contact:

Re: rs-232 setup

#4 Post by milan » 03 Jul 2006 11:55

dfeldman wrote:The TTL question remains however.
It is not standard TTL.

For characteristics,
look at the RSC-4128_Datasheet -> DC characteristics

eforman
Posts: 4
Joined: 24 Jan 2007 07:17

#5 Post by eforman » 06 Feb 2007 03:43

could non-standard TTL be the reason why I cannot get serial output to work to my laptop? i'm using the Easy-VR Stamp board as well.

i have tried the mikroC compiler Terminal and HyperText. oddly, I see some characters in Terminal but not in HyperText, but they are illegible nonsense any way. I am using 9600baud 8bit 1stopbit no parity and i have SW1 jumpers 5 and 6 set.

what else could i be doing wrong?

Post Reply

Return to “RSC-4x mikroC General”