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 4
Member level 4
Joined
Jul 10, 2020
Messages
70
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
576
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.
 

scopeprobe

Full Member level 2
Full Member level 2
Joined
Sep 17, 2020
Messages
130
Helped
27
Reputation
58
Reaction score
78
Trophy points
28
Location
Uk
Activity points
1,311
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:

KlausST

Super Moderator
Staff member
Advanced Member level 7
Joined
Apr 17, 2014
Messages
23,263
Helped
4,741
Reputation
9,503
Reaction score
5,126
Trophy points
1,393
Activity points
154,110
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.
 

FvM

Super Moderator
Staff member
Advanced Member level 7
Joined
Jan 22, 2008
Messages
50,994
Helped
14,631
Reputation
29,538
Reaction score
13,740
Trophy points
1,393
Location
Bochum, Germany
Activity points
291,755
18F4550 can implement serial USB device using Microchip libraries.
 

danadakk

Advanced Member level 5
Advanced Member level 5
Joined
Mar 26, 2018
Messages
2,296
Helped
351
Reputation
720
Reaction score
529
Trophy points
113
Activity points
10,092
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.
 

danadakk

Advanced Member level 5
Advanced Member level 5
Joined
Mar 26, 2018
Messages
2,296
Helped
351
Reputation
720
Reaction score
529
Trophy points
113
Activity points
10,092
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.
 

HighTechPower

Member level 4
Member level 4
Joined
Jul 10, 2020
Messages
70
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Activity points
576
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.
 

FvM

Super Moderator
Staff member
Advanced Member level 7
Joined
Jan 22, 2008
Messages
50,994
Helped
14,631
Reputation
29,538
Reaction score
13,740
Trophy points
1,393
Location
Bochum, Germany
Activity points
291,755
The USB-to-UART bridges as well as PIC18 uses push-pull drivers for RX and TX and don't need pull-up resistors.
 

KlausST

Super Moderator
Staff member
Advanced Member level 7
Joined
Apr 17, 2014
Messages
23,263
Helped
4,741
Reputation
9,503
Reaction score
5,126
Trophy points
1,393
Activity points
154,110
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
 

paulfjujo

Advanced Member level 4
Advanced Member level 4
Joined
Jun 9, 2008
Messages
1,459
Helped
296
Reputation
592
Reaction score
279
Trophy points
1,363
Location
France 01800
Activity points
10,410
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**
 

scopeprobe

Full Member level 2
Full Member level 2
Joined
Sep 17, 2020
Messages
130
Helped
27
Reputation
58
Reaction score
78
Trophy points
28
Location
Uk
Activity points
1,311
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

Top