Comments (16)
As igrr suggested, changing the ISR method signatures has resolved all of the issues with receiving repetitive IR signals causing WDT resets for me.
Changes applied:
(IRemoteESP8266.cpp, line 478)
*static void ICACHE_FLASH_ATTR gpio_intr(void arg) {
to:
*static void ICACHE_RAM_ATTR gpio_intr(void arg) {
and (IRemoteESP8266.cpp, line 470):
*static void ICACHE_FLASH_ATTR read_timeout(void arg) {
to
*static void ICACHE_RAM_ATTR read_timeout(void arg) {
from irremoteesp8266.
FYI, a lot of these Exception (0)
issues reported here have to do with the fact that GPIO ISR handler is placed into flash. ISR handler should instead be marked with IRAM_ATTR
for placement into RAM. Otherwise if the interrupt happens while flash cache is disabled, ISR code will not be accessible, causing exception 0.
from irremoteesp8266.
@tekker / @igrr : Thank you. I've spent ages trying to figure out the problem and these fixes solved it for me. If you guys are ever in Cape Town, South Africa I will gladly buy you a beverage of your choosing!
from irremoteesp8266.
Don't encode the values in hex and print, mine worked pretty well without
encoding the output in hex
On Thu, 7 Apr 2016 12:55 am Rajasekar, [email protected] wrote:
i like to say thank you for this library creator and supporting members,
its decoding perfectly but ESP8266 Restarting, If receive continuous IR
Signal ,
Iam using gpio13 to connect ir receiver(TSOP1738)iam using samsung TV remote
[image: pic1]
https://cloud.githubusercontent.com/assets/4434178/14329905/649c8490-fc5b-11e5-8cfa-6f65d5871bd8.png
[image: pic2]
https://cloud.githubusercontent.com/assets/4434178/14329912/6e2716b0-fc5b-11e5-9d52-611e770ba37e.png—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#22
from irremoteesp8266.
kindly explain why don't encode in to hex value,
how to use switch case without convert hex,have any other way to use switch case
from irremoteesp8266.
You can directly use the values, by assigning results.value to a variable , i have given a example snipped below
`
code = results.value;
switch(code){
//case 1
case 3778927144:
//do something
}
`
from irremoteesp8266.
Thanks for your code, I tested but still restarting, can you please share your hardware schematic diagram
from irremoteesp8266.
I am replying form my mobile device so i cannot upload a schematic ,
I am using a ESP-12E and have attached my tsop1738 to Gpio 5 , and have
provided it with a independent power supply , and is not sharing it with
the esp , as it creates issues sometimes.
On Fri, 8 Apr 2016 at 00:56 Rajasekar [email protected] wrote:
Thanks for your code, I tested but still restarting, can you please share
your hardware schematic diagram—
You are receiving this because you commented.Reply to this email directly or view it on GitHub
#22 (comment)
from irremoteesp8266.
Thanks,I will check my connection, if you send schematic diagram, this is my diagram
Tsop I connected like this
from irremoteesp8266.
It's restart again and again if receive few ir codes
from irremoteesp8266.
TSOP1738 is working very fine with 3.3V directly connect Vin to 3.3V, GND to GND, and output to some GPIO pin. I'm able to decode the my Videcon DTH remote. The problem with me is, I'm not able to send the messages using IRsend.sendNEC(). If you have tried it please reply.
from irremoteesp8266.
@sivanandareddy Try connecting a normal led to the output pin while sending. It should blink for a short time. If it does, then try decoding it with an other arduino/esp8266. Usually the receiver will pick up the signal from a normal led, though you need to put them close to each other. Then try with the IR led. Also (if possible) try sending the IR codes from an arduino.
from irremoteesp8266.
I'm sure it is blinking something. I'll try with another arduino board and decode it. Another strange thing that I have found is that, carrier freqency of IR transmission is only 34.5kHz instead of 38kHz. I'm using NodeMCU with ESP12-E
from irremoteesp8266.
@rajasekarsarangapani See section Timing and delays in the esp8266/arduino reference link https://github.com/esp8266/Arduino/blob/master/doc/reference.md. They say not to use delay as it blocks the some wifi routines which will reset the chip, if wifi is enabled.
from irremoteesp8266.
Thanks for the info, I will try
from irremoteesp8266.
Is any Solution for this problem available? My ESP restarts with the demo rcv example if delay() is used ....
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.