Odroid Go Wifi to Serial bridge

Post Reply
ripper121
Posts: 127
Joined: Mon Jan 28, 2019 7:00 pm
languages_spoken: english
Has thanked: 24 times
Been thanked: 18 times
Contact:

Odroid Go Wifi to Serial bridge

Unread post by ripper121 » Sun May 12, 2019 12:29 am

Hi :),
there you go the Odroid Go Wifi to Serial bridge.

1. Change the WIFI.TXT to your SSID and PSK
2. Set your BAUD RATE in the SERIAL.TXT
3. Connect your device to the Odroid GO,
GND|TX|RX|VCC Other Device
GND|04|15|P3V3 Odroid Go
https://wiki.odroid.com/odroid_go/odroi ... escription
4. Turn on the Odroid Go
5. Connect to the Odroid Go via TCP (Telnet, Putty) Client. Your IP will shown on Screen and Port is 22
I used (https://sourceforge.net/projects/sockettest/)

Source: https://github.com/ripper121/odroidgoserialbridge
Download: https://github.com/ripper121/odroidgose ... lBridge.fw

Please let me know if you have some Ideas for improvements.

These users thanked the author ripper121 for the post:
mad_ady (Sun May 12, 2019 3:10 am)

User avatar
mad_ady
Posts: 6506
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 123 times
Contact:

Re: Odroid Go Wifi to Serial bridge

Unread post by mad_ady » Sun May 12, 2019 3:20 am

It's all that I wanted and more! Many thanks!

I will try it out the next chance I get.

In terms of suggestions - maybe having a configurable options to inject text when pressing keys - so that you can run predefined commands on the go. Even sending ctrl+alt+del might be useful.

In terms of electrical safety - you should be able to connect to devices using 3.3V (like C1/C2/N2) (I'd try with VCC not connected at first).
You don't want to connect the GO TX pin to XU4 or N1 because it expects 1.8/2.8V and 3.3 will burn your device. You can connect RX and GND so at least you can monitor for messages.
Not sure if the GO's pins are 5V tolerant - so be aware of connecting it directly to a device speaking 5V.
These users thanked the author mad_ady for the post:
ripper121 (Sun May 12, 2019 4:55 am)

ripper121
Posts: 127
Joined: Mon Jan 28, 2019 7:00 pm
languages_spoken: english
Has thanked: 24 times
Been thanked: 18 times
Contact:

Re: Odroid Go Wifi to Serial bridge

Unread post by ripper121 » Sun May 12, 2019 5:13 am

Thank you.
Maybe I also add a option to turn off the screen monitoring via a keypress because it spends much time to draw the screen and in that time the serial buffer gets filled. That can couse data loss.

User avatar
mad_ady
Posts: 6506
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 123 times
Contact:

Re: Odroid Go Wifi to Serial bridge

Unread post by mad_ady » Sun May 12, 2019 1:34 pm

I see that you do screen refreshes every new line. I guess the more complicated way would be to have a larger buffer and a display thread that reads the buffer periodically. But I'm not sure how easy it is to have threads in arduino studio.

One more thing you could consider - the loop works only when the go is connected to wifi. Since you have a display and keyboard you could process rx/tx without wifi and have only local control.

And now I remembered that Hardkernel sells a keyboard - though it occupies the gpio pins, so I guess it can't be used. :)

User avatar
odroid
Site Admin
Posts: 32068
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 112 times
Been thanked: 285 times
Contact:

Re: Odroid Go Wifi to Serial bridge

Unread post by odroid » Mon May 13, 2019 9:36 am

Very practically useful project :o
These users thanked the author odroid for the post:
ripper121 (Mon May 13, 2019 2:23 pm)

Post Reply

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 0 guests