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

PICmicro based barcode reader

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



Joined: 13 Sep 2003
Posts: 87

View user's profile Send private message

PICmicro based barcode reader
PostPosted: Mon May 02, 2005 1:28 am     Reply with quote

Hi,

I am planning to make a PICmicro Based Barcode Reader using the following:
1. 1022W or 1022WM barcode slot reader (TTL output undecoded)
2. PIC18F452 (using capcutre/compare module)
3. Barcode Symbology is Code39.

Does anybody who has made a project similar to this one? who can provide me pointers in making such a reader? I don't know if it is a good idea to use capture/compare module? Is there any alternative on this method.

Does anybody who have a code snippet in decoding the TTL output that might help in my design or can provide me of a link for information.

Thank you.
newguy



Joined: 24 Jun 2004
Posts: 1909

View user's profile Send private message

PostPosted: Mon May 02, 2005 10:28 am     Reply with quote

I posted some code that reads the codes that an infra-red remote control (like a tv/vcr/stereo remote) sends out. Look in the code library for "IR Remote Code Grabber"

It will give you an idea of what to do. I used the external interrupt 0 (pin B0) to capture the serial data coming out of the remote. It should point you in the right direction.
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