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 : Updated PicoMite, PicoMite and WebMite Firmware
Page 1 of 4 | |||||
Author | Message | ||||
Geoffg Guru Joined: 06/06/2011 Location: AustraliaPosts: 3194 |
Peter has made some small updates to the firmware for the Pi Pico series. The version number is the same and you can download the latest from here: PicoMite: https://geoffg.net/picomite.html PicoMite VGA: https://geoffg.net/picomitevga.html WebMite: https://geoffg.net/webmite.html The manuals have also been updated to reflect the comments received on the last release (thanks guys, much appreciated). To encourage people to try out the WebMite I have included a demonstration web server (program + web page) in the WebMite download. It uses a DHT22 humidity/temperature sensor to monitor the conditions in a fictional greenhouse. The program is only 17 lines long and the Web page is just 3 lines. It does not get much simpler than that. This is what you might see in your browser: Geoff Geoff Graham - http://geoffg.net |
||||
disco4now Guru Joined: 18/12/2014 Location: AustraliaPosts: 897 |
Very minor, but it looks like the logic in MM.INFO(OPTION ANGLE) is reversed. > run After OPTION ANGLE DEGREES MM.INFO Says Option Angle is RADIANS RADIANS After OPTION ANGLE RADIANS MM.INFO Says Option Angle is DEGREES DEGREES Option Angle Degrees Print "After OPTION ANGLE DEGREES MM.INFO Says Option Angle is " MM.Info(OPTION ANGLE) a$=MM.Info(OPTION ANGLE) Print a$ Option Angle Radians A$=MM.Info(OPTION ANGLE) Print "After OPTION ANGLE RADIANS MM.INFO Says Option Angle is " MM.Info(OPTION ANGLE) Print a$ Latest F4 Latest H7 |
||||
JanVolk Senior Member Joined: 28/01/2023 Location: NetherlandsPosts: 145 |
I noticed that with the latest version, when requesting files from only the A: drive, the remaining flash memory is also displayed, which is a much appreciated addition. This is not shown with the SD drive which is a different kind of file system. This addition is not in the manual. > drive "A:/format" > files A:/ <DIR> . <DIR> .. 19:21 18-05-2023 4 bootcount 2 directories, 1 file, 712704 bytes free > Nice day. |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6798 |
I think Peter mentioned that, because of the size of SD cards, it would introduce too much delay to display the free space. It's not a bug. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
barewires Newbie Joined: 13/04/2015 Location: United KingdomPosts: 30 |
I just updated my PicoW and it worked, RTC ntp worked until I entered OPTION CPUSPEED 48000 and now appears bricked with repeating [CYW43] Failed to start CYW43 [CYW43] Failed to start CYW43. I reflashed to no avail and get no keep-alive LED. |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
I had that on a PicoW several months ago, and nothing I did revived it. I put it in my Pico parts box. Yesterday, lacking a W, I took it out and flashed the just-released firmware with no problem. It seems to be working fine. Mysteries. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
barewires Newbie Joined: 13/04/2015 Location: United KingdomPosts: 30 |
I loaded CLEAR_FLASH.UF2 (from April, perhaps it should be included in the latest package) and reloaded V5.07.07 but it failed again with OPTION CPUSPEED 64000 |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
I think I read that Peter restricted the minimum speed to which the W could be set--what happens at the normal speed? PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9129 |
Why not run at the default speed? |
||||
davematt Regular Member Joined: 27/09/2011 Location: AustraliaPosts: 51 |
Silly question... Somehow I have managed to completely misunderstand that the PicoWeb is only reachable on my local WiFi network. I would love to be able to reach it from anywhere (for example to check tank water level when away on holiday) Have I missed something obvious? Or should it be called Piconetwork? And is Web access doable? Any help greatly appreciated... Dave |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6100 |
To access anything on your local network form the big bad web, you need to do port forwarding on your router. That works for the WEB and TELNET access but TFTP is really only intended for local network and does not play well through routers. Opening up to the big bad world is risky - very risky. I would NOT do it for Telnet without a VPN setup. Your ISP often blocks port 80 so for web access an alternative port is preferred. Your ISP may use CGNAT which makes external access is difficult. Jim VK7JH MMedit MMBasic Help |
||||
morgs67 Regular Member Joined: 10/07/2019 Location: AustraliaPosts: 75 |
Would an email from the webmite do? sending emails tony |
||||
davematt Regular Member Joined: 27/09/2011 Location: AustraliaPosts: 51 |
Thanks Jim, take your point, much better to play safe. I have been using a picromite to send data to Thingspeak for many moons exactly as Peter described, is that sort of thing possible with the Picoweb? How safe would it be? And thanks morgs, had the same idea, would definitely be handy! Will test... |
||||
andreas Senior Member Joined: 07/12/2020 Location: GermanyPosts: 207 |
If one is using a wireguard vpn then your lan would be everywhere. You need: 1. A router capable of creating a wireguard vpn (i.e. a newer fritzbox) 2. A wireguard client on your notebook, pc or mobile phone. 3. A tftp client like atftp on linux. The wireguard does not need any "provider" as "man in the middle" - you are the only one in charge to manage the vpn - its yours! It is the most secure and fast vpn I know of. On my notebook and on my phone I have the wireguard client. Then I can get the "logfile.bas" from the webmite pico this way: atftp -g -r logfile.bas webmiteb or atftp -g -r logfile.bas 192.168.178.74 (if name resolution is not managed) -g means "get" -r means "the remote file with name:" If you want to send a file to the pico write: atftp -p -l somefile.bas webmiteb or atftp -p -l somefile.bas 192.168.178.74 (if name resolution does not work) -p means "put" -l means "take this local file:" -andreas Edited 2023-05-21 20:32 by andreas |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
Thanks for the hint about wireguard vpn. It looks very powerful. I will be investigating further. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4247 |
Hi Peter, others, I tried following the Webmite user manual, but have failed for hours to compile the simplest form of creating a graph in the webmite and showing it in an HTML webpage. Must be doing something wrong. I have OPTION LCDPANEL VIRTUAL_C set. created a circle saved it as "graph.bmp" For some reason the webmite sends the page, no error message, the browser is waiting, but never completes. Please show me the minimal basic server needed, and the minimal HTML page, since I am stuck and have no idea why. In the manual it says: Oops...can't do that in the forum, it processes the HTML.... Is the backslash at the end needed ? I tried without, but no change. Volhout P.S. I have it a version running displaying a web page in an HTML page. But not a webmite created graph. Edited 2023-05-26 00:44 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
Yes you need the slash (it's not a backslash), because: the general syntax of HTML is <tag> ... </tag> some can be shortened to <tag ... /> Did you try Geoff's sample code? Also, the various things LucV posted? John Edited 2023-05-26 02:54 by JohnS |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4247 |
Hi John, Finally got it working. There must be a comma between the filename and format descriptor in: web transmit file a%,"filename.bmp","image/bmp" It is however annoying that the html files have long lines, and the webmite build in editor does not allow editing these long lines. I generally develop in MMEdit, but debugging goes faster using the built-in editor. That goes well for the basic files, but the html files you have to break up lines, edit them, and paste them together again. Volhout PicomiteVGA PETSCII ROBOTS |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4247 |
Peter, Geoff, I would like to report an anomaly. WebMite MMBasic Version 5.07.07 OPTION COLOURCODE ON OPTION LCDPANEL VIRTUAL_C OPTION WIFI ziggo279823, ********** OPTION TCP SERVER PORT 80 Working system with webserver (bas file) and webpage (html file). View page on phone/pc. Open build in editor through USB port to edit the server program. While editor open: On phone/pc refresh webpage. The WebMite hangs (USB connection still open, but no command line anymore), no reponse. I repower to revive the WebMite. Have not found other solutions yet. Volhout P.S. This happened to me because I created a webpage that auto refreshes itself every 10 seconds. So opening the build in editor, and few seconds later all is locked up. Edited 2023-05-26 15:18 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 3804 |
Why can't you split them up? You can add white space (e.g. CRLF) in the file and/or if you mean the .bas code use such as a$ = a$ + "not too long text" a$ = a$ + "more text" (Or read it in from a file.) John Edited 2023-05-26 17:00 by JohnS |
||||
Page 1 of 4 |
Print this page |