CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

PICDEM 2 PLUS - max 232

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
W_Schauberg



Joined: 17 Sep 2009
Posts: 16

View user's profile Send private message

PICDEM 2 PLUS - max 232
PostPosted: Fri Dec 06, 2013 6:47 am     Reply with quote

Hi.

Am making one software for PC - PCB serial connection so i was thinking on using PICDEM as some test board. I have 16F628 chip on this board.

It's been few years since i worked with this board but i guess it should be straightforward. To make this communication working all i need is to plug in the serial cable into PICDEM board, or do i need to make some board modifications ?


The PC program sends one byte of data each minute.
baud => 9600,
bits => 8,
stop => 1,
parity => 0,
flow_control' => 0

V.
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Fri Dec 06, 2013 7:38 am     Reply with quote

Hi,

That board does have a MAX232 IC installed, so you should be all set from a hardware standpoint. I would try to send data from the PIC to the PC first to
verify that your hardware is basically working. Once that's OK, go the other way!

It looks like J18 and J19 need to be installed on the PIC DEM 2 Plus board!

John
Ttelmah



Joined: 11 Mar 2010
Posts: 19510

View user's profile Send private message

PostPosted: Fri Dec 06, 2013 8:14 am     Reply with quote

I have a sneaking memory, that using the 18 pin device, you have to 'transfer wire'. Make J18, and J19. These connect the MAX232, to the TXD, and RXD pins on the 40 pin, and 28 pin sockets. Then you have to do two link wires. One from pin 26 on the 40 pin socket to pin 34 on the same socket. The second from pin 25 to pin 34 on the same socket. Basically when this board was done, 18 pin devices didn't have UART's, so the connection was not made to the 18pin device. The connections link RB1, and RB2 (RXD & TXD), to the RXD & TXD pins the MAX232 connects to.
Maximum speed you can use will depend on what crystal you have (Y1) This varies between units. However unless very slow, the unit will be able to go much faster than 9600bps.

Best Wishes
W_Schauberg



Joined: 17 Sep 2009
Posts: 16

View user's profile Send private message

PostPosted: Sat Dec 07, 2013 5:48 am     Reply with quote

Thnx for reply.
I have one 16C745 - 28 pin.
Can i use this without additional changes on the board ?
According to 16c745 datasheet this should work without changes.
Ttelmah



Joined: 11 Mar 2010
Posts: 19510

View user's profile Send private message

PostPosted: Sat Dec 07, 2013 9:14 am     Reply with quote

Yes just make the two jumpers.
Rocket



Joined: 29 Aug 2005
Posts: 27

View user's profile Send private message

PostPosted: Sun Dec 08, 2013 8:29 am     Reply with quote

Make sure you get the code right the first time if you have only 1 OTP device.
_________________
J.I.L.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group