Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : RS232 via the Air
Page 1 of 2 | |||||
Author | Message | ||||
atmega8 Guru Joined: 19/11/2013 Location: GermanyPosts: 722 |
Hello to the world, I know we live in 2023/4, but in our IT world we deal with high-end systems every day, which are initially still configured via conventional RS232 interfaces. To avoid sitting in cold data centers and getting sick, it makes a lot of sense to be able to communicate remotely with these systems. This should be possible with MMBASIC and the PICOW?! Unfortunately, I have a mental block at the moment. How could this basically be implemented??? Thanks for your intelligent ideas ;-). |
||||
atmega8 Guru Joined: 19/11/2013 Location: GermanyPosts: 722 |
Better Topic: RS232 over the Air |
||||
Plasmamac Guru Joined: 31/01/2019 Location: GermanyPosts: 554 |
Wifi uart bridge : https://hackaday.io/project/161491-qmesh-a-lora-based-voice-mesh-network/log/194667-esp32-serial-to-wifi-bridge-complete A full support for all Hardware pin in MMBasic is imho possible even on high baudrates with gpio. I have tested udp with this and no problem with speed and lost paket. Plasma |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
Heresy for this forum, but perhaps a more economical device (with Annex RDS for firmware running Basic): ESP32 S2Mini PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
atmega8 Guru Joined: 19/11/2013 Location: GermanyPosts: 722 |
Thank you, i know all this solution, also some commercial ones: https://www.get-console.com/shop/en/27-airconsole but this is an MMBASIC Forum, isn't it? ;-). |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6098 |
I use a Raspberry Pi (or any other Linux PC) running ser2net. VK7JH MMedit MMBasic Help |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4238 |
Pleas be honest. You are not telling the truth. A administrator of a server, or datacentre would NEVER bring the console connetion outside the building. Security. Volhout. PicomiteVGA PETSCII ROBOTS |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6795 |
A WLAN terminal with root access? Who would allow that? Root is for wired connections only. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
athlon1900 Regular Member Joined: 10/10/2019 Location: AustriaPosts: 48 |
Personally, I wouldn't see it that way. I think it's a forum for microcontrollers and electronics, no matter what kind. If i'm wrong, please correct me. |
||||
atmega8 Guru Joined: 19/11/2013 Location: GermanyPosts: 722 |
@Volhout, i am honest @Mixtel90, yes of course for initial Config So, we have the PICOW, whe have Telnet, we have COM Ports. So i need to forward telnet receive to COMPORT and COMPORT receive to telnet. But how mmbasic Friends??? THX |
||||
pwillard Senior Member Joined: 07/06/2022 Location: United StatesPosts: 292 |
This is not a best use-case for the WIFI world, as stated. You probably want to use a private link... This is why XBEE/Zigbee was created by DIGI. DIGI are a datacenter product manufacturer, makers of things like 16 port Serial to Ethernet terminal servers. DIGI XBEE Modules are around $23 |
||||
IanRogers Senior Member Joined: 09/12/2022 Location: United KingdomPosts: 151 |
I used to use a tiny wireless unit, it is sold by RF solutions and it is on the 868Mhz band It is totally designed for RS232 bridge. Very good for battery operation as it works down to 1.8V so a 3.7V lasts for ages Zeta Plus modules Zeta modules Edited 2023-12-22 03:10 by IanRogers I'd give my left arm to be ambidextrous |
||||
PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 864 |
Nice Thank you. Given me some ideas |
||||
atmega8 Guru Joined: 19/11/2013 Location: GermanyPosts: 722 |
Dear forum members, I already know all the nice tools and recommendations from you. Your proposals are pragmatic and targeted. I love that. However, I am exclusively concerned in this thread with whether and how this can be implemented with mmbasic and the PICOW. No one has yet presented a solution to this and unfortunately I have no idea about a solution either. Maybe Peter or Geoff can contribute an idea (Code snipped) to this? Thank you, I wish you a Merry Christmas and less violence all over the world. Edited 2023-12-22 17:59 by atmega8 |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6795 |
I can't help with the Pico W - I've never had one and have very little idea about how they work. A suggestion is to use ESP8266-01S modules at each end. These are TTL serial to WiFi modems and respond to AT+ commands. With a MAX232 RS-232 to TTL seral converter you have a point-to-point modem link over a local WLAN. Each is programmed with its IP address, the address for its local gateway and the destination address. This is a 1 to 1 connection, not a network. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3802 |
If I understand your drawing, you need an encrypted link across the WLAN. Looks OK with a Pico W but I haven't studied exactly which kinds of encryption it supports if running MMBasic. As you'll (presumably) be connecting it to a router, you'll need to make sure it allows traffic through of whatever kind (protocol e.g. https) you choose on whatever port. You'll also need an IP address & if the router hasn't got a public one then such as dyndns As it looks like you'd originate a connection from the PC end you likely don't need to mess with the router or dyndns there (I think). John Edited 2023-12-22 19:02 by JohnS |
||||
atmega8 Guru Joined: 19/11/2013 Location: GermanyPosts: 722 |
|
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9119 |
I don't understand the issue. Set the Pico-W as a telnet server connected to a router that sits on the WLAN. Run a program on the Pico-W that reads console input (telnet) and outputs it on a serial port. However, this is a catastrophically bad idea as you will need to open the router to pass telnet which is totally insecure and the Pico-W does not support any sort of IP encryption. You could code some primitive encryption in the Pico so that the telnet data is garbled but the protocol itself is open. I suppose you could create a VPN tunnel from the PC to the router and pass telnet over that which would be more secure but I'm with the consensus above that you should never bring the console connection outside of the data-centre |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3802 |
I specifically said encrypted - that leaves out telnet. Though it could be through a tunnel - have fun with that. Er...If everything is internal then why WLAN? I'm confused!! John Edited 2023-12-22 22:48 by JohnS |
||||
aFox Regular Member Joined: 28/02/2023 Location: GermanyPosts: 76 |
What about simple Bluetooth adapters? I still have a 56k modem. Via the intranet's tcp/ip telephone line? Joke |
||||
Page 1 of 2 |
Print this page |