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

Search found 12 matches
CCS Forum Index
Author Message
  Topic: Parallel Printer interfacing !!
th3gr8

Replies: 16
Views: 26987

PostForum: General CCS C Discussion   Posted: Fri Jan 09, 2015 9:29 am   Subject: Parallel Printer interfacing !!
re: crystal value
That PIC needs a real crystal (and 2 caps) to use as it's 'master clock'. Common values used are 4, 16 and 20 MHz. For fast serial ports like 115k200 you need a 20MHz crystal, slow ...
  Topic: Parallel Printer interfacing !!
th3gr8

Replies: 16
Views: 26987

PostForum: General CCS C Discussion   Posted: Fri Jan 09, 2015 6:17 am   Subject: Parallel Printer interfacing !!
The actual crystal value is not very critical for the centronics (parallel) interface because it uses the strobe/busy handshake to move data so the crystal frequency is not very critical there (other ...
  Topic: Parallel Printer interfacing !!
th3gr8

Replies: 16
Views: 26987

PostForum: General CCS C Discussion   Posted: Thu Jan 08, 2015 7:23 am   Subject: Parallel Printer interfacing !!
For short connections you don't need anything on the data lines. What you do need is a resistor to pull the 'busy' line to the 'busy' state, if the connection is not present. This way the code won't t ...
  Topic: Parallel Printer interfacing !!
th3gr8

Replies: 16
Views: 26987

PostForum: General CCS C Discussion   Posted: Thu Jan 08, 2015 3:43 am   Subject: Parallel Printer interfacing !!
Ok.. That helps ..
so now, i want use 10 i/o pins of my PIC and follow the sequence.. do i need to put a resistor on the Data lines (D0-D7) or should i connect it directly?
Sorry for asking such sil ...
  Topic: Parallel Printer interfacing !!
th3gr8

Replies: 16
Views: 26987

PostForum: General CCS C Discussion   Posted: Thu Jan 08, 2015 1:33 am   Subject: Parallel Printer interfacing !!
Ok .. but i read somewhere that Centronics interface was used on Old printers etc .. And if i connected the printer with PIC, how much XTAL value would i need? can i work with 4Mhz?? is crystal value ...
  Topic: Parallel Printer interfacing !!
th3gr8

Replies: 16
Views: 26987

PostForum: General CCS C Discussion   Posted: Wed Jan 07, 2015 9:43 pm   Subject: Parallel Printer interfacing !!
and if i use a Thermal Printer (with Parallel Port), will the sequence of writing the data be same?
  Topic: Parallel Printer interfacing !!
th3gr8

Replies: 16
Views: 26987

PostForum: General CCS C Discussion   Posted: Wed Jan 07, 2015 8:10 am   Subject: Parallel Printer interfacing !!
Hello All ..
I want to interface a parallel printer with my PIC16F877A (serial printers are not available) .. I googled and found out that i need to connect D0-D7 with any output port of the PIC and ...
  Topic: i2c bus scanner program
th3gr8

Replies: 9
Views: 119677

PostForum: Code Library   Posted: Wed Jul 02, 2014 3:04 pm   Subject: Gr8 ..
Wow.. Really a nice program .. Thanks PCM Programmer ..
  Topic: Serial Interfacing problem
th3gr8

Replies: 3
Views: 6554

PostForum: General CCS C Discussion   Posted: Mon Oct 14, 2013 1:10 am   Subject: Woah !!
Thanx jeremiah ..
I forgot that ASCII table :D ..
Is there any way so that i get my desired value without subtracting "48" ???
  Topic: Serial Interfacing problem
th3gr8

Replies: 3
Views: 6554

PostForum: General CCS C Discussion   Posted: Sun Oct 13, 2013 10:00 pm   Subject: Serial Interfacing problem
Hello All ..
I wrote a simple program which takes value of "r" from user via serial port and calculates Area (pi*r*r). Program is fine but it has an issue that whenever I take input from us ...
  Topic: Help regarding ADC
th3gr8

Replies: 2
Views: 6053

PostForum: General CCS C Discussion   Posted: Tue Jul 16, 2013 6:12 am   Subject: Sweet !!
Thanks alot Ttelmah.
As you mentioned, i was making mistakes at two places:
1) The screen was not getting cleared, due to which the text was getting over-written.
2) The format specifier i used (%d ...
  Topic: Help regarding ADC
th3gr8

Replies: 2
Views: 6053

PostForum: General CCS C Discussion   Posted: Tue Jul 16, 2013 5:37 am   Subject: Help regarding ADC
Hello
I am new to PIC programming and i am using CCS compiler.
I am now working with PIC's built-in ADCs.
I am using PIC 16F877A and i am little confused about somethings.
I read that read_adc() f ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group