Aller au contenu

Telecommande universelle a base de ESP8266 / ESP32 / Arduino


Mr.Glloq

Messages recommandés

Bonjour tout le monde,

 

Je me suis lancé dans un petit projet de télécommande de remplacement pour l'Atlas.

 

Le but est de piloter l'Atlas par un microcontrôleur wifi type  ESP8266 / ESP32 / Arduino via un smartphone, tablette, ordinateur.

 

Très pratique si vous perdez, cassé la télécommande et tout simplement, si vous distribuez votre signal HDMI dans la maison afin de pouvoir piloter l'Atlas a distance.

 

Pour cela, il faut que je scan toutes les touches de la télécommande, rien d'extraordinaire en soit, mais si je pouvais gagner un peu de temps.

 

Donc je cherche a savoir si l'un d'entre vous a déjà dans des archives le scancode de toutes les touches de la télécommande Atlas 200 ?

 

Par avance Merci

  • Like 1
Lien vers le commentaire
Partager sur d’autres sites

Hello @IceCream

 

Merci pour ta réponse, mais mon but n'est pas d'acheter une télécommande universelle mais de la faire et de pouvoir piloter l'Atlas via une interface Web.

 

Je montrerais l'avancement du projet pour ceux que cela intéresse, mais pour le moment, je dois établir la liste des code envoyer pas la télécommande d'origine.

 

Ma question était surtout savoir si quelqu'un avait déjà fait cette tache pour m’éviter de la refaire.

 

Sinon, je vais la faire, ce n'est pas très compliqué.

 

Merci

Lien vers le commentaire
Partager sur d’autres sites

Pour ceux que cela intéresse, voila le DUMP complet de la télécommande.

 

Il y avait une petite erreur sur le code Streem    NEC    10E0B14E    32 bits de mon dernier POST

 

Power    NEC    10E051AE    32 bits

Mute    NEC    10E0D12E    32 bits

10E051AEDecoded NEC: 10E051AE (32 bits)

Raw (68): 8998 -4480 562 -578 558 -580 560 -578 560 -1702 558 -580 558 -580 560 -580 560 -580 560 -1702 558 -1704 560 -1702 560 -578 560 -578 562 -578 560 -580 558 -580 560 -580 560 -1702 560 -582 558 -1702 560 -580 560 -578 558 -580 560 -1700 560 -1704 560 -578 560 -1702 558 -580 560 -1702 560 -1702 558 -1704 558 -580 560

10E0D12EDecoded NEC: 10E0D12E (32 bits)

Raw (68): 9000 -4484 560 -580 580 -558 558 -580 560 -1704 556 -582 558 -580 560 -580 584 -556 560 -1702 560 -1702 558 -1704 558 -582 558 -580 560 -580 560 -578 560 -580 558 -1706 558 -1704 560 -580 560 -1702 558 -580 560 -580 560 -578 560 -1702 560 -580 560 -578 560 -1704 558 -580 560 -1704 560 -1704 558 -1704 560 -580 560

 

Reset    NEC    10E0857A    32 bits

TXT    NEC    10E045BA    32 bits

Pause    NEC    10E0C53A    32 bits

Panel    NEC    10E025DA    32 bits

10E0857ADecoded NEC: 10E0857A (32 bits)

Raw (68): 9000 -4484 558 -578 560 -580 558 -582 558 -1704 560 -582 558 -580 560 -580 560 -578 560 -1704 558 -1706 558 -1702 558 -580 560 -578 560 -580 558 -580 558 -582 558 -1704 558 -580 560 -580 558 -580 560 -578 560 -1702 560 -578 560 -1702 560 -580 558 -1702 558 -1706 558 -1702 560 -1704 556 -580 560 -1704 560 -578 558

10E045BADecoded NEC: 10E045BA (32 bits)

Raw (68): 9026 -4458 562 -578 560 -580 560 -578 562 -1700 560 -578 584 -556 560 -580 558 -580 560 -1702 560 -1700 558 -1704 558 -580 560 -582 558 -578 560 -580 562 -576 560 -580 560 -1704 558 -582 582 -556 560 -578 560 -1702 558 -580 560 -1702 560 -1702 560 -580 560 -1702 558 -1702 560 -1700 560 -580 562 -1700 560 -580 560

10E0C53ADecoded NEC: 10E0C53A (32 bits)

Raw (68): 9000 -4480 560 -580 560 -578 560 -580 560 -1702 560 -578 560 -580 560 -580 560 -580 560 -1702 560 -1702 558 -1704 560 -580 562 -576 560 -578 562 -580 558 -578 560 -1706 558 -1704 558 -578 560 -578 560 -580 558 -1702 582 -558 560 -1702 560 -580 582 -556 560 -1704 558 -1702 584 -1678 558 -580 560 -1702 560 -580 560

10E025DADecoded NEC: 10E025DA (32 bits)

Raw (68): 9000 -4480 560 -580 560 -578 560 -578 562 -1702 558 -578 562 -578 560 -578 560 -578 562 -1702 560 -1700 562 -1700 560 -580 560 -578 560 -580 560 -578 560 -580 560 -580 562 -578 560 -1704 556 -580 560 -578 562 -1700 560 -580 560 -1700 562 -1700 562 -1700 558 -580 560 -1702 558 -1702 560 -578 562 -1702 558 -580 562

 

<<    NEC    10E0718E    32 bits

>>    NEC    10E0F10E    32 bits

|<<    NEC    10E005FA    32 bits

>>|    NEC    10E009F6    32 bits

>    NEC    10E0A55A    32 bits

||    NEC    10E0659A    32 bits

■    NEC    10E0E51A    32 bits

●    NEC    10E015EA    32 bits

Fav    NEC    10E0956A    32 bits

Freeze    NEC    10E055AA    32 bits

Sleep    NEC    10E0D52A    32 bits

TV/R    NEC    10E035CA    32 bits

10E0718EDecoded NEC: 10E0718E (32 bits)

Raw (68): 9002 -4482 582 -556 584 -556 586 -554 562 -1702 558 -578 560 -580 560 -578 558 -580 560 -1704 558 -1702 562 -1702 560 -578 560 -580 562 -578 560 -580 558 -580 560 -580 560 -1704 560 -1704 560 -1702 584 -556 560 -578 562 -578 560 -1702 584 -1678 560 -580 558 -580 560 -580 560 -1702 562 -1700 562 -1702 560 -582 558

10E0F10EDecoded NEC: 10E0F10E (32 bits)

Raw (68): 9000 -4484 560 -578 560 -580 562 -578 560 -1704 558 -580 560 -580 560 -578 562 -580 558 -1704 586 -1676 560 -1706 558 -578 562 -578 562 -580 558 -582 558 -580 558 -1704 560 -1702 586 -1678 560 -1702 560 -580 560 -580 558 -580 560 -1704 560 -580 558 -582 558 -580 580 -558 558 -1704 560 -1702 560 -1702 558 -582 558

10E005FADecoded NEC: 10E005FA (32 bits)

Raw (68): 8998 -4484 558 -578 560 -580 560 -580 560 -1702 558 -578 562 -578 560 -580 560 -578 584 -1678 560 -1702 558 -1704 558 -578 560 -578 560 -580 560 -580 560 -578 560 -580 560 -578 560 -580 560 -578 560 -578 560 -1702 560 -580 560 -1702 562 -1700 558 -1702 560 -1702 560 -1700 560 -1702 558 -578 560 -1704 584 -556 558

10E009F6Decoded NEC: 10E009F6 (32 bits)

Raw (68): 9000 -4482 560 -578 560 -580 584 -554 560 -1702 560 -580 582 -556 560 -578 560 -580 558 -1704 558 -1702 560 -1704 558 -580 558 -580 584 -554 558 -580 560 -580 558 -580 560 -580 560 -578 560 -580 558 -1702 560 -580 582 -556 562 -1700 560 -1704 558 -1702 560 -1658 602 -1704 560 -580 560 -1702 560 -1702 558 -582 560

10E0A55ADecoded NEC: 10E0A55A (32 bits)

Raw (68): 8996 -4480 560 -578 560 -580 584 -554 560 -1702 558 -580 560 -578 562 -578 558 -580 560 -1702 560 -1702 560 -1702 558 -580 560 -580 560 -578 560 -580 560 -578 558 -1706 558 -580 560 -1702 560 -580 560 -580 558 -1704 558 -582 558 -1702 560 -580 558 -1702 558 -582 558 -1704 558 -1702 560 -580 560 -1700 586 -554 560

10E0659ADecoded NEC: 10E0659A (32 bits)

Raw (68): 8996 -4484 558 -580 560 -578 560 -580 560 -1702 558 -580 560 -580 558 -580 560 -580 558 -1702 560 -1702 562 -1702 560 -580 558 -580 558 -580 560 -580 560 -578 560 -582 560 -1702 560 -1702 558 -580 558 -580 560 -1704 560 -578 584 -1680 560 -1702 558 -580 560 -580 560 -1704 558 -1702 560 -580 560 -1702 560 -580 562

10E0E51ADecoded NEC: 10E0E51A (32 bits)

Raw (68): 9000 -4478 584 -556 560 -578 560 -578 560 -1704 558 -578 560 -578 562 -578 560 -580 560 -1702 562 -1698 562 -1702 560 -578 560 -578 562 -580 560 -578 558 -580 562 -1702 558 -1704 560 -1702 560 -580 560 -578 560 -1704 558 -580 584 -1678 584 -554 560 -580 558 -580 560 -1700 560 -1702 560 -580 560 -1702 558 -580 560

10E015EADecoded NEC: 10E015EA (32 bits)

Raw (68): 9002 -4482 558 -580 558 -580 558 -580 560 -1702 560 -580 560 -578 560 -578 562 -578 560 -1702 560 -1704 558 -1702 560 -578 560 -580 558 -580 560 -580 560 -578 558 -582 560 -578 558 -580 560 -1704 558 -578 560 -1702 558 -580 558 -1704 560 -1702 558 -1702 560 -1704 560 -578 560 -1704 558 -580 560 -1702 558 -582 558

10E0956ADecoded NEC: 10E0956A (32 bits)

Raw (68): 8998 -4480 560 -578 560 -580 558 -580 560 -1702 560 -578 560 -580 562 -576 560 -580 560 -1702 560 -1702 560 -1702 560 -578 560 -580 560 -578 560 -580 558 -580 560 -1704 560 -580 560 -580 560 -1700 562 -578 560 -1702 560 -578 560 -1704 558 -580 560 -1702 560 -1704 556 -582 558 -1702 560 -578 560 -1702 558 -580 560

10E055AADecoded NEC: 10E055AA (32 bits)

Raw (68): 8998 -4482 558 -580 560 -580 560 -580 560 -1702 558 -578 560 -580 562 -578 562 -580 558 -1702 560 -1702 610 -1650 584 -556 560 -580 558 -580 560 -580 560 -578 562 -578 562 -1702 560 -578 560 -1702 558 -580 582 -1682 558 -580 560 -1702 560 -1702 558 -580 558 -1702 560 -578 560 -1704 558 -578 560 -1702 558 -582 560

10E0D52ADecoded NEC: 10E0D52A (32 bits)

Raw (68): 9000 -4482 560 -580 558 -582 560 -578 562 -1704 558 -580 560 -580 562 -576 562 -580 560 -1702 560 -1702 558 -1704 560 -578 560 -580 560 -580 560 -580 560 -580 560 -1704 580 -1682 558 -580 558 -1702 562 -578 560 -1702 560 -580 558 -1702 560 -578 582 -558 560 -1702 558 -580 558 -1704 560 -578 560 -1704 558 -580 560

10E035CADecoded NEC: 10E035CA (32 bits)

Raw (68): 8998 -4482 558 -580 560 -580 560 -580 560 -1702 558 -582 558 -580 558 -582 558 -580 560 -1702 558 -1704 558 -1702 560 -580 560 -580 560 -578 560 -580 560 -580 558 -584 560 -580 558 -1704 558 -1606 656 -580 560 -1704 558 -580 558 -1702 560 -1704 558 -1704 556 -580 560 -582 558 -1704 560 -578 558 -1704 558 -580 560

 

Menu    NEC    10E08976    32 bits

Exit    NEC    10E049B6    32 bits

10E08976Decoded NEC: 10E08976 (32 bits)

Raw (68): 9000 -4482 560 -580 558 -580 558 -580 560 -1702 558 -580 558 -582 558 -580 558 -580 560 -1704 556 -1706 558 -1704 560 -580 558 -582 560 -580 558 -580 560 -580 560 -1706 558 -580 558 -580 558 -580 558 -1704 558 -582 558 -582 558 -1704 558 -580 560 -1704 536 -1726 558 -1704 558 -582 558 -1704 558 -1702 560 -582 558

10E049B6Decoded NEC: 10E049B6 (32 bits)

Raw (68): 9000 -4482 584 -554 560 -582 560 -578 560 -1704 558 -580 558 -580 558 -580 560 -580 560 -1704 558 -1704 560 -1702 560 -580 584 -556 560 -580 558 -578 562 -580 560 -582 560 -1702 560 -580 558 -580 560 -1704 560 -580 560 -578 560 -1704 558 -1704 558 -580 560 -1702 586 -1678 558 -580 558 -1704 560 -1702 558 -582 560

 

CH+    NEC    10E0C936    32 bits

CH-    NEC    10E06996    32 bits

VOL-    NEC    10E029D6    32 bits

VOL+    NEC    10E0A956    32 bits

OK    NEC    10E09966    32 bits

10E0C936Decoded NEC: 10E0C936 (32 bits)

Raw (68): 9000 -4480 560 -580 558 -580 558 -582 558 -1704 558 -580 556 -582 560 -580 560 -580 556 -1706 558 -1704 558 -1704 558 -580 560 -582 556 -582 560 -580 560 -580 558 -1706 558 -1704 558 -582 560 -578 560 -1704 560 -580 560 -580 560 -1704 558 -582 558 -580 560 -1704 558 -1702 560 -582 558 -1704 556 -1704 560 -580 538

10E06996Decoded NEC: 10E06996 (32 bits)

Raw (68): 8998 -4482 560 -580 560 -578 560 -580 558 -1704 558 -580 560 -580 558 -580 558 -580 558 -1704 560 -1704 558 -1702 560 -580 560 -580 584 -556 558 -582 560 -578 558 -582 558 -1704 560 -1704 558 -580 558 -1702 560 -582 558 -580 558 -1702 560 -1704 560 -580 558 -580 562 -1700 558 -580 560 -1704 558 -1704 558 -582 558

10E029D6Decoded NEC: 10E029D6 (32 bits)

Raw (68): 9000 -4480 560 -580 560 -578 560 -580 560 -1702 560 -578 560 -578 562 -580 560 -578 560 -1700 560 -1704 558 -1702 562 -578 560 -580 558 -580 560 -580 558 -578 560 -580 562 -578 586 -1678 560 -578 560 -1702 562 -578 558 -580 560 -1704 558 -1704 560 -1702 584 -556 558 -1704 558 -580 562 -1702 560 -1704 558 -580 562

10E0A956Decoded NEC: 10E0A956 (32 bits)

Raw (68): 9000 -4482 558 -580 558 -580 560 -580 582 -1680 558 -580 560 -580 558 -580 584 -556 558 -1702 560 -1704 558 -1702 560 -580 560 -580 560 -578 560 -580 558 -580 558 -1704 558 -580 560 -1704 558 -580 560 -1704 560 -580 558 -580 558 -1704 560 -580 558 -1704 558 -580 558 -1706 558 -582 558 -1704 560 -1702 560 -582 558

10E09966Decoded NEC: 10E09966 (32 bits)

Raw (68): 9002 -4482 556 -582 560 -580 560 -578 562 -1702 560 -578 560 -582 560 -578 560 -580 558 -1704 560 -1702 560 -1706 558 -578 560 -580 560 -578 584 -556 560 -578 560 -1704 558 -580 558 -580 560 -1704 584 -1678 560 -580 560 -580 558 -1704 558 -580 560 -1702 560 -1704 560 -580 560 -578 584 -1680 558 -1706 556 -582 560

 

Sat    NEC    10E0E916    32 bits

Back    NEC    10E019E6    32 bits

10E0E916Decoded NEC: 10E0E916 (32 bits)

Raw (68): 8998 -4486 556 -580 558 -578 562 -580 560 -1704 558 -582 560 -578 560 -580 560 -580 560 -1702 560 -1704 558 -1704 560 -578 560 -580 558 -580 560 -580 558 -580 560 -1706 560 -1702 582 -1680 558 -580 560 -1704 558 -580 558 -580 558 -1706 558 -580 560 -578 562 -578 560 -1702 560 -582 558 -1704 560 -1704 558 -580 560

10E019E6Decoded NEC: 10E019E6 (32 bits)

Raw (68): 9026 -4458 560 -580 560 -580 560 -580 560 -1702 560 -580 558 -580 562 -578 560 -580 560 -1702 560 -1704 560 -1702 560 -580 560 -580 558 -580 560 -580 558 -580 560 -582 560 -578 560 -580 586 -1678 558 -1704 560 -578 560 -580 560 -1702 558 -1702 560 -1702 560 -1702 560 -578 560 -580 558 -1702 560 -1704 558 -580 558

 

Vol+    NEC    10E0B54A    32 bits

Vol-    NEC    10E0758A    32 bits

INF    NEC    10E07986    32 bits

EPG    NEC    10E0F906    32 bits

Ch+    NEC    10E0F50A    32 bits

Ch-    NEC    10E00DF2    32 bits

10E0B54ADecoded NEC: 10E0B54A (32 bits)

Raw (68): 9024 -4458 558 -580 558 -582 558 -580 560 -1704 558 -580 558 -580 560 -580 556 -582 558 -1704 560 -1702 558 -1706 556 -582 558 -580 560 -580 560 -580 558 -580 558 -1706 558 -580 558 -1702 560 -1702 560 -580 560 -1704 556 -580 560 -1702 558 -580 560 -1702 560 -580 558 -580 558 -1706 558 -582 558 -1704 560 -580 560

10E0758ADecoded NEC: 10E0758A (32 bits)

Raw (68): 9002 -4482 560 -580 558 -580 558 -580 560 -1704 560 -580 584 -556 584 -554 560 -580 560 -1704 558 -1704 560 -1704 560 -578 560 -578 586 -552 562 -578 560 -580 560 -580 586 -1678 560 -1702 560 -1702 558 -580 558 -1704 560 -580 560 -1702 560 -1704 560 -580 558 -580 560 -580 560 -1702 560 -580 558 -1704 560 -578 560

10E07986Decoded NEC: 10E07986 (32 bits)

Raw (68): 9002 -4484 560 -578 560 -580 560 -580 562 -1702 560 -578 560 -578 560 -580 586 -556 560 -1702 560 -1702 560 -1702 560 -578 564 -578 558 -580 560 -580 560 -582 558 -580 560 -1702 560 -1702 560 -1704 560 -1702 584 -556 560 -578 560 -1704 582 -1680 558 -580 560 -578 560 -580 584 -554 560 -1704 560 -1704 558 -580 560

10E0F906Decoded NEC: 10E0F906 (32 bits)

Raw (68): 9000 -4484 560 -578 560 -582 558 -580 560 -1704 558 -580 558 -580 560 -580 560 -578 558 -1704 558 -1704 558 -1704 558 -580 560 -580 560 -580 558 -580 560 -580 558 -1706 558 -1704 560 -1702 560 -1702 560 -1704 558 -580 560 -582 558 -1704 560 -580 558 -580 558 -582 560 -580 558 -580 560 -1704 558 -1704 558 -582 558

10E0F50ADecoded NEC: 10E0F50A (32 bits)

Raw (68): 9000 -4484 558 -580 558 -580 558 -580 560 -1704 560 -580 558 -580 560 -582 560 -578 562 -1702 558 -1704 560 -1702 558 -580 560 -580 558 -580 560 -580 560 -578 558 -1708 558 -1702 586 -1678 560 -1704 582 -558 560 -1702 560 -578 560 -1702 560 -578 562 -578 560 -578 560 -580 560 -1702 558 -580 558 -1706 556 -580 560

10E00DF2Decoded NEC: 10E00DF2 (32 bits)

Raw (68): 9076 -4480 560 -578 560 -580 558 -580 560 -1700 560 -580 560 -578 562 -576 560 -580 560 -1702 560 -1702 558 -1702 560 -580 560 -580 558 -580 560 -578 560 -578 584 -556 558 -580 560 -578 560 -578 560 -1704 558 -1702 560 -578 562 -1702 560 -1702 560 -1702 558 -1702 560 -1702 560 -578 560 -578 562 -1700 560 -582 558

 

1    NEC    10E0817E    32 bits

2    NEC    10E041BE    32 bits

3    NEC    10E0C13E    32 bits

4    NEC    10E021DE    32 bits

5    NEC    10E0A15E    32 bits

6    NEC    10E0619E    32 bits

7    NEC    10E0E11E    32 bits

8    NEC    10E011EE    32 bits

9    NEC    10E0916E    32 bits

Func1    NEC    10E031CE    32 bits

0    NEC    10E001FE    32 bits

Streem    NEC    10E0B14E    32 bits

10E0817EDecoded NEC: 10E0817E (32 bits)

Raw (68): 9000 -4480 584 -556 560 -578 560 -580 560 -1704 556 -580 560 -580 584 -554 558 -580 560 -1702 558 -1704 558 -1704 556 -580 560 -578 560 -578 562 -578 560 -578 558 -1704 560 -578 560 -580 558 -580 560 -580 582 -556 558 -580 560 -1702 558 -582 558 -1702 560 -1702 558 -1706 556 -1704 584 -1676 558 -1704 560 -580 560

10E041BEDecoded NEC: 10E041BE (32 bits)

Raw (68): 9000 -4482 560 -580 558 -580 558 -580 560 -1704 558 -582 560 -580 558 -580 558 -582 556 -1704 558 -1706 558 -1702 560 -578 560 -580 560 -580 556 -582 558 -580 560 -582 556 -1704 564 -576 558 -580 558 -580 560 -578 560 -578 560 -1704 558 -1704 558 -580 560 -1704 556 -1704 558 -1704 556 -1706 560 -1700 560 -580 558

10E0C13EDecoded NEC: 10E0C13E (32 bits)

Raw (68): 9000 -4482 558 -580 560 -578 560 -580 560 -1702 558 -580 562 -578 562 -578 558 -580 560 -1702 562 -1702 560 -1702 560 -578 560 -532 606 -580 558 -578 562 -580 560 -1706 558 -1702 562 -578 560 -580 562 -578 560 -578 560 -580 584 -1678 560 -578 560 -580 560 -1702 560 -1704 558 -1704 558 -1702 560 -1704 558 -580 560

10E021DEDecoded NEC: 10E021DE (32 bits)

Raw (68): 9002 -4482 560 -580 560 -580 562 -578 584 -1680 558 -578 586 -556 560 -578 560 -580 560 -1702 560 -1702 560 -1704 558 -580 560 -582 558 -582 560 -580 560 -578 560 -582 560 -580 558 -1704 560 -580 560 -580 558 -580 560 -578 562 -1700 562 -1702 560 -1702 558 -582 560 -1702 560 -1702 560 -1704 558 -1704 560 -580 558

10E0A15EDecoded NEC: 10E0A15E (32 bits)

Raw (68): 9000 -4482 560 -580 558 -578 560 -580 562 -1702 562 -576 560 -580 560 -580 558 -578 560 -1704 556 -1704 560 -1704 558 -580 560 -578 560 -580 560 -580 558 -580 560 -1704 560 -578 560 -1706 558 -578 562 -578 560 -580 560 -580 560 -1702 560 -580 558 -1704 558 -580 558 -1706 558 -1702 560 -1702 586 -1678 560 -580 560

10E0619EDecoded NEC: 10E0619E (32 bits)

Raw (68): 9002 -4486 558 -580 584 -556 560 -580 560 -1702 560 -580 560 -580 560 -580 560 -580 560 -1704 558 -1704 558 -1704 560 -580 560 -526 616 -578 560 -580 560 -580 558 -580 560 -1702 560 -1704 562 -578 560 -578 562 -578 584 -556 560 -1704 558 -1706 558 -578 562 -578 562 -1702 560 -1704 558 -1702 560 -1702 560 -580 560

10E0E11EDecoded NEC: 10E0E11E (32 bits)

Raw (68): 9000 -4482 560 -580 558 -580 560 -582 558 -1704 558 -580 558 -580 560 -580 560 -580 558 -1704 558 -1704 560 -1702 558 -580 560 -580 560 -580 560 -580 558 -580 560 -1704 560 -1704 582 -1680 558 -580 560 -580 560 -580 558 -580 560 -1704 558 -580 560 -580 560 -578 560 -1702 560 -1704 556 -1706 558 -1704 558 -580 560

10E011EEDecoded NEC: 10E011EE (32 bits)

Raw (68): 9000 -4482 560 -580 558 -580 560 -578 562 -1702 558 -578 560 -580 560 -578 560 -580 560 -1702 558 -1702 560 -1702 560 -580 560 -580 560 -580 558 -580 560 -578 562 -580 560 -578 560 -580 558 -1704 560 -580 562 -578 562 -578 560 -1704 558 -1704 558 -1702 562 -1702 558 -580 560 -1704 558 -1702 560 -1704 558 -580 560

10E0916EDecoded NEC: 10E0916E (32 bits)

Raw (68): 9004 -4484 560 -580 560 -580 560 -580 560 -1702 560 -580 560 -578 562 -580 560 -580 560 -1702 560 -1704 560 -1702 584 -556 560 -578 560 -580 560 -580 560 -580 584 -1680 560 -578 560 -580 560 -1702 562 -578 560 -580 560 -578 562 -1702 560 -580 560 -1702 560 -1704 558 -578 562 -1702 582 -1680 560 -1704 584 -556 560

10E031CEDecoded NEC: 10E031CE (32 bits)

Raw (68): 9004 -4482 558 -580 558 -580 560 -580 560 -1702 560 -578 562 -578 560 -580 562 -578 560 -1704 560 -1702 560 -1704 558 -580 558 -580 560 -578 562 -580 560 -580 560 -582 560 -580 560 -1704 558 -1706 558 -580 560 -580 560 -580 558 -1704 558 -1704 558 -1704 558 -580 558 -580 560 -1702 560 -1704 558 -1702 560 -580 558

10E001FEDecoded NEC: 10E001FE (32 bits)

Raw (68): 8996 -4478 560 -578 560 -578 584 -556 560 -1700 560 -578 560 -580 584 -554 560 -578 560 -1704 582 -1678 558 -1702 560 -578 560 -578 560 -578 560 -578 560 -578 560 -580 560 -578 560 -580 558 -578 560 -580 560 -578 560 -578 560 -1702 560 -1702 558 -1702 558 -1702 560 -1704 556 -1702 560 -1700 560 -1700 560 -580 560

10E0B14EDecoded NEC: 10E0B14E (32 bits)

Raw (68): 9004 -4484 558 -580 560 -578 560 -580 560 -1704 584 -554 558 -580 560 -580 560 -578 560 -1704 562 -1702 558 -1704 560 -580 560 -580 584 -556 582 -556 562 -578 562 -1704 558 -580 560 -1704 560 -1704 560 -580 560 -580 560 -580 560 -1702 560 -580 558 -1702 560 -580 560 -580 562 -1704 558 -1704 560 -1702 562 -580 558

  • Like 1
Lien vers le commentaire
Partager sur d’autres sites

Hello tous,

 

Si cela intéresse du monde,

 

Voila la première mouture (Dev) de la télécommande Infrarouge piloté par le web.

 

Materiel utilisé.

 

ESP8266 (ESP-12 pour de premier test)

 

Alimentation 3.3v (dans mon cas, utilisation alimentation 5V micro USB avec connecteur et régulateur de tentions version lab)

 

1 led Infrarouge

Taille: 5mm

Longueur: 37mm

Couleur émise: Infrarouge

Couleur de l'objectif: Transparent

Longueur d'onde: 940nm

Tension de transfert (V): 1,2-1,4 V

Courant avant (mA): 100 mA

Distance de transmission et de réception: environ 7-8 mètres

 

/monthly_2018_12/large.telecommande_esp8266.jpg.6cb813c66db75104878f405ebdab439a.jpg

 

Application Web de base

 

/monthly_2018_12/large.remote_apps.png.5f30619c45d817d5bbb9b46d20e6f8cd.png

 

Code pour le micro contrôleur 8266

 

#ifndef UNIT_TEST

#include <Arduino.h>

#endif

#include <ESP8266WiFi.h>

#include <ESP8266WebServer.h>

#include <ESP8266mDNS.h>

#include <IRremoteESP8266.h>

#include <IRsend.h>

#include <WiFiClient.h>

 

const char* kSsid = "LE SSID de votre reseau";

const char* kPassword = "Le mot de passe de votre wifi";

MDNSResponder mdns;

 

ESP8266WebServer server(80);

 

const uint16_t kIrLed = 4;  // ESP8266 GPIO pin to use. Recommended: 4 (D2).

 

IRsend irsend(kIrLed);  // Set the GPIO to be used to sending the message.

 

void handleRoot() {

  server.send(200, "text/html",

              "<html>" \

                "<head>" \

                "  <title>Bootstrap Example</title>" \

                "  <meta charset=\"utf-8\">" \

                "  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">" \

                "  <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css\">" \

                "  <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js\"></script>" \

                "  <script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js\"></script>" \

                "  <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js\"></script>" \

                "  <style>" \

                "  .deco-none {" \

                "  color: inherit;" \

                "  text-decoration: inherit;" \

                "  }" \

                "  .deco-none:link {" \

                "    color: inherit;" \

                "    text-decoration: inherit;" \

                "  }" \

                "  .deco-none:hover {" \

                "    color: inherit;" \

                "    text-decoration: inherit;" \

                "  }" \

                "  .bg-menu:hover {" \

                "    background-color: #0079C1;" \

                "    color: #FFFFFF;" \

                "  }" \

                "  .clickable {" \

                "    cursor: pointer;" \

                "  }" \

                "  </style>" \

                

                "</head>" \

                

                "<body>" \

                "  <div class=\"container-fluid\">" \

                "    <h4>ESP8266, IR remote Atlas HD-200Se</h4>" \

                "    <div class=\"container-fluid\">" \

                

                "      <div class=\"row\">" \

                "        <div class=\"col-xs-4 col-sm-4 text-center bg-danger text-white\"><a href=\"ir?code=283136430\" class=\"deco-none\">Power</a></div>" \

                "        <div class=\"col-xs-4 col-sm-4 text-center bg-dark text-white\"><a href=\"ir?code=283169070\" class=\"deco-none\">Mute</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-2 text-center bg-danger text-white\"><a href=\"ir?code=283149690\" class=\"deco-none\">Reset</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-success text-white\"><a href=\"ir?code=283133370\" class=\"deco-none\">TxT</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-warning text-dark\"><a href=\"ir?code=283166010\" class=\"deco-none\">Jaune</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-primary text-white\"><a href=\"ir?code=283125210\" class=\"deco-none\">Panel</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283144590\" class=\"deco-none\"><<</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283177230\" class=\"deco-none\">>></a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283117050\" class=\"deco-none\">|<<</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283118070\" class=\"deco-none\">>>|</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283157850\" class=\"deco-none\">></a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283141530\" class=\"deco-none\">||</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283174170\" class=\"deco-none\">Stop</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283121130\" class=\"deco-none\">Rec</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283153770\" class=\"deco-none\">Fav</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283137450\" class=\"deco-none\">Freeze</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283170090\" class=\"deco-none\">Sleep</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283129290\" class=\"deco-none\">TV/R</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-4 text-center bg-dark text-white\"><a href=\"ir?code=283150710\" class=\"deco-none\">Menu</a></div>" \

                "        <div class=\"col-sm-4 text-center bg-dark text-white\"><a href=\"ir?code=283134390\" class=\"deco-none\">Exit</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-8 text-center bg-dark text-white\"><a href=\"ir?code=283167030\" class=\"deco-none\">CH+</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283126230\" class=\"deco-none\">Vol-</a></div>" \

                "        <div class=\"col-sm-4 text-center bg-dark text-white\"><a href=\"ir?code=283154790\" class=\"deco-none\">OK</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283158870\" class=\"deco-none\">Vol+</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-8 text-center bg-dark text-white\"><a href=\"ir?code=283142550\" class=\"deco-none\">CH-</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-4 text-center bg-dark text-white\"><a href=\"ir?code=283175190\" class=\"deco-none\">Sat</a></div>" \

                "        <div class=\"col-sm-4 text-center bg-dark text-white\"><a href=\"ir?code=283122150\" class=\"deco-none\">Back</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283161930\" class=\"deco-none\">Vol+</a></div>" \

                "        <div class=\"col-sm-4 text-center bg-dark text-white\"><a href=\"ir?code=283146630\" class=\"deco-none\">INF</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283178250\" class=\"deco-none\">CH+</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283145610\" class=\"deco-none\">Vol-</a></div>" \

                "        <div class=\"col-sm-4 text-center bg-dark text-white\"><a href=\"ir?code=283179270\" class=\"deco-none\">EPG</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283119090\" class=\"deco-none\">CH-</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283148670\" class=\"deco-none\">1 *+#</a></div>" \

                "        <div class=\"col-sm-4 text-center bg-dark text-white\"><a href=\"ir?code=283132350\" class=\"deco-none\">2 ABC</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283164990\" class=\"deco-none\">3 DEF</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283124190\" class=\"deco-none\">4 GHI</a></div>" \

                "        <div class=\"col-sm-4 text-center bg-dark text-white\"><a href=\"ir?code=283156830\" class=\"deco-none\">5 JKL</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283140510\" class=\"deco-none\">6 MNO</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283173150\" class=\"deco-none\">7 PQRS</a></div>" \

                "        <div class=\"col-sm-4 text-center bg-dark text-white\"><a href=\"ir?code=283120110\" class=\"deco-none\">8 TUV</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283152750\" class=\"deco-none\">9 WXYZ</a></div>" \

                "      </div>" \

                "      <div class=\"row\">" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283128270\" class=\"deco-none\">Func1</a></div>" \

                "        <div class=\"col-sm-4 text-center bg-dark text-white\"><a href=\"ir?code=283116030\" class=\"deco-none\">0 .-</a></div>" \

                "        <div class=\"col-sm-2 text-center bg-dark text-white\"><a href=\"ir?code=283160910\" class=\"deco-none\">Stream</a></div>" \

                "      </div>" \

                

                "    </div>" \

                "  </div>" \

 

                "</body>" \

              "</html>");

}

 

void handleIr() {

  for (uint8_t i = 0; i < server.args(); i++) {

    if (server.argName(i) == "code") {

      uint32_t code = strtoul(server.arg(i).c_str(), NULL, 10);

#if SEND_NEC

      irsend.sendNEC(code, 32);

#endif  // SEND_NEC

    }

  }

  handleRoot();

}

 

void handleNotFound() {

  String message = "File Not Found\n\n";

  message += "URI: ";

  message += server.uri();

  message += "\nMethod: ";

  message += (server.method() == HTTP_GET)?"GET":"POST";

  message += "\nArguments: ";

  message += server.args();

  message += "\n";

  for (uint8_t i = 0; i < server.args(); i++)

    message += " " + server.argName(i) + ": " + server.arg(i) + "\n";

  server.send(404, "text/plain", message);

}

 

void setup(void) {

  irsend.begin();

 

  Serial.begin(115200);

  WiFi.begin(kSsid, kPassword);

  Serial.println("");

 

  // Wait for connection

  while (WiFi.status() != WL_CONNECTED) {

    delay(500);

    Serial.print(".");

  }

  Serial.println("");

  Serial.print("Connected to ");

  Serial.println(kSsid);

  Serial.print("IP address: ");

  Serial.println(WiFi.localIP().toString());

 

  if (mdns.begin("esp8266", WiFi.localIP())) {

    Serial.println("MDNS responder started");

  }

 

  server.on("/", handleRoot);

  server.on("/ir", handleIr);

 

  server.on("/inline", [](){

    server.send(200, "text/plain", "this works as well");

  });

 

  server.onNotFound(handleNotFound);

 

  server.begin();

  Serial.println("HTTP server started");

}

 

void loop(void) {

  server.handleClient();

 

}

 

---------------------------------------------------------------------------------------------------------

 

Ça fonctionne impec, je télécommande l'Atlas de mon Pc ou de mon smartphone

 

Il y aura sans doute des améliorations, mais pour ceux qui veulent se lancer, voila une base.

  • Like 3
Lien vers le commentaire
Partager sur d’autres sites

Merci,

 

Tu sais, la Télécommande est un élément de base qui peu te permettre d'en faire pas mal de dérivés.

 

Le tout est d'avoir les Scan code des télécommandes que tu veux remplacer.

 

Tout comme les télécommandes universelles que tu trouve dans le commerce mais avec un coup de matraque.

 

Là, a la finalité, si j'en ai pour 10€ de matériel, c'est le bout du monde.

 

Avec ces petites bêtes, la seule limitation que tu peux avoir, c'est tes idées, aujourd'hui, il existe tellement de modules et de capteurs qu'il est possible de piloter presque tout et pas au prix des box du commerce.

 

Il y a surtout une chose que tu ne doit pas perdre de vu.

 

Utiliser un produit tout fait du commerce a un prix coup de matraque et tu ne merise pas du tout ce qui est fait de tes informations

 

Utiliser un produit fait aux petits ognons mais il faut un peu de temps et beaucoup moins d'argent et tu maîtrise  tes données.

 

Mais oui, c'est marrant de jouer avec ces trucs, ça ouvre a beaucoup de possibilités.

 

Si vous commencez a vous lancer dans ce domaine, organisez-vous un petit coin, car c'est très vite envahissant ?

 

/monthly_2018_12/large.bureau.jpg.25e535eb266224f4ca95c2353f9236f9.jpg

  • Like 5
Lien vers le commentaire
Partager sur d’autres sites

Voilà Première version finalisé pour cette fin d'année

 

Matériel utilisé

 

Un Microcontrôleur ESP-12s + support (4€)

 

Un régulateur tentions AMS 1117 5v → 3,3V (1,60€)

 

Un transistor 2N2222A (0,50€)

 

Une résistance 20 ohm (quelque centimes d’€)

 

Un LED Infrarouge 5mm 940nm (0,20€)

 

Un cale USB mal (Récupération d’un vieux clavier)

 

Pour la Programmation de l’ESP-12s

 

Deux bouton poussoir (Rest et mode Programmation)

 

Une LED + résistance (en option pour avoir l’état)

 

Une résistance 10K ohm (pour bouton reset)

 

Interface SUB to UART

 

Ce module n’est utilisé que pour programmer l’ESP, après, il est retiré du module.

 

Petites plaque prototype et un quelques files.

 

Pour ceux qui ne veulent pas se prendre la tête, et pas doué en soudure vous pouvez opter pour prendre directement un module complet EPS + régulateur + programmation + port USB

 

Cela aura le même effet, juste la LED Infrarouge a connecter.

 

Pour mon montage il occuper 4,5cms x 4,5cms x 1,5cms

 

Le dernier code sans Tableaux HTML, complètement Bootdstrap 4 et Grid.

 

Schéma metteur

 

/monthly_2018_12/large.1840572881_atlas_remote_ir_schma.jpg.7ef9b947ba8009bddc1547fbcb4df3a6.jpg

 

Schéma Programmation

 

/monthly_2018_12/large.1244208046_atlas_remote_ir_programmation_schma.jpg.8441af8c6fe3d6efc85b08a9dab1b754.jpg

 

Câble USB pour l'utilisation de l’émetteur (peut être remplacer par un micro USB en soudan un connecteur micro USB

 

/monthly_2018_12/large.cable_usb.jpg.4aeb08d44dd7d525987301fc2b684e43.jpg

 

Module USB to UART pour la programmation

 

/monthly_2018_12/large.USB_To_UART.jpg.05399424250e782fb3d018086137b6ca.jpg

 

L’émetteur Infrarouge

 

/monthly_2018_12/large.emetteur_ir.jpg.b5b259090a68fa2e1ba345b34d58aaec.jpg

 

Module de programmation

 

/monthly_2018_12/large.programmation_down.jpg.4d0c615abb3c316ec1fb8acc6ea254b1.jpg/monthly_2018_12/large.programmation_up.jpg.32be333bb6e75721abd0a822b216311b.jpg

 

Module Programmation sur émeteur

 

/monthly_2018_12/large.emeteur_and_programmation.jpg.1c33c6f0441238a3089ff50a88bd9cc8.jpg

 

Une fois en place devant l'Atlas

 

/monthly_2018_12/large.en_place.jpg.d90a4a16b73d350bfc64e434a54f96f9.jpg

 

Modules que vous pouvez utiliser en remplacement

 

/monthly_2018_12/large.esp-3.png.86fd9ce4c0630a2fee33cf2a22d73226.png/monthly_2018_12/large.esp-2.png.3f09ac1db5a712624b09f70bf493526b.png/monthly_2018_12/large.esp-1.png.6552889c3c295324e0158dd83aad35d1.png

 

et bien d'autre, vous devriez tourner dans les mêmes prix suivant ou c'est commandé mais n'oubliez pas, vous n'utiliser qu'un seul GPIO, pas trop la peine de prendre un EPS avec plein de GPIO, a moins de vouloir lui faire faire plein d'autres choses. Pour la télécommande, un ESP-01 serait largement suffisant, au pire, un ESP-07, mais toute la gamme ESP8266 ou ESP32 feront l'affaire.

 

La dernière version du code

 

#ifndef UNIT_TEST

#include <Arduino.h>

#endif

#include <ESP8266WiFi.h>

#include <ESP8266WebServer.h>

#include <ESP8266mDNS.h>

#include <IRremoteESP8266.h>

#include <IRsend.h>

#include <WiFiClient.h>

 

const char* kSsid = "SSID_WIFI";

const char* kPassword = "MOTDEPASSE_WIFI";

MDNSResponder mdns;

 

ESP8266WebServer server(80);

 

const uint16_t kIrLed = 4;  // ESP8266 GPIO pin to use. Recommended: 4 (D2).

 

IRsend irsend(kIrLed);  // Set the GPIO to be used to sending the message.

 

void handleRoot() {

  server.send(200, "text/html",

"<!DOCTYPE html>" \

"<html lang=\"en\">" \

"<head>" \

"  <title>Remote Control Atlas</title>" \

"  <meta charset=\"utf-8\">" \

"  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">" \

"  <link rel=\"stylesheet\" href=\"https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css\">" \

"  <script src=\"https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js\"></script>" \

"  <script src=\"https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js\"></script>" \

"  <script src=\"https://maxcdn.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js\"></script>" \

"  <style>" \

"  .container-fluid {" \

"    min-width: 300px;" \

"    padding-left: 5px;" \

"  }" \

"  .button_head{" \

"    float:none;" \

"   margin-bottom:2px;" \

"   margin-right:2px;" \

"   height:25px;" \

"   width:315px;" \

"   line-height: 10px;" \

"   font-size:12px" \

"  }" \

"  .button3{" \

"   float:none;" \

"   margin-bottom:2px;" \

"   margin-right:2px;" \

"   height:30px;" \

"   width:103px;" \

"   line-height: 10px;" \

"   font-size:12px" \

"  }" \

"  .button4{" \

"   float:none;" \

"   margin-bottom:2px;" \

"   margin-right:2px;" \

"   height:30px;" \

"   width:77px;" \

"   line-height: 10px;" \

"   font-size:12px" \

"  }" \

"  .horizon_space{" \

"  margin: 4px 0px 0px -15px;" \

"  }" \

"  .portlet {" \

"    position: relative;" \

"    background: #fff;" \

"    padding: 20px;" \

"    z-index: 1;" \

"  }" \

"    .portlet::before {" \

"      content: '';" \

"      position: absolute;" \

"      top: 0;" \

"      left: 0;" \

"      right: 0;" \

"      height: 59px;" \

"      background: steelblue;" \

"      z-index: -1;" \

"    }" \

"  </style>" \

"<body>" \

"<div class=\"container-fluid center\">" \

"  <h2></h2>" \

"<div class=\"container\">" \

"    <div class=\"row\">" \

"        <div class=\"col-xs-1\"><button type=\"button\" class=\"btn btn-dark button_head\">Atlas HF-200se</button></div>" \

"    </div>" \

"    <div class=\"row\">" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283136430\"><button type=\"button\" class=\"btn btn-danger button4\">Power</button></a></div>" \

"        <div class=\"col-xs-3\"><a href=\"#\"><button type=\"button\" class=\"btn btn-link button4 invisible\"></button></div>" \

"    <div class=\"col-xs-3\"><a href=\"#\"><button type=\"button\" class=\"btn btn-link button4 invisible\"></button></div>" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283169070\"><button type=\"button\" class=\"btn btn-danger button4\">Mute</button><a></div>" \

"    </div>" \

"    <div class=\"row horizon_space\">" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283149690\"><button type=\"button\" class=\"btn btn-danger button4\">Reset</button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283133370\"><button type=\"button\" class=\"btn btn-success button4\">TXT</button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283166010\"><button type=\"button\" class=\"btn btn-warning button4\">Jaune</button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283125210\"><button type=\"button\" class=\"btn btn-primary button4\">Panel</button><a></div>" \

"    </div>" \

"    <div class=\"row horizon_space\">" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283144590\"><button type=\"button\" class=\"btn btn-dark button4\"><<</button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283177230\"><button type=\"button\" class=\"btn btn-dark button4\">>></button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283117050\"><button type=\"button\" class=\"btn btn-dark button4\">|<<</button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283118070\"><button type=\"button\" class=\"btn btn-dark button4\">>>|</button><a></div>" \

"    </div>" \

"    <div class=\"row\">" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283157850\"><button type=\"button\" class=\"btn btn-dark button4\">></button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283141530\"><button type=\"button\" class=\"btn btn-dark button4\">||</button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283174170\"><button type=\"button\" class=\"btn btn-dark button4\">Stop</button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283121130\"><button type=\"button\" class=\"btn btn-dark button4\">Rec</button><a></div>" \

"    </div>" \

"    <div class=\"row\">" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283153770\"><button type=\"button\" class=\"btn btn-dark button4\">Fav</button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283137450\"><button type=\"button\" class=\"btn btn-dark button4\">Freeze</button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283170090\"><button type=\"button\" class=\"btn btn-dark button4\">Sleep</button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283129290\"><button type=\"button\" class=\"btn btn-dark button4\">TV/R</button><a></div>" \

"    </div>" \

"    <div class=\"row horizon_space\">" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283150710\"><button type=\"button\" class=\"btn btn-dark button4\">Menu</button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"#\"><button type=\"button\" class=\"btn btn-dark button4 invisible \"></button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"#\"><button type=\"button\" class=\"btn btn-dark button4 invisible \"></button><a></div>" \

"        <div class=\"col-xs-3\"><a href=\"ir?code=283134390\"><button type=\"button\" class=\"btn btn-dark button4\">Exit</button><a></div>" \

"    </div>" \

"    <div class=\"row\">" \

"        <div class=\"col-xs-4\"><a href=\"#\"><button type=\"button\" class=\"btn btn-dark button3 invisible\"></button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283167030\"><button type=\"button\" class=\"btn btn-dark button3\">CH+</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"#\"><button type=\"button\" class=\"btn btn-dark button3 invisible\"></button><a></div>" \

"    </div>" \

"    <div class=\"row\">" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283126230\"><button type=\"button\" class=\"btn btn-dark button3\">Vol-</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283154790\"><button type=\"button\" class=\"btn btn-dark button3\">Ok</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283158870\"><button type=\"button\" class=\"btn btn-dark button3\">Vol+</button><a></div>" \

"    </div>" \

"    <div class=\"row\">" \

"        <div class=\"col-xs-4\"><a href=\"#\"><button type=\"button\" class=\"btn btn-dark button3 invisible\"></button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283142550\"><button type=\"button\" class=\"btn btn-dark button3\">CH-</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"#\"><button type=\"button\" class=\"btn btn-dark button3 invisible\"></button><a></div>" \

"    </div>" \

"    <div class=\"row horizon_space\">" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283175190\"><button type=\"button\" class=\"btn btn-dark button3\">Sat</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"#\"><button type=\"button\" class=\"btn btn-dark button3 invisible\"></button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283122150\"><button type=\"button\" class=\"btn btn-dark button3\">Back</button><a></div>" \

"    </div>" \

"    <div class=\"row horizon_space\">" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283161930\" class=\"btn btn-dark button3\">Vol+</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283146630\" class=\"btn btn-dark button3\">Inf</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283178250\" class=\"btn btn-dark button3\">CH+</button><a></div>" \

"    </div>" \

"    <div class=\"row\">" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283145610\"><button type=\"button\" class=\"btn btn-dark button3\">Vol-</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283179270\"><button type=\"button\" class=\"btn btn-dark button3\">EPG</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283119090\"><button type=\"button\" class=\"btn btn-dark button3\">CH-</button><a></div>" \

"    </div>" \

"    <div class=\"row\">" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283148670\"><button type=\"button\" class=\"btn btn-dark button3\">1 *+#</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283132350\"><button type=\"button\" class=\"btn btn-dark button3\">2 ABC</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283164990\"><button type=\"button\" class=\"btn btn-dark button3\">3 DEF</button><a></div>" \

"    </div>" \

"    <div class=\"row\">" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283124190\"><button type=\"button\" class=\"btn btn-dark button3\">4 GHI</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283156830\"><button type=\"button\" class=\"btn btn-dark button3\">5 JKL</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283140510\"><button type=\"button\" class=\"btn btn-dark button3\">6 MNO</button><a></div>" \

"    </div>" \

"    <div class=\"row\">" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283173150\"><button type=\"button\" class=\"btn btn-dark button3\">7 PQRS</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283120110\"><button type=\"button\" class=\"btn btn-dark button3\">8 TUV</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283152750\"><button type=\"button\" class=\"btn btn-dark button3\">9 WXYZ</button><a></div>" \

"    </div>" \

"    <div class=\"row\">" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283128270\"><button type=\"button\" class=\"btn btn-dark button3\">Func1</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283116030\"><button type=\"button\" class=\"btn btn-dark button3\">0 .-</button><a></div>" \

"        <div class=\"col-xs-4\"><a href=\"ir?code=283160910\"><button type=\"button\" class=\"btn btn-dark button3\">Stream</button><a></div>" \

"    </div>" \

"</div>" \

"</div>" \

"</body>" \

"</html>");

}

 

void handleIr() {

  for (uint8_t i = 0; i < server.args(); i++) {

    if (server.argName(i) == "code") {

      uint32_t code = strtoul(server.arg(i).c_str(), NULL, 10);

#if SEND_NEC

      irsend.sendNEC(code, 32);

#endif  // SEND_NEC

    }

  }

  handleRoot();

}

 

void handleNotFound() {

  String message = "File Not Found\n\n";

  message += "URI: ";

  message += server.uri();

  message += "\nMethod: ";

  message += (server.method() == HTTP_GET)?"GET":"POST";

  message += "\nArguments: ";

  message += server.args();

  message += "\n";

  for (uint8_t i = 0; i < server.args(); i++)

    message += " " + server.argName(i) + ": " + server.arg(i) + "\n";

  server.send(404, "text/plain", message);

}

 

void setup(void) {

  irsend.begin();

 

  Serial.begin(115200);

  WiFi.begin(kSsid, kPassword);

  Serial.println("");

 

  // Wait for connection

  while (WiFi.status() != WL_CONNECTED) {

    delay(500);

    Serial.print(".");

  }

  Serial.println("");

  Serial.print("Connected to ");

  Serial.println(kSsid);

  Serial.print("IP address: ");

  Serial.println(WiFi.localIP().toString());

 

  if (mdns.begin("esp8266", WiFi.localIP())) {

    Serial.println("MDNS responder started");

  }

 

  server.on("/", handleRoot);

  server.on("/ir", handleIr);

 

  server.on("/inline", [](){

    server.send(200, "text/plain", "this works as well");

  });

 

  server.onNotFound(handleNotFound);

 

  server.begin();

  Serial.println("HTTP server started");

}

 

void loop(void) {

  server.handleClient();

}

 

/monthly_2018_12/large.application_bootstrap.png.8f4a3a26d08887d754a8576620fae3d8.png

 

Vu du Smartphone

 

/monthly_2018_12/large.smartphone.jpg.bd6a7b627e25a52c451dcf0dc8801677.jpg

 

Plus qu'a me faire imprimer un petit boîtier pour enfermer tout ça.

 

Une très bonne fin d'année a tous.

  • Like 1
Lien vers le commentaire
Partager sur d’autres sites

Hello, tous,

 

Voila, j'ai fini la télécommande, coté matériel comme coté logiciel.

 

Je ferais un POST pour donner toutes les références coté logiciel, mais voila la version finale PC et Smartphone, qui se base sur du HTML Image MAP pour simuler le clic des touches.

 

/monthly_2019_01/large.atlashd200se_small.png.5721d73562a4275434496fdf7d0f0f68.png/monthly_2019_01/large.641750111_SamsungInternet.jpg.1414e1632fb1b6e4bb981804e58c539f.jpg

 

Chaque touche est cliquable et envoi la fonction à l'Atlas.

 

Le bouton bleu en haut, je l'ai ajouté pour allumer et éteindre la télé, c'est plus pratique.

 

Je m'assure que tout fonctionne correctement et je mettrais tout à disposition.

 

Les codes, les image, les site pris en référence pour que vous puissiez reproduire, modifier, adapter.

 

A bientôt.

  • Like 1
Lien vers le commentaire
Partager sur d’autres sites

  • 3 mois après...
  • 3 semaines après...

Rejoindre la conversation

Vous pouvez publier maintenant et vous inscrire plus tard. Si vous avez un compte, connectez-vous maintenant pour publier avec votre compte.

Invité
Répondre à ce sujet…

×   Collé en tant que texte enrichi.   Coller en tant que texte brut à la place

  Seulement 75 émoticônes maximum sont autorisées.

×   Votre lien a été automatiquement intégré.   Afficher plutôt comme un lien

×   Votre contenu précédent a été rétabli.   Vider l’éditeur

×   Vous ne pouvez pas directement coller des images. Envoyez-les depuis votre ordinateur ou insérez-les depuis une URL.

×
×
  • Créer...