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.

USB Interface to windows 10 serial software

Status
Not open for further replies.

HighTechPower

Member level 5
Joined
Jul 10, 2020
Messages
91
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
703
Hi. I want to interface PIC18F4550/2550 based circuit with some windows 10 serial software like maybe, hyperterminal or realterm using it's USB connection. Any idea and links on how to begin with. I have to use XC8 compiler.

Second option is to use USB to serial converter again it should be compatible with windows 10, is there any easily available module for that? In this case I can use any PIC microcontroller to interface.

Third option is to use Arduino UNO. Can I directly connect it with windows 10 serial softwares ( I know that UNO can be programmed directly through USB cable and vice versa may also be true to use it's USB to communicate with windows serial software?).

Please reply for all three options.
 

These are the best serial devices i've used that take away a lot of the windows Serial driver issue. It uses the FTDI chipset https://ftdichip.com/product-category/products/cables/ they do https://ftdichip.com/products/usb-rs232-we-5000-bt_5-0/ which can be used with 5V or https://ftdichip.com/products/usb-rs232-we-5000-bt_3-3/ for 3V systems that can connect directly to the micro UART

All the drivers they make work with Windows 10 which appear as a virtual com port

Alternatively you can use https://ftdichip.com/products/ft2232d/ which will do the USB to Serial Conversion and address the interfacing components yourself but use the same drivers
 
Last edited:
Second option is to use USB to serial converter again it should be compatible with windows 10, is there any easily available module for that? In this case I can use any PIC microcontroller to interface.
When you do an internet search for USB to serial converters .... do you find one that is not compatible with windows 10?

Did you do an internet search? I guess there are more than 100.000 example circuits, hobbyists circuits and proven circuits.

Klaus

Even here in the forum USB to serial converters is a frequently discussed topic. Just yesterday a member posted it's design in the DIY section.
 

18F4550 can implement serial USB device using Microchip libraries.
 

Arduino IDE has a serial monitor that can take info from Arduino program
and display on PC. Commonly used to debug programs. Done with -


Arduino instructions for doing this show on page bottom. If you don't want to use the IDE
serial monitor then thats discussed as well.


Regards, Dana.
 
As an aside have you looked at Snap4Arduino, a visual block programming language
for developing applications. Its free, and has specialized libraries you can add like text to
speech, eg. build a talking voltmeter or instrument.


1614604564178.png


Its a quick way of doing simple but capable projects with Arduino, w/o writing C. You can
see the C it generates.

Lots of fun. There are others as well, like mBlock, Scratch for Arduino, Flowcode, Ardublock....


Regards, Dana.
 

These are the best serial devices i've used that take away a lot of the windows Serial driver issue. It uses the FTDI chipset https://ftdichip.com/product-category/products/cables/ they do https://ftdichip.com/products/usb-rs232-we-5000-bt_5-0/ which can be used with 5V or https://ftdichip.com/products/usb-rs232-we-5000-bt_3-3/ for 3V systems that can connect directly to the micro UART

All the drivers they make work with Windows 10 which appear as a virtual com port

Alternatively you can use https://ftdichip.com/products/ft2232d/ which will do the USB to Serial Conversion and address the interfacing components yourself but use the same drivers

Do I have to install external pull-up resistors to RX & TX lines.
 

The USB-to-UART bridges as well as PIC18 uses push-pull drivers for RX and TX and don't need pull-up resistors.
 

Hi,
Do I have to install external pull-up resistors to RX & TX lines.
I use FTDI devices from time to time.
I can't keep all informations of all devices in my mind.
But luckiky there are datasheets. Manufacturers expend effort to write them and they provide them for free.

Klaus
 

hello,

Hi. I want to interface PIC18F4550/2550 based circuit with some windows 10 serial software like maybe, hyperterminal or realterm using it's USB connection. Any idea and links on how to begin with. I have to use XC8 compiler.

you coud have a look on the Mikroe "USB HID Terminal"
and see the example with 18F4550 using a USB Descriptor (to include in you application) to do that ...
**broken link removed**
 

Do I have to install external pull-up resistors to RX & TX lines.
No they can interface to a processor
Do I have to install external pull-up resistors to RX & TX lines.

I never have but most of the times i've used them i've used the USB to 3.3V TTL dongle with lead built in (-WE version) and connect it directly to the micro UART, most of my stuff also used slow baud rate. If your using the leaded version with fast baud rate then it may be worth provisioning for a couple of local pull ups if your using a fast baud rate. If your using the IC version directly on your PCB then it probably doesn't need it.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top