What is the difference between ESP-12E and ESP-07 ?

Hello falks,

I have a problem with the ESP-07. I wanna use the Json-ssid-storrage software. But my SSID is not stored in the ESP-07. But when I try it on the ESP-12E, than it works. Is there a differrence between them ? Has it somethink to do with the flash ?

Or is it because I ripped of the CAP for using the external antenna ?

we have no clue what this can be...


The ESP-12E comes usually with 4MB of flash memory, which can be used to store program code and data. The ESP-07 has with varying amounts of flash memory (1MB or 2MB) ➜ may be you don't have a partition for data ?

The differences are marginal, but could be related to flash-size. If you upload with a higher setting for flash than is available, it is possible that the section that should be partitioned for eeprom & wifi storage may be not actually there.

So with what settings for board and things did you do the upload ?

As I said before: it works very finde on the 12E. But when I flash the exact same code on the 07, than there is no JSON file stored. I have another file which I store on the memory via SPIFFS. This works great. But it does not work with the .json file.

Really ? Never thought that it comes with varying memory sizes. Are you sure ? (not wanna be disrespectful)

I don't know what you mean by that ?

Never thought about it :frowning:

Okay, I should read out the datasheet. But is the size all same on each ESP-07 device ?

the modules you buy come with External SPI Flash. Usually the modules are mounted with an 4 MB external SPI for the ESP-12 and only 1Mb for the ESP07. Theoretically you could have up to 16MB.

I think I've seen 2 MB modules, but I'm not 100% sure it was indeed a 07

First of all do you have a ESP-12E ? i haven't seen one of those except on a nodeMCU development board, i do have ESP-12F barebones.
The ESP-07s should also have 4MB Flash, so that should not be an issue. Do you have the Board settings exactly the same for both units ?

You know what? Now I'm gonna upload the code again, and look the log-files to see how much flash size is actually there :smiley:

yeah, I also might have been victim of aliExpress' marketing :wink: or it might have been one of the new ESP8285 at the time...

I have only found those as ESP-01s with 1MB flash, i buy those 50 pcs at a time, gotta be careful though they look exactly the same as ESP8266's Took me a week to work out what i had to do to get them to work. (they advertise them now as ESP8258 to make things more confusing)

I stopped using those for some time now - I mostly use the ESP32

damnn. Now I know why the json-file is not stored. I have uploaded the scetch... the log file has detected a 1MB flash on the ESP-07. And on the ESP-12E it has detected 4MB

So I can't use the ESP-07 for my code :frowning:

Are there some alternatives ? I really wanted to use the ESP-07 because it's external antenna. Are there maybe other solutions ? Note:

it has to be the ESP8266 (so no ESP-32 allowed)

maybe soldering an external antenna ?

May be you can use SPIFFS (SPI Flash File System) on an ESP-07 module? I never tried

i am sorry i might be dumb tho,
i mean a JSON file is a relatively small file right...
so why the 1mb flash is not enough?
:innocent:

I don't know...wait... I'm gonna send you a screen shot here..

I am using it already for other .txt files on the same project. but the .json file has to be on its own.

And by the way: I have just learned, that the ESP-07 is not FCC aproved, could it be true ? I've seen it here:

https://www.esp8266.com/wiki/doku.php?id=esp8266-module-family

Hope you can follow me, but I have seen another thing: i you scroll down the website, you can see that there is a second model of the ESP-07. It is called "ESP-07S" so with an extra S. And if you read out the FLASH size, it says:

ESP-07 1MB FLASH
ESP-07S 4MB FLASH

so is this my solution :smiley: (I am happy if yes)

I don't understand what it means "to be on its own"?

I mean: the .json file has to be there. I can't use other files for exampl a .txt file to store the wifi credentials on it. The wifi credentials are stored in the .json file, and the other files I am using are for other things.

But anyway, read my new posts. I guess I have find out the problem ??? (please help)

Of course you can but it will be fairly small, mind you it does depend a bit on the size of your program, and whether you intend to use OTA updates. 1MB flash will most likely suffice, but you will have to make a SPIFFS partition in settings, and not depend on flash size detection (chances are that it will forfeit SPIFFS if it finds only 1 MB)

It will be in SPIFFS though, normally speaking.

That is possible.

Yes that is true,

No that is clear, but the storage of the file must be in SPIFFS (or littleFS) or it won't be accessible for the sketch to use.

So all in all, yes, get a ESP-07S with 4MB, but i think you can make it work if you set the partitioning manually to something like '1MB 128KB SPIFFS' (instead of auto detect, because then it will default to no SPIFFS) And if your compiled size stays below 48% OTA should still work.