Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:31 14 Jun 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 : Let's discuss reducing the number of active MMBasic designs

     Page 5 of 5    
Author Message
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7748
Posted: 11:37am 12 Jun 2025
Copy link to clipboard 
Print this post

Oh, thanks Peter! :)
Mick

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

Guru

Joined: 13/08/2020
Location: Canada
Posts: 535
Posted: 01:40pm 12 Jun 2025
Copy link to clipboard 
Print this post

  matherp said  https://www.thebackshed.com/forum/ViewTopic.php?TID=13414&P=1

Brilliant - thanks. I bought a bunch of ESP-01 chips and haven't yet used them for anything. This is the shove I needed.
 
PeteCotton

Guru

Joined: 13/08/2020
Location: Canada
Posts: 535
Posted: 02:04pm 12 Jun 2025
Copy link to clipboard 
Print this post

  Mixtel90 said  Price *is* the main issue though, I think. Unit price of CMM2 boards is reasonable but only if you can sell the spare ones from a production run, otherwise it's very expensive. Not many will want them uncased either. To turn them into finished machines you still need relatively expensive cases and front/rear panels.

I think the unit price is "acceptable" even if you keep all 5 boards for yourself. Certainly compared to other retro-projects.

I relate this to other costs of hobbies/pasttimes. Factoring it against doing up an old car, drinking decent red wine or buying board games (that you will never get around to playing), it is probably quite a cheap hobby!

Having spare boards lying around also gives you the option to create some truly mad Frankenstein creations. I am toying with the idea of putting three or four into one computer and building a mini/mainframe which would be serviced by multiple terminals. The CMM2's would handle storage and processing, then use PicoMites as remote terminals. There is no reason to do this and there certainly isn't a market for it - just pure chaotic imagination   I was going to use multiple ESP32s to handle RS232 comms to the terminals, but after the conversation on the ESP-01, maybe I make all of the terminals WiFi linked to the mini computer?

But I do also get, that from a commercial standpoint - it's harder to justify the CMM2. I'm not saying that it's the perfect choice for everyone - but it is the perfect choice for me.  

  Mixtel90 said  In the PicoMite's defence, I must say that DVI output, the ability to use a USB hub and the presence of the PIOs are pretty good advantages over the CMM2 for many.


I agree completely.  My denigration of the PicoMite was purely for comedic purposes.    It's an incredible machine.
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1288
Posted: 03:33pm 12 Jun 2025
Copy link to clipboard 
Print this post

  PeteCotton said  

But I do also get, that from a commercial standpoint - it's harder to justify the CMM2. I'm not saying that it's the perfect choice for everyone - but it is the perfect choice for me.  

  Mixtel90 said  In the PicoMite's defence, I must say that DVI output, the ability to use a USB hub and the presence of the PIOs are pretty good advantages over the CMM2 for many.





Indeed. If/when I get the CMM2 talking to my industrial touch-monitor (RS232), these high-res/colour modes open-up some possibilities:




 
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7748
Posted: 04:25pm 12 Jun 2025
Copy link to clipboard 
Print this post

After all that I've discovered that neither of my CMM2s have the ESP8266-01S connector! Even my "relatively recent" stuff is old. :)
Mick

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

Joined: 05/03/2018
Location: Netherlands
Posts: 4983
Posted: 05:24pm 12 Jun 2025
Copy link to clipboard 
Print this post

Ok,

it has been 1.5 year since I looked at the ESP-01S and ESP-NOW. And within 10 minutes it became clear why the project was stopped. It uses Arduino toolchain, AND it uses python. And the arduino toolchain cannot find python, since python runs in a sandbox on linux since 16.04.

Within 10 minutes my body temperature decreased to -20C and with frozen fingers I shut down the PC. This feels so much like wanting to use a hammer, and you realize that you have to find iron ore, melt the iron to poor a hammer head, then chop a tree, and find the right wood for the boom, sand it to size and then create a hammer...just to put a nail in the wood.

For 1 euro each I will order a new ESP-01S with AT commands build in and use it in the CMM2.

Volhout
Edited 2025-06-13 03:28 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7748
Posted: 05:51pm 12 Jun 2025
Copy link to clipboard 
Print this post

I'm pretty sure I still have a couple, still sealed in their bags. At least I have an idea what the firmware might be on those. :)

One of the reasons I've not played with any of the comms modules much is that I only have space for one monitor. I can't see the input and output data at the same time so I've no idea what's happened until I switch the monitor over to the other machine, and it takes a while to sync whenever I switch its input over.
Mick

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

Joined: 20/09/2024
Location: Germany
Posts: 454
Posted: 06:54pm 12 Jun 2025
Copy link to clipboard 
Print this post

It can be used for the Pico as well..doc as it has it's own IP stack and a webserver. Same for all serial At command based boards like GSM, or?
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4983
Posted: 08:18pm 12 Jun 2025
Copy link to clipboard 
Print this post

The winner takes it all.. Hooraaayyy..

After I sat one hour in the sun, my temperature rose, and I said to myself, how hard can it be.
Installed Arduino on Windows, 8266 BSP, Python, Teraterm, Putty... And learned a lot.

I used 2 ESP8266-01S with modified USB interfaces (2 diodes) so they can be programmed from Arduino toolchain directly (no switches).

I found a ESP-NOW chat-program on GITHUB that also has a MAC address lister.
Ran de MAC address lister on both ESP8266 and noted the MAC addresses, using the Arduino serial monitor.

Then I modified the chat app so each ESP would only talk/listen to the other ones MAC address, and programmed them.

Opened 2x Teraterm on each of the USB ports and correct baudrate ...nothing
Tried HW handschake NON/RTS/DTR/XONXOFF nothing...
Tried Putty... nothing...

Then I opened 2 x Aduino windows with serial  monitor on both COM ports... Success.

The diodes on the USB interfaces (connect to DTR/RTS) apparently need to be set as the Arduino software set them, and neither Teraterm nor Putty can manipulate them according.

The chat code sends a lot of "Data received from xxx :" debug messages. So I removed all that in a test version. And now I have a clean wireless serial cable. They only talk to eachother, and are not connected to any hotspot. A true wireless cable (at 115200 baud 8n1).

Next is to make this work without the USB interface boards, on a breadboard with 2 pico's (Game*Mite's). But I am happy now. If there are others interested: this is the github page I got the code from:

https://github.com/asedmammad/esp-now-serial-chat

Volhout
PicomiteVGA PETSCII ROBOTS
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1288
Posted: 08:24pm 12 Jun 2025
Copy link to clipboard 
Print this post

  Volhout said   A true wireless cable (at 115200 baud 8n1).


I have seen claims of <2ms round-trip latency with ESP-NOW  
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4983
Posted: 07:15am 13 Jun 2025
Copy link to clipboard 
Print this post

  PhenixRising said  
  Volhout said   A true wireless cable (at 115200 baud 8n1).


I have seen claims of <2ms round-trip latency with ESP-NOW  


I tested the code I used, and I cannot confirm the 2ms.

Test setup:
Picomite ---- ESP-01                ESP-01---TX=RX

The round time is 50ms, very stable and repeatable. Maybe it is fixed in the code, I haven't checked. Maybe the ESP-32 is faster.  

Volhout
PicomiteVGA PETSCII ROBOTS
 
     Page 5 of 5    
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