#include <LiquidCrystal.h>
// Initialize the library with the numbers of the interface pins
LiquidCrystal lcd(U6: D3, U6: D4, U6: D2, U6: A0, U6: A1, U6: A2, U6: A3, U6: A4, U6: A5, U6: A6, U6: A7);
void setup() {
// Set up the LCD's number of columns and rows:
lcd.begin(16, 2);
// Print a message to the LCD.
lcd.print("Hello, World!");
}
void loop() {
// Turn the cursor on, after two seconds, then off:
lcd.cursor();
delay(2000);
lcd.noCursor();
delay(2000);
}
//
// This is where you can create powerful part automations like resistors that tell you when too much current is flowing through them
luisangel567
copilot
-
BATERÍA (BATT1)
- MPN: 1070TR
- Voltaje: 12V
-
Amplificador Clase D (AMP1)
- Ejemplo: TPA3116D2
- Alimentación: 12V
- Pins:
- VCC: Alimentación de 12V
- GND: Tierra
- IN_R: Entrada de audio canal derecho
- IN_L: Entrada de audio canal izquierdo
- OUT_R+: Salida de audio canal derecho (positivo)
- OUT_R-: Salida de audio canal derecho (negativo)
- OUT_L+: Salida de audio canal izquierdo (positivo)
- OUT_L-: Salida de audio canal izquierdo (negativo)
-
Conector Jack 3.5mm (JACK1)
- Pins:
- L: Canal izquierdo
- R: Canal derecho
- GND: Tierra
-
Capacitores de Acoplamiento (C1, C2): 10 µF
-
Resistores de Polarización (R1, R2): 10 kΩ
Conexiones:-
Conexiones de Alimentación:
- Connect BATT1:+ to AMP1:VCC.
- Connect BATT1:- to AMP1:GND.
-
Conexiones de Entrada de Audio:
- Connect JACK1:L to one end of R1.
- Connect the other end of R1 to C1:1.
- Connect C1:2 to AMP1:IN_L.
- Connect JACK1:R to one end of R2.
- Connect the other end of R2 to C2:1.
- Connect C2:2 to AMP1:IN_R.
- Connect JACK1:GND to AMP1:GND.
-
Salidas de Audio:
- Connect AMP1:OUT_L+ to terminal positivo del altavoz izquierdo.
- Connect AMP1:OUT_L- to terminal negativo del altavoz izquierdo.
- Connect AMP1:OUT_R+ to terminal positivo del altavoz derecho.
- Connect AMP1:OUT_R- to terminal negativo del altavoz derecho.
Consideraciones Adicionales:luisangel567
copilot
-
Alimentación:
- BATT1: Fuente de alimentación de 12V.
-
Amplificador Clase D (AMP1):
- Usaré un ejemplo de amplificador como el TPA3116D2.
-
Conector Jack 3.5mm (JACK1):
- Para la entrada de audio.
-
Componentes Pasivos:
- Capacitores de Acoplamiento: 10 µF.
- Resistores de Polarización: 10 kΩ.
Diagrama de Conexiones:- Colocar la batería BATT1 (fuente de alimentación de 12V).
Paso 2: Amplificador Clase D- Colocar el amplificador AMP1 (ejemplo: TPA3116D2).
Paso 3: Entrada de Audio- Colocar el conector de jack 3.5mm JACK1.
Paso 4: Componentes Pasivos- Colocar los capacitores C1 y C2 (10 µF).
- Colocar los resistores R1 y R2 (10 kΩ).
Paso 5: Realizar las Conexionesluisangel567