无需打印机端口即可对硬件进行编程
我的主板很小,没有打印机端口,所有硬件编程教程(编程 LED、电机等)都告诉我如何使用此端口或 USB 到打印机端口转换器来对硬件进行编程。 是否有其他方式和任何其他端口(例如 USB)来对硬件进行编程?
My motherboard is small and don't have a printer port, all the tutorials (program LEDs, motor etc.) of hardware programming tell the use of this port or a USB to printer port converter to program hardware.
Is there any other way and any other port (for example USB) to program hardware?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我建议购买可以轻松连接到 USB 的 Arduino,并将其输出用作并行端口。为什么并行端口在工作硬件时很受欢迎?因为它可以轻松地通过编程进行控制。对于 USB,您不能只设置某些位。 Bu Arduino 的一侧具有内置 USB 支持,另一侧具有易于编程的输出。另外,它本身就是很酷的设备。
I suggest to buy Arduino which can easily be connected to USB and use it's outputs as parallel port. Why parallel port is popular when working hardware? Because it can be easily controlled programmatically. With USB you can't just set certain bits. Bu Arduino comes with build-in USB support on one side and easily programmable output on another. Plus it is cool device by itself.
这取决于硬件。如果您的硬件有打印机端口(或更具体地说,是并行端口),您将需要该端口。如果您的硬件有一个串行端口(COM),这也是常见的,那么您需要其中之一。某些硬件需要您在旧 386 PC 上用于插入操纵杆的游戏/MIDI 端口。我认为转换器可以将 USB 转换为每个端口。
That depends on the hardware. If your hardware has a printer port (or parallel port, more specifically), you will need that one. If your hardware has a serial port (COM) which is quote common too, you need one of those. Some hardware will need the game/midi port that you used to plug in your joystick on your old 386 PC. I think convertors are available to convert USB to each of those ports.