Hi all,
I'm designing a product where I need the teensy to communicate with a software on a PC, via serial connection.
For now in my tests I've used the USB device port on the teensy without any issues
For the final product I'd like the customer to be able to connect to a port on the case.
So I've got several solutions :
Solution 1
Just use the usb device port with a cable like this one : https://www.pjrc.com/store/cable_usb_panel_micro.html
Issue : I fear that the connector will get damage/bend after years of use, also needs to cut the 5V.
Solution 2
Use the usb host port (i don't even know if it's possible software-wise but let's assume it is)
Issue : not possible to solder the USB host pins to the PCB, so once again a mechanical issue .
Solution 3
Use one of the serial ports of the teensy, and have the user use a usb to serial cable
Issue : can't trust the user to always use the correct cable, need to use standard cables and connectors.
Solution 4
Use one of the serial ports of the teensy, and an external usb to uart controller.
Issue : overkill BUT everything can be handled on the PCB
I plan my product to be solid, usable for years, able to be transported, and used in vibration-heavy environment, hence the mechanical issues that some teensy users may not face.
For now I plan to use solution 4 as this is the only one which do not create mechanical issues, but seems way overkill.
I post here in hope that they may be a better solution that I overlooked.
I'm designing a product where I need the teensy to communicate with a software on a PC, via serial connection.
For now in my tests I've used the USB device port on the teensy without any issues
For the final product I'd like the customer to be able to connect to a port on the case.
So I've got several solutions :
Solution 1
Just use the usb device port with a cable like this one : https://www.pjrc.com/store/cable_usb_panel_micro.html
Issue : I fear that the connector will get damage/bend after years of use, also needs to cut the 5V.
Solution 2
Use the usb host port (i don't even know if it's possible software-wise but let's assume it is)
Issue : not possible to solder the USB host pins to the PCB, so once again a mechanical issue .
Solution 3
Use one of the serial ports of the teensy, and have the user use a usb to serial cable
Issue : can't trust the user to always use the correct cable, need to use standard cables and connectors.
Solution 4
Use one of the serial ports of the teensy, and an external usb to uart controller.
Issue : overkill BUT everything can be handled on the PCB
I plan my product to be solid, usable for years, able to be transported, and used in vibration-heavy environment, hence the mechanical issues that some teensy users may not face.
For now I plan to use solution 4 as this is the only one which do not create mechanical issues, but seems way overkill.
I post here in hope that they may be a better solution that I overlooked.
Last edited: