Skip to content

[firmware] Add support for ESP32 instead of Arduino nano #309

Description

@pabnas

Desired behavior

I want to be able to use an ESP32 dev board since the features it has are better than the arduino nano for a similar price, one mayor advantage of this is the higher PWM Frequency that the ESP can produce (20khz) compare to the maximum configurable with timers on the nano (1kHz), this makes a huge difference on the sound that the motors produced.

Alternatives considered

None since the Arduino Nano just cannot produce a high frequency PWM signal.

Implementation suggestion

Adding a env on platformio that will add build flags for this and by using c ++ preprocessors operators we can utilize the same code.

Additional context

You are still going to be capable to use the Arduino Nano since in order to build the project on the ESP we are going to use the Arduino Core.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status
    🆕 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions