mirror of
https://github.com/ggerganov/ggwave.git
synced 2026-03-27 06:18:59 +08:00
examples : add pinout info for the MCU examples
This commit is contained in:
@@ -9,6 +9,24 @@ The development board has a built-in microphone which makes this device very sui
|
||||
- OLED SSD1306
|
||||
- Generic speaker
|
||||
|
||||
## Pinout for Arduino Nano RP2040 Connect
|
||||
|
||||
### I2C Display (optional)
|
||||
|
||||
| MCU | Display |
|
||||
| ------------- | --------- |
|
||||
| GND | GND |
|
||||
| 3.3V | VCC / VDD |
|
||||
| D18 / GPIO 12 | SDA |
|
||||
| D19 / GPIO 13 | SCL |
|
||||
|
||||
### Peripherals (optional)
|
||||
|
||||
| MCU | Periph. |
|
||||
| ------------- | ------- |
|
||||
| D5 / GPIO 17 | Button |
|
||||
| D10 / GPIO 5 | Speaker |
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
@@ -26,6 +26,24 @@
|
||||
//
|
||||
// Sketch: https://github.com/ggerganov/ggwave/tree/master/examples/arduino-rx
|
||||
//
|
||||
// ## Pinout for Arduino Nano RP2040 Connect
|
||||
//
|
||||
// ### I2C Display (optional)
|
||||
//
|
||||
// | MCU | Display |
|
||||
// | ------------- | --------- |
|
||||
// | GND | GND |
|
||||
// | 3.3V | VCC / VDD |
|
||||
// | D18 / GPIO 12 | SDA |
|
||||
// | D19 / GPIO 13 | SCL |
|
||||
//
|
||||
// ### Peripherals (optional)
|
||||
//
|
||||
// | MCU | Periph. |
|
||||
// | ------------- | ------- |
|
||||
// | D5 / GPIO 17 | Button |
|
||||
// | D10 / GPIO 5 | Speaker |
|
||||
//
|
||||
|
||||
// Uncoment this line to enable SSD1306 display output
|
||||
//#define DISPLAY_OUTPUT 1
|
||||
|
||||
@@ -22,15 +22,15 @@ The received messages are optionally displayed on the attached OLED display.
|
||||
|
||||
### Analog Microphone
|
||||
|
||||
| EPS32 | Mic |
|
||||
| MCU | Mic |
|
||||
| ------- | --------- |
|
||||
| GND | GND |
|
||||
| 3.3V | VCC / VDD |
|
||||
| GPIO 35 | Out |
|
||||
|
||||
### Digital Microphone
|
||||
### Digital (I2S) Microphone
|
||||
|
||||
| EPS32 | Mic |
|
||||
| MCU | Mic |
|
||||
| ------- | ----------- |
|
||||
| GND | GND |
|
||||
| 3.3V | VCC / VDD |
|
||||
@@ -38,9 +38,9 @@ The received messages are optionally displayed on the attached OLED display.
|
||||
| GPIO 33 | Data / DOUT |
|
||||
| GPIO 25 | LRCL |
|
||||
|
||||
### I2C Display
|
||||
### I2C Display (optional)
|
||||
|
||||
| EPS32 | Display |
|
||||
| MCU | Display |
|
||||
| ------- | ----------- |
|
||||
| GND | GND |
|
||||
| 3.3V | VCC / VDD |
|
||||
|
||||
@@ -35,6 +35,35 @@
|
||||
//
|
||||
// Sketch: https://github.com/ggerganov/ggwave/tree/master/examples/esp32-rx
|
||||
//
|
||||
// ## Pinout
|
||||
//
|
||||
// ### Analog Microphone
|
||||
//
|
||||
// | MCU | Mic |
|
||||
// | ------- | --------- |
|
||||
// | GND | GND |
|
||||
// | 3.3V | VCC / VDD |
|
||||
// | GPIO 35 | Out |
|
||||
//
|
||||
// ### Digital (I2S) Microphone
|
||||
//
|
||||
// | MCU | Mic |
|
||||
// | ------- | ----------- |
|
||||
// | GND | GND |
|
||||
// | 3.3V | VCC / VDD |
|
||||
// | GPIO 26 | BCLK |
|
||||
// | GPIO 33 | Data / DOUT |
|
||||
// | GPIO 25 | LRCL |
|
||||
//
|
||||
// ### I2C Display (optional)
|
||||
//
|
||||
// | MCU | Display |
|
||||
// | ------- | --------- |
|
||||
// | GND | GND |
|
||||
// | 3.3V | VCC / VDD |
|
||||
// | GPIO 21 | SDA |
|
||||
// | GPIO 22 | SCL |
|
||||
//
|
||||
|
||||
// Uncomment the line coresponding to your microhpone
|
||||
#define MIC_ANALOG
|
||||
|
||||
Reference in New Issue
Block a user