Search found 4 matches

by greenleaf
Thu Jun 20, 2024 8:17 pm
Forum: Hardware
Topic: Monitor a break system
Replies: 2
Views: 3538

Re: Monitor a break system

Does anyone know a better alternative forum for esp32 related questions at least?
Having to wait a few days for each post to be approved, and the forums not being very active is not helpful. I'd still want to try a bit more before switching to Arduino.
by greenleaf
Sun Jun 16, 2024 1:20 am
Forum: Hardware
Topic: Monitor a break system
Replies: 2
Views: 3538

Monitor a break system

I have a "thumb accelerator" similar to the ones found on most scooters. I want to read its value every time a user presses it.

What is the correct way to read an analog signal?

I have:


esp_adc_cal_characterize(ADC_UNIT_1, ADC_ATTEN_DB_11, ADC_WIDTH_BIT_DEFAULT, 0, &adc1_chars);
adc1_config ...
by greenleaf
Sun Jun 16, 2024 1:12 am
Forum: ESP-IDF
Topic: Interrupts code is not working correctly.
Replies: 4
Views: 1382

Re: Interrupts code is not working correctly.

That seems to work better. Not sure I understand why!
by greenleaf
Tue Jun 11, 2024 7:21 pm
Forum: ESP-IDF
Topic: Interrupts code is not working correctly.
Replies: 4
Views: 1382

Interrupts code is not working correctly.

I want to be able to read the signal from an lm393 sensor using the Espressif framework on an esp32.

I have the following code:


#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <inttypes.h>

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h ...

Go to advanced search