1technophile / OpenMQTTGateway

MQTT gateway for ESP8266 or ESP32 with bidirectional 433mhz/315mhz/868mhz, Infrared communications, BLE, Bluetooth, beacons detection, mi flora, mi jia, LYWSD02, LYWSD03MMC, Mi Scale, TPMS, BBQ thermometer compatibility & LoRa.
https://docs.openmqttgateway.com
GNU General Public License v3.0
3.56k stars 785 forks source link

Support for IR controller shield (wemos d1 mini) #234

Closed rradar closed 6 years ago

rradar commented 6 years ago

Wemos D1 mini IR controller shield specifications:

top bottom

US $1.40 / piece

Is it for good? Should make a compact desgin in the end :smiling_imp:

rradar commented 6 years ago

More technical details here: https://wiki.wemos.cc/products:d1_mini_shields:ir_controller_shield

Including schematic's and datasheet's :+1:

  • Schematic V1.0.0
  • IR12-21c Datasheet
  • IRM-H638T Datasheet

...and arduino code :+1:

  • Setup IRremote ESP8266 Library first.
  • IR_Controller_Shield
1technophile commented 6 years ago

Ordered, will see in a few weeks

rradar commented 6 years ago

I have it! Soldered and ready to fly!

Pins are clear:

D3(GPIO0) | Send D4(GPIO2) | Receiver

Any tips for code to try? Should it just works out of the box?

1technophile commented 6 years ago

great, just follow the wiki on we say to uncomment ZgatewayIR in user_config.h and change the pins in config_IR.h

1technophile commented 6 years ago

I received mine, don't still tested them, do you have some feedback on your side?

rradar commented 6 years ago

hey @1technophile sorry - didn't had any time recently and had no running arduino sdk as well... Maybe the next weekend I have time to try - meanwhile you could give a try and report back ;)

1technophile commented 6 years ago

@rradar I confirm it works natively with these pins:

#ifdef ESP8266
  #define IR_RECEIVER_PIN 2
  #define IR_EMITTER_PIN 0

Receiver and emitter

Range of emitter is around 2meters for my tv