Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:41 25 Nov 2024 Privacy Policy
Jump to

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 : WebMite console over standard serial connection COM1 / COM2?

Author Message
bongarje
Newbie

Joined: 30/01/2024
Location: Germany
Posts: 2
Posted: 07:53am 24 May 2024
Copy link to clipboard 
Print this post

Dear all,

first, thank you for creating such impressive microcontroller-based devices, like MicroMite, PicoMite, WebMite, ....
I searched the forum for my question, but didn't find a relevant topic. So please excuse, if my question has already been answered.

I would like to use a computer without an USB port as a console for the WebMite. Is it possible to use the standard COM1 / COM2 connection (Pin 1/2 or Pin 6/7) instead of the USB/Serial connection?
 
Thanks
Jens
 
twofingers
Guru

Joined: 02/06/2014
Location: Germany
Posts: 1241
Posted: 08:19am 24 May 2024
Copy link to clipboard 
Print this post

Hi Jens,
yes, I think it should work (AFAIK).

See PicoMite manual p 84
  Quote  OPTION SERIAL CONSOLE
uartapin, uartbpin [,B]
OPTION SERIAL CONSOLE
DISABLE
 Specify that the console be accessed via a hardware serial port (instead
of virtual serial over USB).
‘uartapin’ and ‘uartbpin’ can be any valid pair of rx and tx pins for either
COM1 or COM2. The order that they are specified is not important.
The speed defaults to 115200 baud but can be changed with OPTION
BAUDRATE. Adding the "B" parameter means output will go to "B"oth
the serial port and the USB.
Revert to the normal the USB console.
These commands must be run at the command prompt (not in a program).

Best regards
Michael


EDIT:
I think you have to configure this first on a computer with a USB port. Access should then be possible via serial.
If I remember correctly, there is also an option via WiFi.

WebMite User Manual Page 25 (Ver 5.07.07)
  Quote  Remote Console Access
You can remotely connect to the console of the WebMite via WiFi using Telnet. This is handy if the device is
in a location that is difficult to access. Once connected via Telnet you can do everything that you would
normally do via the USB console including running the editor.
To enable this feature, enter the following at the command prompt:
OPTION TELNET CONSOLE ON
This only needs to be entered once and will be remembered every time your WebMite is restarted. It will also
cause the WebMite to restart so you will need to reconnect to the USB console.

Tera Term ( http://tera-term.en.lo4d.com ) supports Telnet and is recommended for this task as it has a good
VT100 emulation and supports the XModem file transfer protocol.

Edited 2024-05-24 18:43 by twofingers
causality ≠ correlation ≠ coincidence
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6783
Posted: 08:59am 24 May 2024
Copy link to clipboard 
Print this post

It is possible, but beware of the hardware limitations of the PicoMite. The PicoMite is a 3V3 device and isn't intended for 5V.

Old RS-232 ports often work with +/-12V, which would destroy an unprotected PicoMite. These old ports require an interface chip to produce the necessary RS-232 voltages.

More recent RS-232 ports usually work between 0V and +5V. You may get away with these. as they might accept 3V3 from the PicoMite and the PicoMite might tolerate 5V from the port. A simple resistor/diode network would usually be fine to ensure safe connection.
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
bongarje
Newbie

Joined: 30/01/2024
Location: Germany
Posts: 2
Posted: 01:24pm 26 May 2024
Copy link to clipboard 
Print this post

Thank you for your replies. I will try it out and report back.
The Telnet hint is also very useful.
Thanks
Jens
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024