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 ?
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)
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 ?
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)
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
Are there some alternatives ? I really wanted to use the ESP-07 because it's external antenna. Are there maybe other solutions ? Note:
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:
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.