Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:38 22 Apr 2026 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 : PicoMite V6.02.02 betas

     Page 3 of 8    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11215
Posted: 10:02am 08 Apr 2026
Copy link to clipboard 
Print this post

V6.02.02B1

PicoMiteV6.02.02B1.zip

CDC host functionality now supports CH340 (tested) MicroBridge(tested) FTDI (untested) and CP2102 (untested)

INPUT command now supports OPTION ESCAPE
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8769
Posted: 11:37am 08 Apr 2026
Copy link to clipboard 
Print this post

You really are getting far too good to us, Peter.  lol

Thanks. :)
Edited 2026-04-08 21:38 by Mixtel90
Mick

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

Joined: 13/02/2015
Location: United States
Posts: 602
Posted: 11:54am 08 Apr 2026
Copy link to clipboard 
Print this post

  matherp said  V6.02.02B1

PicoMiteV6.02.02B1.zip

CDC host functionality now supports CH340 (tested) MicroBridge(tested) FTDI (untested) and CP2102 (untested)

INPUT command now supports OPTION ESCAPE


I think OPTION ESCAPE might still need a little more work. See the program snippet below.

15 OPTION escape
30 INPUT "Value of m, number used for modular\r\ndivision, hit enter for 300"; M%
50 INPUT "Value of p, number used for\r\nmultiplication, hit enter for 77"; P%


I would think that would produce this
Value of m, number used for modular
division, hit enter for 300?
Value of p, number used for
multiplication, hit enter for 77?


But I get this (note the extraneous character at the beginning of each prompt):
@Value of m, number used for modular
division, hit enter for 300?
>Value of p, number used for
multiplication, hit enter for 77?

Edited 2026-04-08 22:00 by toml_12953
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8769
Posted: 01:10pm 08 Apr 2026
Copy link to clipboard 
Print this post

Did you try it without line numbers?
Mick

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

Joined: 11/12/2012
Location: United Kingdom
Posts: 11215
Posted: 01:11pm 08 Apr 2026
Copy link to clipboard 
Print this post

  Quote  
I think OPTION ESCAPE might still need a little more work.

Forgot to convert from a MMBasic string to a C string

PicoMiteV6.02.02B1.zip
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1849
Posted: 06:24pm 08 Apr 2026
Copy link to clipboard 
Print this post

  matherp said  V6.02.02B1

PicoMiteV6.02.02B1.zip

CDC host functionality now supports CH340 (tested) MicroBridge(tested) FTDI (untested) and CP2102 (untested)

INPUT command now supports OPTION ESCAPE


Red faced here but what does all this mean   ?
 
mozzie
Senior Member

Joined: 15/06/2020
Location: Australia
Posts: 278
Posted: 04:28am 09 Apr 2026
Copy link to clipboard 
Print this post

G'day,

Peter, testing has shown success with:

MicroBridge - 9600/38400/115200
CP2102 - 9600/38400/115200
FT232R - 9600/38400/115200
MMite via MicroBridge - 9600/38400/115200 (Option Baudrate x)
MMite+ - 9600/38400/115200 (Dont think it matters - CDC)
PicoMites - Various

Many thanks once again, to say I'm as happy as a "pig in poo"/"kid in a lolly shop with $100"/"fat kid with a cupcake" etc. is a severe understatement indeed...  

Phenix,
This now means we can plug either 1 (direct) or 4 (via hub) of the devices above into a PicoMite-USB device and exchange data via the serial port enumerated. This can be at the same time as a keyboard + mouse + game controller. The main advantage being the only external port required is USB, already ESD protected and provides power while taking up no I/O on the device, win-win  


My own ideas are a CNC controller on the PicoMite-USB, a keyboard / mouse combo via USB and a Pico (or MMite) based CNC remote (encoder and buttons or touch screen) via USB-CDC Serial.
Another being a handheld device for pulling data from MMite/PMite dataloggers etc via USB, no laptop required.
Another is remote throttles for a PicoMite based DCC railway controller.
So many ideas  

Regards,
Lyle.
Edited 2026-04-09 14:39 by mozzie
 
PhenixRising
Guru

Joined: 07/11/2023
Location: United Kingdom
Posts: 1849
Posted: 10:03am 09 Apr 2026
Copy link to clipboard 
Print this post

  mozzie said  
My own ideas are a CNC controller on the PicoMite-USB, a keyboard / mouse combo via USB and a Pico (or MMite) based CNC remote (encoder and buttons or touch screen) via USB-CDC Serial.
Another being a handheld device for pulling data from MMite/PMite dataloggers etc via USB, no laptop required.
Another is remote throttles for a PicoMite based DCC railway controller.
So many ideas  

Regards,
Lyle.


Exciting times  

CNC is my game, also....but closed-loop brushless servos instead of steppers.

Looking at two of Pete's DIL modules linked with the bidirectional 4-bit memory share Which will provide eight axes that can be electronically geared in any combination.

Main controller to be the RP2350 HDMI/USB reference board.

Only stuck for USB touchscreen support. Surprisingly, no one seems to have tackled this over on the HID group.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8769
Posted: 11:17am 09 Apr 2026
Copy link to clipboard 
Print this post

I'm not terribly surprised when it's over £120 for a 10-point IR overlay on a 15" screen. HDMI doesn't support touch so there's no point in hoping for that. USB mouse mode is the closest compromise, I think. Don't the touch LCDs go big enough?
Mick

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

Joined: 07/11/2023
Location: United Kingdom
Posts: 1849
Posted: 12:16pm 09 Apr 2026
Copy link to clipboard 
Print this post

  Mixtel90 said  I'm not terribly surprised when it's over £120 for a 10-point IR overlay on a 15" screen. HDMI doesn't support touch so there's no point in hoping for that. USB mouse mode is the closest compromise, I think. Don't the touch LCDs go big enough?


My main HMI is a 10" rugged Android tablet which I intend to keep BUT I have noticed that many high-end machine-tools feature regular Dell PC touch monitors. At one place (Blackburn area) where they have many German-made routers, I commented that a commercial grade monitor looked out of place on a big-ticket CNC machine but the owner shrugged and said they'd never had a problem and if they did, a replacement is cheaper than a service call. So, as we're only talking about the cost of a touch monitor, I want to add one to my system as a supplement to the tablet.

The larger screen means that the operator can read status messages from a greater distance.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8769
Posted: 12:58pm 09 Apr 2026
Copy link to clipboard 
Print this post

If it's that bad they are probably entitled to glasses provided by their employer! lol

Not been to "Blegburn" in ages. It's time I went again, I think. Perhaps when the weather is a bit nicer I'll flex my Nowcard in that direction. :)
Mick

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

Joined: 15/06/2020
Location: Australia
Posts: 278
Posted: 03:43am 10 Apr 2026
Copy link to clipboard 
Print this post

G'day,

Peter,
Whilst I think this has been asked before, is there a fundamental reason (resources / timing etc) that the XPT2046 touch support could not be enabled on the HDMI firmware?

There are a few sources of 5/7/8/10" HDMI monitors with resistive touch that have the XPT2046 wired to headers for use with RPi, being able to use these with the PicoMite would, as PhenixRising suggests, be great even without the advanced GUI functions. I may have a way using 2 Pico's but its going to be messy  

Phenix,
8 axis CNC using Servo's is way out of my league. Sounds like an awesome project, hope to see some details when you get it running. As for servo vs stepper, there is a 1990's vintage HP758X A0 plotter out in the shed, these are servo drive and watching the speed it achieves with a full A0 sheet of paper is incredible.

As for HDMI touch support, I too would love to see it but with the thousands of different controllers for CAP touch its likely impossible via USB. Hopefully resistive touch with an XPT2046 might be a possibility. Waveshare have a 10" HDMI-ResTouch LCD for $130AUD that would be a great candidate, I have the 5" version here.


So many new ideas to experiment with and test, absolutely spoilt we are  

Regards,
Lyle.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 3156
Posted: 04:19am 10 Apr 2026
Copy link to clipboard 
Print this post

Some time ago I experimented with reading a restive touch foil using 4 Pico pins. 2 digital and 2 analogue/digital.
The foil is equivalent to 2 potentiometers (one each for X and Y) with their wipers linked via a pushbutton.

While waiting for a touch set both ends of X to DOUT, 0V and one Y pin to INTL, PULLUP and the other OFF.
In the ISR use 2 DOUTs to set one end of X to 1 and the other to 0. Set one Y pin to AIN and the other OFF. Read and record the X voltage on the Y pin.
Now set one end of Y to 1 and the other to 0. Set one X pin to AIN and the other OFF. Read and record the Y voltage on the X pin.

Convert those voltages to X & Y pixel values via calibration tables that you prepared earlier.

As none of the normal touch functions will work with this you need to write your own routines.

I connected to the foil by soldering thin wires to the touch chip input pins. A strip of 4 wires cut from an ATA100 HDD cable is the right size.

I didn't have a use for it at the time so never saved the program but could re-do it if needed.
Edited 2026-04-10 14:37 by phil99
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6508
Posted: 04:47am 10 Apr 2026
Copy link to clipboard 
Print this post

My resistive touch reader from 2012
https://www.thebackshed.com/forum/ViewTopic.php?TID=5291#52791

Jim
Edited 2026-04-10 14:48 by TassyJim
VK7JH
MMedit
 
robert.rozee
Guru

Joined: 31/12/2012
Location: New Zealand
Posts: 2503
Posted: 02:05pm 10 Apr 2026
Copy link to clipboard 
Print this post

  phil99 said  Some time ago I experimented with reading a restive touch foil using 4 Pico pins. 2 digital and 2 analogue/digital. The foil is equivalent to 2 potentiometers (one each for X and Y) with their wipers linked via a pushbutton [...]


idea: what if there were a command called MM.CLICK(X, Y) or GUI CLICK(X, Y) that a user's program could call to simulate a touch-screen having been touched (or a mouse having been clicked). the user could then add to their programs support for touch screens that are otherwise not supported, or indeed for crude mouse support.

this is a bit of a half-baked idea that i've not fully thought through, but perhaps it could be expanded out into something useful.


cheers,
rob   :-)


addendum: you may also want a MM.RELEASE to signal a finger being lifted from the touch screen (or mouse button up), and to get extra fancy a MM.MOVED(X, Y) for signal movement. but for basic GUI buttons just MM.CLICK(X, Y) would likely suffice.
Edited 2026-04-11 00:49 by robert.rozee
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11215
Posted: 03:52pm 10 Apr 2026
Copy link to clipboard 
Print this post

V6.02.02B2
PicoMiteRP2040V6.02.02B2.zip

PicoMiteRP2350V6.02.02B2.zip

New build PICOMITEMIN for the RP2040 with reduced flash footprint.
Removed from PicoMiteMin build:

Structures
Draw3D command and function
GUI
Turtle graphics
Regular expression support
Help command
VS1053 support
Tilemap command and function
SSD1963 support
ILI9163
SSD1331
ST7735 but not ST7735S
ILI9481IPS
ILI9481
ILI9488P
GC9A01
Virtual displays

RP2350 USB versions now support a USB flash drive as DRIVE C: Transfer rate is poor but it seems to work correctly e.g. runs Petscii off the flash drive
 
javavi

Guru

Joined: 01/10/2023
Location: Ukraine
Posts: 546
Posted: 06:33pm 10 Apr 2026
Copy link to clipboard 
Print this post

  matherp said  V6.02.02B2
RP2350 USB versions now support a USB flash drive as DRIVE C: Transfer rate is poor but it seems to work correctly e.g. runs Petscii off the flash drive


An attempt to copy a firmware file to another Pico2 failed
> COPY "PicoMiteRP2350.uf2 TO "C:/"
Error : Assertion failed


At the same time, copying the same file to the connected USB flash drive went smoothly, the file was copied.

P.S.
Reading the file list from the connected Pico2 (boot mode) is proceeding normally
> C:
files

C:/
16:20 05-09-2008 241 INDEX.HTM
16:20 05-09-2008  64 INFO_UF2.TXT
0 directories? 2 files

Edited 2026-04-11 04:51 by javavi
 
toml_12953
Guru

Joined: 13/02/2015
Location: United States
Posts: 602
Posted: 06:53pm 10 Apr 2026
Copy link to clipboard 
Print this post

Would it be possible to show the total space, space used and/or free space on a drive at the end of the FILES command (as well as the current info)?
Edited 2026-04-11 04:54 by toml_12953
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 11215
Posted: 06:58pm 10 Apr 2026
Copy link to clipboard 
Print this post

  Quote  Would it be possible to show the total space, space used and/or free space on a drive at the end of the FILES command (as well as the current info)?


No: you can use the relevant mm.info functions. Getting these numbers off FatFs can be very slow so not something to make routine.
 
bfwolf
Senior Member

Joined: 03/01/2025
Location: Germany
Posts: 235
Posted: 09:26pm 10 Apr 2026
Copy link to clipboard 
Print this post

  javavi said  An attempt to copy a firmware file to another Pico2 failed
> COPY "PicoMiteRP2350.uf2 TO "C:/"
Error : Assertion failed


I think that can't work either, since the Pico doesn't offer a FAT file system in boot mode, but rather a kind of "network file system", just like some digital cameras do.

Regards, bfwolf
Edited 2026-04-11 07:27 by bfwolf
 
     Page 3 of 8    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2026