IR controller shield LOLIN


#1

From a user request @rradar I tested the following IR shield added to a wemos d1 mini and I can now confirm it works perfectly with OMG either for receiving or emitting.

Here are the specs :
https://wiki.wemos.cc/products:d1_mini_shields:ir_controller_shield
emitting range is about 2 meters with my tv.

You just have to change in config_ir.h the emitter pin to 0

#ifdef ESP8266
  #define IR_RECEIVER_PIN 2
  #define IR_EMITTER_PIN 0

https://fr.aliexpress.com/store/product/D1-mini-Mini-NodeMcu-4M-bytes-Lua-WIFI-Internet-of-Things-development-board-based-ESP8266/1331105_32529101036.html


#2

That looks way cool think I be getting one this week


#3

I have it now

Im getting these error

Arduino: 1.8.5 (Windows 7), Board: "WeMos D1 R2 & mini, 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

Build options changed, rebuilding all
C:\Users\Debbie & StePhan\Documents\Arduino\OpenMQTTGateway\ZgatewayIR.ino: In function 'void MQTTtoIR(char*, char*)':

ZgatewayIR:398: error: 'GICABLE_BITS' was not declared in this scope

     if (valueBITS == 0) valueBITS = GICABLE_BITS;

                                     ^

ZgatewayIR:399: error: 'GICABLE_MIN_REPEAT' was not declared in this scope

     if (valueRPT == 0) valueRPT = std::max(valueRPT, (uint16_t) GICABLE_MIN_REPEAT);

                                                                 ^

ZgatewayIR:400: error: 'class IRsend' has no member named 'sendGICable'

     irsend.sendGICable(data, valueBITS, valueRPT);

            ^

ZgatewayIR:459: error: 'class IRsend' has no member named 'sendMitsubishi2'

     irsend.sendMitsubishi2(data, valueBITS, valueRPT);

            ^

Multiple libraries were found for "IRremoteESP8266.h"
 Used: C:\Users\Debbie & StePhan\Documents\Arduino\libraries\IRremoteESP8266
 Not used: C:\Users\Debbie & StePhan\Documents\Arduino\libraries\arduino_340847
Multiple libraries were found for "PubSubClient.h"
 Used: C:\Users\Debbie & StePhan\Documents\Arduino\libraries\PubSubClient
 Not used: C:\Users\Debbie & StePhan\Documents\Arduino\libraries\PubSubClient-2.6.09
 Not used: C:\Users\Debbie & StePhan\Documents\Arduino\libraries\AzureIoTHubMQTTClient
exit status 1
'GICABLE_BITS' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

could / have you made a the BIN file for it
have no idea what im doing


#4

Wing it here

down to these error

Arduino: 1.8.5 (Windows 7), Board: "WeMos D1 R2 & mini, 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

C:\Users\Debbie & StePhan\Documents\Arduino\OpenMQTTGateway\ZgatewayIR.ino: In function 'void MQTTtoIR(char*, char*)':

ZgatewayIR:398: error: 'GICABLE_BITS' was not declared in this scope

     if (valueBITS == 0) valueBITS = GICABLE_BITS;

                                     ^

ZgatewayIR:399: error: 'GICABLE_MIN_REPEAT' was not declared in this scope

     if (valueRPT == 0) valueRPT = std::max(valueRPT, (uint16_t) GICABLE_MIN_REPEAT);

                                                                 ^

ZgatewayIR:400: error: 'class IRsend' has no member named 'sendGICable'

     irsend.sendGICable(data, valueBITS, valueRPT);

            ^

ZgatewayIR:459: error: 'class IRsend' has no member named 'sendMitsubishi2'

     irsend.sendMitsubishi2(data, valueBITS, valueRPT);

            ^

exit status 1
'GICABLE_BITS' was not declared in this scope

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

ill keep playing


#5

Just tryed 0.7 and that works

so ME A HAPPY HAPPY CAMPER


#6

the BIN files is available on the github here:


#7

thanks will keep you updated