nathalislight / NCAT

NESCAT IS BACK LIKE NCAT PROJECT...
Other
180 stars 66 forks source link

Audio #1

Open UNOxp opened 2 years ago

UNOxp commented 2 years ago

How to connect audio without I2C module?

Surbyte commented 1 year ago

Arduino Audio search on Google.

el-rom commented 11 months ago

Hi ; I just set this #define in the project:

define SOUND_ENABLED 1 // Enable SOUND

define I2SAUDIO_ENABLED 0 // Enable I2S sound

define PWMAUDIO_ENABLED 1 // Enable fallback PWM audio (when no I2S)

define AUDIO_I2SPORT 0 // I2S_NUM_0 or I2S_NUM_1 (I2S_NUM_0 is USED BY COMPOSITE VIDEO)

and directly connect a little smartphone speaker thruth a NPN CMS transistor (+resistor on base) on the defined PWM pin.