Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:44 27 Nov 2024 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 : Pico MMBasic firmware with VGA and WiFi?

     Page 1 of 2    
Author Message
DavidAlanRoss
Newbie

Joined: 18/09/2023
Location: United States
Posts: 14
Posted: 05:10pm 16 Oct 2023
Copy link to clipboard 
Print this post

Hello,

First message. New to everything. Unfortunately, I Found no answers for my issue with search.

I bought and built the VGA PicoMite (https://www.siliconchip.com.au/Shop/20/6417?show_parts_list=1). It turned out very nice. I had hoped I could use VGA to HDMI converter cable to connect to my TV, but that didn't work, so I dug up an old VGA monitor. But that's not my primary concern at the moment.

I would like to be able to run a web server on the PicoMite, but the OPTIONS and WEB commands seem to be missing from the PicoMiteVGA.uf2 firmware. Is there a solution for this please?

Many Thanks.
 
amigawizard

Regular Member

Joined: 15/08/2023
Location: Australia
Posts: 43
Posted: 05:26pm 16 Oct 2023
Copy link to clipboard 
Print this post

Hi  David


             
  Quote   You have to get  a  WebMite  this unit has 'WiFi'
             WebMite.uf2  


      Wayne  !

`
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 05:37pm 16 Oct 2023
Copy link to clipboard 
Print this post

You can't have VGA on the Webmite. There isn't enough memory to do it. The point of the Webmite is that it produces a web site that you can connect to using a PC, tablet or phone so there is no need for a display.

The Webmite firmware only runs on the Pico W, not the ordinary Pico.

To get info on using the Webmite you need the manual for it.
Mick

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

Joined: 18/09/2023
Location: United States
Posts: 14
Posted: 12:26am 17 Oct 2023
Copy link to clipboard 
Print this post

Thank you for such kind and quick responses.

I've used the WebMite on a Pico W and connected via Mac Terminal easily enough.  I could never get the web server to work though. I'll pursue that more in the future.

I was just so enamored of the simplicity and 80s feel of the VGA PicoMite, and was disappointed to find that the web server option was not available. I understand the memory space issue though, I guess. Bummer. Could the web functions be added as libraries?

 
DavidAlanRoss
Newbie

Joined: 18/09/2023
Location: United States
Posts: 14
Posted: 12:42am 17 Oct 2023
Copy link to clipboard 
Print this post

Am I to understand from your post

  Quote  The point of the Webmite is that it produces a web site that you can connect to using a PC, tablet or phone so there is no need for a display.


that the editor can be routed to a web IP??

I was able to connect the WebMite to my SSD and get an IP address. But when I tried to connect with the browser, I just got a blank grey page. Odd that it was grey. But no text or other functionality. I even used different browsers since my daily driver, Firefox has all kinds of plug-ins and such. Still, no go.

I was also able to get Telnet working, but it was slow, so I reverted to the screen and cu commands which were much more responsive.

 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3150
Posted: 01:57am 17 Oct 2023
Copy link to clipboard 
Print this post

  DavidAlanRoss said  when I tried to connect with the browser, I just got a blank grey page


Did you have a program running on the WebMite which would serve a web page? There is no default web page--you have to build what you want.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
DavidAlanRoss
Newbie

Joined: 18/09/2023
Location: United States
Posts: 14
Posted: 02:05am 17 Oct 2023
Copy link to clipboard 
Print this post

Ah! I LITERALLY just got it to work and was about to write this message when I got the notification of your response.

Indeed, I was under the impression that the INDEX.HTML file on the Pico when connected as a USB device for firmware flashing was the file the example program in the manual was trying to display, but I had no luck with that at all. I finally just created a simple HTML file and saved it to the A: drive called mypage.html and changed the name in the code. Worked a treat.

Is it possible to access the directory where I found that INDEX.HTM files? I thought the manual said that was the A: drive, but my mypage.html file didn't go there.

 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2135
Posted: 05:00am 17 Oct 2023
Copy link to clipboard 
Print this post

The Pico can only directly access files in two places:-
A: which is created in it's flash memory.
B: an SD card attached to the WebMite or PicoMite and configured in OPTIONs.

INDEX.HTML has to be transferred to the Pico first.
The easiest way is to copy it to an SD card then plug that into the Pico and copy to A:
If you don't have a suitable SD module (one without a voltage regulator or level shifter) header pins (or wires) can be soldered to a MicroSD-to-SD adapter. As these are often supplied free with MicroSD cards you may have one spare.
SD Card pins (bottom view)
nc CS MOSI Gnd 3V3 SCK nc MISO nc
  _______________________________
 / 1   2   3   4   5   6   7   8 |
/9 CS MOSI Gnd 3V3 SCK G  MISO nc|
|nc                    n         |
|                      d         |
 
DavidAlanRoss
Newbie

Joined: 18/09/2023
Location: United States
Posts: 14
Posted: 05:28am 17 Oct 2023
Copy link to clipboard 
Print this post

Clever. I would never have thought to use an adapter as a MicroSD reader.

Thanks.
 
Grogster

Admin Group

Joined: 31/12/2012
Location: New Zealand
Posts: 9308
Posted: 05:28am 17 Oct 2023
Copy link to clipboard 
Print this post

Welcome to the forums.

Due to the VAST interest in the RP2040 chip, it is POSSIBLE that Raspberry Pi Org MIGHT release a new silicon with more memory etc, that would allow for a VGA Webmite, but that is only a maybe at this time.

As of right now, it is either VGA-mite or Webmite(or standard Pico-mite) - C'est La Vie....
Smoke makes things work. When the smoke gets out, it stops!
 
DavidAlanRoss
Newbie

Joined: 18/09/2023
Location: United States
Posts: 14
Posted: 05:47am 17 Oct 2023
Copy link to clipboard 
Print this post

I tried connecting a VGA to HDMI converter cable to connect to the TV. It didn't work.

So, I tried creating an HDMI connection from this video:

https://www.youtube.com/watch?v=GyZS_efRyiY

No luck there either.
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3802
Posted: 06:49am 17 Oct 2023
Copy link to clipboard 
Print this post

  DavidAlanRoss said  I was just so enamored of the simplicity and 80s feel of the VGA PicoMite, and was disappointed to find that the web server option was not available. I understand the memory space issue though, I guess. Bummer. Could the web functions be added as libraries?


They couldn't be added in any way because the Pico W has extra hardware (Infineon CYW43439 etc) to do the WiFi / BT stuff.

That hardware is not there in the Pico.

However... using a WebMite (Pico W) together with a PicoMiteVGA would be quite easy - just have them talk to each other (COM ports or whatever).

John
Edited 2023-10-17 16:53 by JohnS
 
DavidAlanRoss
Newbie

Joined: 18/09/2023
Location: United States
Posts: 14
Posted: 07:14am 17 Oct 2023
Copy link to clipboard 
Print this post


They couldn't be added in any way because the Pico W has extra hardware (Infineon CYW43439 etc) to do the WiFi / BT stuff.

That hardware is not there in the Pico.


Ah, of course. You need the chip, no doubt. What I SHOULD have said was, "Is it possible to add the functions as a library on the WebPico?"

But now you have me intrigued with the prospect of connecting the WebMite to a PicoMiteVGA via COM. I envy your experience to be able to say how easy it would be. I wouldn't have the first clue how to start.

 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 07:48am 17 Oct 2023
Copy link to clipboard 
Print this post

You can connect a Webmite to a PC via its USB console. You can then, if you are happy with entering html by hand, use the internal editor to create index.html by simply entering:
EDIT "index.html
You can then enter whatever you like and save it. By default it will go to drive A:
Mick

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

Regular Member

Joined: 15/08/2023
Location: Australia
Posts: 43
Posted: 08:04am 17 Oct 2023
Copy link to clipboard 
Print this post

David

  DavidAlanRoss said  I tried connecting a VGA to HDMI converter cable to connect to the TV. It didn't work.

So, I tried creating an HDMI connection from this video:

https://www.youtube.com/watch?v=GyZS_efRyiY

No luck there either.


      That will not  work  

      1       wire only  
      2       not  Basic  firmware
      3       PicoMiteVGA  not  VGA  pin`s

https://www.jaycar.com.au/digitech-vga-to-hdmi-converter-and-upscaler-with-stereo-audio/p/AC1718?pos=1&queryId=cb9f84d77a3118ef87ea10e5177129f5


      Wayne  !!

`
 
DavidAlanRoss
Newbie

Joined: 18/09/2023
Location: United States
Posts: 14
Posted: 08:09am 17 Oct 2023
Copy link to clipboard 
Print this post

  amigawizard said  David
      That will not  work  

      1       wire only  
      2       not  Basic  firmware
      3       PicoMiteVGA  not  VGA  pin`s


Thanks for the link. Sadly, I can't justify spending $99.

Sorry, I don't understand your three points. Can you elaborate please?
 
amigawizard

Regular Member

Joined: 15/08/2023
Location: Australia
Posts: 43
Posted: 08:26am 17 Oct 2023
Copy link to clipboard 
Print this post

David

      VGA to HDMI converter cable  is wire  only  do not work !

      https://www.youtube.com/watch?v=GyZS_efRyiY
      that is not 'PicoMite'   Basic  firmware

      'PicoMiteVGA'  has fixed  VGA  pin`s

      Wayne  !!!

`ps       Putty  will  Telnet
            set  keyboard  to ' The Backspace key ' Control-H '  '
            unset  Telnet  ' Return key sends Telnet New Line instead of ^M '

`
Edited 2023-10-17 18:43 by amigawizard
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6798
Posted: 08:33am 17 Oct 2023
Copy link to clipboard 
Print this post

Wayne's comments are regarding that add-on board. It can't be driven from MMBasic.

The Webmite firmware doesn't contain display drivers because it doesn't need them. :) It is simply a serves on the network.

The console connection (via a terminal emulator such as Tera Term connected to USB) is independent and will work anyway, but it's only a console. This is the same system for all MMBasic platforms. This is probably the connection you would normally use for programming, not the web interface.
Mick

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

Joined: 18/09/2023
Location: United States
Posts: 14
Posted: 08:38am 17 Oct 2023
Copy link to clipboard 
Print this post

I see. Thank you Wayne, Mick. Much appreciated.

I have found it fairly straight forward to Telnet to the WebMite and TFTP to send and receive files quickly and easily. I wish Telnet was a bit quicker though. Still looking into that.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9122
Posted: 09:11am 17 Oct 2023
Copy link to clipboard 
Print this post

  Quote  The Webmite firmware doesn't contain display drivers because it doesn't need them. :) It is simply a serves on the network.


The WebMite has a full selection of TFT display drivers - just not VGA. Please be careful to check what you write particularly when responding to newcomers
 
     Page 1 of 2    
Print this page
© JAQ Software 2024