4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

View More

2,12

(34 customer reviews)

Disponibile (ordinabile)

QuantitàPrezzo Unitario
12 - 49 2,02
50 - 99 1,97
100 + 1,91

Product Description

Ecco una descrizione completa del modulo ricevitore a infrarossi TL1838 / VS1838B 38kHz, insieme a una guida dettagliata per l’utilizzo con Arduino, comprensiva di esempi pratici e codice di esempio.


🔧 Modulo 38kHz IR LED Ricevitore Infrarossi TL1838 / VS1838B – Descrizione Tecnica

📦 Cos’è

Il TL1838 o VS1838B è un modulo ricevitore IR (infrarossi) progettato per ricevere segnali modulati a 38 kHz, tipici dei telecomandi IR (come quelli della TV). È comunemente usato in progetti di elettronica con Arduino, ESP32, Raspberry Pi e altri microcontrollori per ricevere comandi da un telecomando IR.

⚙️ Specifiche Tecniche

  • Modello: TL1838 o VS1838B
  • Frequenza di ricezione: 38 kHz
  • Alimentazione: 2.7 – 5.5 V
  • Corrente di lavoro: ~0.4 mA
  • Angolo di ricezione: ±45°
  • Distanza massima: fino a 18 m (dipende dalla potenza del trasmettitore e condizioni ambientali)
  • Formato di uscita: segnale digitale (LOW quando riceve segnale, HIGH altrimenti)
  • Filtraggio automatico: luce ambientale, rumore, e impulsi non modulati

📌 Pinout

Il modulo solitamente ha 3 pin (da sinistra a destra guardando il sensore frontalmente con il “cupolino” rivolto verso di te):

  1. OUT: Segnale di uscita (collegare al pin digitale di Arduino)
  2. GND: Massa
  3. VCC: Alimentazione (5V)

⚠️ Attenzione: alcuni moduli potrebbero avere una disposizione diversa dei pin. Verificare sempre lo schema del produttore.


🧪 Collegamento con Arduino

🛠️ Schema di Collegamento

Modulo IR (VS1838B/TL1838)Arduino
OUTPin D11
GNDGND
VCC5V

📦 Libreria Necessaria

Per semplificare l’uso del modulo, utilizziamo la libreria IRremote.

🔌 Installazione della Libreria

  1. Apri l’IDE di Arduino
  2. Vai su Sketch > Include Library > Manage Libraries
  3. Cerca IRremote
  4. Installa la libreria “IRremote” di shirriff / z3t0 / ArminJo

🧪 Esempio: Leggere il codice di un telecomando

#include <IRremote.h>

const int RECV_PIN = 11;
IRrecv irrecv(RECV_PIN);
decode_results results;

void setup() {
  Serial.begin(9600);
  irrecv.enableIRIn(); // Avvia la ricezione IR
  Serial.println("Ricevitore IR pronto");
}

void loop() {
  if (irrecv.decode(&results)) {
    Serial.print("Codice ricevuto: ");
    Serial.println(results.value, HEX); // Stampa in esadecimale
    irrecv.resume(); // Pronto per il prossimo segnale
  }
}

✅ Cosa fa

  • Riceve i codici IR da un telecomando
  • Stampa i codici in esadecimale nel Serial Monitor

🛠️ Come Usarlo nei Progetti

Una volta che hai letto i codici IR, puoi usarli per controllare dispositivi. Esempio:

🧠 Esempio: Accendere un LED con un telecomando

#include <IRremote.h>

const int RECV_PIN = 11;
const int ledPin = 7;
IRrecv irrecv(RECV_PIN);
decode_results results;

const unsigned long codiceAccensione = 0xFFA25D; // Inserisci il codice ricevuto dal telecomando

void setup() {
  Serial.begin(9600);
  pinMode(ledPin, OUTPUT);
  irrecv.enableIRIn();
}

void loop() {
  if (irrecv.decode(&results)) {
    if (results.value == codiceAccensione) {
      digitalWrite(ledPin, !digitalRead(ledPin)); // Toggle LED
      delay(300); // debounce
    }
    irrecv.resume();
  }
}

❓ Domande Frequenti (FAQ)

🔹 Posso usare qualsiasi telecomando?

Sì, purché trasmetta su 38 kHz, come la maggior parte dei telecomandi per TV/DVD/Aria condizionata.

🔹 Ricevo sempre FFFFFFFF?

Il valore 0xFFFFFFFF è spesso un codice di ripetizione. Serve a indicare che stai tenendo premuto un tasto. Usa il valore iniziale per identificare il tasto.

🔹 Posso controllare più funzioni?

Sì. Basta rilevare i vari codici per ogni tasto del telecomando e associarli a diverse azioni nel codice.


📌 Consigli per l’Uso

  • Evita luce solare diretta: può interferire con il segnale.
  • Usa una breadboard pulita per test iniziali.
  • Puoi aumentare la stabilità con un condensatore da 10µF tra VCC e GND (opzionale).
  • Se hai problemi con la lettura, prova a invertire OUT e GND, alcuni moduli hanno etichette invertite.

Se vuoi posso fornirti:

  • Schema Fritzing del collegamento
  • Codice per accendere più LED con diversi tasti
  • Integrazione con relè o dispositivi domotici

GENERALI

MODELLO

TL1838 VS1838B

MATERIALI

resina epossidica + metallo

COMPATIBILITA’

ARDUINO

COMPONENTI ELETTRICI

VOLTAGGIO DI INPUT

2,7 – 5,5 V

PESO E DIMENSIONI

PESO DEL PRODOTTO

1g

PESO DEL PACCHETTO

0.085 kg

DIMENSIONI DEL PRODOTTO

(L x W x H)

0.6 x 3 x 0.2 cm

DIMENSIONI DEL PACCHETTO

(L x W x H)

3 x 5 x 2 cm

CONTENUTO DELLA CONFEZIONE

CONTENUTO DELLA CONFEZIONE

2 x Modulo

Abbiamo disponibili datasheet di tutti i componenti, qualora non fosse presente nella scheda download del prodotto inviaci un messaggio dal modulo contattaci e lo pubblicheremo il prima possibile nel nostro sito.

Facebooktwitterredditpinterestlinkedinmail

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Ottimo venditore. Consegna non nei tempi previsti, ma visto che era gratuita, ok

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/domoticland

    Perfetto…..nulla da dore

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    ok!

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    ok

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    a parte i 2 giorni di ritardo,(magari non dipende dal venditore)tutto ok

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Perfetto e veloce !

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    venditore onesto grazie e veloce

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    All ok

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/domoticland

    Tutto OK. Ebayer++++

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    tutto ok! grazie mille

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    OK

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/domoticland

    tutto bene grazie!

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/domoticland

    Ottimo

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Tutto OK, grazie.

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Transazione perfetta sotto ogni aspetto. Alla prossima!

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Tutto OK +++++++++++++++++++++

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Tutto ok!

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Veloce e puntuale, oggetto conforme alle specifiche.

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Ottimo venditore. Consigliato!!

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    tutto conforme

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Tutto ok

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Perfetto. Funziona tutto. Grazie!

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Tutto ok. Raccomandato.

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    tutto ok

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Tutto perfetto venditore serio e velocissimo, veramente consigliato!!!!!++++++++

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Perfetto alla prossima

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Tutto OK

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    tutto perfetto, grazie.

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5

    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Ottimo venditore velocissimo e affidabile.

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/circuitointegrato

    Than you for a perfect service!

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/domoticland

    Tutto perfetto

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/domoticland

    ok

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/domoticland

    Grazie consegnato il 19 agosto saluti

    Item Reviewed: 4 Pezzi 38Khz IR LED Ricevitore Infrarossi Universale TL1838 VS1838B arduino compatibile

    5 out of 5
    Feedback ricevuto nel nostro negozio eBay http://stores.ebay.it/domoticland

    OK

Add a review

TL1838 Datasheet

Download