Search found 54 matches

by KanyeKanye
Wed Sep 25, 2019 11:58 am
Forum: General Discussion
Topic: [JavaScript] JSON parsing faster alternative
Replies: 6
Views: 1166

[JavaScript] JSON parsing faster alternative

My esp32 chip is used for recording some important data into local memory. I need to send these data to the user webbrowser for drawing a chart. It is about 1MB per hour and I need charts with up to 5days of data (up to 120MB of raw data). At the moment I have written an http server and JSON parser....
by KanyeKanye
Mon Sep 23, 2019 1:23 pm
Forum: General Discussion
Topic: LED_PWM documentation: LEDC_HSCHn_DUTY_REG understatement
Replies: 1
Views: 380

LED_PWM documentation: LEDC_HSCHn_DUTY_REG understatement

I am trying to write my own implementation of PWM driver for generating frequencies below 1Hz. Reading LED_PWM documentation I see some understatement: under LEDC_LSCHn_DUTY_REG (page 387) there is written: LEDC_DUTY_LSCHn The register is used to control output duty. When lstimerx(x=[0,3]), chosen b...
by KanyeKanye
Sat Sep 21, 2019 7:12 am
Forum: ESP32 IDF
Topic: Low freq (below 1Hz) PWM / Timers
Replies: 0
Views: 343

Low freq (below 1Hz) PWM / Timers

I am looking for an example of low frequency (below 1Hz) PWM. Frequencies below 1Hz are impossible using LEDC driver and it's code (/components/driver/ledc.c) is rather ununderstandable for me. Technical Reference shows general diagram (page 379) but I do not know exact way to set mentioned register...
by KanyeKanye
Fri Jul 26, 2019 9:59 am
Forum: General Discussion
Topic: Fast SDCard existence detect
Replies: 2
Views: 580

Re: Fast SDCard existence detect

I have no more pins for CD pin. I store data in the loop and 28ms is much too long for waiting. I believe there is some way (sanding some CMDx command) that would answer immediately on every card.
by KanyeKanye
Fri Jul 26, 2019 12:05 am
Forum: General Discussion
Topic: Fast SDCard existence detect
Replies: 2
Views: 580

Fast SDCard existence detect

If there is no SD Card in the slot, sdmmc_card_init returns (with 0x107) after about 29ms for SDMMC Mode and 21ms for SPI Mode.
It's way too long. How to detect SD card existence faster?
by KanyeKanye
Wed Jul 03, 2019 9:09 pm
Forum: Hardware
Topic: RTC Timer Holdup
Replies: 1
Views: 549

RTC Timer Holdup

Hi, I'd like to use esp32 without wifi network, just as a budget effective microcontroller. I need an information if am I able to holdup RTC time by connecting goldcap capacitor to VDD3P3_RTC and via diode to the other VDD3P3 pins. Tell me firstly if the microcontroller will work and won't provide a...
by KanyeKanye
Wed Jun 19, 2019 3:50 pm
Forum: ESP32 IDF
Topic: Subfolders structure and CMakeLists.txt
Replies: 0
Views: 450

Subfolders structure and CMakeLists.txt

I cant execute (because 'undefined reference to `test_function'') any function from subfolder. My files structure looks like: PROJECT CMakeLists.txt - main main.c component.mk CMakeLists.txt -- subfolder file.c file.h component.mk CMakeLists.txt (/main/CMakeLists.txt) like: set(COMPONENT_ADD_INCLUDE...
by KanyeKanye
Wed Jun 19, 2019 1:28 pm
Forum: General Discussion
Topic: Eclipse IDE setup on mac. Python path problem
Replies: 1
Views: 762

Re: Eclipse IDE setup on mac. Python path problem

Succeeded!
Add

Code: Select all

/Users/XXX/miniconda2/bin:
to PATH variable
by KanyeKanye
Wed Jun 19, 2019 1:19 pm
Forum: General Discussion
Topic: Eclipse IDE setup on mac. Python path problem
Replies: 1
Views: 762

Eclipse IDE setup on mac. Python path problem

Hi, I try to setup eclipse ide to work with and compile for esp32. OS: macOS Majove Setup as described below: https://docs.espressif.com/projects/esp-idf/en/latest/get-started/eclipse-setup.html After pressing Build All, console prints: Toolchain path: /Users/kanye/Development/esp32/xtensa-esp32-elf...
by KanyeKanye
Tue Jun 18, 2019 10:43 am
Forum: General Discussion
Topic: Best way to pass data to the html website [sockets/mqtt/http rest]
Replies: 3
Views: 797

Re: Best way to pass data to the html website [sockets/mqtt/http rest]

I have no web dev background, but have a project to finish so I do learn new technologies
Esp monitors voltage, sends its value to browser. In borwser graph is showed.
What do you mean by encryption? There is no encryption, esp works as AP and provide HTTP server. No ssl or post-alike login.