Using Electron to interface to Raspberry Pi Console (or other interactive serial)

I think the Electron could be very useful, low cost way to gain out of band access to serial devices.

I am thinking through how to connect to the the console of the raspberry pi. Since they are both 3.3 volt, I think I should be able to directly connect? :

Electron TX — Raspberry Pi RX
Electron RX — Raspberry Pi TX

I’ve enabled a console on the Raspberry PI GPIO TX/RX.

I think my next steps would be to write some code to interact with the Electron to provide shell like access to raspberry pi console.
Has anyone come across something like this? Perhaps some ideas or concepts on how to get started with this?

Essentially, I am trying to achieve shell/console access to a serial device, interactively through the electron.

Any help would be greatly appreciated.

3 Likes