Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to interface I/O port of pic 18F microcontroller with pc

Status
Not open for further replies.

amber967

Newbie level 3
Joined
Dec 9, 2009
Messages
4
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,283
Location
pakistan
Activity points
1,304
hi,please help me that how can i send data from I/O port of PIC 18F452 microcontroller to parallel/serial/USB port of a computer?
 

you don't have the option of USB with PIC18F452, you can use serial interface, read the datasheet about the built in USART module, you will need MAX232 IC with some capacitors for line coding.
also the parallel port available, just you will program the parallel port pins and make it read/write from any GPIO pins of the microcontroller.
for USB you can use PIC18F4550 instead.
 

    amber967

    Points: 2
    Helpful Answer Positive Rating
Re: how to interface I/O port of pic 18F microcontroller wit

can i use the technique given below with PIC 18F452.

interfacing PC to PIC MCU via RS485 bus (two LTC485)
by using MAX232.. reply soon
 

the RS232 interface is different from RS485, why don't use RS232 directly to interface your microcontroller to PC, MAX232 is used with RS232 interface so far as I know not RS485, another IC is associated with RS485, beside why you want to make a different protocol on your PC (i mean here RS485) while you can the standard RS232 protocol easily from your C++/matlab or Java code.
search for serial interfacing using PIC microcontrollers.
 

    amber967

    Points: 2
    Helpful Answer Positive Rating
Re: how to interface I/O port of pic 18F microcontroller wit

thanks Elrayes..
i will do....
 

Re: how to interface I/O port of pic 18F microcontroller wit

I believe PIC18F452 has USB support....You can use the CDC firmware supplied by Microchip....It can emulate Serial Port over USB...through which you can communicate to PC.
 

Re: how to interface I/O port of pic 18F microcontroller wit

aviansun said:
I believe PIC18F452 has USB support....You can use the CDC firmware supplied by Microchip....It can emulate Serial Port over USB...through which you can communicate to PC.


Refer datasheet before PREDICTION:D:D:D
 

USB Microchip Framework isn't available for PIC18F452 but for PIC18F4550 and some PIC24F and PIC32 families, if you want to use PIC18F452 then use serial interface RS232, you will need MAX232 IC too.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top