Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 16:55 02 Aug 2025 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 : ESP-01 AARRGGHH!!!!

     Page 1 of 2    
Author Message
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7938
Posted: 09:07pm 23 Sep 2021
Copy link to clipboard 
Print this post

Does anyone know where there is a *SIMPLE* guide to using these things - that doesn't even mention he word "Arduino"? No, I'm not going to give in, buy one and spend a year learning an obscure C dialect, I'd rather just forget the ESP-01 than consider that.

I don't want to build a programmer on breadboard - I have one with a switch. (Of course, it came with no instructions whatsoever).

The info on updating the firmware seems to be written in Hebrew and never seems to go step-by-step.

The documentation was written for people with a PhD in designing computer chips while riding a unicycle.

More seriously, the display in the latest version of the programming software isn't like the display shown in the instructions. I managed to get the thing to read the data off the ESP (after changing the SPI speed from 40MHz to twenty-something - no-one warned me that this might happen). I have the zip of the latest AT system, but finding out how to install it is a nightmare. I have the instructions that tell you to put certain files in certain places (but not how to do it) but it shows extra files in the list that aren't in the package that I have. Figuring out which bits are needed for a 4 Mbit module is a pain anyway.

I obviously need a 10yr old Arduino "coder" who could sort this c**p out in 10 mins...

:)
Mick

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

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 10:38pm 23 Sep 2021
Copy link to clipboard 
Print this post

There's this thread with successful flashing: Updating ESP-01 AT firmware

And this one:  Flashing the ESP-01
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7938
Posted: 06:46am 24 Sep 2021
Copy link to clipboard 
Print this post

Thanks lizby - you may have saved a little of what remains of my sanity. :)


blurble wurble ...
Mick

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

Joined: 11/01/2020
Location: Canada
Posts: 42
Posted: 10:49am 24 Sep 2021
Copy link to clipboard 
Print this post

Hi,

For anyone looking for more info on the ESP (ESP8266 and ESP32) checkout Random Nerd Tutorials at https://randomnerdtutorials.com/ and Simple Projects at  https://simple-circuit.com/   I have found these sites excellent.

Don
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7938
Posted: 11:45am 24 Sep 2021
Copy link to clipboard 
Print this post

Thanks, Don, but nothing that uses an Arduino or the Arduino IDE is of any use to me, I don't think. I'm no fan of them at all - or the C language in any of its variations. As I don't have an ESP32 that stuff isn't of much interest to me either. Thanks anyway, I'm sure your links will be of help to someone. :)

I did once play with an Arduino but their IDE is too big (over 500MB) and simply isn't practical on my little fanless PC. It's fast enough, but storage on C:\ is restricted (less than 60GB in total) and I can't justify it.
Mick

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

Guru

Joined: 25/07/2019
Location: Germany
Posts: 486
Posted: 12:17pm 24 Sep 2021
Copy link to clipboard 
Print this post

Can someone please tell me what the practical use is to combine any Mite with an separate ESP-Module?

I also have not done anyhing with any ESP or Arduino Stuff myself yet for generally not being such a fan of WiFi or C (though basically understanding it).
Andre ... such a GURU?
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7938
Posted: 03:31pm 24 Sep 2021
Copy link to clipboard 
Print this post

Yes.  :)

If you have, say, a 'mite with an ESP-01 and a touch LCD display you can use it as a controller. Link it to the local wi-fi. Elsewhre, have another 'mite with an ESP-01 and, as long as it's on the same network, that one could be controlled by te first.

Or you could just have a little board with an ESP-01 and some sensors. Leave it to monitor a fish tank via your phone and send an alarm if the PH goes out or the temp drops.

Alternatively, use the connection to the network to connect to internet time or weather servers. Use one as a web server on your network and control it from your phone. There are lots of possible ideas.
Mick

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

Guru

Joined: 25/07/2019
Location: Germany
Posts: 486
Posted: 06:23pm 24 Sep 2021
Copy link to clipboard 
Print this post

Thanks for elaborating!

Yes, but would you actually need a Mite for it or not just the ESP itself?

What does it really add to the CMM2 for example?
Andre ... such a GURU?
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5091
Posted: 08:16pm 24 Sep 2021
Copy link to clipboard 
Print this post

The esp-01 has 2 digital inputs, if you program it with annex rds, you could proram in basic, and use the 2 pins to connect to an I2c adc
Search for Annex RDS on the web

If you have the blue ESP-01 it may have only 512k memory, so you need to use the simpler esp basic, since annex requires 1 meg memory.

Or use the arduino ide to program it in C.

Volhout
Edited 2021-09-25 06:40 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7938
Posted: 08:22pm 24 Sep 2021
Copy link to clipboard 
Print this post

The CMM2 can't connect to wi-fi without something like that.  :)  The ESP-01 is basically an interface block to connect a serial port to wi-fi. That's why it uses AT commands by default - it looks like a modem.

The ESP modules are clever, but it all depends on what you want to do. They have limited I/O because they are actually microcontrollers. Linking them to something like a CMM2 opens up a lot of possibilities that they couldn't do otherwise.

An ESP-01 only has 4 I/O pins and you have to be careful how you use IO2. IO1 and IO3 are usually used for the serial TX / RX. You could use I2C to expand the I/O on an ESP-01 though.
Mick

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

Guru

Joined: 25/07/2019
Location: Germany
Posts: 486
Posted: 04:14am 25 Sep 2021
Copy link to clipboard 
Print this post

Thanks for explaining.

Sadly I cannot go on having trouble posting.
Andre ... such a GURU?
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 4044
Posted: 07:57am 25 Sep 2021
Copy link to clipboard 
Print this post

Stick to standard ASCII.

John
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7938
Posted: 08:41am 25 Sep 2021
Copy link to clipboard 
Print this post

@ Poppy:

[spc] ! " # $ % & ' ( ) * + , - . /
0 - 9
: ; < = > ? @
A - Z
[ \ ] ^ _  `
a - z
{ | } ~

And nothing else apart from the emoticons to the left.

:)
Edited 2021-09-25 18:42 by Mixtel90
Mick

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

Regular Member

Joined: 06/02/2012
Location: Italy
Posts: 55
Posted: 09:53am 25 Sep 2021
Copy link to clipboard 
Print this post

Hello to all.

Sorry for the intrusion.
Dear Mixtel90 you can see this guide "Guide on how to program an ESP-01 on IDE Arduino", it is in Italian but you can use Google Translator.
Hello and good luck to all.

Raros
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7938
Posted: 10:40am 25 Sep 2021
Copy link to clipboard 
Print this post

Thanks, Raros. I'm avoiding *everything* to do with Arduino though. :)
Mick

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

Joined: 17/05/2016
Location: United States
Posts: 3378
Posted: 11:42am 25 Sep 2021
Copy link to clipboard 
Print this post

  Volhout said  The esp-01 has 2 digital inputs, if you program it with annex rds, you could proram in basic, and use the 2 pins to connect to an I2c adc
Search for Annex RDS on the web

You can also use Rx and Tx as digital pins, so as Mixtel90 suggests, 4 I/O pins. +1 for Annex RDS for the ESP8266 (including ESP-01) and ESP32--lots of wifi-enabled capability there.

  Mixtel90 said  The CMM2 can't connect to wi-fi without something like that.  :)  The ESP-01 is basically an interface block to connect a serial port to wi-fi. That's why it uses AT commands by default - it looks like a modem.

The ESP modules are clever, but it all depends on what you want to do. They have limited I/O because they are actually microcontrollers. Linking them to something like a CMM2 opens up a lot of possibilities that they couldn't do otherwise.


True certainly that the CMM2 offers many features unavailable on the ESP8266 and ESP32, especially the advanced graphics, but otherwise much of the pin I/O available with MMBasic is also available with Annex on the ESP.

Some other uses of the ESP-01 with the CMM2: jirsoft's Napoleon Commander, frnno967's
Maxiterm BBS client, html server.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Raros

Regular Member

Joined: 06/02/2012
Location: Italy
Posts: 55
Posted: 01:55pm 25 Sep 2021
Copy link to clipboard 
Print this post

  Mixtel90 said  Thanks, Raros. I'm avoiding *everything* to do with Arduino though. :)


Sorry Mixtel90.
I translated your first post badly.  

Bye, Raros
Edited 2021-09-26 00:01 by Raros
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7938
Posted: 03:06pm 25 Sep 2021
Copy link to clipboard 
Print this post

No problem, Raros. You were trying to help. I appreciate that. :)
Mick

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

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 7938
Posted: 06:20pm 25 Sep 2021
Copy link to clipboard 
Print this post

Yay!
Peter's instructions (lizby's first link) worked perfectly first time. :)

I'd been using the latest flashing software (3.9.0) and the NonOS_AT_Bin_V1.7.4 data and couldn't get it to work. There is something strange though, the 3.9.0 software doesn't show the Size column so it couldn't be selected - I assume it was working from the read data. Maybe it wasn't.

-----------------------

This looks interesting (even if it does involve Arduino!):
https://www.e-tinkers.com/2020/04/a-better-way-to-use-esp-01-as-wifi-shield/
Using state machine design to interact with a ESP-01.
Edited 2021-09-26 05:39 by Mixtel90
Mick

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

Joined: 20/02/2014
Location: Austria
Posts: 129
Posted: 07:51pm 25 Sep 2021
Copy link to clipboard 
Print this post

As many users seem to "play" now with ESP8266 and MMbasic - just a reminder

There is ESPterm, a Web based VT1xx emulator, written by Ondrej in Prague in 2017
I posted the details & pointers, (which are still valid) here:

ESPterm Topic

He added some new features in 2018, like I/O port control via API or WEB
But as Ondrej has a fulltime job now, he no longer enhances ESPterm

I used it some time ago and found it rather stable and useful

Everything is documented on Github & an excellent integrated help
(Also on ESPterm Github Demo Page)
ESPterm Help Demo/Docu
 
     Page 1 of 2    
Print this page
The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025