![]() |
Forum Index : Microcontroller and PC projects : Noob-ish question
Author | Message | ||||
CaptainBoing![]() Guru ![]() Joined: 07/09/2016 Location: United KingdomPosts: 2170 |
morning forum, you are all well I trust? I haven't really kept up to date with the world of PicroMites and I get the impression the different flavours of platform and firmware can be dizzying. So... I want to be really lazy and ask for a mix that will solve the following. I need a standalone web server that can just serve a static HTML page. I don't want any OS (so no boot time or updating etc) and it has to simply accept some input string on a serial port, process it and build the static html to serve when requested. I was going to go down the route of '170+ESP8266, but then I thought the Pico might be a better fit. I think a tidly Pico solution might be most suitable and if this can be done with a 2040 (I have 3 redundant in my workshop) then that is the way to go - I just need some guidance on the platform and version of software to load that will connect to my LAN and service HTTP requests. any input gratfully recieved h Edited 2025-05-12 21:11 by CaptainBoing |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 469 |
I don't clearly understand your intention. Do you mean to combine 2 pico's like WebMite and RP2040? Anyway I would suggest the very latest release of firmware version and if you need USB its beside VGA/HDMI a basic choice. The non VGA/HDMI versions support LCDs in full extent, WebMite I _think_ only basic graphical commands for LCD but no VGA/HDMI. |
||||
PhenixRising Guru ![]() Joined: 07/11/2023 Location: United KingdomPosts: 1331 |
I am sold on the ESP32 + Mite. Everything is already there for Bluetooth, WiFi, ESP-NOW, etc. |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7819 |
If you try a WebMite I hope you have more success than I did. The firmware is supposed to have improved a lot since then. The ESP modules seem to work very well, but it's definitely not MMBasic. I found that I spent more time looking at the instruction manual than the job deserved and shoved the thing in a drawer. All sorts of bells and whistles and what looks like useful GPIO, but don't be fooled. A lot of those pins are useless to the user. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 469 |
The small serial to ip esp modules could probably be attached and perhaps writing some kind of web server code in MMBasic? |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5023 |
Hi Grogster, This is a simple training, provided by the dutch member LucV, on how to build a simple HTML page on the webmite, and pass a parameter to it, and read values back into MMBasic. webmite training If you are willing to get educated, this may help to get you started. I think the description you gave should match this level of knowledge (you may want to add a nice background picture) but this should be the essence. Regards, Volhout PicomiteVGA PETSCII ROBOTS |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 469 |
Sorry! After reading your post some times: I think that WebMite is exactly made for e.g. your use case and offers everything to realize it. Use the latest firmware and some time of work. It offers ftp,telnet and many other nice features beside only building a webside Edited 2025-05-12 23:36 by dddns |
||||
lizby Guru ![]() Joined: 17/05/2016 Location: United StatesPosts: 3348 |
Sorry to be a PicoMite/WebMite heretic here, but for my money (and time), Annex RDS Basic on a (for instance) ESP32-C3SuperMini is about ideal. ![]() ---------------------------------------------------------------------------------------------------------------------------------------------------------------- ![]() You can get rid of the buttons on the web page output so you just have a clean page. The code contains a little kluge so that I could use the "Immediate" window to enter the html to be displayed instead of the serial connection, but it should work as is through serial. Of course, a$ can be as complex as you want (no effective limit to a string size), or it can contain values which you massage to create your html text. For the most bare version, the DO...LOOP would be replaced by WAIT, and "html a$" would go in the serin routine. ~ Edited 2025-05-13 00:44 by lizby PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7819 |
That's about as far as I got too. :) You can make simple buttons and things, but I found it messy to make them do stuff, especially after playing with the GUI stuff on the PicoMite. I had already hit the GPIO limit too so there wasn't a lot of point in taking that project much further. I simply gave up on wi-fi and went for a self-contained display. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |