Dieses einstellbare DC-DC-Boost-Modul wandelt eine Eingangsspannung in einen wählbaren höheren Spannungsbereich um und hat ein digitales Voltmeter. Es ist für hohe Ausgangsleistung ausgelegt (bis etwa 100 W) und wird typischerweise über Schraubklemmen verdrahtet; die Ausgangsspannung wird mit einem Einsteller eingestellt.
| Pin | Signal | Beschreibung |
|---|---|---|
IN+ |
power | Positive DC input supply for the boost converter, typically 3.0–35 V. |
IN- |
ground | Negative input return for the DC supply; common ground reference. |
OUT+ |
power | Boosted positive DC output set by the adjustment control. |
OUT- |
ground | Negative output return; common with input negative on this module. |
| Von | Nach | Kabel |
|---|---|---|
board:5V |
x1:IN+ |
red |
board:GND |
x1:IN- |
black |
x1:OUT+ |
board:A0 |
green |
x1:OUT- |
board:GND.1 |
black |
Dieses Beispiel wurde für das arduino-uno geschrieben und kompiliergeprüft. Codey Online passt es für jedes andere unterstützte Board an.
// Canonical beginner example for a DC-DC boost module with voltmeter
// Measures the module output voltage on A0 using the Arduino's 5V analog reference.
const int voltagePin = A0;
void setup() {
Serial.begin(9600);
while (!Serial) {
;
}
Serial.println("DC-DC boost module voltage monitor");
}
void loop() {
int raw = analogRead(voltagePin);
float voltage = raw * (5.0 / 1023.0);
Serial.print("A0 raw = ");
Serial.print(raw);
Serial.print(" | module output voltage = ");
Serial.print(voltage, 2);
Serial.println(" V");
delay(1000);
}
Beschreib einfach, was du bauen willst. Codey Online schreibt den Code, zeichnet den Schaltplan, kompiliert alles und flasht dein Board direkt aus dem Browser.
Kostenlos starten