The Adafruit Switched JST Breakout is a versatile and user-friendly breakout board designed for hobbyists, engineers, and makers. This breakout board simplifies the process of connecting to devices with JST connectors, providing a switch to control the power supply to the connected device. It is commonly used in portable electronics, battery connections, and in projects where controlled power distribution is required.
Pin Number | Description | Notes |
---|---|---|
1 | VOUT | Voltage output when switched on |
2 | GND | Ground connection |
// Example code to control Adafruit Switched JST Breakout with Arduino UNO
void setup() {
pinMode(13, OUTPUT); // Set the Arduino pin 13 as output
}
void loop() {
digitalWrite(13, HIGH); // Turn on the connected device
delay(1000); // Wait for 1 second
digitalWrite(13, LOW); // Turn off the connected device
delay(1000); // Wait for 1 second
}
Note: This example assumes that the VOUT from the Adafruit Switched JST Breakout is connected to pin 13 on the Arduino UNO. The switch on the breakout board must be in the ON position for the code to control the power.
Q: Can I use this breakout board with a 3.7V LiPo battery? A: Yes, the Adafruit Switched JST Breakout can handle voltages from 3.3V to 5V, making it suitable for use with a 3.7V LiPo battery.
Q: Is it possible to control the switch electronically? A: The switch is a manual slide switch and is not designed to be controlled electronically. However, you can use a transistor or relay in conjunction with the breakout board to control power electronically.
Q: How do I know if the power is on? A: The breakout board does not have an indicator LED. You will need to use a multimeter to check for voltage at the VOUT pin or observe the operation of the connected device.