r-cute / rcute-cozmars-server

firmware for Cozmars robot
45 stars 19 forks source link

Wire Diagram issue #28

Closed kingpinzs closed 3 years ago

kingpinzs commented 3 years ago

The vcc wire for the audio amp is on the wrong pin it should be on the power pin and not the data pin for the amp power in the diagram

hyansuper commented 3 years ago

I wanted to be able to turn on and off the audio amp, so I connect amp power to data pin. I was worried about interference between audio input and output because they share i2s bus but the easier way is to connect to power pin as you said, it works, except the speaker produce a click sound every time just before recording starts, but it's not a big problem

hyansuper commented 2 years ago

The PCA9685 channels can turn fully on/off, see https://learn.adafruit.com/16-channel-pwm-servo-driver?view=all#using-as-gpio-2980401-5