loading

Tianhui- youn nan dirijan UV dirije chip manifaktirè yo ak founisè bay ODM / OEM UV dirije chip sèvis.

Fè nan son repons savon IR dirije teren

Consommables:



1वvwalman ak anvwa.

2 ba limyè ki ap dirije. Esp8266 / ne MCU

Levre IR

Reziste 4。



5 。

6را arduino ide.

7.

8را 7805 IC

Aksyon 1: Prepare ESP

Premyèman, konekte nodemcu ak yon òdinatè oswa yon laptop.

Koulye a, enstale chofè a pou nodemcu (lè l sèvi avèk rechèch Google).

Apre ou fin louvri IDE Arduino a (nan kou, ou bezwen telechaje ak enstale li), klike sou Zouti sou ba zouti Arduino a, Lè sa a, klike sou tablo, chwazi manadjè tablo a epi chèche enstalasyon esp8266 (li pral pran kèk tan pou konplete)

Koulye a, chwazi "trase" nan ba zouti Arduino, chwazi "enkli bibliyotèk", Lè sa a, chwazi "jere bibliyotèk", chèche "iremoteesp8266" epi enstale li.

Koulye a, ranpli konfigirasyon an sèlman atravè "zouti", ou bezwen ale nan "mèr" epi chwazi "nodemcu 1.0 (ESP 12-e)" oswa lòt vèsyon nan esp8266.

Etap 2: prepare epi teste LED IR la

Premyèman, nou bezwen enstale

Ale isit la

Idantifye teren limyè ki ap dirije ou a, si li se yon kle 24 oswa 44 kle (pi gwo) kontwòl remote

Pou jwenn kòd kontwòl remote isit la

Apre enstale bibliyotèk la, nou prepare LED IR nou yo lè nou konekte LED IR yo jan yo montre nan figi a. Konekte led IR a sou li, Lè sa a, telechaje trase sa a epi montre led IR a sou kontwolè a. Ba a ki ap dirije ta dwe flache (sou ak koupe) // Remote kontwòl ak 24 ak 44 kle an menm tan an.

Men kòd pou fè sa.

#defini IR_ OFF 0xF740BF //Resective ir codes in 32 bits

#defini IR_ ON 0xF7C0

#IncludeIRsend irsend (4); // IR

Void setup () {

Irsend.begin ();

}

Vod loop () {

Irsend.sendNEC (IR_ON, 32);

Jarde 5000;

Irsend.sendNEC (IR_OFF, 32);

Jarde 5000;

}

Etap 3: fil elektrik ak prepare mikwofòn la

Nou pral itilize sèlman PIN analòg espe8266 A0 kòm opinyon an kòm siyal analòg epi sèvi ak li pou deklanche siyal enfrawouj ki baze sou son.

Konekte pin soti nan A0

Konekte 5V nan VIN (tankou MCU ne pa gen okenn pwodiksyon 5V)

Nan fason sa a, nou konekte IR ki ap dirije D2 PIN nan koneksyon an aliyman ak reseptè a nan ba a limyè ki ap dirije.

A

Etap 4: telechaje kòd la epi pare

#enkli

#enkli

#defini mikwofònPin A0

int son;

int son1;

Const int irPin = 4; // d2IRsend irsend (irPin); void setup () {

Serial.begin (19600);

Pin Mode (microphonePin, INPUT)

PinMode(irPin, OUTPUT);}

// li te dirije Kòd

#defini IR_ BPlus 0xFF3AC5 //

#defini IR_ BMinus 0xFFBA45 //

#defini IR_ ON 0xFF827D //

#defini IR_ OFF 0xFF02FD //

#defini IR_ R 0xFF1AE5 //

#defini IR_ G 0xFF9A65 //

#defini IR_ B 0xFFA25D //

#defini IR_ W 0xFF22DD //

#defini IR_ B1 0xFF2AD5 //

#defini IR_ B2 0xFFAA55 //

#defini IR_ B3 0xFF926D //

#defini IR_ B4 0xFF12ED //

#defini IR_ B5 0xFF0AF5 //

#defini IR_ B6 0xFF8A75 //

#defini IR_ B7 0xFFB24D //

#defini IR_ B8 0xFF32CD //

#defini IR_ B9 0xFF38C7 ​​//

#defini IR_ B10 0xFFB847 //

#defini IR_ B11 0xFF7887 //

#defini IR_ B12 0xFFF807 //

#defini IR_ B13 0xFF18E7 //

#defini IR_ B14 0xFF9867 //

#defini IR_ B15 0xFF58A7 //

#defini IR_ B16 0xFFD827 //

#defini IR_ UPR 0xFF28D7 //

#defini IR_ UPG 0xFFA857 //

#defini IR_ UPB 0xFF6897 //

#defini IR_ RAPID 0xFFE817 //

#defini IR_ DOWNR 0xFF08F7 //

#defini IR_ DOWNG 0xFF8877 //

#defini IR_ DOWNB 0xFF48B7 //

#defini IR_ SLOW 0xFFC837 //

#defini IR_ DIY1 0xFF30CF //

#defini IR_ DIY2 0xFFB04F //

#defini IR_ DIY3 0xFF708F //

#defini IR_ AUTO 0xFFF00F //

#defini IR_ DIY4 0xFF10EF //

#defini IR_ DIY5 0xFF906F //

#defini IR_ DIY6 0xFF50AF //

#defini IR_ FLASH 0xFFD02F //

#defini IR_ JUMP3 0xFF20DF //

#defini IR_ JUMP7 0xFFA05F //

#defini IR_ FADE3 0xFF609F //

#defini IR_ FADE7 0xFFE01F //

Vod loop () {

Son = analogRead

Serial.print (son); // enput siy signal audio pou dispozisyon Serial

Seryel.print ( “” );

Si (son a 415)

{

Sound1 = kat (son, 415, 750, 140, 255); // Mapping valè plis frekwens ki ansè offset pou a de 150 - 255

}

Ansyen si (son) 340 && Sound kote valè offset nan rang 340 - 415 se depann de compòn yo itilize nan sikonk. Lóre

{

Sound1 = kat (son, 340, 415, 0, 9);

}

Ansyen si (soun of 340).

{

Sound1

}

Si (son 1 rera 240)

{

Irsend.sendNEC (IR_FLASH, 32);

Irsend.sendNEC(IR_QUICK, 32);

Irsend.sendNEC(IR_QUICK, 32);

Irsend.sendNEC(IR_QUICK, 32);

Irsend.sendNEC(IR_QUICK, 32);

Irsend.sendNEC(IR_QUICK, 32);

Irsend.sendNEC(IR_QUICK, 32);

}

Si ((son 1) 200)

{

Irsend.sendNEC (IR_G, 32);

Irsend.sendNEC(IR_B, 32);

Tard(120);}

Ansyen si (son 1 a 160)

{

Irsend.sendNEC (IR_R, 32);

Irsend.sendNEC(IR_B, 32);

Tard 120;

}

Ansyen si (son 1 ea 120)

{

Irsend.sendNEC(IR_B, 32);

Tard 120;

}

Ansyen si (son 1 ea 80)

{

Irsend.sendNEC(IR_B, 32);

Tard 120;

}

Ansyen si (son 1 ea 40)

{

Irsend.sendNEC (IR_G, 32);

Tard 120;

}

Ansyen si (son 1 rera 10).

{

Irsend.sendNEC (IR_R, 32);

Tard(120);}

Lòt consommables:

1. Li evidan ak ekipman pou pouvwa

2 ba limyè ki ap dirije. Esp8266 / ne MCU

3. Lidè emeteur IR

4. Rezistans

5. Pwogramasyon kab

6را arduino ide.

7. Fè soude (kèk soude debaz)

8. 7805 IC (pou itilize ekipman pou pouvwa ki ap dirije kòm ekipman pou pouvwa ESP)

9. Etap 1: prepare ESP

Premyèman, konekte nodemcu ak yon òdinatè oswa yon laptop.

Koulye a, enstale chofè a pou nodemcu (lè l sèvi avèk rechèch Google).

Apre ou fin louvri IDE Arduino a (nan kou, ou bezwen telechaje ak enstale li), klike sou Zouti sou ba zouti Arduino a, Lè sa a, klike sou tablo, chwazi manadjè tablo a epi chèche enstalasyon esp8266 (li pral pran kèk tan pou konplete)

Koulye a, chwazi "trase" nan ba zouti Arduino, chwazi "enkli bibliyotèk", Lè sa a, chwazi "jere bibliyotèk", chèche "iremoteesp8266" epi enstale li.

Koulye a, ranpli konfigirasyon an sèlman atravè "zouti", ou bezwen ale nan "mèr" epi chwazi "nodemcu 1.0 (ESP 12-e)" oswa lòt vèsyon nan esp8266.

Etap 2: prepare epi teste LED IR la

Premyèman, nou bezwen enstale

Ale isit la

Idantifye teren limyè ki ap dirije ou a, si li se yon kle 24 oswa 44 kle (pi gwo) kontwòl remote

Pou jwenn kòd kontwòl remote isit la

Apre enstale bibliyotèk la, nou prepare IR nou an lè nou konekte IR ki ap dirije a jan yo montre nan figi a. Konekte led IR a sou li, Lè sa a, telechaje trase sa a epi montre led IR a sou kontwolè a. Ba limyè ki ap dirije a ta dwe flash (sou ak koupe). / / kontwòl remote la ak 24 ak 44 kle ka itilize an menm tan an.

Men kòd pou fè sa.

#defini IR_OFF 0xF740BF //Resective ir codes in 32 bits

#defini IR_ON 0xF7C0

#enkli

IRsend irsend (4); // IR

Void setup () {

Irsend.begin ();

}

Vod loop () {

Irsend.sendNEC (IR_ON, 32);

Jarde 5000;

Irsend.sendNEC (IR_OFF, 32);

Jarde 5000;

}

Etap 3: fil elektrik ak prepare mikwofòn la

Nou pral itilize sèlman PIN analòg espe8266 A0 kòm opinyon an kòm siyal analòg epi sèvi ak li pou deklanche siyal enfrawouj ki baze sou son.

Konekte pin soti nan A0

Konekte 5V nan VIN (tankou MCU ne pa gen okenn pwodiksyon 5V)

Nan fason sa a, nou konekte IR ki ap dirije D2 PIN nan koneksyon an aliyman ak reseptè a nan ba a limyè ki ap dirije.

A

Etap 4: telechaje kòd la epi pare

#enkli

#enkli

#defini mikwofònPin A0

int son;

int son1;

Const int irPin = 4; // d2IRsend irsend (irPin); vooid setup () {

Serial.begin (19600);

Pin Mode (microphonePin, INPUT)

PinMode(irPin, OUTPUT);}

// li te dirije Kòd

#defini IR_BPlus 0xFF3AC5 //

#defini IR_BMinus 0xFFBA45 //

#defini IR_ON 0xFF827D //

#defini IR_OFF 0xFF02FD //

#defini IR_R 0xFF1AE5 //

#defini IR_G 0xFF9A65 //

#defini IR_B 0xFFA25D //

#defini IR_W 0xFF22DD //

#defini IR_B1 0xFF2AD5 //

#defini IR_B2 0xFFAA55 //

#defini IR_B3 0xFF926D //

#defini IR_B4 0xFF12ED //

#defini IR_B5 0xFF0AF5 //

#defini IR_B6 0xFF8A75 //

#defini IR_B7 0xFFB24D //

#defini IR_B8 0xFF32CD //

#defini IR_B9 0xFF38C7 ​​//

#defini IR_B10 0xFFB847 //

#defini IR_B11 0xFF7887 //

#defini IR_B12 0xFFF807 //

#defini IR_B13 0xFF18E7 //

#defini IR_B14 0xFF9867 //

#defini IR_B15 0xFF58A7 //

#defini IR_B16 0xFFD827 //

#defini IR_UPR 0xFF28D7 //

#defini IR_UPG 0xFFA857 //

#defini IR_UPB 0xFF6897 //

#defini IR_QUICK 0xFFE817 //

#defini IR_DOWNR 0xFF08F7 //

#defini IR_DOWNG 0xFF8877 //

#defini IR_DOWNB 0xFF48B7 //

#defini IR_SLOW 0xFFC837 //

#defini IR_DIY1 0xFF30CF //

#defini IR_DIY2 0xFFB04F //

#defini IR_DIY3 0xFF708F //

#defini IR_AUTO 0xFFF00F //

#defini IR_DIY4 0xFF10EF //

#defini IR_DIY5 0xFF906F //

#defini IR_DIY6 0xFF50AF //

#defini IR_FLASH 0xFFD02F //

#defini IR_JUMP3 0xFF20DF //

#defini IR_JUMP7 0xFFA05F //

#defini IR_FADE3 0xFF609F //

#defini IR_FADE7 0xFFE01F //

Vod loop () {

Son = analogRead

Serial.print (son); // enput siy signal audio pou dispozisyon Serial

Seryel.print ( “” );

Si (son a 415)

{

Sound1 = kat (son, 415, 750, 140, 255); // Mapping valè plis frekwens ki ansè offset pou a de 150 - 255

}

Ansyen si (son) 340 && Sound kote valè offset nan rang 340 - 415 se depann de compòn yo itilize nan sikonk. Lóre

{

Sound1 = kat (son, 340, 415, 0, 9);

}

Ansyen si (soun of 340).

{

Sound1

}

Si (son 1 rera 240)

{

Irsend.sendNEC (IR_FLASH, 32);

Irsend.sendNEC(IR_QUICK, 32);

Irsend.sendNEC(IR_QUICK, 32);

Irsend.sendNEC(IR_QUICK, 32);

Irsend.sendNEC(IR_QUICK, 32);

Irsend.sendNEC(IR_QUICK, 32);

Irsend.sendNEC(IR_QUICK, 32);

}

Si ((son 1) 200)

{

Irsend.sendNEC (IR_G, 32);

Irsend.sendNEC(IR_B, 32);

Tard(120);}

Ansyen si (son 1 a 160)

{

Irsend.sendNEC (IR_R, 32);

Irsend.sendNEC(IR_B, 32);

Tard 120;

}

Ansyen si (son 1 ea 120)

{

Irsend.sendNEC(IR_B, 32);

Tard 120;

}

Ansyen si (son 1 ea 80)

{

Irsend.sendNEC(IR_B, 32);

Tard 120;

}

Ansyen si (son 1 ea 40)

{

Irsend.sendNEC (IR_G, 32);

Tard 120;

}

Ansyen si (son 1 rera 10).

{

Irsend.sendNEC (IR_R, 32);

Tard(120);}

lòt bagay

{

Irsend.sendNEC(IR_FADE7, 32);

Tard 120;

} Serial.println (son 1);

Tard(50);

}

{

Irsend.sendNEC(IR_FADE7, 32);

Tard 120;

} Serial.println (son 1);

dela

De Fè nan son repons savon IR dirije teren

Voye rechèch ou an
pa gen okenn done
Kontakte nou
Nou akeyi desen koutim ak lide ak se kapab founi nan kondisyon yo ki espesifik. Pou plis enfòmasyon, tanpri ale nan sit entènèt la oswa kontakte nou dirèkteman ak kesyon oswa kesyon.
youn nan founisè ki pi pwofesyonèl UV dirije nan Lachin
Ou ka jwenn.  N isit la.
2207F Yingxin Entènasyonal Building, No.66 Shihua West Road, Jida, Xiangzhou District, Zhuhai City, Guangdong, Lachin
Customer service
detect