Bluetooth classico contro BLE
Scopra quando utilizzare SPP seriale invece di BLE a basso consumo.
Bluetooth classico contro BLE è una lezione Arduino & IoT Academy gratuita su CoddyKit. Questa è la lezione 1 di 4. Puoi leggere la lezione completa qui gratuitamente — poi esercitati direttamente nel browser con un editor di codice integrato e un tutor IA disponibile 24/7. Fa parte del percorso di apprendimento Arduino & IoT Academy, e i tuoi progressi si sincronizzano tra il web e l'app CoddyKit. Il corso Arduino & IoT Academy include 4 lezioni in totale.
Parti di questa lezione non sono ancora state tradotte e vengono mostrate in inglese.
Two Bluetooths, One Name
Bluetooth comes in two flavors that share a name but behave very differently. Picking the right one shapes your whole IoT project. 📡
Classic Bluetooth
Classic Bluetooth keeps a steady connection open, like a wireless serial cable. It is great for streaming audio or a constant flow of data.
BLE Sips Power
BLE, or Bluetooth Low Energy, wakes up, sends a tiny burst, and sleeps again. That on-off rhythm is why it barely touches your battery.
The Power Gap
Classic keeps the radio busy and drains cells fast. BLE can run a sensor for months on a coin cell because it stays quiet between short messages.
Data Size Matters
Classic moves big continuous streams well. BLE is built for small, occasional values like a temperature reading, not for sending music or video.
Serial over Classic (SPP)
Classic Bluetooth often uses SPP, the Serial Port Profile. To your code it feels exactly like a normal serial stream you already know.
SerialBT.begin("MyDevice");
SerialBT.println("Hello over SPP");BLE Talks in Attributes
BLE does not stream a line of text. Instead it exposes named slots called characteristics that a phone can read or write on demand.
Who Connects to iPhones
Modern iPhones only talk to BLE from hobby boards, not Classic SPP. If an iOS app must connect, BLE is your only real choice.
What the ESP32 Offers
The ESP32 is generous: it supports both Classic Bluetooth and BLE. So you can pick whichever profile fits the job you are building.
A Simple Rule
Need constant streaming or a wireless serial swap? Reach for Classic. Need low power and phone-friendly control? Choose BLE every time.
Range Is Similar
Both reach roughly ten meters indoors. The real difference is not distance but power and how the data is shaped and delivered.
Quick Check
You want a coin-cell sensor that a phone reads now and then.
Recap
Classic streams steadily; BLE sips power with small bursts and friendly characteristics. For phone-controlled IoT, BLE on the ESP32 wins. 🎉
Domande Frequenti
La lezione «Bluetooth classico contro BLE» è gratuita?
Sì — il testo completo di «Bluetooth classico contro BLE» è gratuito qui sul web. Per esercitarvi in modo interattivo (un editor di codice integrato e un tutor IA 24/7) e sbloccare il resto del corso Arduino & IoT Academy, passa a CoddyKit PRO. Il corso Arduino & IoT Academy include 4 lezioni in totale.
Cosa imparerò in «Bluetooth classico contro BLE»?
Scopra quando utilizzare SPP seriale invece di BLE a basso consumo. Eserciti Arduino & IoT Academy con codice pratico che esegui direttamente nel browser, e un tutor IA 24/7 risponde alle tue domande mentre lavori sulla lezione.
Ho bisogno di esperienza per iniziare Arduino & IoT Academy?
Non è richiesta alcuna esperienza precedente. Arduino & IoT Academy su CoddyKit è strutturato per principianti e studenti avanzati, quindi puoi iniziare da qui o dall'inizio e procedere al tuo ritmo. Questa è la lezione 1 di 4.
Quanto tempo richiede la lezione «Bluetooth classico contro BLE»?
La maggior parte delle lezioni CoddyKit richiede circa 5–10 minuti. Ogni lezione è breve e interattiva, quindi fai progressi costanti e riprendi esattamente da dove hai lasciato su web e app.
Posso scrivere ed eseguire codice in questa lezione Arduino & IoT Academy?
Sì. Ogni lezione Arduino & IoT Academy include un editor di codice integrato, quindi scrivi ed esegui codice reale direttamente nel tuo browser e ricevi feedback istantaneo dall'IA — nessuna configurazione locale necessaria.
Tutte le lezioni di questo corso
- Bluetooth classico contro BLE
- Pubblicizzare un servizio BLE
- Leggere e scrivere le caratteristiche
- Controllare un LED da un'app del telefono