| Menu | JAQForum Ver 19.10.27 |
Forum Index : Microcontroller and PC projects : PicoMite V6.02.02 betas
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 |
||||||
You really are getting far too good to us, Peter. lol Thanks. :) Edited 2026-04-08 21:38 by Mixtel90 |
||||||
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 |
||||||
Did you try it without line numbers? |
||||||
|
||||||
Red faced here but what does all this mean ? |
||||||
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 |
||||||
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. |
||||||
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. ![]() |
||||||
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. :) |
||||||
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. |
||||||
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 |
||||||
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 |
||||||
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 |
||||||
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 |
||||||
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 |
||||||
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 |
||||||
No: you can use the relevant mm.info functions. Getting these numbers off FatFs can be very slow so not something to make routine. |
||||||
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 |
||||||
| The Back Shed's forum code is written, and hosted, in Australia. |