Search found 13 matches
- Tue Mar 10, 2020 3:03 pm
- Forum: General Discussion and Questions
- Topic: Using higher baud rates (921600) successfully?
- Replies: 2
- Views: 2820
Using higher baud rates (921600) successfully?
Anyone tried using higher baudrates for the UART, successfully? I would like to approach at least 1Mb/s transfer rate so I compiled the firmware with CONFIG_ESP_CONSOLE_UART_BAUDRATE=921600 and initialized the baud rate with the same number but it seems that the REPL is unusable when I go any higher...
- Wed Feb 19, 2020 11:00 am
- Forum: General Discussion and Questions
- Topic: Changing WiFi AP output power?
- Replies: 0
- Views: 1853
Changing WiFi AP output power?
Is it possible to change the output power of an Access Point? The ESP-IDF can do it, so could it be linked to Micropython? Did anyone already try it on their own?
- Tue Jan 28, 2020 4:55 pm
- Forum: General Discussion and Questions
- Topic: Flashing with custom files in default filesystem possible?
- Replies: 3
- Views: 2361
Re: Flashing with custom files in default filesystem possible?
You can create a file system image with files and flash that to the device. https://penfold.owt.com/turtleplotbot/software.html#customizing-the-vfat-image Thanks, I followed the steps and it's working flawlessly! Exactly what I needed :). @jimmo thanks for the other tips, the data_to_py utility loo...
- Tue Jan 28, 2020 1:38 am
- Forum: General Discussion and Questions
- Topic: Flashing with custom files in default filesystem possible?
- Replies: 3
- Views: 2361
Flashing with custom files in default filesystem possible?
Is it possible to compile the firmware with custom files already included in the filesystem, and how? By default only the boot.py gets created but I would like to include several other files aswell, so that they are already present in the filesystem when I flash the firmware. I'm using the ESP32 in ...
- Tue Dec 17, 2019 9:07 pm
- Forum: Programs, Libraries and Tools
- Topic: MicroWebSrv2, new asynchronous Web server for MicroPython (+Routes +WebSockets +Template engine).
- Replies: 24
- Views: 53471
Re: MicroWebSrv2, new asynchronous Web server for MicroPython (+Routes +WebSockets +Template engine).
Any convenient way to enable gzip compression for sending .gz files and non-zipped files only if the .gz files aren't found in the specified directory? I'm getting 404 on all requests for files that are present only as .gz
- Tue Dec 17, 2019 3:53 pm
- Forum: Programs, Libraries and Tools
- Topic: MicroWebSrv2, new asynchronous Web server for MicroPython (+Routes +WebSockets +Template engine).
- Replies: 24
- Views: 53471
Re: MicroWebSrv2, new asynchronous Web server for MicroPython (+Routes +WebSockets +Template engine).
Hi, I have the same memory problem when try to run it on ESP32. @Hyperion, can you tell what you did to overcome this problem? Did you use the frozen? Thanks in advance. Regards, Ruben Hi, yeah I froze the whole module. Just look for tutorials on how to freeze a module, there are a plenty (I can't ...
- Fri Dec 06, 2019 1:05 pm
- Forum: Programs, Libraries and Tools
- Topic: MicroWebSrv2, new asynchronous Web server for MicroPython (+Routes +WebSockets +Template engine).
- Replies: 24
- Views: 53471
Re: MicroWebSrv2, new asynchronous Web server for MicroPython (+Routes +WebSockets +Template engine).
How does sending response by a data stream work? I need to send a large file stored in another module back to a client, but I can read it through UART only by smaller chunks due to low available memory in the MPY board, so I think streaming it is my only option. I would like to send a packet after r...
- Fri Nov 22, 2019 3:11 pm
- Forum: Programs, Libraries and Tools
- Topic: MicroWebSrv2, new asynchronous Web server for MicroPython (+Routes +WebSockets +Template engine).
- Replies: 24
- Views: 53471
Re: MicroWebSrv2, new asynchronous Web server for MicroPython (+Routes +WebSockets +Template engine).
WHen I used it, I hd to make sure it was used as a frozen module. Never done freezing before but always wanted to learn it. How do you freeze the whole folder though? Do I just have to put the whole folder into the modules directory before building? Edit: Figured it out, server now started and I st...
- Wed Nov 20, 2019 12:37 pm
- Forum: Programs, Libraries and Tools
- Topic: MicroWebSrv2, new asynchronous Web server for MicroPython (+Routes +WebSockets +Template engine).
- Replies: 24
- Views: 53471
Re: MicroWebSrv2, new asynchronous Web server for MicroPython (+Routes +WebSockets +Template engine).
Can't get any luck getting this to run on my ESP32. After running the import command, I get a MemoryError. How do you import it with only around 80kB RAM left? >>> import MicroWebSrv2 --------------------------- - Python pkg MicroWebSrv2 - - version 2.0.3 - - by JC`zic & HC2 - ----------------------...
- Mon Nov 04, 2019 7:40 pm
- Forum: General Discussion and Questions
- Topic: Properly checking for errors during a WiFi connection?
- Replies: 13
- Views: 25166
Re: Properly checking for errors during a WiFi connection?
Problem is I want to raise it automatically the exact moment the connection has caused an error. And I want to avoid using libraries because according to the filesystem commands I have only 2MB of available space, at least a half of which I know I'll need for certain data. By the way, any idea what ...