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 support@ccsinfo.com

CCS prototype card

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



Joined: 21 May 2015
Posts: 181

View user's profile Send private message

CCS prototype card
PostPosted: Fri Dec 09, 2016 5:53 pm     Reply with quote

Hi, i'm trying to make the EX_EXPIO.C project which need to use CCS prototype card . But where can I get this CCS prototype card ? Is there is any similar circuit that I can refer?

Hope someone can help me.

Thanks
temtronic



Joined: 01 Jul 2010
Posts: 9162
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Dec 09, 2016 6:14 pm     Reply with quote

I took a quick look at that ex_expio.c program

1) the top few lines explain the basic interfacing between the I/O chips( 74595, 74165 ) and the PICs

2) when you look at the drivers ( 74595.c, 74165.c), again at the top of the program , it explains which pins of the PIC you connect the I/O chips to

All you have to do is choose a PIC, decide which pins you want or need to interface to the I/O chips, modify(if necessary) COPIES of the CCS supplied code and you'll be 'up and running' before midnight.

Jay
art



Joined: 21 May 2015
Posts: 181

View user's profile Send private message

PostPosted: Fri Dec 09, 2016 7:51 pm     Reply with quote

Thanks Temtronic for the idea.

I've just search in http://www.blitzlogic.com/exp_io.htm and it shows the circuit for this EX_EXPIO.C project.




Thanks again
temtronic



Joined: 01 Jul 2010
Posts: 9162
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Sat Dec 10, 2016 6:10 am     Reply with quote

Good news ! You have to love Google ! ABout 6-7 hits down was the schematic.Just be sure to confirm the pinout and connections ! Sometimes things 'magically' change on the net.....

Jay
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Sat Dec 10, 2016 10:42 am     Reply with quote

Your schematic has a mistake. On the bottom chip (U4 74595), it shows
the unused output pins connected to ground. That could be a problem
if any of those outputs were set to a logic high level. You don't want
to do that.

The real CCS schematic doesn't show those unused output pins connected
to ground on the 74595. They are left unconnected. Google this to see
the schematic:
Quote:
EX_EXPIO.C 74595 filetype:pdf -studio
art



Joined: 21 May 2015
Posts: 181

View user's profile Send private message

PostPosted: Mon Dec 12, 2016 12:49 am     Reply with quote

Thanks PCM programmer for the comment.

[/img]C:\Users\AR\Pictures\EX_EXPIO[img]


However, If I follow CCS schematics, is it 5V supply should be connected to the push button or to the resistor before connect to the input terminal?
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Dec 12, 2016 1:33 am     Reply with quote

The schematic you posted is correct for pushbuttons S1 and S2.
A 10K pullup to +5v holds the two inputs at a logic high level,
until you press a pushbutton. Then that input goes to a logic low level.
art



Joined: 21 May 2015
Posts: 181

View user's profile Send private message

PostPosted: Mon Dec 12, 2016 7:03 pm     Reply with quote

Hi PCM,

Thanks for the confirmation. Very Happy
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