Search found 513 matches

by loboris
Sun Dec 16, 2018 9:48 am
Forum: Hardware
Topic: How to power the 3.3V ESP32 from a 3.7V Li-ion battery?
Replies: 14
Views: 63582

Re: How to power the 3.3V ESP32 from a 3.7V Li-ion battery?

Thanks for the idea. Even a LiFePO4 battery has a voltage which is too high while it is charging. LiFePO4 battery is charged to 3.6V (or 3.65V) and this is within ESP32 voltage range. You can limit the charger voltage to 3.5 V and the battery will still be charged to 99% - 100% depending on type. I...
by loboris
Sat Dec 15, 2018 10:05 am
Forum: ESP-IDF
Topic: ELF binary parser
Replies: 6
Views: 10546

Re: ELF binary parser

A standard elf file is also created during the build process and it can be parsed using any elf parser like 'readelf' <mydir>$ readelf -h -l MicroPython.elf ELF Header: Magic: 7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00 Class: ELF32 Data: 2's complement, little endian Version: 1 (current) OS/ABI...
by loboris
Sat Dec 15, 2018 9:39 am
Forum: ESP-IDF
Topic: Fatfs delay at write at new sector
Replies: 14
Views: 13675

Re: Fatfs delay at write at new sector

May be use flash without fatfs and use the command espartition_write() will the problem persist? Writing directly to flash can be the solution. You should erase the flash sectors range used for logging before using it. Than you can write to the sector without erasing it first, and the 4K sector wri...
by loboris
Fri Dec 14, 2018 10:32 pm
Forum: ESP-IDF
Topic: Fatfs delay at write at new sector
Replies: 14
Views: 13675

Re: Fatfs delay at write at new sector

I created fatfs then I create a file and write data to it every 50 ms. I ran into a problem when the page defined by CONFIG_WL_SECTOR_SIZE_4096=y ends I get a system delay (around 100 ms) at which I miss even a few interrupts from the timer. Therefore, I lose data retrieval from the ADC and lose wr...
by loboris
Fri Dec 14, 2018 10:58 am
Forum: Hardware
Topic: How to power the 3.3V ESP32 from a 3.7V Li-ion battery?
Replies: 14
Views: 63582

Re: How to power the 3.3V ESP32 from a 3.7V Li-ion battery?

You can use LiFePO4 battery instead of Li-ion without any LDO.
by loboris
Fri Dec 14, 2018 10:39 am
Forum: General Discussion
Topic: Serial Port on Ubuntu on oracle VM
Replies: 1
Views: 3171

Re: Serial Port on Ubuntu on oracle VM

You must connect host's USB device (USBtoUART adapter) to the virtual machine.
There are many tutorials how to do this, like this one.
After connected, the port will apear in Ubuntu as /dev/ttyUSB0 (or /dev/ttyUSB1,2,3...).
by loboris
Tue Dec 11, 2018 8:23 am
Forum: Hardware
Topic: ESP32-PICO-D4 circuit question
Replies: 3
Views: 7060

Re: ESP32-PICO-D4 circuit question

ESP_Lvxinyue wrote:
Tue Dec 11, 2018 3:11 am
4. No, you don't need to add caps between SVP and SCP, SVN and SCN, unless you want to use the LNA ADC.
Which is not supported. Or, is it?
by loboris
Mon Dec 10, 2018 9:38 am
Forum: ESP-IDF
Topic: 2 partition OTA with magnet reset idea feasible?
Replies: 6
Views: 7155

Re: 2 partition OTA with magnet reset idea feasible?

jcsbanks wrote:
Sun Dec 09, 2018 10:46 pm
Thanks, making some progress. Working out how to read the hall sensor during the second stage bootloader (without FreeRTOS) as a buttonless recovery situation.
It is probably simpler to use reed switch for activation with magnet, you can also use it to wake up from deepsleep...
by loboris
Mon Dec 10, 2018 9:30 am
Forum: ESP-IDF
Topic: UART baud rate
Replies: 9
Views: 32553

Re: UART baud rate

I have tested with 4000000,3500000,3000000,2500000, 2000000 bits/sec on ESP32-WROVER-KIT (with FTDI USBtoSERIAL) and it works.
by loboris
Wed Dec 05, 2018 2:11 pm
Forum: ESP-IDF
Topic: ESP32 IDF can't compile custom component from Loboris microPython
Replies: 2
Views: 4393

Re: ESP32 IDF can't compile custom component from Loboris microPython

FTP server library is not an independent esp-idf component, but deeply integrated with other MicroPython components.
There are other FTP-server componnents on GitHub which may be easier to use.