View previous topic :: View next topic |
Author |
Message |
art
Joined: 21 May 2015 Posts: 181
|
CCS prototype card |
Posted: Fri Dec 09, 2016 5:53 pm |
|
|
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: 9226 Location: Greensville,Ontario
|
|
Posted: Fri Dec 09, 2016 6:14 pm |
|
|
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
|
|
Posted: Fri Dec 09, 2016 7:51 pm |
|
|
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: 9226 Location: Greensville,Ontario
|
|
Posted: Sat Dec 10, 2016 6:10 am |
|
|
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
|
|
Posted: Sat Dec 10, 2016 10:42 am |
|
|
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
|
|
Posted: Mon Dec 12, 2016 12:49 am |
|
|
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
|
|
Posted: Mon Dec 12, 2016 1:33 am |
|
|
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
|
|
Posted: Mon Dec 12, 2016 7:03 pm |
|
|
Hi PCM,
Thanks for the confirmation. |
|
|
|