alvinthen
Member level 2
Hi,
I'm doing my final year project which part of it involved obtaining data from a barcode scanner to the PIC
It's a RS232 barcode scanner which i supposed it's necessary to use the UART of the PIC.
I've not studied anything on UART and the protocol of RS232. (planning to)
So, the question is,
Do I directly connect both the barcode scanner and PIC? (I heard about MAX232 but not sure what it is about)
Do I just read the data via the input ports like how it was done with normal input ports?
I'll be much appreciate if any help or information can be provided.
Thank you very much!
alvin
I'm doing my final year project which part of it involved obtaining data from a barcode scanner to the PIC
It's a RS232 barcode scanner which i supposed it's necessary to use the UART of the PIC.
I've not studied anything on UART and the protocol of RS232. (planning to)
So, the question is,
Do I directly connect both the barcode scanner and PIC? (I heard about MAX232 but not sure what it is about)
Do I just read the data via the input ports like how it was done with normal input ports?
I'll be much appreciate if any help or information can be provided.
Thank you very much!
alvin