Search found 33 matches

by lazarvgd
Mon Dec 07, 2020 10:25 am
Forum: General Discussion and Questions
Topic: How robust is MicroPython file system?
Replies: 4
Views: 341

Re: How robust is MicroPython file system?

MicroPython currently supports two filesystems, FAT32 and LittleFS (there are also a couple of hybrid options for the STM32 and ESP32). FAT32 is not particularly resilient and can easily be corrupted in the event of a power failure. LittleFS has been designed to be robust even in the face of power ...
by lazarvgd
Sun Dec 06, 2020 12:33 pm
Forum: General Discussion and Questions
Topic: How robust is MicroPython file system?
Replies: 4
Views: 341

Re: How robust is MicroPython file system?

You haven't told us what hardware you're using. If it's a Pyboard you may be hitting this issue . On other platforms the problem is most likely to be electrical power related. Although code which fails leaving files open can corrupt any filesystem: use Python context managers to ensure this doesn't...
by lazarvgd
Sat Dec 05, 2020 9:10 pm
Forum: General Discussion and Questions
Topic: How robust is MicroPython file system?
Replies: 4
Views: 341

How robust is MicroPython file system?

Hi there, I have used MicroPython before for a few projects and I really liked how easy is to write powerful apps with such an ease. But the problem that I very often run into is damaging the file system. For example, if the code run into a problem, I programmed to perform restart of the board or if...
by lazarvgd
Tue Feb 25, 2020 6:53 am
Forum: General Discussion and Questions
Topic: micropython and esp32 in greenhouse
Replies: 2
Views: 595

micropython and esp32 in greenhouse

Hello, Probably this question is asked a few times, but I cannot find it with regular forum search, so I will ask it again. If you want please move/remove the question if ti violates some of the rules. :) I would like to ask you guys, more experience, engineers for an advice using ESP32(or 8266) and...
by lazarvgd
Mon Apr 01, 2019 11:41 am
Forum: ESP8266 boards
Topic: Esp8266 setup mode feature
Replies: 0
Views: 721

Esp8266 setup mode feature

Hi, I am thinking about creating small device with a few sensors that can connect to wifi network and send data over the mqtt protocol. The problem is that I do not know how to allow feature on esp that has ability of initial setup, so user can configure with smart phone, wifi network that controlle...
by lazarvgd
Wed Feb 13, 2019 6:56 pm
Forum: ESP8266 boards
Topic: Lolin board erase everything from flash
Replies: 6
Views: 1739

Re: Lolin board erase everything from flash

Hi there, It is not problem that board is erased but the thing that is unreliable. I used the board to control my heater in flat. In case that something goes wrong with board I can set flat on fire. Now I am using arduino and rtc just to be sure. But nevertheless I like this board and would like to ...
by lazarvgd
Mon Jan 21, 2019 10:07 pm
Forum: ESP8266 boards
Topic: Lolin board erase everything from flash
Replies: 6
Views: 1739

Re: Lolin board erase everything from flash

The board is so tiny, it wouldn't surprise me if it had no such function. A good idea might be to hook it up to a cell phone charger battery. I bought one for my Rpi and it keeps the thing powered for 3 days on one charge. It would be best if the cell phone charger battery has both an in port and a...
by lazarvgd
Mon Jan 21, 2019 9:51 pm
Forum: Drivers for External Components
Topic: Is there Ampy alternative?
Replies: 7
Views: 4902

Is there Ampy alternative?

Hi there, Recently I have reported that I am getting some problems with ampy when I pushing files to the esp board. Today I got the answer on GitHub, from Adafruit, that they no longer want to maintain the ampy project and it can be forked if somebody wants to contine development. Please read whole ...
by lazarvgd
Mon Jan 14, 2019 9:51 am
Forum: ESP8266 boards
Topic: Lolin board erase everything from flash
Replies: 6
Views: 1739

Lolin board erase everything from flash

Hi there, I am using a NodeMCU Lolin board to control my home heater. The problem is that I had electricity problems due to maintenance in my street. What I have found is that the board has stopped working. When I entered to the serial monitor to see what are the outputs of the board, I have found t...
by lazarvgd
Fri Jan 04, 2019 12:33 pm
Forum: ESP8266 boards
Topic: Unable to operate with flash on Lolin board
Replies: 7
Views: 1722

Re: Unable to operate with flash on Lolin board

Here is something that might help... with the Ampy software I always include the -d1 option. The -d1 option adds a one-second delay before ampy tries to use the raw REPL mode of operation. Using the option fixed the Ampy program hangs that I was seeing. Thanks, I will try your solution and update y...