Choose the right Bluetooth type for your target device
| Target device / use case |
Bluetooth type to choose |
Matching products in this category |
Why it fits |
Avoid |
| Android phone serial control |
Classic Bluetooth SPP or BLE |
HC-05 Bluetooth Serial Module, HC-06 Bluetooth Serial Module, BT06 Bluetooth Serial Module, SPP-C Bluetooth Serial Adapter, DX-BT18 dual-mode module |
Android projects can use simple SPP links, so a bluetooth serial module is the fastest route. If you need both standards later, the DX-BT18 supports SPP 2.0 and BLE 4.0; this look at dual-mode serial projects shows when one module can cover both. |
Buying an audio board when you only need UART data |
| iPhone / iPad control |
BLE / GATT |
NRF51822 BLE 4.0 module, DX-BT18 in BLE mode, ESP32-WROVER-B board, ESP-WROOM-32 development board |
iPhone and iPad projects need BLE. A ble module exposes data through GATT rather than Classic SPP pairing. |
HC-05 or HC-06, which are Classic Bluetooth and not the right choice for iOS pairing |
| MCU-to-MCU wireless link |
Classic serial with at least one master, or matched BLE design |
HC-05 serial module, HC-06 serial module, DX-BT18 dual-mode board |
Arduino-to-Arduino or microcontroller links need at least one master-capable module. HC-05 is master/slave configurable, while HC-06 is slave-only. |
Two HC-06 modules, because neither can initiate the link |
| New IoT build with no MCU chosen yet |
Integrated ESP32 board |
ESP32-WROVER-B with 8MB PSRAM, ESP-WROOM-32 with CP2102 |
In a fresh design, an ESP32 board can replace a separate microcontroller plus Bluetooth add-on. The supplied ESP32-WROVER-B supports Classic Bluetooth and BLE. See the ESP32 board range if you would rather start with one integrated board than add a module to an Arduino. |
Adding a separate serial module to a new build when you also need the MCU |
| PC or laptop adding Bluetooth |
USB adapter |
CSR V4.0 USB Bluetooth Dongle |
PC shoppers need a USB adapter, not a UART module. The CSR V4.0 dongle is the straightforward add-on here. |
Buying HC-05, HC-06, or SPP-C for a USB-port computer |
| Audio playback to speakers or amp |
Bluetooth audio board with A2DP-class use |
CSR8635 PAM8403 Bluetooth Amplifier, VHM-314 Bluetooth Audio Decoder, CT14 stereo Bluetooth amplifier |
Audio playback needs an audio Bluetooth board, not an SPP serial module. Choose amplifier boards if you need to drive speakers directly, or a decoder if you already have an external amp. |
Expecting HC-05 or HC-06 to stream music |
| Beacon or proximity broadcast |
BLE advertising / beacon hardware |
iBeacon BLE 4.0 Base Station |
The iBeacon BLE 4.0 Base Station is built for beacon and broadcast use, with a customizable UUID and up to 100m open-space range. |
Treating an iBeacon as transparent UART serial hardware |
HC-05 vs HC-06 vs BT06 vs SPP-C: which serial Bluetooth module makes sense?
| Serial module |
Role |
Default baud |
Differentiating spec from card/research |
Best for |
Limitation |
| HC-05 Bluetooth Serial Module |
Master/slave configurable |
38400 |
Bluetooth V2.0 + EDR, -84dBm sensitivity, and under 40mA active power |
Module-to-module links, projects that may need AT configuration, and shoppers who want the safest default in this bluetooth transceiver module family |
No BLE, so not the right path for iPhone/iPad |
| HC-06 Bluetooth Serial Module |
Slave-only |
9600 |
Integrated regulator, internal antenna, and 30ft range |
Simple phone-to-Arduino or PC-to-Arduino serial links |
Cannot initiate connections, so it is not suitable for two-module pairs |
| BT06 serial Bluetooth module |
HC-06-compatible slave-style serial module |
— |
Bluetooth V2.1+EDR with UART/SPP support and onboard PCB antenna |
Basic UART/SPP projects where HC-06-style behavior is acceptable |
Do not assume master capability just because it looks like an HC-05-class board |
| SPP-C Bluetooth Serial Adapter |
Serial adapter |
9600 |
Bluetooth V3+EDR, SPP serial protocol, UART host interface, internal PCB RF antenna |
Straightforward wireless UART links |
SPP serial only, so it is not a BLE or audio option |
If future master mode is even a possibility, start with the HC-05 setup path for Arduino serial control. There is a practical reason. Master/slave flexibility matters, and community usage also tends to default to HC-05 because the price gap is negligible and its AT command set is larger and better documented. HC-06 still fits when you know the module will stay slave-only and you want a quick out-of-box 9600 baud serial link.
BLE, dual-mode, or ESP32: when Classic serial is the wrong choice
| BLE / dual-mode / integrated option |
Bluetooth mode |
Best for |
Key card spec |
Trade-off / note |
| NRF51822 BLE 4.0 module |
BLE 4.0 / 4.1-class use |
iPhone/iPad projects, battery-powered sensor nodes, low-data-rate BLE designs |
ARM Cortex M0, 256kB Flash, 32kB RAM, 128-bit AES hardware encryption |
Better suited to BLE/GATT work than drop-in Classic serial replacement |
| DX-BT18 dual-mode SPP/BLE module |
SPP 2.0 + BLE 4.0 |
One SKU for Android Classic SPP and iOS BLE use |
30-40m outdoor range, 4.4mA standby power |
Does not support RSSI |
| ESP32-WROVER-B development board |
Classic Bluetooth + BLE |
New builds replacing a separate MCU plus bluetooth module |
16MB internal Flash and 8MB PSRAM |
Integrated route, but it is a development board rather than a small add-on serial module |
| ESP-WROOM-32 board with CP2102 |
Classic Bluetooth + BLE |
Feature-rich new projects in the Arduino environment |
4MB Flash, 38 digital I/O pins, adjustable clock up to 240MHz, CP2102 USB-to-Serial |
External circuits must stay within 3.3V limits |
| iBeacon BLE 4.0 Base Station |
BLE beacon advertising |
Presence, UUID broadcast, proximity-style installs |
100m open-space range, adjustable RF power, CR2032 battery compatibility |
Built for beacon broadcasting, not transparent serial data |
BLE is the right call for iPhone/iPad projects and for battery-powered sensor nodes that send small amounts of data. It is also the right path when low standby draw matters more than simple serial-terminal behavior. The trade-off is workflow: BLE modules often connect from inside an app using GATT services and characteristics instead of appearing in the phone’s normal Bluetooth pairing list like a Classic SPP serial cable.
For a new build, an ESP32 board is more appropriate than adding Bluetooth to an older Arduino. The ESP32 BLE build route is the integrated option here, and the wider ESP32 category is where to compare board variants. One check matters before you buy: if you expect HC-05-style Classic Bluetooth, verify the exact ESP32 family first, because some variants, especially ESP32-S3, are BLE-only.
Before you buy: wiring, voltage, baud, and pairing mistakes that break Bluetooth projects
- HC-05 RX is 3.3V logic, while Arduino TX is 5V. Use a 1kΩ + 2kΩ voltage divider on the RX line to protect the module.
- The same divider guidance applies to HC-06 and BT06-class 3.3V logic serial modules. If you are wiring one to a 5V Arduino, this is not optional.
- If both sides are 3.3V logic, such as an ESP32 or Arduino Due-class board, the divider is not needed.
- Do not confuse VCC with logic level. HC-05 needs 3.6–6V on VCC, so the 3.3V pin on many Arduino boards is not automatically the correct power input just because RX and TX are 3.3V logic.
- If you are choosing HC-05 for master mode, AT setup is part of the purchase decision: enter AT mode by holding the button while powering up, use 38400 baud, and set line ending to “Both NL & CR”.
- HC-06-class modules are simpler at first power-up because 9600 baud is the default. For safe hookup details, see how to wire an HC-06-style serial module.
- The default password is “1234”; some HC-06 variants use “0000”.
- Real HC-05 range is about 10 meters indoors with line-of-sight expectations, while walls and interference reduce it further.
Bluetooth audio boards vs serial modules: pick the right board for speakers, amps, and decoder projects
| Audio need |
Matching product |
Output / amplification |
Key card specs |
Caveat |
| Small speaker build with onboard amp |
CSR8635 PAM8403 Bluetooth Amplifier |
Built-in dual 3W amplifier |
Bluetooth 4.0 audio reception, dual 3W output, NE5532 op-amp, Mini USB power |
For audio playback, not UART serial control |
| Rechargeable compact speaker project |
CT14 stereo 5W+5W amplifier board |
Built-in dual 5W amplifier |
Bluetooth 4.2, integrated Micro USB charging, USB sound card mode |
Outputs cannot share a common negative pole or be paralleled |
| Compact 2x5W audio receiver amp |
MH-M38 Bluetooth receiver with 2x5W amplifier |
Built-in dual 5W amplifier |
Bluetooth 4.2, lossless audio decoding, USB sound card support |
USB connector does not power the board; outputs cannot be paralleled |
| Higher-power stereo speaker build |
ZK-1002L 2x100W Bluetooth amplifier, XY-C50L 2x50W Bluetooth amplifier |
Built-in high-power amplification |
ZK-1002L: 2x100W, Bluetooth 5.0, built-in output filter. XY-C50L: 2x50W, Bluetooth 5.0, BT/AUX/USB triple input |
Neither includes a power supply; XY-C50L also requires manual assembly |
| Decoder or line-out feeding an external amp |
VHM-314 Bluetooth Audio Decoder |
Audio output only; external amplifier required |
WAV, APE, FLAC, MP3 support, 90dB SNR |
Not a speaker-driving board |
| Standalone 12V media decoder |
12V Bluetooth MP3 Decoder with Remote |
Decoder/media player output |
12V DC input, Bluetooth 4.2, USB and MicroSD playback, remote control |
CR2025 remote battery is separate |
HC-05 is SPP serial only and not for audio streaming. For music playback to speakers, you need a bluetooth audio module with A2DP-style use, whether that means a small CSR8635-class amp board, a rechargeable CT14 or MH-M38 build, or a higher-power ZK-1002L or XY-C50L amplifier.
FAQs on Bluetooth Modules
Will an HC-05 work with an iPhone?
Can I connect two HC-06 modules together?
No — HC-06 is slave-only, so two HC-06 modules cannot initiate a link to each other. For Arduino-to-Arduino communication, you need at least one HC-05 module configured as master.
Do I need a voltage divider with HC-05 or HC-06?
Yes for 5V boards: Arduino TX is 5V but HC-05 and HC-06 RX are 3.3V logic, so use a 1kΩ + 2kΩ divider. If you are using a 3.3V logic board such as an ESP-WROOM-32 board with CP2102, that divider is not needed on the serial line.
What is the default baud rate for HC-05 and HC-06?
HC-05 defaults to 38400 baud and HC-06 defaults to 9600 baud; both can be changed with AT commands. On HC-05, AT mode also uses 38400, which is why a wrong serial setting often looks like a dead module.
Should I buy an HC-05 or an ESP32 for a new project?
For a new build, ESP32 can replace both the MCU and the Bluetooth module because the supplied ESP32 boards support Classic Bluetooth and BLE. For an existing Arduino project, HC-05 is the simpler add-on serial path. If you are still choosing the controller, compare the available ESP32 boards here.
Can I use HC-05 for audio streaming to a speaker or car stereo?
Why doesn’t a BLE module show up in my phone’s Bluetooth list?
BLE modules often connect from inside an app rather than through the standard Bluetooth pairing list. That is normal for GATT-based BLE workflows, while Classic SPP modules behave more like wireless serial links and are discovered through regular Bluetooth pairing.
Glossary
- Master / Slave
- Master mode initiates a connection, while slave mode waits to be connected to, which is why HC-05 can handle module-to-module links and HC-06 cannot.
- Classic Bluetooth (SPP)
- The serial-cable style Bluetooth used by HC-05, HC-06, BT06, and SPP-C for UART data links, suited to Android or PC serial projects rather than iPhone pairing.
- BLE
- Bluetooth Low Energy, the lower-power Bluetooth mode used for iPhone/iPad compatibility, battery sensor projects, and app-based GATT connections.
- AT Commands
- Text configuration commands used to change settings such as baud rate, role, or pairing behavior on modules like HC-05.
- Voltage Divider
- A simple two-resistor level shifter, commonly 1kΩ + 2kΩ, used to reduce a 5V TX signal to a safer 3.3V RX level for Bluetooth serial modules.
- A2DP
- The Bluetooth audio profile used for streaming stereo sound to speakers and amplifiers, which serial SPP modules like HC-05 do not support.
- GATT
- The BLE data model built around services and characteristics, which is why BLE modules often connect through an app instead of acting like a COM-port serial cable.
- RSSI
- Received Signal Strength Indicator, a signal-strength reading used in proximity-style BLE projects; not every module exposes it, and the DX-BT18 specifically does not support RSSI.
Solenoid Lock
A solenoid lock is an electrical release device for cabinets, drawers, lockers, and light DIY access-control builds. Most models are 12V DC or 24V, and 5V often will not activate them reliably. They also cannot be driven directly from Arduino, ESP32, or Raspberry Pi GPIO,
PASTED
Thought for 11s
html
Solenoid Lock
A solenoid lock is an electrical release device for cabinets, drawers, lockers, and light DIY access-control builds. Most models are 12V DC or 24V, and 5V often will not activate them reliably. They also cannot be driven directly from Arduino, ESP32, or Raspberry Pi GPIO, so plan on a relay, MOSFET, or transistor driver, and check duty cycle because many intermittent-duty models are only safe for 0–5s or up to 10s energized operation.
=====SPLIT=====
Choose the Right Solenoid Lock by Use Case
| Use case |
Best-fit lock type |
Why it fits |
Key limitation to know |
Example product on this page |
| Small cabinet, drawer, or file box |
Cabinet solenoid lock |
This category fits cabinet, drawer, and locker projects where the lock releases a latch rather than acting as a full door deadbolt. |
Raw solenoid locks are light-duty release devices, not primary locking bolts for people-dependent doors. |
rust-resistant solenoid cabinet lock in 5V/12V/24V |
| Vending machine, locker, mini-fridge, or bank locker |
Cabinet lock with hook-style holding strength |
The 5/12/24V cabinet lock with 50kg hook strength is positioned for bank lockers, gym lockers, vending machines, and mini-refrigerators. |
It still needs a relay or MOSFET for microcontroller control. |
alloy-wire cabinet lock for lockers and vending |
| Compact electronics enclosure |
Mini solenoid |
Tight spaces need smaller body dimensions and shorter travel, not a full cabinet latch assembly. |
Short stroke limits what latch travel it can release. |
12V mini solenoid with 20x29x16mm body |
| Intermittent bolt release with more travel |
Push-pull solenoid |
Use a push-pull style when you need bolt movement rather than a cabinet catch release. The 12V push-pull solenoid lock with 9mm latch stroke uses power-on retract and power-off pop-up operation. |
It is for short energized periods only. |
9mm push-pull solenoid lock |
| Framed pedestrian door with existing latch |
Electric strike |
For a framed door, an electric strike is the better electric door lock choice because it works with the existing latch and keeps mechanical egress and keyed override. |
Full pedestrian doors are a separate decision because egress and code matter. |
— |
| Glass door, awkward retrofit, or higher holding-force need |
Magnetic lock (maglock) |
A magnetic lock uses electromagnetic attraction rather than a moving bolt, and offers higher holding force in the 100–500 kg range. |
Maglocks require continuous power to stay locked and are fail-safe. |
— |
| Battery-powered puzzle box or low-power portable build |
Servo motor lock |
Servo alternatives make sense when zero holding current matters and the project runs from 5–6V. |
More complex linkage is the trade-off. |
— |
For escape-route or life-safety doors, fail-safe hardware is the requirement because the door must unlock on power loss. For asset rooms and non-egress doors, fail-secure hardware is the usual choice.
If you are building access control around any of these locks, you may also need an RFID reader module for credential input. Once you have chosen suitable hardware, this DIY smart-lock controller example shows how a microcontroller-based system can be put together.
Electrical Compatibility for Solenoid Locks: Voltage, Current, and Driver Requirements
The most common wiring mismatch is treating lock voltage and controller voltage as the same thing. A 5V logic signal can switch a lock through a driver, but that does not mean the lock itself runs correctly on 5V. GPIO pins supply about 20–40 mA, while solenoids typically need 800 mA to 2 A. A relay, MOSFET, or transistor driver is required between the controller and the lock.
Most 12V solenoid lock models draw 0.8–2A, so the power supply should be rated at least 20% above the lock’s maximum current. For a concrete example, the 12V 9mm push-pull solenoid is specified at 1.2A and 14.4W. On longer cable runs, 24V is preferred because it halves current compared with 12V, but the lock must explicitly support 24V. Voltage support is product-specific. The rust-resistant cabinet lock is offered in 5V, 12V, and 24V variants, and the alloy-wire cabinet lock supports 5V, 12V, and 24V versions as well.
A flyback diode is required to protect microcontrollers, transistors, and relays from inductive kickback when the coil turns off. A 1N4007 is the usual choice. If your controller is reset-prone when the lock activates, a bulk capacitor of 100 µF+ across the supply helps stabilize the rail, especially in Arduino or Raspberry Pi builds. Shoppers using Wi‑Fi controllers often compare this with ESP32 boards or Arduino-compatible boards on the control side.
Check these before ordering:
- Match the lock to the actual supply rail: 12V DC and 24V options are common, but 5V usually will not provide enough force for a lock intended for 12V or 24V operation.
- Add a relay module, MOSFET, or transistor driver; even a multi-voltage cabinet lock still cannot be driven directly from GPIO.
- Add a flyback diode such as a 1N4007 across the coil.
- Size the supply with headroom; an undersized adapter causes weak pull, voltage drop, and resets.
- For reset-prone systems, add a 100 µF+ bulk capacitor and keep power planning separate from the controller where needed.
Duty Cycle and Heat: Which Solenoid Locks Can Stay Energized?
Duty cycle decides whether the lock can be pulsed for release or held energized for longer periods. Intermittent-duty solenoids commonly overheat if powered longer than about 10–30 seconds, so they are a poor fit for doors that stay unlocked for hours. Continuous-duty models do exist, but continuous duty does not mean the device stays cold.
| Product type / example |
Energized-use pattern |
Published limit or behavior |
Best for |
Avoid if |
| 9mm push-pull solenoid lock |
Short pulse or brief hold |
Maximum 10s power-on time; cooling required between cycles |
Intermittent release where 9mm travel is needed |
You need a lock held open for long periods |
| 12V mini solenoid |
Very short unlock pulse |
Recommended 0–5s unlock time and more than a 2 minute interval between uses to prevent overheating |
Compact cabinet and electronics enclosures |
Frequent cycling or long energized periods |
| General cabinet solenoid lock use |
Momentary release |
Intermittent duty; often fine for pulse unlocks, not for scheduled all-day unlock |
Cabinets, drawers, lockers |
High-traffic doors or always-unlocked schedules |
| Motorized lock or proper door hardware |
Long unlocked periods or high traffic |
Better suited to scheduled-unlock operation than standard intermittent solenoids |
Doors that remain unlocked for hours |
Simple low-cost cabinet release jobs |
High-traffic or scheduled-unlock doors are better served by motorized locks or proper door hardware rather than standard intermittent solenoids. If your timing logic is on the controller side, date and time modules make more sense than trying to leave the lock energized. If your automation runs from a single-board computer, Raspberry Pi boards still need separate power planning for actuators.
One separate point causes confusion: the 12V 150A continuous duty solenoid relay is a continuous-duty relay for vehicles and motors, not a cabinet or door lock.
Mechanical Fit and Product Spec Matrix
Electrical compatibility gets the lock moving, but mechanical fit decides whether it actually releases your latch. Stroke length matters when you are matching latch travel. In compact enclosures, body dimensions matter just as much.
The movement pattern matters as much as the dimensions. The 9mm push-pull model is power-on retract and power-off pop-up, so it suits mechanisms designed around that action. It is also rated for -25℃ to 85℃, which helps in varied environments, but that temperature range is not the same as weatherproofing. The mini 12V option uses an electroplated iron body. It is the smallest choice here when space is the limiting factor. If your project also needs local status or user feedback, many cabinet and locker builds pair the lock with an LCD display. For broader controller context, see this worked smart-lock build.
Common Mistakes Before You Buy
- Buying a 12V solenoid lock and trying to run it from 5V. Many 12V locks will not activate properly on 5V, even if the controller itself is 5V logic.
- Skipping the flyback diode. A 1N4007 or similar is the standard fix against inductive kickback and helps protect the driver and controller.
- Using an undersized supply such as 500 mA for a roughly 1 A class lock. The result is voltage drop, weak pull, and controller resets rather than a bad lock.
- Assuming the lock alone secures the door. Solenoids often release a latch rather than serving as the primary locking bolt, so you may also need a separate mechanical latch or hasp.
- Choosing the wrong fail mode. The wrong fail-safe or fail-secure choice creates either a safety problem or a security problem.
- Reversing polarity. Red is positive and black is ground; reversing polarity can damage the solenoid.
- Assuming mounting screws are included. Hardware is not universal across the market, so check whether you need M3 or M4 screws before checkout.
- Planning a Wi‑Fi build without the driver hardware. If you are using an ESP8266-based controller, you still need proper relay or MOSFET switching and power design.
- Forgetting the access input side. If the project needs credential-based entry, add an RFID module alongside the lock hardware.
FAQs on Solenoid Lock
Do I need a flyback diode for a solenoid lock?
Yes — a flyback diode is required, it protects against inductive kickback when the coil turns off, and a 1N4007 or similar is the common add-on. Without it, voltage spikes can damage the switching device and cause intermittent controller problems that look like bad wiring or a bad lock.
Can I connect a solenoid lock directly to Arduino, ESP32, or Raspberry Pi GPIO?
No — GPIO pins only provide about 20–40 mA, while solenoids typically need 800 mA–2 A, so a relay, MOSFET, or transistor driver is required. The controller pin should switch only the driver stage, while the lock draws power from its own correctly sized supply rail.
What power supply should I use for a 12V solenoid lock?
Most 12V solenoid locks draw 0.8–2A, and the supply should be rated at least 20% above the lock’s maximum current; for example, the 9mm push-pull model here is rated at 1.2A and 14.4W. In practice, check the lock’s current first, then choose a supply with enough headroom to handle startup pull without sagging.
How long can a solenoid lock stay energized?
Intermittent-duty solenoids are usually limited to about 10–30 seconds, and on this page the 9mm push-pull unit is capped at 10s while the mini 12V model is recommended for 0–5s with more than a 2 minute interval between uses. If the application needs hours of unlocked time, standard intermittent solenoids are the wrong product family.
What’s the difference between a solenoid lock and a magnetic lock?
A solenoid lock uses a moving plunger or bolt, while a magnetic lock uses electromagnetic attraction between plates; maglocks typically offer about 100–500 kg holding force and require continuous power to stay locked. That makes a maglock the higher-force option in many door applications, but it also changes fail behavior because maglocks are fail-safe.
Should I use a solenoid lock for a full-size door?
For framed pedestrian doors, an electric strike is usually the better choice because it keeps mechanical egress and keyed override, while raw solenoids are generally better suited to cabinets, drawers, and light-duty release tasks. This matters most anywhere people depend on the door, because door hardware and escape behavior are part of the buying decision, not just the voltage.
Most solenoid locks are indoor-use products unless an IP rating is given, and the 9mm push-pull model listing -25℃ to 85℃ is a temperature range, not a weatherproofing claim. If the installation is exposed to rain or washdown, look for a stated IP rating rather than assuming metal construction or temperature tolerance means outdoor-ready.
Glossary
- Flyback Diode
- A small protection diode, commonly a 1N4007, that absorbs the voltage spike created when a solenoid switches off.
- Duty Cycle
- The allowed on-time and rest-time pattern that determines whether a lock can be pulsed briefly or held energized longer without overheating.
- Fail-Safe
- A lock behavior where power loss unlocks the door, used where safe egress matters more than keeping the opening secured.
- Fail-Secure
- A lock behavior where power loss leaves the door locked, used where asset protection matters more than free exit on outage.
- Holding Force
- The amount of force the lock can resist, which helps judge whether it suits light cabinet security or a stronger restraint job.
- Stroke Length
- How far the plunger, tongue, or latch moves in millimeters, which must match the travel your mechanism needs.
- GPIO Pin
- A low-current control pin on boards like Arduino, ESP32, or Raspberry Pi that can signal a driver but cannot power a solenoid directly.
- MOSFET
- An electronic switch used to control higher-current loads like solenoids from low-current controller outputs.
Please complete your information below to login.
Sign In
Create New Account