|
Forum Index : Microcontroller and PC projects : MMBasic ANSI - MMBasic on Mac/Windows/Linux in a terminal
| Author | Message | ||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
A lot of boards (one of mine in fact) won't power the 5V (VBUS) over USB, and the keyboard needs that. Another one of my board does do this when I supply external power over the jack. If you have a USB breakout connector your could inject 5V. |
||||
| gadgetjack Senior Member Joined: 15/07/2016 Location: United StatesPosts: 233 |
That was it!!! I added power to my usb adapter and it ran right away! I never even thought about that myself. Ok , back to playing........Thank You. Jack |
||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
I am assisted by claude and codex. I am using 30 years of coding experience for design and architecture, but this would probably have taken me a year on my own. |
||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
Now you've got keyboard and a display - full computer! I am working on a CYD (Cheap yellow board) port - which will just be an original ESP32 port. Probably a lot more limited, but I think it will work. |
||||
| gadgetjack Senior Member Joined: 15/07/2016 Location: United StatesPosts: 233 |
I have 3 or 4 of those boards too so look forward to that release too. Jack |
||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
The port itself didn't take long. VGA is a bit of a heavy lift as the hardware is different the memory more constrained. The CYD LCD displays I think will be fairly standard, we'll see, I just ordered a few from amazon. So many dev boards... Some people do wood working, I collect dev boards. |
||||
| gadgetjack Senior Member Joined: 15/07/2016 Location: United StatesPosts: 233 |
You and me both. After I retired I started collecting lots of development boards from ebay and aliexpress. Every once in a while I get to use them for something neat, like game emulators or smart led marquee displays and such. Lot more fun than keeping factory lines running. |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8911 |
The trouble with them (apart from their tendency to breed) is that many are designed for C or Python breadboarding and tie up pins that MMBasic would like. Usually perfectly logical ones, nothing silly. Like why split the audio over two different PWM channels? Why put stuff like a UART in the middle of the HSTX so it can't be used? PSRAM has really messed things up - the perfect opportunity to put its enable pin in awkward positions... Looking forward to the CYDmite. :) I've just ordered a third as I don't really want to wipe ASCII Aquarium yet. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
Here's a CYD build https://github.com/jvanderberg/PicoMiteAllVersions/releases/download/latest/MMBasic-Anywhere-esp32-cyd-merged.bin This should work on any ESP32 classic - the 'CONFIGURE CYD' may work for your Cheap Yellow Display, it may not. it worked for mine. It supports sound, LCD, SD card, and wifi - no TLS, not enough space. |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8911 |
Thanks. :) My new display is with the UK courier now so I should get it either tomorrow or Wednesday, I think. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| gadgetjack Senior Member Joined: 15/07/2016 Location: United StatesPosts: 233 |
It powers up ok but the display is backward and upside down. Never saw that before. |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8911 |
Which version of the CYD are you using? The one with micro USB and USB-C seems to use a different display to the micro USB only version, even though they have the same part number. Then there is the R version of the part number, which I think is different again. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
Backwards as in reversed or mirrored? If so I can add an option to toggle that. You can try: OPTION LCDPANEL DISABLE OPTION LCDPANEL ST7789, RPORTRAIT, GP2, 0, GP15, GP21, INVERT As well to see if that fixes things. If it's truly mirrored I need that extra setting. |
||||
| gadgetjack Senior Member Joined: 15/07/2016 Location: United StatesPosts: 233 |
ESP32-2432S028. has 2 usb ports |
||||
| gadgetjack Senior Member Joined: 15/07/2016 Location: United StatesPosts: 233 |
It is mirrored |
||||
| Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 8911 |
That sounds like the one I should be getting. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
Give it a few minutes to redeploy, get the new firmware, there will be a new option OPTION LCDPANEL MIRROR ON OPTION LCDPANEL MIRROR OFF |
||||
| gadgetjack Senior Member Joined: 15/07/2016 Location: United StatesPosts: 233 |
That fixed it !!! I can't believe how fast you got this port done. I have been working on getting Basic32 on one of these units for a month now. This is WAY more powerful than that version. Another big Thanks !!! Jack |
||||
| gadgetjack Senior Member Joined: 15/07/2016 Location: United StatesPosts: 233 |
I know I sound like a broken record at this point , but touch is not working. My board has a XPT2046 touch controller for a resistive touch screen. Options will not take that as a controller option. This is not a big problem for me , I am going to play with as is right now. I know there are a lot of different types of the CYD modules. Probably going to be a headache. Jack |
||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
The CYD port actually defaults to the XPT2046 - the option list is mislabeled. There should be a calibration program on the A: drive, and a gui kitchen sink to test it. I could have something wrong or non-standard in the way its configured or the way the touch API works - if you've got a touch program that works differently, let me know. I am pushing a fix that shows the option properly, and allows you to set the touch driver directly, in case maybe your board has it on a different gpio. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |