Comments (10)
It's usually 38 by other encodings (simply check how they call enableIROut()), so that would be my guess
from irremoteesp8266.
There is a sendRaw() function which can be used to send the rawData array, but that doesn't always work.
from irremoteesp8266.
Thanks @markszabo, but what value should I use for Hz parameter?
from irremoteesp8266.
Much appreciated, it works perfect with value 38.
However I have a last question, kind of out of scope of this app, but I'm new to Arduino:
How do I set up the ESP8266 Arduino so the sketch starts automatically when the system reboots? When I disconnect the power from system, the sketch is gone, and I have to redeploy it.
from irremoteesp8266.
Okay, just to make sure we are on the same page: you have an ESP8266 microcontroller (hardware), and you are using the Arduino IDE (software) to program it, right? In this case if you restart your ESP8266 (or just simply disconnect the power) the sketch should automatically restart.
However when ESP8266 starts it checks the GPIO0 pin. If that pin is LOW, then it will go to bootloader mode and wait for a new sketch to be uploaded. If it receives the new sketch, it stores it and then starts it (regardless of the state of the GPIO0 pin). But if your GPIO0 pin is still LOW, then when you restart it, it will go to bootloader mode again and wait for a new sketch. So check if your GPIO0 pin is LOW at startup :)
from irremoteesp8266.
@markszabo Yes we're on the same page, and I'm using the IRServer so the pin is set to 0 by its default. However after I disconnect and reconnect the power, I couldn't access the web server anymore.
Sorry for being dumb, but what does is mean when you say "pin is LOW", and how can I set it to HIGH or whatever it is for the autostart to work?
Thanks a lot
from irremoteesp8266.
Okay I figured it out, I need to use GPIO4 for the IR emitter data instead if GPIO0 (changed IRsend irsend(0);
to IRsend irsend(4);
in IRServer) based on this blog post https://zoetrope.io/tech-blog/esp8266-bootloader-modes-and-gpio-state-startup.
from irremoteesp8266.
I'm processing UNKOWN IR encoding recently.
I found there are a bit difference in IRremote between avr & ESP8266 version:
avr version: A long space will create a STOP state in IR receive.
ESP8266 version: Continued receive until read timeout.
This difference may cause avr receive one IR packet and STOP, ESP8266 receive more packets and signal length is non stable.
Is any chance to improve this?
from irremoteesp8266.
I thought you are decoding AC remote.
You should increase your Buffer size.If you do this thing then you will get definitely result.
In such case this is happyend. So,try it and reply me back.
from irremoteesp8266.
Closing this issue due to inactivity and it appears the original request has been addressed.
from irremoteesp8266.
Related Issues (20)
- Unable to include C libraries HOT 3
- How to get or find CarrierAc 32 bit protocol? HOT 1
- Common AC Control - Swing turn on HOT 1
- Toshiba AC Remote Control B Support HOT 1
- Feature Request: De'Longhi Pinguino PAC N82 ECO IR Protocol HOT 5
- DAIKIN IRHVAC Off Issue. HOT 1
- The implementation and declaration of some functions differs from the function call HOT 4
- Coolix protocol "fan only mode" sends "dry mode" command instead HOT 1
- Support for Carrier RG56CMI-WRAC1 HOT 1
- Got error messages in Arduino IDE v3.0.1(ESP32C3) something like timerAlarm or void gpio_intr() HOT 1
- making a ir hub HOT 1
- FUNIKI AC remote (85 bits) need to be supported!
- Support for 'quiet' mode in COOLIX protocol
- Using any other mode than "Cool" causes AC to turn off. HOT 6
- Solution to AC remote giving different data for same button pressed HOT 2
- timer-related functions in IRrecv.cpp need to be updated HOT 2
- [XIAO_ESP32C6] IRrecv.cpp:246:3: error: 'timerAlarmEnable' was not declared in this scope; did you mean 'timerAlarm'? HOT 3
- Add compatibility with ESP32 Espressif 3.x HOT 1
- Support for LG AKB75735421 (for models newer than 2022) HOT 4
- LG AC not responding to IR signal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from irremoteesp8266.