Search found 9 matches

by edo76mal
Mon Aug 26, 2024 1:10 pm
Forum: ESP-IDF
Topic: Gatt affects rtc task
Replies: 1
Views: 419

Re: Gatt affects rtc task

Another information: the problem is linked with esp_ble_gatts_send_indicate_local. If I don't call this function no problem. But I need to send data via ble....
by edo76mal
Mon Aug 26, 2024 12:57 pm
Forum: ESP-IDF
Topic: Gatt affects rtc task
Replies: 1
Views: 419

Gatt affects rtc task

I have a projetc with: - task rtc on core 1 to read i2c imu with 4000 us timing - task app_main on core 0 - gatt on core 0. I test the projetc with If I have not connetcted gatt (I usualy use app nrf) task rct works in a good way taking 4000 us. If I connect gatt with app nrf, rtc task begins to hav...
by edo76mal
Fri Mar 01, 2024 5:09 pm
Forum: Showcase
Topic: ESP32 ICM426XX driver
Replies: 2
Views: 19084

Re: ESP32 ICM426XX driver

Hi Vader_mester. I'm trying to use your library for ICM42605. My target is to use esp32 (with visual studio 2022 and visualgdb, esp idf 5.1) and icm42605 at the highest rate i.e 8kHz for accel and gyro in order to analize slow movements. At the moment I don't succeed in using fifo (using your exampl...
by edo76mal
Fri Oct 07, 2022 2:47 pm
Forum: General Discussion
Topic: High Frequency task
Replies: 2
Views: 1694

High Frequency task

Hi. I need a high frequency task (250 Hz) to control a cnc motor. Moreover this task needs to be deterministic. I tried to do an example ofhigh frequency task using "hello world " sample, but I obtain only 100 Hz task . My code is this: #include <stdio.h> #include "sdkconfig.h" #include "freertos/Fr...
by edo76mal
Thu Aug 04, 2022 7:17 am
Forum: General Discussion
Topic: UART "Pattern Queue Size too small"
Replies: 2
Views: 2444

UART "Pattern Queue Size too small"

I have a wroom32E linked to a bluepill board. From bluepill a receive a 100 chars long message with 30 Hz frequency via UART. Randomly I have the debug message "Pattern Queue Size too small" and I loose a bluepill message. Have you some ideas how to solve? The UART configuration is: #define BLUEPILL...
by edo76mal
Wed Jun 08, 2022 1:47 pm
Forum: General Discussion
Topic: ABZ Encoder
Replies: 9
Views: 6664

Re: ABZ Encoder

Yes, the sample in that. An ABZ encoder has A, B and Z signals and I want to use only A signal. So, I expect to read each square wave that comes from the A signal of the encoder but it is not true. I don't read the pulses. FurthermoreI don't succeed in setting 4 ms task, I noticed that task can run ...
by edo76mal
Wed Jun 08, 2022 12:08 pm
Forum: General Discussion
Topic: ABZ Encoder
Replies: 9
Views: 6664

Re: ABZ Encoder

The code example I use is rotary encoder. I am not able to read encoder pulses using only one channel. I want to count the square waves, so I can use only one channel (channel A in my case)
by edo76mal
Tue Jun 07, 2022 6:55 am
Forum: General Discussion
Topic: ABZ Encoder
Replies: 9
Views: 6664

ABZ Encoder

Hi.

I need to develop the reading of a 2048 pulse abz encoder with wroom32 and visualgdb. I tried with the rotary encoder sample but it doesn't work. Can you help me?

Thanks to everybody.
by edo76mal
Fri May 20, 2022 1:22 pm
Forum: Showcase
Topic: Batterylife of D32 with Plantsensor and 700mAh Battery
Replies: 4
Views: 18774

Re: Batterylife of D32 with Plantsensor and 700mAh Battery

Hi. Have you tested your project using battery during charge? I mean: our project consists in gps sensor with esp32_wroom, and we need to use them for long time and without fix power sources, so we may use the system connected to a powerbank. The question is: we can use a powerbank connected to the ...