Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 11:10 01 Aug 2025 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 : Jim’s test server.

Author Message
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 12:05am 24 Mar 2017
Copy link to clipboard 
Print this post

Hi Jim,

Had a couple of goes at your test server today.

Connected, used the command prompt; version, memory, listed what was there etc, (RTC Code from Memory), uploaded code, but then it disappeared, the connection that is.

Not sure exactly how it works regards it's status & availability, but am curious to know more.

Even though I had a backpack on my desk, the reason for trying your server was an attempt to collaborate with someone on code.


Phil.
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 03:43am 24 Mar 2017
Copy link to clipboard 
Print this post

"curious to know more"

That is what I also have become just this morning. I would like to give someone full control (through, for instance, Tera Term or putty) of a micromite setup I have--console input and output. This is also for collaboration on code.

How is this done? I can connect the micromite to either a Windows or linux device. I don't want to provide control of the PC or linux machine--just of the micromite through a serial port (or tcp with ser2net on the linux device).

Lance

PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10310
Posted: 04:24am 24 Mar 2017
Copy link to clipboard 
Print this post

  Quote   I would like to give someone full control (through, for instance, Tera Term or putty) of a micromite setup I have--console input and output.


See this thread
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 09:21am 24 Mar 2017
Copy link to clipboard 
Print this post

MatherP--Thanks for the link. I already have the uMite E64 serving web pages using the code you provided in another thread as a base--with an ESP-01 (1M) flashed with latest firmware. Hadn't thought of using another such device to program the uMite.

It shouldn't be too hard to set up another ESP-01.

Lance

PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Phil23
Guru

Joined: 27/03/2016
Location: Australia
Posts: 1667
Posted: 11:33am 24 Mar 2017
Copy link to clipboard 
Print this post

I've occasionally looked at a hardwired alternative for Serial TTL to Ethernet.

Devices seem a bit more expensive that ESP's. Presume these would work.


Ethernet to Serial TTL
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6283
Posted: 11:39am 24 Mar 2017
Copy link to clipboard 
Print this post

  Phil23 said   Hi Jim,

Not sure exactly how it works regards it's status & availability, but am curious to know more.

Phil.

The test server is a 28 pin MX170 connected to a Raspberry Pi. The current version of MMBasic is 5.2
The software used in the Pi to provide the telnet session is ser2net.
It is set to disconnect after a period of inactivity.

The Pi also runs my AIS (shipping) and ADSB (aircraft) receivers.
The Pi is very reliable.
My Internet is also reasonably reliable.
Because anyone can upload their software, I have no idea what will be on the 'mite at any time.
I regularly reset the code to a program which reads a few temperature, humidity, and pressure sensors.
Some users try and change the OPTIONS to various LCD displays etc. As these are not connected, their code may not run as expected.

I usually have to clear all options to get my code running again.

Jim

VK7JH
MMedit
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 12:17pm 28 Mar 2017
Copy link to clipboard 
Print this post

Just reporting success here. I have an Explore-64 on a breadboard with serial/usb connection (not the onboard USB) to a PogoPlug running openWrt (a linux distribution for routers and small devices).

I use ser2net on the PogoPlug to expose the serial port to a TCP connection, and forwarded the connection in my router. I can connect externally with Tera Term and download and run programs.

Items connected in addition to a dozen LEDs and a couple of DS18B20s are: DS3132 I2c RTC module, 2 MCP23008 I2C i/o expanders, ESP-01 module providing TCP connection for html program, Nextion OLED.

The whole draws about 90mA with a bounce up to 130mA when the ESP-01 is active.

Both the programming connection and the html program are available on the internet (but without the magic numbers being shared).

2314 lines of code right now, some mine, some matherp's (ESP-01 connection code, thanks), some another party's.

Thanks for the suggestions.

Lance


Edited by lizby 2017-03-29
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025