0
\$\begingroup\$

I am trying to make my pic16f84a micro controller communicate directly to my computer without a uart to usb bridge but I have been told that the way usb is handled wouldn’t allow me to do that with such a slow micro controller. Is there any way to turn the USB port into a regular serial port so that I could bypass that restriction?

\$\endgroup\$
  • 1
    \$\begingroup\$ hackaday.com/2012/05/07/… \$\endgroup\$ – jsotola Apr 4 at 4:43
  • \$\begingroup\$ This is the third variant of the question you have asked in two days. You first asked if you could connect PIC16 to USB. Everyone said you need a USB-UART bridge. Then you asked. Then you asked if you could program it using that bridge. Now you're asking if you can do the USB-UART bridge without the bridge part. These are all practically the same question. \$\endgroup\$ – DKNguyen Apr 4 at 16:51
  • \$\begingroup\$ Does this answer your question? Can you connect a microcontroller to USB without USB built into the chip? \$\endgroup\$ – DKNguyen Apr 4 at 16:52
  • 1
    \$\begingroup\$ I had variations of the questions but was told that I can’t add extra questions to the the first question. My understanding is that you ask one question and stick to that question or you are going off topic and that was bad. \$\endgroup\$ – user11937382 Apr 4 at 16:55
  • \$\begingroup\$ @user11937382 These questions are similar enough you can just Edit additional updates into your post. \$\endgroup\$ – DKNguyen Apr 4 at 16:56
2
\$\begingroup\$

You will need a cable to connect the MCU up to the computer no matter what you do. If you were using USB transport end to end then obviously that would be a USB cable.

Since it appears that you want to use the UART out of the MCU to communicate and you do not want to put a UART to USB bridge IC on your circuit board then the solution you need is simply a different style of cable with the bridge chip built into the cable end. One that would do nicely is the TTL232R-3V3.

enter image description here

Picture Source

| improve this answer | |
\$\endgroup\$
  • \$\begingroup\$ Just to make things clear, in case some reader misses "... on your circuit board ...": Such a cable is a UART to USB bridge. It is inside the USB plug. \$\endgroup\$ – the busybee Apr 4 at 13:07
  • \$\begingroup\$ @thebusybee - I edited the question to make that much more clear. \$\endgroup\$ – Michael Karas Apr 4 at 16:49
1
\$\begingroup\$

No. USB port uses USB protocol and can't function as a regular serial port. You need a separate USB to serial chip or a.microcontroller that has support for USB protocol.

| improve this answer | |
\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.