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 : CMM2 Questions ESP01
Page 1 of 2 | |||||
Author | Message | ||||
homa Guru Joined: 05/11/2021 Location: GermanyPosts: 351 |
@Peter: Update to CMM2V5.07.02b11 worked! (A friend had a USB type A to type A cable for me.) @the community: In the manual we have described the possibility to install an ESP-01 for WLAN console access. What firmware does the ESP-01 need and where can it be found? The manual is very vague about this: And are there any plans to add connectivity (like the WebMite) to the CMM2? Personally I think that would be great. Thanks for the help. Matthias |
||||
TassyJim Guru Joined: 07/08/2011 Location: AustraliaPosts: 6094 |
There are lots of different versions of firmware for the ESP01. Some are from the manufacturer and others are by various people. Each has good points and which one you use depends on your preference and the use you have for it. The interface to the CMM2 is through serial so there are no special needs. It would be difficult to choose one particular firmware and expect it to suit everyone so doing your own control in Basic is best. You can also use the ESP32 modules and even a WEBmite as an interface. Jim VK7JH MMedit MMBasic Help |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6772 |
I rea;;y should have another go with a ESP8266-01S. I've never managed to get one to work satisfactorily yet. :( I think I still have a couple around somewhere. It's a case of finding somewhere to set up two systems as switching this monitor between two is a pain (it feels like it take ages to resync). Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
Looking to renew heartbreak? Yes, I've gotten them to work--maybe even a dozen. Not worth the pain--especially compared to something like Annex32 Basic on an ESP32-S2Mini, flashed from your web browser, and costing only $2.50 each, quantity 4, including shipping. But the OP apparently wants an ESP-01 in "passthrough" mode, where it just provides access to the CMM2 console. I think there were several posts where someone was successful with this for the CMM2. There are apparently a number of options for ESP-01 firmware, including the stock firmware, for which there is an "AT" command which enables passthrough. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6772 |
Do you think banging my head against the wall would be even more painful for the ESP8266-01S than it has been for the Pico W so far? ;) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4222 |
@Mick, You are aware Peter fixed something 2 weeks ago in the WebMite that was quite essential ? Maybe related to your problem ? I am asking becuase I have a similar project on the shelf, that could use a Webmite, and appart from Geoff s watering system, I haven't heard many that are succesfully applying a Webmite. I just heard learning curve issues, and real problems. But no "success story" yet. I did my own tests, but shelved the project for half a year, mainly for PETSCII. I need some "drive" to pick it up again. (It is the tropical rain forest frog habitat controller, that I first need to finish the "wet sock" humidity meter for, since no commercial humidity sensors can sustain 90%+ humidity for long). Volhout PicomiteVGA PETSCII ROBOTS |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6772 |
At the moment I've taken the Pico W out, so I'll have time to update it and have another play. Just a little busy with other things at present. The Webmite seems easy enough to actually use, it was just too unstable for me in this particular application. After an update things may be better. Just in the process of acclimatising some fish to their new home. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
homa Guru Joined: 05/11/2021 Location: GermanyPosts: 351 |
I have been using the WebMite in my home automation system for several months now to read the "analogue" gas meter with magnetic contact via reed contact. The pulses are then sent via MQTT to my broker in the Home Assistant. This works quite stable, except that the WLAN must not fail. But my question was, which FW do I need for the ESP-01? Doesn't the CMM2 need to respond to the terminal connection or request from my PC with terminal software and isn't this directly included in the CMM2 FW? Or is for that the standard FW with AT commands for the ESP-01 sufficient? The manual is quite unspecific in this respect. And I can't find the right entries with the forum search :-( Matthias |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
I think ESP-link was the firmware people were using, but I don't remember whether that was specifically on the CMM2 or on the PicoMite and other 'mites. See Hackaday (not 'mite related). PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
homa Guru Joined: 05/11/2021 Location: GermanyPosts: 351 |
Hi all, my solution: https://github.com/jeelabs/esp-link > option list CURRENT VGA mode 800x600 RGB332 CURRENT DISPLAY 50,100 OPTION DS3231 ON OPTION USBKEYBOARD DE OPTION MOUSE 0,0 OPTION CONSOLE PORT COM 2 > Pin assignment: Reset - gpio0 ISP/Flash - disabled Conn LED - gpio2/TX1 Serial LED - disabled UART pins - normal RX pull-up - check And TeraTerm with new line: AUTO Submit: CR + LF works! The biggest difficulty was to flash the ESP-01 correctly, but with this link and EDGE it was really easy from the browser: https://www.zuidwijk.com/using-esp-link/#howto Thanks for the tips Matthias |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6772 |
I honestly can't see why the standard firmware on the ESP8266 shouldn't work. In theory it's preconfigured as a transparent serial device and there shouldn't need to be any need for re-flashing it. You should only need to change the firmware if you need to do something non-standard. I'm terrible at these things and even I've had one connect to my router with no changes. It didn't get any further though. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 857 |
I have actually managed to have the Arduino IDE installed for more than 5 mins (6th attempt). It's still horrible and only makes me more appreciative of MMBasic. That being said, I find that working with the ESP32 is a no-brainier because it's already out there. Cut and paste. I had it set up to be my Bluetooth device for the Picomite within minutes and now I don't need to mess with AT commands, etc. What I'm really excited about is the ESP-NOW that I will play with when I get my current project out the door. But again, it's all there. If I need to add logic, I do it in BASIC and have Copilot generate the Arduino gobbledegook. In this case, I don't need I/O expansion but it's right there |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6772 |
You'd have to pay me to install that load of fetid dingo's kidneys* on here again. I have much more interesting things to do with my life, like watching 24hr shopping channels and studying the Korean subtitles on knock-off DVDs. *Thanks, Douglas Adams. :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 857 |
Aww, c'mon Mick...no pain no gain For a one-time-write procedure, it's worth it and pretty darned impressive performance. For integers: Add: one clock Multiply: two clocks Divide: four clocks |
||||
homa Guru Joined: 05/11/2021 Location: GermanyPosts: 351 |
And I know even less about it . My ESP-01 didn't seem to be flashed at all. Hence my question at the time and I wasn't aware that there was an “original” firmware. Hence the solution I mentioned. At least it worked. Which of these files should be flashed and how? These are the real firmwares, aren't they? https://www.espressif.com/en/products/socs/esp8266ex/resources Matthias |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6772 |
No doubt they are real, but I've no idea otherwise. Mine came with the "standard" AT firmware in them, that responds to AT+ commands. I thought that was the usual thing. No - I haven't got a spare hour to install that junk. Neither do I have the spare local storage on C:. I have almost 60GB in total on there and 4MB of RAM pushed along by a Celeron. I get frequent low disk space warnings on there! Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
okwatts Regular Member Joined: 27/09/2022 Location: CanadaPosts: 59 |
Having just received a CMM2 board from Vegipete, I might try an ESP-01. I did try it with Mick's PicoMite backpack but there is a difference between the ESP-01 and the ESP-01S in that the first requires a pullup resistor on the enable to 3.3V to even work in one of the USB adaptors for the PC. I used the ESP-01S in the picomite backpack but have added the resistor to one of my ESP-01 units and on the other I added it to the dongle. I only tried it using the AT command set but haven't really used it on the Backpack. Other than that I can't comment further. |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
If your use is not commercial, why not use Annex Basic? Home page: Annex Basic Web Flasher: Browser-based installer Forum: https://cicciocb.com/forum Easy to flash any variety of ESP from your browser. Then when connected, you have a browser-based editor and run/debug environment with a programming language which will be familiar. If all you want to do is send and receive messages, this is easily done with not very many lines of code, and you have the choice of UDP, ESP-Now, MQTT, serial, and email. For the ESP-01S (which has no USB), I flash with this adaptor: For Firmware Flashing Easy to connect via serial with this adaptor: Serial Adaptor PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6772 |
Annex is nice - just don't expect it to be anything like MMBasic. :) You are replacing the entire thing though. IMHO the best way is to create that software link that allows a new ESP8266-01S to work as a MMBasic peripheral just as it comes, out of the box. If you have to reprogram it you've lost all compatibility instantly. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
lizby Guru Joined: 17/05/2016 Location: United StatesPosts: 3150 |
Anyone who has actually used the AT commands in the original firmware is likely to appreciate the vastly greater power and convenience of other ESP firmware. If you flash something like ESP-Link, you've got immediate pass-through (after you set up the wifi--just as you have to do with AT commands with the original firmware). In addition, you may well get "original" firmware which is very much outdated compared to the most recent "AT"-based firmware. PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed |
||||
Page 1 of 2 |
Print this page |