Hi,
In the past month I have covered the majority of the basic functions and utilities of my PIC18F45K20 and how to compile and program with the C18 compiler and MPLAB respectively, but I have yet to understand how communication works.
I bought the PICkit3 Debug Express development board and it has been a great help with learning how the PIC works, but it lacks any means of data transmission. I have read the datasheet and searched online for a nice and easy place to start with sending data between my PIC and my laptop, (MacBook Pro w/ Windows XP on VMWare Fusion), but all the types and protocols just confused me.
So I guess my main questions are:
1. What are USART/RS232/USB and how are they related or used together?
2. Am I able to just use C18 libraries for this?
3. What kind of components and hardware will I need if I would like to communicate with my laptop via its USB port?
4. Where can I find and extract this data coming into the laptop USB port? Do I need to use a program such as MATLAB?
5. And finally, is the process of sending data from the laptop through the USB to the PIC of the same difficulty?
I really appreciate the help!
JP
In the past month I have covered the majority of the basic functions and utilities of my PIC18F45K20 and how to compile and program with the C18 compiler and MPLAB respectively, but I have yet to understand how communication works.
I bought the PICkit3 Debug Express development board and it has been a great help with learning how the PIC works, but it lacks any means of data transmission. I have read the datasheet and searched online for a nice and easy place to start with sending data between my PIC and my laptop, (MacBook Pro w/ Windows XP on VMWare Fusion), but all the types and protocols just confused me.
So I guess my main questions are:
1. What are USART/RS232/USB and how are they related or used together?
2. Am I able to just use C18 libraries for this?
3. What kind of components and hardware will I need if I would like to communicate with my laptop via its USB port?
4. Where can I find and extract this data coming into the laptop USB port? Do I need to use a program such as MATLAB?
5. And finally, is the process of sending data from the laptop through the USB to the PIC of the same difficulty?
I really appreciate the help!
JP