2

I am using a TTL to USB cable with my Raspberry Pi and I would like to forward that UART signal over the internet, or just over my own network via a usb to wifi chip of some sort. How would I go about doing this? What port would it be over? How would I access it via Macbook?

Yes, I am aware of ssh this is for debugging when my Pi does not boot far enough to turn on wifi.

Originally posted on Hardware Recommendations

  • I.e., you need to do TTL to IP... – goldilocks Oct 6 '15 at 0:29
  • @goldilocks Yes, I think that is more clear – Patrick Cook Oct 6 '15 at 0:47
  • The TTL end is plugged into the Pi. The USB end is plugged into a computer. Why not just walk to the computer or ssh into the computer? – joan Oct 6 '15 at 8:17
  • 1
    You could do it with a 2nd RPi, but that's probably not what you want. I use ser2net for remote serial console access to Cisco equipment, using my RPi as a serial terminal server. You could connect a USB-TTY adapter the same way. Any other device will probably cost more than the RPi. – bobstro Oct 6 '15 at 12:53
  • @joan the point is for debugging when the pi is unable to boot far enough to start ssh and I am not at home. – Patrick Cook Oct 6 '15 at 20:47
2

There are some hardware modules available that provide access to a UART (TTL, RS-232, etc.) via a wired or wireless (802.11) TCP/IP connection. For example:

1

One way would be to use a second RPi, like @bobstro suggested in the comment. This second RPi should be able to accept network connections, e.g. SSH, and provide access to the UART of the target RPi you want to debug.

Another (cheaper) alternative is to look into projects aiming at flashing Arduinos over the air. Many of these implement a UART-to-Wifi gateway on very cheap hardware like ESP8266. Example.

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.